/* Full-screen background for the password prompt */
#password-protection {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: #2c3e50; /* Deep blue/grey professional background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999999; /* Ensures it sits on top of everything */
    color: white;
    text-align: center;
    font-family: sans-serif;
}

/* The white box in the center */
.login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    max-width: 400px;
    width: 90%;
}

.login-box h2 {
    margin-top: 0;
    color: #2c3e50;
}

.login-box p {
    color: #666;
    margin-bottom: 20px;
}

/* Input field styling */
.login-box input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Prevents input from overflowing */
    font-size: 1rem;
    outline: none;
}

.login-box input:focus {
    border-color: #27ae60;
}

/* Button styling */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #27ae60; /* Forest Green */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #219150;
}

/* Hide main content initially */
#main-content { 
    display: none; 
}