/* Password Protection Overlay */
#passwordOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9b7cb8 0%, #7b68a8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#passwordOverlay.hidden {
    display: none;
}

.password-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-container h2 {
    font-family: 'Georgia', serif;
    color: #9b7cb8;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.password-container p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.password-input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.password-input:focus {
    outline: none;
    border-color: #9b7cb8;
}

.password-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #9b7cb8 0%, #7b68a8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Georgia', serif;
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 124, 184, 0.4);
}

.password-error {
    color: #dc3545;
    margin-top: 1rem;
    font-weight: 600;
    display: none;
}

.password-error.show {
    display: block;
}

/* Site content hidden until authenticated */
#siteContent {
    display: none;
}

#siteContent.visible {
    display: block;
}

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