/* ══════════════════════════════════════════════
   Mastua — auth.css  (v3 MagicBricks-style)
   ══════════════════════════════════════════════ */

body.auth-page main { padding-top: 0 !important; }

/* ── Full page flex wrapper ── */
.auth-page-wrap {
    display: flex;
    width: 100%;
        min-height: 100vh;
        background: #f4f6f9;
        position: relative;
        overflow-x: hidden;
}



.auth-simple-footer { margin-top: 0; }
    
    /* Card ko thoda aur clean dikhane ke liye spacing */
    .auth-register-card { margin-bottom: 40px; }

/* ═══════════════════════════════════════════
   LEFT: Visual Brand Panel (45%)
   ═══════════════════════════════════════════ */
.auth-sidebar-panel {
    width: 30%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #0a0918 0%, #1a1a2e 55%, #111828 100%);
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 60px;
    height: calc(100vh - 60px);
    z-index: 1002;
    overflow-y: auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Decorative glow spots */
.auth-sidebar-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255,65,54,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(90,180,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Large background building icon */
.auth-sidebar-panel::after {
    content: '\f1ad';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 300px;
    color: rgba(255,255,255,0.025);
    line-height: 1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   RIGHT: Clean Form Area (60%)
   ═══════════════════════════════════════════ */
.auth-form-panel {
    margin-left: 30%;
    flex: 1;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 20px 32px;
}

.auth-form-panel--wide {
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.auth-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.09);
    border: 1px solid #e8eaef;
    width: 100%;
    max-width: 420px;
}

.auth-register-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.09);
    border: 1px solid #e8eaef;
    width: 100%;
    max-width: 700px;
    margin-bottom: 0;
     margin-top:20px;
}

.auth-register-card .download-get-in-touch {
    border-radius: 0 0 16px 16px;
}

/* ═══════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .auth-sidebar-panel { display: none; }
    .auth-form-panel {
        margin-left: 0;
        width: 100%;
        padding: 24px 16px;
        background: #f4f6f9;
        align-items: flex-start;
    }
    .auth-form-card { max-width: 100%; padding: 24px 18px; }
    .auth-register-card { max-width: 100%; }
}

/* ═══════════════════════════════════════════
   STEP INDICATOR
   ═══════════════════════════════════════════ */
#stepIndicator {
    background: #f8f9fb;
    border-bottom: 1px solid #eef0f6;
    border-radius: 16px 16px 0 0;
    padding: 22px 28px 18px !important;
}

.register-steps-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.register-step .step-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: #f0f0f0; border: 2px solid #e2e2e2;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #bbb; transition: all .35s;
}

