/* ======= Main Container ======= */
.device-estimator-form {
  max-width: 720px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #222;
  box-sizing: border-box;
}

/* ======= Heading ======= */
.device-estimator-form h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  color: #0073e6;
}

/* ======= Labels ======= */
.device-estimator-form label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 600;
  color: #333;
}

/* ======= Input Fields ======= */
.device-estimator-form select,
.device-estimator-form input[type="number"],
.device-estimator-form input[type="text"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-size: 15px;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.device-estimator-form select:focus,
.device-estimator-form input:focus {
  outline: none;
  border-color: #0073e6;
  background-color: #fff;
}

/* ======= Radio & Checkbox Sections ======= */
.radio-row,
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.radio-row label,
.checkbox-row label {
  flex: 1 1 48%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.radio-row label:hover,
.checkbox-row label:hover {
  background: #eaf4ff;
}

.radio-row input[type="radio"],
.checkbox-row input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #0073e6;
}

/* ======= Button ======= */
.device-estimator-form button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  color: white;
  background: #0073e6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.device-estimator-form button:hover {
  background: #005bb5;
}

/* ======= Output Box ======= */
.price-result {
  margin-top: 30px;
  padding: 20px;
  background: #ebf6ff;
  border: 1px solid #b4defb;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #003366;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.03);
}

/* ======= Responsive Design ======= */
@media screen and (max-width: 768px) {
  .radio-row label,
  .checkbox-row label {
    flex: 1 1 100%;
  }

  .device-estimator-form {
    padding: 20px;
    margin: 20px;
  }

  .device-estimator-form h2 {
    font-size: 22px;
  }
}
