/**
 * Password Protection Overlay Styles
 * Provides a clean, centered password prompt overlay
 */

.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

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

.password-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 32px;
    width: 320px;
    text-align: center;
}

.password-box h2 {
    color: #e6edf3;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.password-box p {
    color: #8b949e;
    font-size: 13px;
    margin: 0 0 24px 0;
}

.password-box input {
    width: 100%;
    padding: 10px 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #e6edf3;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.password-box input:focus {
    outline: none;
    border-color: #58a6ff;
}

.password-box button {
    width: 100%;
    padding: 10px 14px;
    background: #238636;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.password-box button:hover {
    background: #2ea043;
}

.password-box button:disabled {
    background: #1a6327;
    cursor: not-allowed;
    opacity: 0.6;
}

.password-box .error {
    color: #f85149;
    font-size: 12px;
    margin-top: 12px;
    display: none;
}

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