/*--------------------------------------------------------------
# Auth Base Layout
--------------------------------------------------------------*/

html,
body {
    height: 100%;
}

.auth-page {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page .main {
    flex: 1 0 auto;
    display: flex;
}

.auth-page .main .auth-shell {
    width: 100%;
}


/*--------------------------------------------------------------
# Auth Shell
--------------------------------------------------------------*/

.auth-shell {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-wrap {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}


/*--------------------------------------------------------------
# Left Side Panel
--------------------------------------------------------------*/

.auth-side {
    position: relative;
    padding: 42px 38px;
    background: linear-gradient(160deg, #0f172a 0%, #111c32 100%);
    color: rgba(255, 255, 255, 0.92);
}

.auth-side::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(80, 197, 255, 0.28), transparent 70%);
    opacity: 0.4;
}

.auth-side h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-side p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}


/*--------------------------------------------------------------
# Brand
--------------------------------------------------------------*/

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
}

.auth-brand-title {
    font-size: 20px;
    font-weight: 700;
}

.auth-brand-sub {
    font-size: 12px;
    opacity: 0.8;
}


/*--------------------------------------------------------------
# Auth Info Points
--------------------------------------------------------------*/

.auth-points {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth-point i {
    margin-top: 3px;
    font-size: 18px;
    color: var(--accent-color);
}

.auth-point strong {
    display: block;
    font-size: 14px;
}

.auth-point span {
    font-size: 13px;
    opacity: 0.85;
}


/*--------------------------------------------------------------
# Right Form Card
--------------------------------------------------------------*/

.auth-card {
    padding: 42px 40px;
}

.auth-head {
    margin-bottom: 24px;
    text-align: center;
}

.auth-icon {
    width: 58px;
    height: 58px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color);
    font-size: 22px;
}

.auth-subtext {
    font-size: 14px;
    color: #64748b;
}


/*--------------------------------------------------------------
# Labels
--------------------------------------------------------------*/

.form-label {
    margin-bottom: 6px;
    font-weight: 700;
}


/*--------------------------------------------------------------
# Back Link
--------------------------------------------------------------*/

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
}

.auth-back:hover {
    color: var(--accent-color);
}


/*--------------------------------------------------------------
# Divider
--------------------------------------------------------------*/

.auth-divider {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}


/*--------------------------------------------------------------
# Form Inputs
--------------------------------------------------------------*/

.input-group {
    border-radius: 14px;
}

.input-icon {
    padding: 0 14px;
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px 0 0 12px;
    color: #64748b;
    font-size: 16px;
}

.input-round {
    border-radius: 0 12px 12px 0;
}

.form-control,
.form-select {
    min-height: 52px;
    font-size: 14.5px;
    border-color: rgba(15, 23, 42, 0.08);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(80, 197, 255, 0.45);
    box-shadow: 0 0 0 0.18rem rgba(80, 197, 255, 0.12);
}


/*--------------------------------------------------------------
# Input Help
--------------------------------------------------------------*/

.input-help {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #64748b;
}


/*--------------------------------------------------------------
# Password Toggle
--------------------------------------------------------------*/

.password-toggle-btn {
    padding: 0 16px;
    background: #fff;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    color: #64748b;
}

.password-toggle-btn:hover {
    background: #f1f5f9;
}


/*--------------------------------------------------------------
# Reset Option Cards
--------------------------------------------------------------*/

.reset-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reset-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.reset-card:hover {
    transform: translateY(-2px);
    border-color: rgba(80, 197, 255, 0.5);
    background: #f8fbff;
}

.reset-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(80, 197, 255, 0.12);
    color: var(--accent-color);
    font-size: 18px;
}

.reset-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.reset-content span {
    font-size: 13px;
    color: #64748b;
}

.reset-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 18px;
}


/*--------------------------------------------------------------
# OTP Inputs
--------------------------------------------------------------*/

.otp-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 360px;
    margin: 0 auto;
}

.otp-box {
    width: 54px;
    height: 58px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.otp-box:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.18rem rgba(80, 197, 255, 0.12);
}


/*--------------------------------------------------------------
# Misc
--------------------------------------------------------------*/

.paid-box .form-check-input {
    margin-top: 0;
}


/*--------------------------------------------------------------
# Tablet
--------------------------------------------------------------*/

@media (max-width: 991px) {
    .auth-shell {
        padding: 100px 0 70px;
        min-height: 100vh;
        align-items: center;
    }
    .auth-wrap {
        border-radius: 20px;
    }
    .auth-card {
        padding: 30px 26px;
    }
    .auth-icon {
        width: 50px;
        height: 50px;
    }
}


/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width: 576px) {
    .auth-shell {
        padding: 110px 0 70px;
        min-height: 100vh;
        align-items: flex-start;
    }
    .auth-card {
        padding: 24px 20px;
    }
    .auth-head h4 {
        font-size: 20px;
    }
    .auth-subtext {
        font-size: 13px;
    }
    .form-control,
    .form-select {
        min-height: 50px;
        font-size: 14px;
    }
    .otp-wrap {
        gap: 8px;
        justify-content: center;
    }
    .otp-box {
        width: 44px;
        height: 52px;
        border-radius: 12px;
        font-size: 20px;
    }
}