/* ==========================
    Auth Page
========================== */

.auth-page {
    width: 100%;
    min-height: calc(100vh - 64px);

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 20px;
}


/* ==========================
    Auth Card
========================== */

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


/* ==========================
    Brand
========================== */

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

    margin-bottom: 25px;

    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;

    text-decoration: none;
}

.auth-logo {
    width: 42px;
    height: 42px;

    object-fit: cover;
    border-radius: 10px;
}



/* ==========================
    Form
========================== */

.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text);

    font-size: 13px;
    font-weight: 500;
}


/* ==========================
    Label Row
========================== */

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 7px;
}

.auth-label-row label {
    margin: 0;
}

.auth-label-row a {
    color: var(--color-primary);

    font-size: 11px;

    text-decoration: none;
}

.auth-label-row a:hover {
    text-decoration: underline;
}


/* ==========================
    Input
========================== */

.auth-input {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    height: 46px;
}

.auth-input>i {
    position: absolute;
    left: 14px;

    color: var(--color-text-light);

    font-size: 16px;

    pointer-events: none;
}

.auth-input input {
    width: 100%;
    height: 100%;

    padding: 0 42px;

    color: var(--color-text);

    background: var(--color-white);

    border: 1px solid var(--color-border);
    border-radius: 10px;

    outline: none;

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-input input::placeholder {
    color: var(--color-text-light);
}

.auth-input input:focus {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px var(--color-primary-light);
}


/* ==========================
    Password Toggle
========================== */

.auth-password-toggle {
    position: absolute;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    color: var(--color-text-light);

    background: transparent;

    border: 0;
    border-radius: 8px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.auth-password-toggle:hover {
    color: var(--color-primary);
    background: var(--color-hover-bg);
}


/* ==========================
    Options
========================== */

.auth-options {
    margin: 5px 0 20px;
}

.auth-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;

    margin: 0 !important;

    color: var(--color-text-muted) !important;

    font-size: 11px !important;
    font-weight: 400 !important;

    cursor: pointer;
}

.auth-checkbox input {
    flex-shrink: 0;

    width: 15px;
    height: 15px;

    margin-top: 1px;

    accent-color: var(--color-primary);

    cursor: pointer;
}


/* ==========================
    Submit
========================== */

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: 100%;
    height: 46px;

    color: #fff;

    background: var(--color-primary);

    border: 0;
    border-radius: 10px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit:hover {
    background: var(--color-primary-hover);

    box-shadow:
        0 6px 18px rgba(108, 76, 232, 0.25);

    transform: translateY(-1px);
}

.auth-submit:active {
    transform: translateY(0);
}


/* ==========================
    Auth Footer
========================== */

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-top: 22px;

    color: var(--color-text-muted);

    font-size: 12px;
}

.auth-footer a {
    color: var(--color-primary);

    font-weight: 500;

    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* ==========================
    Mobile
========================== */

@media (max-width: 576px) {

    .auth-page {
        min-height: calc(100vh - 58px);

        padding: 25px 15px;
    }

    .auth-card {
        padding: 28px 20px;

        border-radius: 16px;
    }

    .auth-header h1 {
        font-size: 22px;
    }
}