.register-step span { font-size: 11px; color: #bbb; font-weight: 500; }

.register-step.active .step-icon {
    background: #ff4136; border-color: #ff4136; color: #fff;
    box-shadow: 0 4px 14px rgba(255,65,54,.35);
}
.register-step.active span         { color: #ff4136; font-weight: 700; }
.register-step.completed .step-icon { background: #28a745; border-color: #28a745; color: #fff; }
.register-step.completed span       { color: #28a745; }

.step-line {
    flex: 1; height: 2px; background: #e8eaf0;
    margin: 0 6px; margin-bottom: 26px; max-width: 50px; transition: background .4s;
}
.step-line.active { background: #ff4136; }

/* ═══════════════════════════════════════════
   INNER FORM BG
   ═══════════════════════════════════════════ */
.auth-register-card .download-get-in-touch,
.download-get-in-touch {
    background: #fff !important;
    padding: 28px 32px 36px !important;
    border-radius: 0 0 16px 16px;
    display: block !important;
    overflow: visible !important;
}
@media (max-width: 600px) {
    .auth-register-card .download-get-in-touch,
    .download-get-in-touch { padding: 20px 18px 28px !important; }
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group label,
.auth-page-wrap .form-group label,
.download-get-in-touch .form-group label { font-weight: 600; font-size: 12.5px; margin-bottom: 5px; display: block; color: #222; }
.form-control { border-radius: 10px; padding: 0 14px; border-color: #ddd; font-size: 13px; height: 42px; box-sizing: border-box; }
.form-control:focus { border-color: #ff4136 !important; box-shadow: 0 0 0 3px rgba(255,65,54,.1) !important; }

select.form-control { height: 42px; }
textarea.form-control { height: auto; padding: 10px 14px; }

/* Reusable class for auth page submit buttons */
.auth-btn {
    height: 42px;
    font-size: 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pw-wrap { position: relative; }
.pw-eye {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #aaa; cursor: pointer; font-size: 14px; padding: 0; z-index: 5;
}
.pw-eye:hover { color: #ff4136; }

/* ═══════════════════════════════════════════
   USER TYPE CARDS
   ═══════════════════════════════════════════ */
.user-type-card {
    border: 2px solid #e8eaf0; border-radius: 14px; padding: 22px 12px;
    text-align: center; cursor: pointer; background: #fff; transition: all .25s;
}
.user-type-card:hover {
    border-color: #ff4136; transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255,65,54,.12);
}
.user-type-card .utc-icon { font-size: 36px; color: #ff4136; margin-bottom: 10px; }
.user-type-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.user-type-card p  { font-size: 12px; color: #777; margin: 0; }

.badge-role {
    display: inline-block; padding: 3px 12px; background: #ff4136; color: #fff;
    border-radius: 20px; font-size: 12px; font-weight: 600; margin: 0 6px; text-transform: capitalize;
}
.btn-change-role { background: none; border: none; font-size: 12px; color: #888; cursor: pointer; text-decoration: underline; padding: 0; }

/* ═══════════════════════════════════════════
   EMAIL VERIFY STEP
   ═══════════════════════════════════════════ */
.email-anim-icon { font-size: 60px; color: #ff4136; animation: floatUp 2s ease-in-out infinite alternate; }
@keyframes floatUp { from{transform:translateY(0)} to{transform:translateY(-10px)} }
.verify-card { background: #f8f9fb; border: 1px solid #eef0f6; border-radius: 12px; padding: 14px 16px; height: 100%; }
.verify-card h6 { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: #333; }
.vstep { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #555; padding: 3px 0; }
.vnum {
    width: 20px; height: 20px; border-radius: 50%; background: #ff4136; color: #fff;
    font-size: 11px; font-weight: 700; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; margin-top: 1px;
}

/* ═══════════════════════════════════════════
   DOCUMENT UPLOAD
   ═══════════════════════════════════════════ */
.doc-upload-list { display: flex; flex-direction: column; gap: 12px; }
.doc-upload-item {
    background: #fff; border: 2px dashed #ddd; border-radius: 12px;
    padding: 14px 18px; display: flex; align-items: center; gap: 12px; transition: border-color .2s; flex-wrap: wrap;
}
.doc-upload-item.uploaded { border-color: #ff4136; border-style: solid; background: rgba(255,65,54,.04); }
.doc-upload-item.uploaded .doc-icon { color: #ff4136; }
.doc-type-card {
    border: 2px solid #e5e7eb; border-radius: 10px; padding: 10px 16px; cursor: pointer;
    display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #444; transition: all .2s;
}
.doc-type-card:hover { border-color: #ff4136; color: #ff4136; }
.doc-type-card.selected { border-color: #ff4136; background: rgba(255,65,54,.06); color: #ff4136; }
.doc-type-card i { font-size: 17px; }

/* ═══════════════════════════════════════════
   MFA CARDS
   ═══════════════════════════════════════════ */
.mfa-option-card {
    border: 2px solid #e8eaf0; border-radius: 14px; padding: 22px 12px;
    text-align: center; cursor: pointer; background: #fff; transition: all .25s;
}
.mfa-option-card:hover, .mfa-option-card.selected {
    border-color: #ff4136; background: rgba(255,65,54,.04);
    transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,65,54,.12);
}
.mfa-icon { font-size: 30px; color: #ff4136; margin-bottom: 10px; }
.mfa-option-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.mfa-option-card p  { font-size: 12px; color: #777; margin: 0; }
.otp-input { font-size: 26px !important; letter-spacing: 10px; font-weight: 700; text-align: center; border-radius: 12px !important; padding: 12px !important; }

/* ═══════════════════════════════════════════
   BACKUP CODES
   ═══════════════════════════════════════════ */
.backup-codes-box { background: #fffbe6; border: 1px solid #ffe58f; border-radius: 10px; padding: 14px; }
.backup-codes-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.backup-code-item { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 4px 10px; font-family: monospace; font-size: 12px; letter-spacing: 2px; }

/* ═══════════════════════════════════════════
   CREDIT CONSENT
   ═══════════════════════════════════════════ */
.credit-consent-box { max-width: 520px; margin: 0 auto; }
.credit-benefit-list { display: flex; flex-direction: column; gap: 14px; }
.credit-benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.credit-benefit-item i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.credit-benefit-item h5 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.credit-benefit-item p  { font-size: 12px; color: #666; margin: 0; }

/* ═══════════════════════════════════════════
   COMPLETE SCREEN
   ═══════════════════════════════════════════ */
.success-checkmark { font-size: 70px; color: #28a745; animation: popIn .5s ease; }
@keyframes popIn { 0%{transform:scale(.4);opacity:0} 80%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.next-steps-box { background: #f0fff4; border: 1px solid #c6f6d5; border-radius: 12px; padding: 14px 20px; display: inline-block; text-align: left; }
.next-step-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #444; padding: 4px 0; }
.next-step-item i { color: #28a745; }

.mb-18 { margin-bottom: 18px !important; }
.alert { border-radius: 10px; font-size: 13px; font-weight: 500; }
.alert-warning {
    background: rgba(255,65,54,.08);
    border: 1.5px solid rgba(255,65,54,.25);
    color: #c0392b;
}
.alert-danger {
    background: #fff5f5;
    border: 1.5px solid rgba(192,57,43,.3);
    color: #c0392b;
}
.alert-success {
    background: rgba(255,65,54,.06);
    border: 1.5px solid rgba(255,65,54,.2);
    color: #ff4136;
}
.alert-info {
    background: rgba(255,65,54,.06);
    border: 1.5px solid rgba(255,65,54,.15);
    color: #ff4136;
}
.animate-fade-in { animation: fadeIn .4s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }

/* Fix: theme globally hides input[type=checkbox] — restore native checkbox */
.form-check-input[type=checkbox] {
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    min-height: 13px !important;
    max-height: 13px !important;
    margin-top: 0.15em !important;
    padding: 0 !important;
    float: none !important;
    cursor: pointer !important;
    accent-color: #ff4136 !important;
}

/* Hide theme's fake checkbox pseudo-element on label */
.form-check input[type=checkbox] ~ label::before,
.form-check input[type=checkbox] ~ label:before,
.form-check input[type=checkbox] ~ label::after,
.form-check input[type=checkbox] ~ label:after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Remove theme's label padding that was reserved for fake checkbox */
.form-check input[type=checkbox] ~ label,
.form-check-inline input[type=checkbox] ~ label {
    padding-left: 4px !important;
    position: static !important;
}

body.is-auth{
    overflow-y:auto;
}




/* Terms checkbox alignment */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 14px;
    height: 14px;
    margin-top:-2px;
    margin-right: 0;
    cursor: pointer;
}

.form-check-label {
    font-size: 13px;
    margin: 0 !important;
    line-height: 1.4;
    cursor: pointer;
}

.form-check-label a{
    color:#ff4136;
    text-decoration:none;
}

.form-check-label a:hover{
    text-decoration:underline;
}

/* ═══════════════════════════════════════════
   FIELD VALIDATION
   ═══════════════════════════════════════════ */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .1) !important;
    background-image: none !important;
}
.form-control.is-valid {
    border-color: #198754 !important;
    box-shadow: none !important;
    background-image: none !important;
}
.field-err {
    color: #dc3545;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    line-height: 1.3;
}
.pw-wrap .form-control.is-invalid ~ .pw-eye { color: #dc3545; }
.pw-wrap .form-control.is-valid  ~ .pw-eye { color: #198754; }