/* ── LOGIN WRAPPER ─────────────────────────────────── */
.login-wrapper {
    height: auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    width: 500px;
    max-width: 860px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ── HERO PANEL ─────────────────────────────────── */
.login-hero {
    background-image: url('https://d15v7gz4sgnote.cloudfront.net/finderspage/images/1210441447499977.2tqfMFnmFlxpIRXStr26_height640.png');
    background-size: cover;
    background-repeat: no-repeat;
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; }
    50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-subtitle {
    color: white;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.7;
}

/* ── CARD ─────────────────────────────────── */
.login-card {
    flex: 1;
    padding: 30px 30px;
    /* overflow-y: auto;
    max-height: 90vh; */
}

.login-heading {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    color: var(--bg-dark) !important;
}

.login-subheading {
    font-size: 15px;
    color: #333;
    text-align: center;
    font-weight: 600;
}

/* ── FIELDS ─────────────────────────────────── */
.field-group { margin-bottom: 16px; }

.field-label {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.field-input {
    width: 100%;
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: .85rem;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    transition: border-color .2s;
    background: white;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary);
}

.field-input.has-error { border-color: var(--error-color); }

.field-error {
    display: block;
    color: var(--error-color);
    font-size: .72rem;
    font-weight: 600;
    margin-top: 4px;
}

.password-wrap { position: relative; }

.toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 1rem;
    padding: 0;
    transition: color .2s;
}

.toggle-pw:hover { color: var(--primary); }

.password-wrap .field-input { padding-right: 40px; }

/* ── REMEMBER ─────────────────────────────────── */
.remember-row { margin-bottom: 18px; }

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
}

.remember-check {
    width: 15px;
    height: 15px;
    accent-color: var(--primary);
}

