* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F4F7F9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(90, 114, 160, 0.1);
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    animation: fadeIn 0.6s ease;
    border-top: 5px solid #5A72A0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: #1E293B;
    font-size: 26px;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 500;
}

.input-group { margin-bottom: 22px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: #475569; font-size: 14px; }
input { 
    width: 100%; padding: 14px 16px; border: 1px solid #CBD5E1; 
    border-radius: 8px; font-size: 15px; transition: all 0.2s; color: #334155; background: #F8FAFC; 
}
input:focus { border-color: #5A72A0; background: #FFFFFF; outline: none; box-shadow: 0 0 0 3px rgba(90, 114, 160, 0.15); }

button {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #5A72A0 0%, #83B4BD 100%);
    color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; 
    letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s; margin-top: 15px;
}

button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(90, 114, 160, 0.25); }
button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.message { padding: 14px; border-radius: 8px; margin-bottom: 20px; text-align: center; font-size: 14px; }
.error { background-color: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
.success { background-color: #F0FDF4; color: #166534; border-left: 4px solid #22C55E; }
.hidden { display: none; }

@media screen and (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        width: 95%;
    }
    h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    input, button {
        font-size: 14px;
        padding: 12px;
    }
}