/* =========================================================
   LOGIN PAGE
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 70px 0;
    background: #f8fafc;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    align-items: center;
    gap: 80px;
}


/* =========================================================
   LEFT INTRO
   ========================================================= */

.auth-intro {
    max-width: 570px;
}

.auth-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 6px;
    background: #e8f1ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.auth-intro h1 {
    margin: 18px 0 16px;
    color: #0f172a;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 750;
    letter-spacing: -2px;
}

.auth-intro h1 span {
    color: #2563eb;
}

.auth-intro > p {
    max-width: 500px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   FEATURES
   ========================================================= */

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 38px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-feature-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe5f2;
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.75);

    color: #2563eb;
}

.auth-feature strong {
    display: block;
    margin-bottom: 2px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 650;
}

.auth-feature span {
    display: block;
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.auth-card {
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.auth-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.auth-card-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
}

.auth-card-header h2 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}

.auth-card-header p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 650;
}

.auth-form-group label span {
    color: #ef4444;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label-row a {
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.auth-label-row a:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUTS
   ========================================================= */

.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;

    transform: translateY(-50%);

    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.auth-input-wrapper input {
    width: 100%;
    height: 50px;

    padding: 0 45px 0 42px;

    border: 1px solid #dbe2ea;
    border-radius: 9px;

    outline: none;

    background: #ffffff;
    color: #1e293b;

    font-size: 13px;

    transition: all 0.2s ease;
}

.auth-input-wrapper input::placeholder {
    color: #a1adbb;
}

.auth-input-wrapper input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #94a3b8;

    cursor: pointer;
}

.auth-password-toggle:hover {
    color: #2563eb;
}


/* =========================================================
   REMEMBER ME
   ========================================================= */

.auth-options {
    margin: 2px 0 22px;
}

.auth-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    margin: 0 !important;

    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;

    cursor: pointer;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;

    accent-color: #2563eb;
    cursor: pointer;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.auth-submit {
    width: 100%;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;
    border-radius: 9px;

    background: #0f172a;
    color: #ffffff;

    font-size: 13px;
    font-weight: 650;

    cursor: pointer;

    transition: all 0.25s ease;
}

.auth-submit i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.auth-submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}

.auth-submit:hover i {
    transform: translateX(4px);
}


/* =========================================================
   REGISTER LINK
   ========================================================= */

.auth-register {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    margin-top: 24px;
    padding-top: 22px;

    border-top: 1px solid #edf1f5;

    text-align: center;
}

.auth-register span {
    color: #64748b;
    font-size: 12px;
}

.auth-register a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.auth-register a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 650px;
        margin: 0 auto;
    }

    .auth-intro {
        max-width: 100%;
        text-align: center;
    }

    .auth-intro > p {
        margin: 0 auto;
    }

    .auth-features {
        max-width: 430px;
        margin: 30px auto 0;
        text-align: left;
    }

    .auth-card {
        width: 100%;
    }
}


@media (max-width: 575px) {

    .auth-page {
        padding: 40px 0;
    }

    .auth-intro h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .auth-intro > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .auth-features {
        margin-top: 25px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .auth-card-header {
        margin-bottom: 25px;
    }

    .auth-card-header h2 {
        font-size: 21px;
    }

    .auth-card-header p {
        font-size: 11px;
    }
}


/* =========================================================
   AUTH INFO BOX
   ========================================================= */

.auth-info-box {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin: 3px 0 22px;
    padding: 13px 14px;

    border: 1px solid #dbeafe;
    border-radius: 9px;

    background: #f8fbff;
}

.auth-info-box > i {
    margin-top: 2px;
    color: #2563eb;
    font-size: 13px;
}

.auth-info-box p {
    margin: 0;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.65;
}


/* =========================================================
   FORGOT PASSWORD RESPONSIVE
   ========================================================= */

@media (max-width: 575px) {

    .auth-info-box {
        padding: 12px;
    }

    .auth-info-box p {
        font-size: 11px;
    }
}

.auth-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.auth-alert-error {
    background: #fff1f1;
    border: 1px solid #f3b5b5;
    color: #b42318;
}

.auth-alert-success {
    background: #ecfdf3;
    border: 1px solid #a6f4c5;
    color: #027a48;
}