/* Security Overlay */
.security-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(15, 15, 19, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.security-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lock-content {
    text-align: center;
    width: 100%;
    max-width: 320px;
    animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.security-overlay h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-overlay p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* PIN Display */
.pin-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    transition: all 0.2s;
}

.pin-dot.filled {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.2);
}

/* Numpad */
.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.num-btn {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.num-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.delete-btn {
    color: var(--error-color);
}

.biometric-btn {
    font-size: 1rem;
    color: var(--accent-secondary);
}

/* Privacy Blur Effect */
body.privacy-blur #app {
    filter: blur(15px) grayscale(100%);
    transition: filter 0.2s;
}

body.privacy-blur::after {
    content: "LOCKED";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}