html, body {
    height: 100%;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6fa;
    margin: 0;
    display: flex;
    flex-direction: column; 
    min-height: 100vh;
    min-height: 100dvh; 
}

.maintenance-container {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.maintenance-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
}

.portal-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: bold;
    color: #1A237E;
    margin-bottom: 16px;
}

.login-section h2 {
    font-size: clamp(16px, 2.2vw, 20px);
    color: #1A237E;
    margin-bottom: 12px;
}

.error {
    color: #d8000c;
    background: #ffeded;
    border: 1px solid #ffc9c9;
    padding: 10px;
    font-size: 0.95rem;
    border-radius: 6px;
    margin-bottom: 14px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.login-btn {
    background: #1A237E;
    color: #fff;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.login-btn:hover { background: #0d1654; }

body::before {
    content: "MAINTENANCE IN PROGRESS";
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(24px, 6vw, 80px);
    font-weight: bold;
    color: rgba(26, 35, 126, 0.10);
    text-align: center;
    z-index: 0; 
    pointer-events: none;
    white-space: nowrap;
}

.maintenance-footer {
    text-align: center;
    color: rgba(26, 35, 126, 0.7);
    font-weight: 500;
    line-height: 1.4;
    padding: 16px 24px 24px;
    max-width: 1100px;
    margin: 0 auto;
    font-size: clamp(12px, 1.1vw, 18px); 
}

@media (max-width: 480px) {
    .maintenance-box { padding: 1.25rem; }
}
