/* หน้าเดี่ยวก่อนเข้าสู่ระบบ (ออกจากระบบแล้ว / กรุณาเข้าสู่ระบบ) — แบบ A: card กลางจอ
   อ้างอิง docs/UI21092026/Signed Out.html (1a, มือถือ 1c) */
body.auth-body {
    margin: 0;
    font-family: var(--mm-font, 'Noto Sans Thai Looped', sans-serif);
    color: #5a5c69;
    background: #224abe;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 16px;
    background: var(--mm-gradient, linear-gradient(135deg, #4e73df 10%, #224abe 100%));
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .02em;
}

.auth-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand-icon .material-symbols-rounded {
    font-size: 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    border: 0;
    border-radius: 12px;
}

.auth-card .card-body {
    padding: 40px 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #e8f7f0;
    color: #1cc88a;
}

.auth-icon .material-symbols-rounded {
    font-size: 40px;
}

.auth-icon--info {
    background: #eaf0fc;
    color: #4e73df;
}

.auth-icon--warning {
    background: #fdf5e3;
    color: #d69e10;
}

.auth-title {
    font-size: 22px;
    font-weight: 800;
    color: #3a3b45;
    margin: 0 0 8px;
    text-wrap: balance;
}

.auth-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6e707e;
    margin: 0 0 28px;
    max-width: 340px;
    text-wrap: pretty;
}

.auth-detail {
    width: 100%;
    margin: -12px 0 24px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdf5e3;
    color: #8a6508;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    word-break: break-word;
}

.auth-btn {
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn .material-symbols-rounded {
    font-size: 22px;
}

.auth-note {
    margin-top: 20px;
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.55;
    color: #6e707e;
}

.auth-note .material-symbols-rounded {
    font-size: 20px;
    color: #858796;
    flex: none;
}

.auth-lang {
    border-top: 1px solid #e3e6f0;
    padding: 14px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.auth-lang button {
    border: 0;
    background: none;
    padding: 0;
    color: #4e73df;
    font: inherit;
    cursor: pointer;
}

.auth-lang button:hover {
    color: #224abe;
}

.auth-lang button.is-active {
    color: #3a3b45;
    font-weight: 700;
    cursor: default;
}

.auth-lang-sep {
    color: #d1d3e2;
}

.auth-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

/* มือถือ (แบบ 1c) */
@media (max-width: 575.98px) {
    .auth-page {
        gap: 20px;
        padding: 24px 16px;
    }

    .auth-brand {
        gap: 8px;
        font-size: 18px;
        letter-spacing: 0;
    }

    .auth-brand-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .auth-brand-icon .material-symbols-rounded {
        font-size: 22px;
    }

    .auth-card .card-body {
        padding: 32px 20px 24px;
    }

    .auth-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .auth-icon .material-symbols-rounded {
        font-size: 36px;
    }

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

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

    .auth-note {
        margin-top: 16px;
        padding: 12px;
    }

    .auth-lang {
        gap: 4px;
        padding: 0;
        font-size: 15px;
    }

    .auth-lang button {
        padding: 12px 14px;
    }
}

/* ไม่แสดงเส้น outline ตอน focus (หน้าเดี่ยวไม่ได้โหลด site.css) */
*,
*::before,
*::after,
*:focus,
*:focus-visible {
    outline: none !important;
}

/* ลิงก์คู่มือใช้งาน (wwwroot/docs) ใต้กล่องหมายเหตุ */
.auth-doc-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4e73df;
    text-decoration: none;
}

.auth-doc-link .material-symbols-rounded {
    font-size: 20px;
}

.auth-doc-link:hover {
    color: #224abe;
    text-decoration: underline;
}
