/* ===== LOGIN PAGE SPECIFIC STYLES ===== */

body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated background blobs */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

body::before {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,0,0,0.18), transparent);
    top: -100px; left: -100px;
}

body::after {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(100,80,255,0.15), transparent);
    bottom: -80px; right: -80px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

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

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    animation: slideUp 0.6s ease forwards;
}

.login-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand .logo {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}

.brand h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-group input:focus {
    border-color: rgba(255,0,0,0.6);
    box-shadow: 0 0 0 3px rgba(255,0,0,0.12);
    background: rgba(255,255,255,0.09);
}

.alert-error {
    font-size: 13.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 6px 20px rgba(255,0,0,0.35);
    margin-top: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,0,0,0.45);
}

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

.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}
