/* code by claude — Registration wizard styles (Trinity_PartnerHub)
   Adapted from AddressbookCore registration.css. Body/navbar/marketing-landing/footer
   styles removed (handled by partnerhub.css + _Layout.cshtml). Modal overlay converted
   to a full-page wrapper since wizard is now its own page (/Registration). */

/* ===== WIZARD WRAPPER (was modal overlay) ===== */
.reg-page-wrap { padding: 40px 20px 80px; min-height: 70vh; background: #f5f5f5; }
.reg-page-wrap .wizard-container { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: 0 15px 50px rgba(0,0,0,.10); overflow: hidden; }

.wizard-header { background: #1a1a1c; padding: 18px 25px; display: flex; justify-content: space-between; align-items: center; }
.wizard-header h3 { color: #fff; margin: 0; font-size: 17px; font-weight: 600; }
.wizard-close { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); text-decoration: none; font-size: 16px; transition: background .2s, color .2s, transform .2s; flex-shrink: 0; }
.wizard-close:hover { background: rgba(255,255,255,0.18); color: #fff; transform: rotate(90deg); text-decoration: none; }
.wizard-close:focus { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 2px; }

/* Stepper */
.wizard-stepper { display: flex; padding: 22px 25px; background: #f9f9f9; border-bottom: 1px solid #eee; justify-content: space-between; position: relative; }
.wizard-stepper::before { content: ''; position: absolute; top: 40px; left: 55px; right: 55px; height: 2px; background: #ddd; z-index: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; flex: 1; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; background: #ddd; color: #999; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; margin-bottom: 6px; transition: all .3s; }
.step-item.active .step-circle { background: #1a1a1c; color: #fff; }
.step-item.completed .step-circle { background: #27ae60; color: #fff; }
.step-label { font-size: 11px; color: #999; font-weight: 500; text-align: center; }
.step-item.active .step-label { color: #1a1a1c; font-weight: 600; }
.step-item.completed .step-label { color: #27ae60; }

/* Wizard body */
.wizard-body { padding: 25px 30px; min-height: 320px; font-family: 'Ubuntu', 'Inter', sans-serif; color: #333; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h4 { font-size: 17px; font-weight: 600; color: #222; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.wizard-step h4 i { margin-right: 8px; color: #555; }

/* Form fields (registration-only — Bootstrap 3 .form-group / .form-control are still loaded for grid + base styles) */
.reg-page-wrap .form-group { margin-bottom: 16px; }
.reg-page-wrap .form-group label { font-size: 12px; font-weight: 500; color: #555; margin-bottom: 4px; display: block; }
.reg-page-wrap .form-group label .required { color: #e74c3c; }
.reg-page-wrap .form-group .form-control { height: 36px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; padding: 6px 12px; transition: border-color .3s; }
.reg-page-wrap .form-group .form-control:focus { border-color: #1a1a1c; box-shadow: 0 0 0 2px rgba(26,26,28,.08); outline: none; }

/* OTP */
.otp-group { display: flex; gap: 8px; align-items: flex-end; }
.otp-group .form-control { flex: 1; }
.btn-send-otp { background: #1a1a1c; color: #fff; border: none; padding: 7px 10px; font-size: 11px; border-radius: 4px; cursor: pointer; white-space: nowrap; height: 36px; }
.btn-send-otp:hover { background: #444; }
.btn-send-otp:disabled { background: #999; cursor: not-allowed; }
.btn-send-otp.btn-whatsapp { background: #25D366; }
.btn-send-otp.btn-whatsapp:hover { background: #1da851; }
.btn-send-otp.btn-whatsapp:disabled { background: #8ed4a8; }
.btn-send-otp.btn-sms { background: #2196F3; }
.btn-send-otp.btn-sms:hover { background: #1976D2; }
.btn-send-otp.btn-sms:disabled { background: #90CAF9; }
.otp-verified { color: #27ae60; font-size: 11px; margin-top: 3px; }
.otp-input-wrap { display: none; margin-top: 6px; }
.otp-input-wrap.show { display: flex; gap: 8px; align-items: center; }

/* Document grid */
.doc-grid { width: 100%; border-collapse: collapse; margin-top: 8px; }
.doc-grid th { background: #1a1a1c; color: #fff; padding: 8px 10px; font-size: 11px; font-weight: 500; text-align: left; }
.doc-grid td { padding: 6px 8px; border-bottom: 1px solid #eee; font-size: 12px; vertical-align: middle; }
.doc-grid .form-control { height: 30px; font-size: 11px; }
.btn-add-doc { background: #1a1a1c; color: #fff; border: none; padding: 5px 12px; font-size: 12px; border-radius: 3px; cursor: pointer; margin-top: 10px; }
.btn-add-doc:hover { background: #444; }
.btn-remove-row { background: #e74c3c; color: #fff; border: none; padding: 4px 8px; font-size: 10px; border-radius: 3px; cursor: pointer; }

/* Add-State / Add-City inline buttons */
.btn-add-geo { border:1px solid #ddd; background:#f5f5f5; border-radius:4px; cursor:pointer; padding:0 10px; color:#555; font-size:14px; height:34px; line-height:34px; }
.btn-add-geo:hover { background:#e0e0e0; color:#222; }
.add-geo-inline { display:flex; gap:4px; margin-top:4px; }
.add-geo-inline input { height:30px; font-size:12px; }
.btn-geo-save { border:1px solid #27ae60; background:#27ae60; color:#fff; border-radius:4px; padding:0 10px; font-size:12px; cursor:pointer; }
.btn-geo-cancel { border:1px solid #ddd; background:#f5f5f5; border-radius:4px; padding:0 10px; font-size:12px; cursor:pointer; }

/* Summary */
.summary-table { width: 100%; }
.summary-table td { padding: 7px 12px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.summary-table td:first-child { color: #777; width: 40%; font-weight: 500; }
.summary-table td:last-child { color: #222; font-weight: 600; }
.summary-section-title { background: #f5f5f5; padding: 8px 12px; font-weight: 600; color: #222; font-size: 13px; border-left: 3px solid #1a1a1c; margin-top: 12px; margin-bottom: 5px; }

/* T&C + Captcha */
.tc-checkbox { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 12px; background: #f9f9f9; border-radius: 5px; }
.tc-checkbox input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; }
.tc-checkbox label { font-size: 12px; color: #555; margin: 0; }
.tc-checkbox a { color: #1a1a1c; text-decoration: underline; font-weight: 600; }
.captcha-box { padding: 12px; background: #f9f9f9; border-radius: 5px; }

/* Wizard footer */
.wizard-footer { padding: 18px 25px; border-top: 1px solid #eee; display: flex; justify-content: space-between; background: #f9f9f9; }
.btn-wizard-back { background: #eee; color: #555; border: none; padding: 9px 22px; font-size: 13px; font-weight: 500; border-radius: 4px; cursor: pointer; }
.btn-wizard-back:hover { background: #ddd; }
.btn-wizard-next { background: #1a1a1c; color: #fff; border: none; padding: 9px 22px; font-size: 13px; font-weight: 500; border-radius: 4px; cursor: pointer; }
.btn-wizard-next:hover { background: #444; }
.btn-wizard-submit { background: #27ae60; color: #fff; border: none; padding: 9px 28px; font-size: 13px; font-weight: 600; border-radius: 4px; cursor: pointer; }
.btn-wizard-submit:hover { background: #219a52; }

/* Success */
.success-message { text-align: center; padding: 40px; }
.success-message i { font-size: 55px; color: #27ae60; margin-bottom: 18px; }
.success-message h3 { color: #222; font-size: 22px; margin-bottom: 10px; }
.success-message p { color: #777; font-size: 14px; line-height: 1.6; }

/* Password strength */
.password-strength { height: 4px; border-radius: 2px; margin-top: 4px; background: #eee; overflow: hidden; }
.password-strength-bar { height: 100%; width: 0%; transition: all .3s; border-radius: 2px; }
.strength-weak { width: 33%; background: #e74c3c; }
.strength-medium { width: 66%; background: #f39c12; }
.strength-strong { width: 100%; background: #27ae60; }
.password-hint { font-size: 11px; color: #999; margin-top: 3px; }

/* Info box */
.info-box { background: #f9f9f9; padding: 12px 15px; border-radius: 5px; margin-top: 8px; }
.info-box small { color: #777; }
.info-box i.fa-info-circle { color: #555; }

/* Validation error */
.field-error { border-color: #e74c3c !important; }
.error-msg { color: #e74c3c; font-size: 11px; margin-top: 2px; display: none; }
.error-msg.show { display: block; }

/* DevExtreme dropdown popup z-index */
.dx-overlay-wrapper { z-index: 10000 !important; }

/* Mobile */
@media (max-width: 768px) {
    .reg-page-wrap { padding: 24px 12px 60px; }
    .wizard-body { padding: 20px 18px; }
    .wizard-stepper { padding: 16px 12px; }
    .step-label { font-size: 10px; }
}
