/* ============================================
   MSEU VOTING SYSTEM - LOGIN PAGE
   Maroon School Theme
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #8B0000 0%, #C41E3A 50%, #6B0000 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    animation: slideUp 0.6s ease-out;
    border-top: 8px solid #8B0000;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.logo-section h1 {
    font-size: 26px;
    color: #8B0000;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-section h2 {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.login-form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
   
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #8B0000;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8B0000, #C41E3A);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #6B0000, #A01730);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .logo-section h1 {
        font-size: 1rem;
    }
    
    .logo-section h2 {
        font-size: 0.85rem;
    }
}

.login-error {
    background-color: #ffdddd;
    color: #d8000c;
    border: 1px solid #d8000c;
    padding: 10px;
    margin: 10px auto 20px auto;
    width: 90%;
    max-width: 450px;
    text-align: center;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
}
