input:focus, select:focus{
box-shadow:0 0 0 0.15rem rgba(13,110,253,.25);
}
.error{
border:1px solid #dc3545 !important;
}
.success{
border:1px solid #198754 !important;
}
/* ================================================
   2-STEP RETIREMENT PLAN FORM - OPTIMIZED DESIGN
   PolicyAdvisor.in - High Conversion
   ================================================ */

.retirement-quote-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 30px auto; 
}

/* Progress Bar */
.retirement-progress-wrapper {
  margin-bottom: 30px;
  padding: 0 10px;
}

.retirement-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-text,
.progress-percent {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.progress-percent {
  color: #64748b;
}

.retirement-progress-track {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.retirement-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1d6ae0 0%, #3b82f6 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Steps */
.retirement-step {
  display: none;
  animation: retirementFadeIn 0.3s ease;
}

.retirement-step.active {
  display: block;
}

@keyframes retirementFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.retirement-step-title {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  text-align: center;
}

.retirement-step-desc {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.6;
}

/* Form Fields */
.retirement-field-group {
  margin-bottom: 10px;
}

.retirement-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.retirement-select,
.retirement-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s;
  font-family: inherit;
  background: white;
}

/* Safari-specific fixes for select dropdown */
.retirement-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}
/* Increase text size in dropdown options */
.retirement-select option {
  font-size: 18px;
  padding: 8px 12px;
}
 
/* For better readability on mobile */
@media (max-width: 768px) {
  .retirement-select option {
    font-size: 18px;
    padding: 10px 14px;
  }
}
@media (max-width: 480px) {
  .retirement-select option {
    font-size: 18px;
    padding: 10px 14px;
  }
}
.retirement-select:focus,
.retirement-input:focus {
  outline: none;
  border-color: #1d6ae0;
  box-shadow: 0 0 0 3px rgba(29,106,224,0.1);
}

.retirement-select.error,
.retirement-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.retirement-error {
  display: none;
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;padding-left:2px;
}

/* Contact Grid - Step 2 */
.retirement-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Consent Checkbox */
.retirement-consent {
  margin: 24px 0;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}

.retirement-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
}

.retirement-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.retirement-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  transition: all 0.3s;
}

.retirement-checkbox:hover .checkmark {
  border-color: #1d6ae0;
}

.retirement-checkbox input:checked ~ .checkmark {
  background-color: #1d6ae0;
  border-color: #1d6ae0;
}

.retirement-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.retirement-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.retirement-checkbox .consent-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* Buttons */
.retirement-btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
  font-family: inherit; 
  margin-top:15px;
}

.retirement-btn-primary {
  background: linear-gradient(135deg, #1d6ae0 0%, #1557b0 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(29,106,224,0.3);
}

.retirement-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,106,224,0.4);
}

.retirement-btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
  font-size: 20px;
  padding: 18px 36px;
  margin-bottom: 15px;
}

.retirement-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

.retirement-btn-back {
  background: #f3f4f6;
  color: #6b7280;
  width: auto;
  padding: 12px 24px;
  font-size: 16px;
  margin-top: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.retirement-btn-back:hover {
  background: #e5e7eb;
}

.retirement-footer {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

/* Pincode Field Animation */
#pincodeFieldWrapper {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
  }
  to {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 24px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .retirement-quote-form {
    padding: 30px 15px;
    border-radius: 12px;
  }
  
  .retirement-step-title {
    font-size: 22px;
  }
  
  .retirement-step-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .retirement-contact-grid {
    gap: 16px;
  }
  
  .retirement-btn-success {
    font-size: 18px;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .retirement-quote-form {
    padding: 24px 14px;
    border-radius: 8px;
    margin: 20px 5px;
  }
  
  .retirement-step-title {
    font-size: 20px;
  }
  
  .retirement-progress-header {
    font-size: 13px;
  }
  
  .retirement-btn {
    font-size: 16px;
    padding: 14px 24px;
  }
  
  .retirement-btn-success {
    font-size: 17px;
    padding: 15px 24px;
  }
}
/* retirement css end */
