
.alert {
    padding: 15px;
    background-color: #f9edbe;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    margin-bottom: 20px;
}
/* --- Fullscreen Center Layout --- */
.login-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a3d62, #0f527a);
}

/* --- Login Card --- */
.login-container {
    width: 380px;
    max-width: 100%;
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    text-align: center;
    animation: fadeIn 0.4s ease;
}

/* --- Fade-in Animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Title --- */
.login-container h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 28px;
}

/* --- Inputs --- */
.login-container input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #cfd6dd;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.login-container input:focus {
    border-color: #0a3d62;
    box-shadow: 0 0 0 3px rgba(10,61,98,0.15);
    outline: none;
}

/* --- Button --- */
.login-btn {
    width: 100%;
    padding: 14px;
    background: #0a3d62;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.1s ease;
}

.login-btn:hover {
    background: #08405a;
}

.login-btn:active {
    transform: scale(0.98);
}

/* --- Footer Text --- */
.login-footer {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.login-footer a {
    color: #0a3d62;
    font-weight: 600;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* --- Mobile --- */
@media (max-width: 700px) {
    .login-container {
        padding: 32px 24px;
    }
    .login-container h1 {
        font-size: 1.7rem;
    }
}
