body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column; /* put header at the top, content centered below */
    min-height: 100vh;
    margin: 0;
}

/* Navy header bar for login (matches app top nav color) */
.login-header {
    background-color: #0b2e5b; /* same as .navbar.bg-navy */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0; /* subtle bar height; adjust if desired */
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Center the login card within the remaining viewport height */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px; /* breathing room on small screens */
}

.login-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.login-container h2 {
    margin-top: 0;
}
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.error-message {
    color: red;
    margin-top: 10px;
}
.logout-container {
    display: none;
    flex-direction: column;
    align-items: center;
}
.logout-container button {
    margin-top: 20px;
}


/* Login-specific logo sizing and layout fixes */
.login-header { width: 100%; }
.login-header .u5-logo { height: 35px; width: auto; display: block; }
@media (min-width: 768px) {
  .login-header .u5-logo { height: 28px; }
}
