/* ===== LOGIN PAGE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    background: linear-gradient(135deg, #0f1b2d 0%, #1a2d44 50%, #0d1f35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
}

.login-logo {
    text-align: center;
    color: #fff;
}

.login-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-logo .logo-text span {
    color: #4fc3f7;
}

.login-logo .logo-sub {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a6882;
    margin-top: 4px;
    display: block;
}

.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 40px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .05) inset;
}

.login-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 6px;
}

.login-card .login-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type=text],
input[type=password] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #f8fafc;
    color: #1e2a3a;
}

input[type=text]:focus,
input[type=password]:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, .4);
    letter-spacing: 0.3px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, .5);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 18px;
}

.login-footer {
    font-size: 12px;
    color: #3d5a73;
    text-align: center;
}