/* ============================================
   POS SYSTEM - Login Screen (Final)
   Right-aligned, ultra transparent, bg slideshow
   ============================================ */

.login-screen {
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    padding-right: 80px;
}

/* ---- Background Slideshow ---- */
.login-bg-layer {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
}
.login-bg-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    will-change: opacity, transform;
}
.login-bg-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ---- PIN Card ---- */
.login-pin-card {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    padding: 35px 13px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* PIN header */
.login-pin-header {
    text-align: center;
    margin-bottom: 26px;
}
.login-pin-icon {
    font-size: 35px;
    margin-bottom: 8px;
}
.login-pin-title {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* PIN dots */
.pin-display {
    display: flex;
    gap: 14px;
    margin-bottom: 19px;
    min-height: 38px;
    align-items: center;
}
.pin-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.15s ease;
}
.pin-dot.filled {
    background: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 13px rgba(245, 158, 11, 0.5);
}

/* Error */
.login-error {
    color: var(--red, #ef4444);
    font-size: 13px;
    font-weight: 600;
    min-height: 19px;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---- NUMPAD ---- */
.pin-pad {
    display: grid;
    grid-template-columns: repeat(4, 133px);
    gap: 10px;
    justify-content: center;
}

.pin-key {
    height: 112px;
    width: 133px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    font-size: 45px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.12s ease;
    cursor: pointer;
    user-select: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.pin-key:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}
.pin-key:active {
    background: #f59e0b;
    color: #1a1a2e;
    border-color: #f59e0b;
    transform: scale(0.94);
    text-shadow: none;
}

.pin-key.backspace {
    font-size: 38px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.1);
}
.pin-key.backspace:hover { color: #ef4444; background: rgba(239, 68, 68, 0.08); }

.pin-key.clear-key {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.1);
}
.pin-key.clear-key:hover { color: #ef4444; background: rgba(239, 68, 68, 0.08); }

.pin-key.login-key {
    background: #f59e0b;
    color: #1a1a2e;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-color: #f59e0b;
    text-shadow: none;
}
.pin-key.login-key:hover { background: #fbbf24; border-color: #fbbf24; }
.pin-key.login-key:active { background: #d97706; border-color: #d97706; }

.pin-key.double-zero {
    font-size: 41px;
    letter-spacing: 3px;
}

.pin-key.menu-key {
    font-size: 33px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.1);
}
.pin-key.menu-key:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

/* ---- Footer ---- */
.login-pin-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 19px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.login-forgot-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.login-forgot-link:hover { color: rgba(255, 255, 255, 0.45); }

/* ---- Animations ---- */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-8px); }
    80% { transform: translateX(6px); }
}

/* 1920×1080 fixed — no responsive breakpoints */
