/* Password Modal Styles */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: modalFadeIn 0.4s ease-out forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 19, 24, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.password-container {
    background-color: var(--bg-white);
    padding: var(--spacing-xxl);
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: containerFadeIn 0.5s ease-out 0.1s both;
}

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

.password-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.password-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.password-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.password-submit {
    padding: var(--spacing-sm) var(--spacing-xl);
    background-color: var(--accent-gold);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.password-submit:hover {
    background-color: #b8944f;
}

.password-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.password-error {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #d32f2f;
    margin-top: var(--spacing-sm);
    min-height: 1.5rem;
}

.password-modal.hidden {
    display: none;
}

/* Fade-out animation when hiding modal */
.password-modal.fade-out {
    animation: modalFadeOut 0.5s ease-out forwards;
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

