/* Landing page đăng nhập (Views/Home/Index.cshtml – Layout = null) */
html, body { height: 100%; }

body.login-page {
    /* Be Vietnam Pro: thiết kế cho tiếng Việt, dấu đều và rõ ở mọi cỡ chữ */
    --ueh-font: 'Be Vietnam Pro', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --ueh-font-heading: var(--ueh-font);
    font-family: var(--ueh-font);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Nền sáng giống trang Điểm rèn luyện UEH */
    background: linear-gradient(135deg, var(--ueh-teal-lighter) 0%, var(--ueh-orange-lighter) 100%);
    background-attachment: fixed;
}

.landing-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.landing-header {
    background: #fff;
    border-bottom: 3px solid var(--ueh-teal);
    box-shadow: var(--ueh-shadow);
    padding: 12px 0;
    position: sticky; top: 0; z-index: 10;
}

.landing-brand { display: flex; align-items: center; gap: 14px; text-decoration: none !important; }
.landing-brand img { max-height: 44px; max-width: 130px; }
.landing-brand-title {
    font-weight: 700; font-size: 1.15rem; line-height: 1.2;
    color: var(--ueh-teal);
    padding-left: 14px; border-left: 1px solid var(--ueh-gray-200);
}
.landing-brand-title small { display: block; font-weight: 500; font-size: .78rem; color: var(--ueh-gray-500); margin-top: 2px; }

.landing-help {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 9999px;
    border: 1px solid var(--ueh-teal); color: var(--ueh-teal);
    font-weight: 600; font-size: .9rem; text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}
.landing-help:hover { background: var(--ueh-teal); color: #fff; }
.landing-help:focus-visible { outline: 3px solid rgba(0, 95, 105, .35); outline-offset: 2px; }

/* ===== Main / hero ===== */
.landing-main {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 56px 24px;
}

.landing-hero {
    width: 100%; max-width: 640px;
    text-align: center;
    animation: slideUp .5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

.login-logo {
    width: 96px; height: 96px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--ueh-teal);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--ueh-shadow-lg);
}
.login-logo img { max-height: 48px; width: auto; }

.login-title {
    font-family: var(--ueh-font-heading);
    font-size: 2.5rem; font-weight: 700;
    color: var(--ueh-teal);
    margin: 0 0 8px; line-height: 1.2;
}

.login-subtitle { font-size: 1.1rem; color: var(--ueh-gray-600); margin: 0 0 32px; }

.login-body { max-width: 520px; margin: 0 auto; text-align: left; }
.login-desc { text-align: center; color: var(--ueh-gray-600); font-size: .95rem; margin-bottom: 20px; }

.btn-login {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex; align-items: center;
    padding: 20px 24px;
    margin-bottom: 16px;
    border-radius: 14px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: var(--ueh-shadow-lg);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn-login:hover { transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgb(0 95 105 / .2), 0 8px 10px -6px rgb(0 0 0 / .08); }
.btn-login:focus-visible { outline: 3px solid rgba(0, 95, 105, .35); outline-offset: 2px; }

.btn-login.staff { background: linear-gradient(135deg, var(--ueh-teal) 0%, var(--ueh-teal-light) 100%); }
.btn-login.staff:hover { background: linear-gradient(135deg, var(--ueh-teal-light) 0%, var(--ueh-teal) 100%); }
/* Cam đậm hơn bản DRL để chữ trắng đạt contrast */
.btn-login.student { background: linear-gradient(135deg, #c9501a 0%, var(--ueh-orange) 100%); }
.btn-login.student:hover { background: linear-gradient(135deg, var(--ueh-orange) 0%, #c9501a 100%); }

.btn-login .ico { font-size: 1.75rem; min-width: 44px; text-align: center; margin-right: 18px; }
.btn-login .txt { flex: 1; text-align: left; }
.btn-login .role { font-family: var(--ueh-font-heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
.btn-login .sub { font-size: .85rem; opacity: .92; line-height: 1.35; }
.btn-login .arrow { opacity: .75; transition: transform .3s ease, opacity .3s ease; }
.btn-login:hover .arrow { opacity: 1; transform: translateX(3px); }
.btn-login.loading { pointer-events: none; opacity: .9; }

/* Footer: dùng chung component Footer như các trang bên trong (site.css) */

@media (max-width: 768px) {
    .login-title { font-size: 1.9rem; }
    .login-subtitle { font-size: 1rem; }
}

@media (max-width: 576px) {
    .landing-container { padding: 0 16px; }
    .landing-brand-title small { display: none; }
    .landing-brand-title { font-size: 1rem; }
    .landing-help span { display: none; }
    .landing-main { padding: 32px 16px; }
    .login-logo { width: 72px; height: 72px; }
    .login-logo img { max-height: 36px; }
    .login-title { font-size: 1.5rem; }
    .btn-login { padding: 16px 18px; }
}
