.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.password-overlay.hidden {
    display: none;
}
.password-overlay__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}
.password-overlay__subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
}
.password-overlay__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.password-overlay__input {
    width: 280px;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.password-overlay__input:focus {
    border-color: #4a90d9;
}
.password-overlay__input.error {
    border-color: #e74c3c;
    animation: shake 0.3s ease-in-out;
}
.password-overlay__button {
    width: 280px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #4a90d9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.password-overlay__button:hover {
    background: #3a7bc8;
}
.password-overlay__error {
    color: #e74c3c;
    font-size: 14px;
    height: 20px;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.password-overlay { padding:24px; box-sizing:border-box; }
.password-overlay .password-overlay__title { margin:0 0 8px; }
.password-overlay .password-overlay__subtitle { margin:0 0 24px; }
.password-overlay__input, .password-overlay__button { max-width:100%; box-sizing:border-box; }
