* { box-sizing: border-box; }
html, body { min-height: 100%; }

body.qlnt-login-page {
    margin: 0;
    background: #eef2f3 url("../../Assets/Images/dai-hoc-fpt-1.jpg") center / cover no-repeat fixed;
    color: #202a30;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.qlnt-login-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px 20px;
    background: rgba(239, 244, 246, 0.12);
}

.qlnt-login-panel {
    width: 460px;
    max-width: 100%;
    padding: 40px;
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(23, 39, 45, 0.16);
}

.login-brand-row { text-align: center; }
.login-logo { display: block; width: 180px; max-width: 100%; height: auto; margin: 0 auto 28px; }
.login-system-title {
    margin: 0;
    color: #202a30;
    font-size: 28px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.login-system-subtitle { margin: 10px 0 0; color: #677780; font-size: 14px; line-height: 1.5; }
#frmLogin { margin-top: 28px; }
.login-error {
    margin-bottom: 16px;
    padding: 10px 12px;
    background: #fff3f1;
    border: 1px solid #f0cbc4;
    border-radius: 4px;
    color: #9b3021;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.login-error:empty { display: none; }
.login-google-button { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 400px; min-height: 44px; margin: 0 auto; }

@media (max-width: 480px) {
    .qlnt-login-shell { padding: 24px 16px; }
    .qlnt-login-panel { padding: 32px 24px; }
    body.qlnt-login-page { background-attachment: scroll; }
}

.login-loading { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(255, 255, 255, 0.94); color: #28343e; font-size: 15px; }
.login-loading[hidden] { display: none; }
#frmLogin[aria-busy="true"] #buttonDiv { pointer-events: none; }
