* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* Header / Masthead */
header.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #222222;
    padding: 15px 30px;
    border-bottom: 2px solid #444444;
}

.logo-container img {
    height: 60px;
    width: auto;
}

#logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Navigation */
nav#menu-toggle ul.nav-tabs {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav#menu-toggle ul.nav-tabs li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}

nav#menu-toggle ul.nav-tabs li a:hover {
    background-color: #444444;
    color: #ffffff;
}

/* Enter Button Section */
section.enter-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    gap: 20px;
}

button.mills {
    background-color: #e50914;
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.2s;
}

button.mills:hover {
    background-color: #b20710;
}

span.hide-on-mobile {
    color: #888888;
    font-size: 13px;
}

/* Logout button */
a.logout-btn {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #555555;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

a.logout-btn:hover {
    background-color: #e50914;
    border-color: #e50914;
    color: #ffffff;
}

/* Login Form (from index.php) */
.login-form {
    width: 300px;
    margin: 50px auto;
    background-color: #333333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.login-form h1 {
    margin-bottom: 10px;
    font-size: 22px;
}

.login-form p {
    font-size: 14px;
    color: #aaaaaa;
    margin-bottom: 15px;
}

.login-form label {
    font-size: 14px;
    color: #cccccc;
}

.login-form input {
    width: 100%;
    height: 35px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #444444;
    border: 1px solid #555555;
    color: #ffffff;
}

.login-form input:focus {
    outline: none;
    border-color: #e50914;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #e50914;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-form button[type="submit"]:hover {
    background-color: #b20710;
}

small.error {
    color: #ff4444;
    font-size: 12px;
}

/* Status messages */
.status.success {
    color: #44cc44;
    text-align: center;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    span.hide-on-mobile {
        display: none;
    }

    header.masthead {
        flex-direction: column;
        gap: 15px;
    }

    nav#menu-toggle ul.nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}
