/* Login Virtual Keyboard - Netflix Style */

#login-keyboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: inherit;
    transition: opacity 0.3s ease;
}

#login-keyboard-overlay.hidden {
    display: none;
    opacity: 0;
}

.login-kb-container {
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-kb-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-kb-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.login-kb-subtitle {
    color: #888;
    font-size: 1.1rem;
}

.login-kb-display {
    width: 100%;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 2px solid #555;
    color: #fff;
    font-size: 1.8rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-kb-display:after {
    content: "";
    width: 2px;
    height: 30px;
    background: #E50914;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.login-kb-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.login-kb-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.login-key {
    background: #222;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 12px;
    min-width: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.login-key.tv-focused, .login-key:focus {
    background: #333;
    color: #fff;
    border-color: #E50914;
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

.login-key.wide {
    min-width: 120px;
}

.login-key.special {
    background: #1a1a1a;
    color: #aaa;
    font-size: 0.9rem;
}

.login-kb-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 50px;
}

.login-footer-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.login-footer-btn.sec {
    background: #333;
    color: #fff;
}

.login-footer-btn.pri {
    background: #E50914;
    color: #fff;
}

.login-footer-btn.tv-focused, .login-footer-btn:focus {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.1);
    outline: none;
}

