/* ==============================
   Quote Form Styles
   ============================== */
.quote-container {
  padding: 3rem 1rem;
}

.quote-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #111827;
}

.quote-form {
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Salutation radios styled as rounded checkboxes */
.salutation-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.salutation-options input[type="radio"] {
  display: none;
}

.salutation-options label {
  position: relative;
  font-size: 1rem;
  color: #374151;
  cursor: pointer;
  padding-left: 28px;
  user-select: none;
}

/* Outer box */
.salutation-options label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid #707676;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
}

/* Inner check / dot */
.salutation-options input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    width: 15px;
    height: 15px;
    background: #0fd3e1;
    border-radius: 3px;
}


.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input::placeholder {
  color: #9ca3af;
}

.form-row input:focus {
  border-color: #707676;
  box-shadow: 0 0 0 3px rgba(112,118,118,0.2);
}

/* Button */
.btn-quote {
  display: block;           /* full block element */
  margin: 1rem auto 0;      /* centers horizontally */
  padding: 16px 32px;
  background: #0fd3e1;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

.btn-quote:hover {
  background: #0fb8c4;
  transform: translateY(-1px);
}

.btn-quote:active {
  transform: translateY(0);
}


/* Success flash */
.quote-alert {
    background: black;
    border: 1px solid #cfd7d6;
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 auto 1rem;
    max-width: 650px;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}