/* ── ACTIONS ─────────────────────────────────── */
.action-row {
    text-align: center;
    margin-top: 15px !important;
    /* display: flex; */
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.btn-login {
    background: linear-gradient(90deg, var(--primary-dark) 70%, #000 100%);
    color: white;
    border: none;
    border-radius: 28px;
    padding: 8px 28px;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}

.btn-login:hover { opacity: .9; transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

.or-divider {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-top: auto;
    margin-bottom: auto;
}

.btn-google {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 28px;
    padding: 6px 28px;
    font-size: .85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-google:hover { opacity: .9; }

.btn-google i {
    font-size: 18px;
    color: white;
}

/* ── LINKS ─────────────────────────────────── */
.auth-links {
    text-align: center;
    font-size: 15px;
    /* color: #212529; */
    /* font-weight: 500; */
    line-height: 1.9;
}

.link-orange {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.link-orange:hover { text-decoration: underline; }

/* ── SWITCH ACCOUNT ─────────────────────────── */
.switch-account {
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
}

.switch-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-dark) !important;
    margin-bottom: 12px;
}

.switch-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.switch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    color: white;
    font-size: .78rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}

.switch-btn:hover { background: #333; }

.switch-avatar {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.switch-name { white-space: nowrap; }

/* Parent item (ensure relative positioning) */
.switch-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Remove button form */
.switch-item form {
    position: absolute;
    top: -6px;
    right: -6px;
    margin: 0;
}

/* Remove button */
.switch-remove {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

/* Icon inside */
.switch-remove i {
    font-size: 12px;
    pointer-events: none;
}

/* Hover effect */
.switch-remove:hover {
    background: #e60023;
    transform: scale(1.1);
}

/* Click effect */
.switch-remove:active {
    transform: scale(0.95);
}

/* ── SUCCESS ALERT ─────────────────────────── */
.alert-success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── DANGER ALERT ──────────────────────────── */
.alert-danger-box {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.alert-danger-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap!important;
}

.alert-danger-box p {
    margin: 0 0 4px;
}

.alert-danger-box p:last-child {
    margin-bottom: 0;
}

.alert-danger-box a {
    color: #842029;
    text-decoration: underline;
    font-weight: 700;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 640px) {
    .login-wrapper {
        flex-direction: column;
        border-radius: 12px;
        max-height: none;
    }

    .login-hero {
        display: none;
    }

    .hero-title {
        font-size: 1rem;
    }

    .login-card {
        padding: 24px 20px;
        max-height: none;
    }

    .action-row {
        flex-wrap: wrap;
    }

    .btn-login,
    .btn-google {
        flex: 1;
        justify-content: center;
    }
    .btn-login{
        padding: 10px 14px;
        font-size: 14px;
    }
}
.required {
    color: #dc3545;
    font-weight: 700;
}


/* ── 18 Aug 2026── */
.email-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-top: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid #dc7228;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.email-notice i {
    color: #dc7228;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.name-field {
    margin: 0px;
    margin-bottom: -16px;
}


/* [12:11 PM] Aakrti Grintech */
/* Welcome modal - match the live Finders design. */
    #welcomeModal .modal-dialog {
        width: calc(100% - 32px);
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
 
    #welcomeModal .custom-modal {
        overflow: hidden;
        color: #fff;
        background: #1b1b1b;
        border: 6px solid #dc6b20;
        border-radius: 22px;
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
    }
 
    #welcomeModal .modal-header {
        position: relative;
        display: block;
        min-height: 82px;
        padding: 36px 66px 10px;
    }
 
    #welcomeModal .modal-title {
        margin: 0;
        color: #fff;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.25;
    }
 
    #welcomeModal .btn-close {
        position: absolute;
        top: 38px;
        right: 35px;
        width: 20px;
        height: 20px;
        margin: 0;
        padding: 0;
        background-size: 18px;
        opacity: 0.75;
        box-shadow: none;
    }
 
    #welcomeModal .btn-close:hover,
    #welcomeModal .btn-close:focus {
        opacity: 1;
    }
 
    #welcomeModal .modal-body {
        padding: 24px 36px 34px;
    }
 
    #welcomeModal .welcome-intro {
        margin: 0 0 26px;
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
 
    #welcomeModal .select-box {
        position: relative;
        display: flex;
        min-height: 82px;
        margin-bottom: 15px;
        padding: 15px 20px;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        background: #1b1b1b;
        border: 2px solid #464646;
        border-radius: 16px;
        cursor: pointer;
        transition: border-color 0.2s ease, background-color 0.2s ease,
                    box-shadow 0.2s ease, transform 0.2s ease;
    }
 
    #welcomeModal .select-box:hover,
    #welcomeModal .select-box:focus-within {
        border-color: #7a7a7a;
        transform: translateY(-1px);
    }
 
    #welcomeModal .select-box.active-box {
        background: #211b17;
        border-color: #dc6b20;
        box-shadow: 0 0 0 1px rgba(220, 107, 32, 0.2);
    }
 
    #welcomeModal .select-box h5 {
        margin: 0 0 8px;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
    }
 
    #welcomeModal .select-box small {
        display: block;
        color: #b8b8c8;
        font-size: 13px;
        line-height: 1.35;
    }
 
    #welcomeModal .select-box input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }
 
    #welcomeModal .gradient-btn {
        min-height: 49px;
        margin-top: 24px !important;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        background: linear-gradient(90deg, #ed781e 0%, #9d4618 55%, #050200 100%);
        border: 0;
        border-radius: 999px;
        box-shadow: none;
    }
 
    #welcomeModal .gradient-btn:hover,
    #welcomeModal .gradient-btn:focus {
        color: #fff;
        filter: brightness(1.08);
    }
 
    #welcomeModal + .modal-backdrop,
    .modal-backdrop.show {
        opacity: 0.62;
    }
 
    @media (max-width: 575.98px) {
        #welcomeModal .custom-modal {
            border-width: 4px;
            border-radius: 18px;
        }
 
        #welcomeModal .modal-header {
            padding: 28px 54px 8px;
        }
 
        #welcomeModal .btn-close {
            top: 29px;
            right: 24px;
        }
 
        #welcomeModal .modal-body {
            padding: 20px 22px 26px;
        }
    }
 


.register-photo .form-container {
    height: auto;
    display: table;
    max-width: 500px !important;
    width: 90%;
    margin: 0 auto;
    box-shadow: 3px 3px 7px 2px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-radius: 30px 20px 20px 30px;
}
.post-head {
    text-align: center;
    color: var(--bg-dark) !important;
    font-weight: 700;
    font-size: 22px!important;
    line-height: 22px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.text-primary {
    color: #998049 !important;
}
.register-photo {
    /* background: #dc7228; */
    padding: 80px 0;
    /* min-height: 100vh; */
}