/*
============================================================
/auth/login.css
CSS เฉพาะหน้า Login
============================================================
*/

.auth-section {
    padding: 72px 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 90, 95, 0.14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.auth-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

.auth-card {
    padding: 34px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-icon {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    background: var(--primary-color);
    color: #ffffff;

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

    font-size: 32px;
    margin: 0 auto 16px auto;
    box-shadow: 0 18px 34px rgba(255, 90, 95, 0.28);
}

.auth-header h1 {
    color: var(--black);
    font-size: 34px;
    letter-spacing: -0.05em;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.auth-form {
    width: 100%;
}

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

    margin-bottom: 18px;
}

.remember-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
}

.remember-box input {
    accent-color: var(--primary-color);
}

.auth-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 800;
}

.google-btn {
    margin-top: 12px;
}

.google-btn span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border-color);

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

    color: var(--primary-color);
    font-weight: 900;
}

.auth-alert {
    display: none;

    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;

    background: var(--primary-soft);
    color: var(--primary-color);

    font-size: 14px;
    font-weight: 800;
}

.auth-alert.active {
    display: block;
}

.auth-footer-text {
    margin-top: 22px;
    text-align: center;

    color: var(--text-muted);
    font-size: 15px;
}

.auth-footer-text a {
    color: var(--primary-color);
    font-weight: 900;
}

.auth-side {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-side-card {
    width: 100%;
    padding: 42px;
    border-radius: 34px;

    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.38), transparent 34%),
        var(--primary-color);

    color: #ffffff;
    box-shadow: 0 30px 80px rgba(255, 90, 95, 0.28);
}

.auth-side-icon {
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.18);

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

    font-size: 38px;
    margin-bottom: 20px;
}

.auth-side-card h2 {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.auth-side-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    margin-bottom: 22px;
}

.auth-side-card ul {
    list-style: none;
}

.auth-side-card li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;

    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.auth-side-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;

    color: #ffffff;
    font-weight: 900;
}

@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-side {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .auth-section {
        padding: 48px 16px;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-side-card {
        padding: 30px;
        border-radius: 26px;
    }

    .auth-side-card h2 {
        font-size: 28px;
    }
}

/*
------------------------------------------------------------
Forgot Password Single Layout
------------------------------------------------------------
*/
.single-auth-container {
    max-width: 520px;
    grid-template-columns: 1fr;
}