/* Password Protection Modal Styles */
.password-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.password-overlay.active {
    display: flex;
}

.password-modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.dark-mode .password-modal {
    background: #2a2a2a;
    color: #fff;
}

.password-modal h2 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.password-modal .lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.password-modal p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.dark-mode .password-modal p {
    color: #aaa;
}

.password-modal input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.dark-mode .password-modal input {
    background: #3a3a3a;
    border-color: #555;
    color: #fff;
}

.password-modal input:focus {
    outline: none;
    border-color: #2196f3;
}

.password-modal .error-msg {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.password-modal .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
}
