:root {
    --bg-dark: #020617;
    --primary: #3b82f6;
    --glass: rgba(15, 23, 42, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body.login-page {
    font-family: 'Kanit', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
}

.login-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease-out;
}

.login-title {
    color: var(--text-main);
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-sub {
    color: var(--text-muted);
    text-align: center;
    font-size: 15px;
    margin-bottom: 32px;
}

.form-label {
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 8px;
}

.login-card .form-control {
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 12px;
}

.login-card .form-control:focus {
    background: rgba(2, 6, 23, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    color: var(--text-main);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.login-status {
    margin-top: 10px;
    font-size: 14px;
    color: #ef4444;
    text-align: center;
}

.footer-text-login {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}