/* Password Protection Styles */
#password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a3956a, #8b7c5a);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.password-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.password-content {
    padding: 2rem;
    text-align: center;
}

.password-logo {
    margin-bottom: 1.5rem;
}

.password-logo img {
    max-width: 200px;
    height: auto;
}

.password-content h2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.password-content p {
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

#password-input {
    font-family: 'Lexend', sans-serif;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

#password-input:focus {
    outline: none;
    border-color: #a3956a;
    background: white;
    box-shadow: 0 0 0 3px rgba(163, 149, 106, 0.1);
}

#password-submit {
    font-family: 'Lexend', sans-serif;
    padding: 1rem 2rem;
    background: #a3956a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#password-submit:hover {
    background: #8b7c5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 149, 106, 0.3);
}

#password-submit:active {
    transform: translateY(0);
}

.password-error {
    font-family: 'Lexend', sans-serif;
    color: #e74c3c;
    font-size: 0.9rem;
    padding: 0.8rem;
    background: #fdf2f2;
    border: 1px solid #fadbd8;
    border-radius: 8px;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.password-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.password-footer small {
    font-family: 'Lexend', sans-serif;
    color: #999;
    font-size: 0.8rem;
}

/* Mobile responsiveness */
@media screen and (max-width: 480px) {
    .password-container {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .password-content {
        padding: 1.5rem;
    }
    
    .password-logo img {
        max-width: 150px;
    }
    
    .password-content h2 {
        font-size: 1.5rem;
    }
    
    .password-content p {
        font-size: 0.9rem;
    }
    
    #password-input, #password-submit {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}
