﻿/* =========================================================
   AUTHENTICATION
=========================================================*/

.auth-page {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,#fafafa 0%,#f3f5f8 100%);
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 60px;
    align-items: center;
}

.auth-intro h1 {
    margin: 20px 0;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
}

    .auth-intro h1 span {
        color: var(--accent-color);
    }

.auth-intro p {
    max-width: 560px;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
}

.auth-kicker {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--accent-color);
    background: #fff3ec;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 40px;
}

.auth-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--accent-color);
    font-weight: 800;
    font-size: 20px;
}

.auth-brand-name {
    color: #111;
    font-size: 30px;
    font-weight: 800;
}

.auth-benefits {
    margin-top: 45px;
    display: grid;
    gap: 18px;
}

.auth-benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

    .auth-benefit-item i {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: var(--accent-color);
        font-size: 22px;
    }

    .auth-benefit-item strong {
        display: block;
        margin-bottom: 6px;
        color: #111;
    }

    .auth-benefit-item span {
        color: #666;
        line-height: 1.8;
        font-size: 15px;
    }

.auth-card {
    padding: 45px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.auth-card-header {
    margin-bottom: 35px;
}

    .auth-card-header h2 {
        margin-bottom: 8px;
        color: #111;
        font-size: 34px;
        font-weight: 800;
    }

    .auth-card-header p {
        color: #777;
    }

.auth-field {
    margin-bottom: 24px;
}

    .auth-field label {
        display: block;
        margin-bottom: 10px;
        color: #111;
        font-weight: 600;
    }

.auth-input-group {
    position: relative;
}

    .auth-input-group i:first-child {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 18px;
    }

    .auth-input-group input {
        width: 100%;
        height: 58px;
        padding: 0 55px;
        border: 1px solid #ddd;
        border-radius: 14px;
        transition: .3s;
    }

        .auth-input-group input:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px rgba(248,93,35,.15);
            outline: none;
        }

.auth-password-group {
    position: relative;
}

    .auth-password-group input {
        padding-right: 52px;
    }

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    z-index: 10;
}

    .auth-password-toggle:hover {
        color: var(--accent-color);
    }

    .auth-password-toggle:focus {
        outline: none;
        box-shadow: none;
    }

    .auth-password-toggle i {
        font-size: 18px;
        line-height: 1;
        pointer-events: none;
    }
.header-logout-form {
    display: inline-flex;
    margin: 0;
}

.header-logout-button {
    padding: 10px 18px;
    color: #111111;
    background: transparent;
    border: 1px solid #dddddd;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

    .header-logout-button:hover {
        color: #ffffff;
        background: var(--accent-color);
        border-color: var(--accent-color);
    }

.auth-checkbox {
    margin-right: 10px;
}

.auth-terms {
    margin: 28px 0;
    color: #555;
    font-size: 15px;
}

    .auth-terms a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 600;
    }

.auth-submit-button {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    color: #fff;
    background: var(--accent-color);
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
}

    .auth-submit-button:hover {
        background: #d94f1d;
    }

.auth-security-note {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    color: #666;
    font-size: 14px;
}

.auth-card-footer {
    margin-top: 35px;
    text-align: center;
    color: #666;
}

    .auth-card-footer a {
        margin-left: 6px;
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 700;
    }

.auth-validation-summary {
    margin-bottom: 25px;
    color: #c62828;
}

.auth-field-error {
    display: block;
    margin-top: 8px;
    color: #d32f2f;
    font-size: 13px;
}

@media(max-width:992px) {

    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-intro {
        display: none;
    }
}

@media(max-width:576px) {

    .auth-page {
        padding: 80px 0;
    }

    .auth-card {
        padding: 28px;
        border-radius: 18px;
    }

    .auth-card-header h2 {
        font-size: 28px;
    }

    .auth-input-group input {
        height: 54px;
    }
}
/* =========================================================
   AUTH STATUS PAGES
========================================================= */

.auth-status-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.auth-status-card {
    padding: 52px 46px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.auth-status-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--accent-color);
    border-radius: 26px;
    box-shadow: 0 14px 32px rgba(248, 93, 35, 0.24);
}

    .auth-status-icon i {
        font-size: 42px;
        line-height: 1;
    }

.auth-status-card h1 {
    margin: 18px 0 14px;
    color: #111111;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
}

.auth-status-card > p {
    margin: 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
}

.auth-status-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 16px 0;
    padding: 11px 18px;
    overflow-wrap: anywhere;
    color: #111111;
    background: #fff4ee;
    border: 1px solid rgba(248, 93, 35, 0.24);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
}

.auth-status-description {
    max-width: 500px;
    margin: 0 auto 28px !important;
}

.auth-status-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.auth-status-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
}

    .auth-status-button:hover {
        color: #ffffff;
    }

.auth-outline-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .auth-outline-button:hover {
        color: var(--accent-color);
        border-color: var(--accent-color);
        transform: translateY(-2px);
    }

.auth-status-help {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 26px;
    padding: 16px 18px;
    text-align: left;
    background: #f8f8f8;
    border-radius: 12px;
}

    .auth-status-help i {
        flex: 0 0 auto;
        margin-top: 3px;
        color: var(--accent-color);
        font-size: 17px;
    }

    .auth-status-help p {
        margin: 0;
        color: #666666;
        font-size: 13.5px;
        line-height: 1.7;
    }

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    padding: 15px 17px;
    text-align: left;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.7;
}

    .auth-alert i {
        flex: 0 0 auto;
        margin-top: 3px;
    }

.auth-alert-warning {
    color: #7a4a00;
    background: #fff8e1;
    border: 1px solid #ffe082;
}

@media (max-width: 575.98px) {
    .auth-status-card {
        padding: 38px 22px;
        border-radius: 18px;
    }

    .auth-status-icon {
        width: 78px;
        height: 78px;
        border-radius: 21px;
    }

        .auth-status-icon i {
            font-size: 35px;
        }

    .auth-status-card h1 {
        font-size: 30px;
    }

    .auth-status-card > p {
        font-size: 15px;
    }
}
.auth-status-icon-success {
    background: #168c4b;
    box-shadow: 0 14px 32px rgba(22, 140, 75, 0.22);
}

.auth-status-icon-danger {
    background: #c93636;
    box-shadow: 0 14px 32px rgba(201, 54, 54, 0.22);
}

.auth-alert-success {
    color: #12643a;
    background: #eefaf3;
    border: 1px solid #bce8cc;
}

.auth-alert-danger {
    color: #8b2323;
    background: #fff1f1;
    border: 1px solid #f1c1c1;
}

.auth-status-form {
    margin-top: 28px;
    text-align: left;
}
/* =========================================================
   LOGIN
========================================================= */

.auth-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

    .auth-field-label-row label {
        margin: 0;
    }

.auth-field-link,
.auth-resend-link {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .auth-field-link:hover,
    .auth-resend-link:hover {
        color: #d94f1d;
    }

.auth-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 26px;
}

.auth-remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .auth-remember-option .auth-checkbox {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--accent-color);
    }

.auth-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

    .auth-submit-button i {
        font-size: 18px;
    }

@media (max-width: 575.98px) {
    .auth-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .auth-field-label-row {
        align-items: flex-start;
    }
}