        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #0a0a0f;
            color: white;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .bg-gradient {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
            z-index: -1;
        }

        .lock-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 15, 0.98);
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .lock-screen.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .lock-content {
            text-align: center;
            padding: 20px;
            max-width: 400px;
            width: 90%;
        }

        .lock-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            font-size: 32px;
            box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .lock-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #fff, #a5b4fc);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .lock-subtitle {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .password-box {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 8px;
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
        }

        .password-input {
            flex: 1;
            background: transparent;
            border: none;
            color: white;
            font-size: 18px;
            padding: 12px 16px;
            outline: none;
            text-align: center;
            letter-spacing: 4px;
            font-weight: 600;
        }

        .password-input::placeholder {
            color: #4b5563;
            letter-spacing: 1px;
            font-weight: 400;
        }

        .unlock-btn {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border: none;
            color: white;
            padding: 14px 28px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            font-size: 16px;
        }

        .unlock-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
        }

        .unlock-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .error-msg {
            color: #ef4444;
            font-size: 13px;
            margin-top: 12px;
            display: none;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .error-msg.show {
            display: flex;
        }

        .attempts-text {
            color: #4b5563;
            font-size: 12px;
            margin-top: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .attempts-text.danger {
            color: #ef4444;
        }
        
        
        ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #1e1e2e;
}
::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #4b5563 #1e1e2e;
}


        .lockout-box {
            display: none;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 16px;
            padding: 24px;
            margin-top: 20px;
        }

        .lockout-box.show {
            display: block;
        }

        .lockout-timer {
            font-size: 32px;
            font-weight: 700;
            color: #ef4444;
            font-family: 'Courier New', monospace;
            margin: 10px 0;
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a0f;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 999;
        }

        .loading-screen.show {
            display: flex;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(99, 102, 241, 0.2);
            border-top-color: #6366f1;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            color: #6b7280;
            margin-top: 16px;
            font-size: 14px;
        }

        .pdf-viewer {
            display: none;
            width: 100%;
            min-height: 100vh;
            background: white;
        }

        .pdf-viewer.show {
            display: block;
        }

        .pdf-page {
            width: 100%;
            display: block;
            margin: 0;
            padding: 0;
        }

        .pdf-page canvas {
            width: 100% !important;
            height: auto !important;
            display: block;
        }

        @media (max-width: 768px) {
            .lock-title {
                font-size: 24px;
            }
            
            .lock-icon {
                width: 70px;
                height: 70px;
                font-size: 28px;
            }
        }

        .lock-screen {
            user-select: none;
            -webkit-user-select: none;
        }