        @import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Courier Prime', monospace;
            background: 
                linear-gradient(45deg, #2c1810 0%, #1a0f08 25%, #3d2817 50%, #1a0f08 75%, #2c1810 100%),
                repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 69, 19, 0.03) 2px, rgba(139, 69, 19, 0.03) 4px);
            color: #d4af37;
            height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Steam and gear background effects */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 15% 30%, rgba(139, 69, 19, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 85% 70%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(160, 82, 45, 0.06) 0%, transparent 60%);
            animation: steamPulse 12s ease-in-out infinite alternate;
            z-index: -1;
        }

        @keyframes steamPulse {
            0% { opacity: 0.4; }
            100% { opacity: 0.8; }
        }

        .terminal-container {
            height: 100vh;
            display: flex;
            flex-direction: column;
            background: 
                linear-gradient(180deg, rgba(139, 69, 19, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%),
                repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(184, 134, 11, 0.1) 1px, rgba(184, 134, 11, 0.1) 2px);
            backdrop-filter: blur(5px);
            border: 2px solid #8b4513;
            border-radius: 8px;
            margin: 10px;
            box-shadow: 
                inset 0 0 50px rgba(139, 69, 19, 0.2),
                0 0 30px rgba(139, 69, 19, 0.3);
        }

        .header {
            background: 
                linear-gradient(90deg, #3d2415 0%, #5d3a2a 20%, #4a2c1a 40%, #5d3a2a 60%, #3d2415 100%),
                repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(184, 134, 11, 0.1) 10px, rgba(184, 134, 11, 0.1) 20px);
            padding: 15px 20px;
            border-bottom: 3px solid #8b4513;
            border-top: 1px solid #cd853f;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 
                inset 0 2px 5px rgba(205, 133, 63, 0.3),
                0 5px 15px rgba(139, 69, 19, 0.5);
            position: relative;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #cd853f, transparent);
            animation: steamFlow 4s linear infinite;
        }

        @keyframes steamFlow {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .menu-button {
            background: linear-gradient(145deg, #5d3a2a, #3d2415);
            border: 2px solid #8b4513;
            color: #d4af37;
            padding: 8px 12px;
            cursor: pointer;
            font-family: 'Courier Prime', monospace;
            font-size: 14px;
            border-radius: 6px;
            transition: all 0.3s ease;
            display: none;
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.3),
                0 2px 5px rgba(0, 0, 0, 0.5);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .menu-button:hover {
            background: linear-gradient(145deg, #6d4a3a, #4d2e1f);
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.5),
                0 0 15px rgba(184, 134, 11, 0.4);
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .menu-button {
                display: block;
            }
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #cd853f;
            text-shadow: 
                2px 2px 4px rgba(0, 0, 0, 0.8),
                0 0 10px rgba(205, 133, 63, 0.5);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .skull {
            font-size: 28px;
            animation: clockwork 3s linear infinite;
            filter: drop-shadow(0 0 8px rgba(205, 133, 63, 0.6));
        }

        @keyframes clockwork {
            0% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(5deg) scale(1.05); }
            50% { transform: rotate(0deg) scale(1); }
            75% { transform: rotate(-5deg) scale(1.05); }
            100% { transform: rotate(0deg) scale(1); }
        }

        .status {
            display: flex;
            gap: 20px;
            align-items: center;
            font-size: 12px;
            color: #b8860b;
        }

        .status-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: radial-gradient(circle, #ffd700, #b8860b);
            animation: steamBubble 2s infinite;
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
        }

        @keyframes steamBubble {
            0%, 100% { 
                opacity: 1;
                transform: scale(1);
            }
            50% { 
                opacity: 0.6;
                transform: scale(1.2);
            }
        }

        .main-content {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .sidebar {
            width: 300px;
            background: 
                linear-gradient(180deg, rgba(45, 24, 16, 0.95) 0%, rgba(26, 15, 8, 0.95) 100%),
                repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(139, 69, 19, 0.1) 3px, rgba(139, 69, 19, 0.1) 6px);
            border-right: 3px solid #8b4513;
            padding: 20px 0;
            position: fixed;
            left: 0;
            top: 0;
            height: 100vh;
            z-index: 1000;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            box-shadow: 
                inset -5px 0 10px rgba(139, 69, 19, 0.3),
                5px 0 20px rgba(0, 0, 0, 0.5);
        }

        .sidebar.open {
            transform: translateX(0);
        }

        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(45, 24, 16, 0.7);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(3px);
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-header {
            padding: 20px;
            border-bottom: 2px solid rgba(139, 69, 19, 0.5);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.1), transparent);
        }

        .sidebar-title {
            color: #cd853f;
            font-weight: bold;
            font-size: 16px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }

        .close-sidebar {
            background: linear-gradient(145deg, #5d3a2a, #3d2415);
            border: 1px solid #8b4513;
            color: #d4af37;
            font-size: 16px;
            cursor: pointer;
            padding: 5px 8px;
            line-height: 1;
            border-radius: 4px;
            box-shadow: 
                inset 0 1px 2px rgba(205, 133, 63, 0.3),
                0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .close-sidebar:hover {
            background: linear-gradient(145deg, #6d4a3a, #4d2e1f);
            color: #ffd700;
        }

        @media (min-width: 769px) {
            .sidebar {
                position: static;
                transform: translateX(0) !important;
                height: auto;
            }
            
            .sidebar-overlay {
                display: none;
            }
            
            .sidebar-header {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                margin-left: 0;
            }
            
            .email-list {
                width: 100%;
            }
            
            .sidebar {
                transform: translateX(-100%) !important;
            }
            
            .sidebar.open {
                transform: translateX(0) !important;
            }
        }

        .folder {
            padding: 12px 20px;
            border-bottom: 1px solid rgba(139, 69, 19, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin: 2px 10px;
            border-radius: 4px;
            background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.05), transparent);
        }

        .folder:hover {
            background: 
                linear-gradient(90deg, rgba(205, 133, 63, 0.15), rgba(184, 134, 11, 0.1), rgba(205, 133, 63, 0.15)),
                repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 69, 19, 0.1) 2px, rgba(139, 69, 19, 0.1) 4px);
            padding-left: 30px;
            transform: translateX(5px);
            box-shadow: 
                inset 0 0 10px rgba(205, 133, 63, 0.2),
                3px 0 10px rgba(139, 69, 19, 0.3);
        }

        .folder.active {
            background: 
                linear-gradient(90deg, rgba(205, 133, 63, 0.25), rgba(184, 134, 11, 0.2), rgba(205, 133, 63, 0.25)),
                repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(139, 69, 19, 0.15) 2px, rgba(139, 69, 19, 0.15) 4px);
            padding-left: 30px;
            transform: translateX(8px);
            box-shadow: 
                inset 0 0 15px rgba(205, 133, 63, 0.3),
                5px 0 15px rgba(139, 69, 19, 0.4);
            border-left: 3px solid #cd853f;
        }

        .folder.active::before {
            left: 8px;
            animation: gearTurn 1s linear infinite;
        }

        .folder::before {
            content: '⚙️';
            position: absolute;
            left: -30px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            transition: all 0.5s ease;
            animation: gearTurn 4s linear infinite;
        }

        .folder:hover::before {
            left: 8px;
            animation: gearTurn 0.5s linear infinite;
        }

        @keyframes gearTurn {
            0% { transform: translateY(-50%) rotate(0deg); }
            100% { transform: translateY(-50%) rotate(360deg); }
        }

        .folder-name {
            font-weight: bold;
            color: #cd853f;
            margin-bottom: 3px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .folder-count {
            font-size: 11px;
            color: #8b7355;
        }

        .email-list {
            flex: 1;
            background: 
                linear-gradient(180deg, rgba(26, 15, 8, 0.9) 0%, rgba(45, 24, 16, 0.85) 100%),
                repeating-linear-gradient(180deg, transparent, transparent 20px, rgba(139, 69, 19, 0.05) 20px, rgba(139, 69, 19, 0.05) 21px);
            overflow-y: auto;
            border-left: 1px solid rgba(139, 69, 19, 0.3);
        }

        .email-item {
            padding: 15px 20px;
            border-bottom: 1px solid rgba(139, 69, 19, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.02), transparent);
            margin: 2px;
            border-radius: 3px;
        }

        .email-item:hover {
            background: 
                linear-gradient(90deg, rgba(205, 133, 63, 0.1), rgba(184, 134, 11, 0.08), rgba(205, 133, 63, 0.1)),
                repeating-linear-gradient(45deg, transparent, transparent 1px, rgba(139, 69, 19, 0.05) 1px, rgba(139, 69, 19, 0.05) 2px);
            transform: translateX(5px);
            box-shadow: 
                inset 0 0 15px rgba(205, 133, 63, 0.15),
                5px 0 15px rgba(139, 69, 19, 0.3);
        }

        .email-item.unread {
            background: 
                linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(184, 134, 11, 0.05), rgba(255, 215, 0, 0.08));
            border-left: 3px solid #b8860b;
            box-shadow: inset -2px 0 8px rgba(255, 215, 0, 0.2);
        }

        .email-item.priority {
            background: 
                linear-gradient(90deg, rgba(205, 92, 92, 0.1), rgba(160, 82, 45, 0.08), rgba(205, 92, 92, 0.1));
            border-left: 3px solid #cd853f;
            box-shadow: inset -2px 0 8px rgba(205, 92, 92, 0.2);
        }

        .email-item.priority.read {
            background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.02), transparent);
            border-left: 1px solid rgba(139, 69, 19, 0.3);
            box-shadow: none;
        }

        .email-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

        .email-from {
            color: #cd853f;
            font-weight: bold;
            font-size: 14px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .email-time {
            color: #8b7355;
            font-size: 11px;
        }

        .email-subject {
            color: #d4af37;
            font-size: 13px;
            margin-bottom: 5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
        }

        .email-preview {
            color: #a0895c;
            font-size: 11px;
            line-height: 1.4;
        }

        .priority-marker {
            color: #cd853f;
            font-size: 16px;
            margin-right: 5px;
            filter: drop-shadow(0 0 4px rgba(205, 133, 63, 0.8));
        }

        .encryption-badge {
            background: 
                linear-gradient(145deg, rgba(139, 69, 19, 0.4), rgba(205, 133, 63, 0.2));
            color: #d4af37;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 10px;
            border: 1px solid rgba(139, 69, 19, 0.6);
            box-shadow: 
                inset 0 1px 2px rgba(205, 133, 63, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.5);
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
        }

        .footer {
            background: 
                linear-gradient(90deg, rgba(45, 24, 16, 0.9), rgba(139, 69, 19, 0.3), rgba(45, 24, 16, 0.9)),
                repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(205, 133, 63, 0.1) 5px, rgba(205, 133, 63, 0.1) 10px);
            padding: 10px 20px;
            border-top: 2px solid #8b4513;
            font-size: 11px;
            color: #8b7355;
            text-align: center;
            box-shadow: inset 0 2px 5px rgba(139, 69, 19, 0.3);
        }

        .glitch-text {
            animation: steamGlitch 4s infinite;
        }

        @keyframes steamGlitch {
            0% { 
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(205, 133, 63, 0.5);
            }
            10% { 
                text-shadow: -2px 0 rgba(205, 133, 63, 0.8), 2px 0 rgba(139, 69, 19, 0.8);
            }
            20% { 
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(205, 133, 63, 0.5);
            }
            30% { 
                text-shadow: 2px 0 rgba(139, 69, 19, 0.8), -2px 0 rgba(205, 133, 63, 0.8);
            }
            40% { 
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(205, 133, 63, 0.5);
            }
            100% { 
                text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(205, 133, 63, 0.5);
            }
        }

                /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 12px;
        }

        ::-webkit-scrollbar-track {
            background: 
                linear-gradient(180deg, rgba(45, 24, 16, 0.8), rgba(26, 15, 8, 0.8)),
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.2) 2px, rgba(139, 69, 19, 0.2) 4px);
            border-radius: 6px;
        }

        ::-webkit-scrollbar-thumb {
            background: 
                linear-gradient(180deg, #8b4513, #cd853f, #8b4513);
            border-radius: 6px;
            border: 1px solid rgba(139, 69, 19, 0.8);
            box-shadow: 
                inset 0 0 5px rgba(205, 133, 63, 0.3),
                0 0 10px rgba(139, 69, 19, 0.5);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: 
                linear-gradient(180deg, #a0522d, #daa520, #a0522d);
            box-shadow: 
                inset 0 0 5px rgba(205, 133, 63, 0.5),
                0 0 15px rgba(218, 165, 32, 0.6);
        }

        .classified-stamp {
            position: absolute;
            top: 10px;
            right: 10px;
            background: 
                linear-gradient(145deg, rgba(139, 69, 19, 0.3), rgba(205, 92, 92, 0.2));
            color: #cd853f;
            font-size: 10px;
            padding: 5px;
            border: 2px solid #8b4513;
            transform: rotate(15deg);
            font-weight: bold;
            border-radius: 3px;
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.3),
                2px 2px 6px rgba(0, 0, 0, 0.5);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        /* Message Popup Styles */
        .message-popup {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(45, 24, 16, 0.9);
            z-index: 2000;
            display: none;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .message-popup.show {
            display: flex;
            animation: popupFadeIn 0.3s ease-out;
        }

        @keyframes popupFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .message-window {
            background: 
                linear-gradient(180deg, rgba(45, 24, 16, 0.95) 0%, rgba(26, 15, 8, 0.95) 100%),
                repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(139, 69, 19, 0.1) 3px, rgba(139, 69, 19, 0.1) 6px);
            border: 3px solid #8b4513;
            border-radius: 8px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 
                inset 0 0 20px rgba(139, 69, 19, 0.3),
                0 0 40px rgba(0, 0, 0, 0.8);
            animation: messageSlideIn 0.4s ease-out;
        }

        @keyframes messageSlideIn {
            from { 
                transform: scale(0.8) translateY(-50px);
                opacity: 0;
            }
            to { 
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }

        .message-header {
            background: 
                linear-gradient(90deg, #3d2415 0%, #5d3a2a 20%, #4a2c1a 40%, #5d3a2a 60%, #3d2415 100%),
                repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(184, 134, 11, 0.1) 10px, rgba(184, 134, 11, 0.1) 20px);
            padding: 15px 20px;
            border-bottom: 2px solid #8b4513;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .message-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #cd853f, transparent);
            animation: steamFlow 4s linear infinite;
        }

        .message-title {
            color: #cd853f;
            font-weight: bold;
            font-size: 18px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .close-message {
            background: linear-gradient(145deg, #5d3a2a, #3d2415);
            border: 2px solid #8b4513;
            color: #d4af37;
            font-size: 20px;
            cursor: pointer;
            padding: 8px 12px;
            line-height: 1;
            border-radius: 6px;
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.3),
                0 2px 5px rgba(0, 0, 0, 0.5);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            transition: all 0.3s ease;
        }

        .close-message:hover {
            background: linear-gradient(145deg, #6d4a3a, #4d2e1f);
            color: #ffd700;
            transform: translateY(-1px);
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.5),
                0 0 15px rgba(184, 134, 11, 0.4);
        }

        .message-content {
            padding: 20px;
            max-height: 60vh;
            overflow-y: auto;
            background: 
                linear-gradient(180deg, rgba(26, 15, 8, 0.9) 0%, rgba(45, 24, 16, 0.85) 100%);
        }

        .sender-info {
            background: 
                linear-gradient(90deg, rgba(205, 133, 63, 0.1), rgba(184, 134, 11, 0.08), rgba(205, 133, 63, 0.1));
            border: 1px solid rgba(139, 69, 19, 0.3);
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 6px;
            box-shadow: inset 0 0 10px rgba(205, 133, 63, 0.1);
        }

        .sender-name {
            color: #cd853f;
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .sender-details {
            color: #8b7355;
            font-size: 12px;
            margin-bottom: 10px;
        }

        .message-subject-full {
            color: #d4af37;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
        }

        .message-time-full {
            color: #8b7355;
            font-size: 12px;
            margin-bottom: 15px;
        }

        .message-body {
            color: #d4af37;
            line-height: 1.6;
            font-size: 14px;
            background: 
                linear-gradient(180deg, rgba(45, 24, 16, 0.3) 0%, rgba(26, 15, 8, 0.3) 100%);
            padding: 20px;
            border-radius: 6px;
            border: 1px solid rgba(139, 69, 19, 0.2);
            box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
        }

        .security-notice {
            background: rgba(205, 92, 92, 0.1);
            border: 1px solid #8b4513;
            padding: 10px;
            margin-top: 15px;
            border-radius: 4px;
            color: #cd853f;
            font-size: 11px;
            text-align: center;
        }

        /* Password Popup Styles */
        .password-popup {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(45, 24, 16, 0.95);
            z-index: 2500;
            display: none;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(8px);
        }

        .password-popup.show {
            display: flex;
            animation: popupFadeIn 0.3s ease-out;
        }

        .password-window {
            background: 
                linear-gradient(180deg, rgba(45, 24, 16, 0.98) 0%, rgba(26, 15, 8, 0.98) 100%),
                repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(139, 69, 19, 0.15) 3px, rgba(139, 69, 19, 0.15) 6px);
            border: 4px solid #8b4513;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            padding: 0;
            box-shadow: 
                inset 0 0 30px rgba(139, 69, 19, 0.4),
                0 0 50px rgba(0, 0, 0, 0.9);
            animation: passwordSlideIn 0.4s ease-out;
        }

        @keyframes passwordSlideIn {
            from { 
                transform: scale(0.7) translateY(-100px);
                opacity: 0;
            }
            to { 
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }

        .password-header {
            background: 
                linear-gradient(90deg, #3d2415 0%, #5d3a2a 20%, #4a2c1a 40%, #5d3a2a 60%, #3d2415 100%);
            padding: 20px;
            border-bottom: 3px solid #8b4513;
            border-radius: 8px 8px 0 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .password-header::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 3px;
                background: linear-gradient(90deg, transparent, #cd853f, transparent);
                animation: steamFlow 4s linear infinite;
        }

        .password-title {
            color: #cd853f;
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .password-subtitle {
            color: #8b7355;
            font-size: 12px;
            font-style: italic;
        }

        .password-content {
            padding: 30px;
            text-align: center;
        }

        .password-warning {
            background: rgba(205, 92, 92, 0.15);
            border: 2px solid #8b4513;
            padding: 15px;
            margin-bottom: 25px;
            border-radius: 6px;
            color: #cd853f;
            font-size: 13px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .password-input-group {
            margin-bottom: 25px;
        }

        .password-label {
            display: block;
            color: #d4af37;
            font-weight: bold;
            margin-bottom: 10px;
            font-size: 14px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .password-input {
            width: 100%;
            max-width: 300px;
            padding: 12px 15px;
            background: 
                linear-gradient(145deg, rgba(26, 15, 8, 0.9), rgba(45, 24, 16, 0.8));
            border: 2px solid #8b4513;
            border-radius: 6px;
            color: #d4af37;
            font-family: 'Courier Prime', monospace;
            font-size: 16px;
            text-align: center;
            box-shadow: 
                inset 0 2px 8px rgba(0, 0, 0, 0.5),
                0 0 10px rgba(139, 69, 19, 0.3);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            outline: none;
            transition: all 0.3s ease;
        }

        .password-input:focus {
            border-color: #cd853f;
            box-shadow: 
                inset 0 2px 8px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(205, 133, 63, 0.5);
        }

        .password-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .password-btn {
            padding: 12px 25px;
            background: linear-gradient(145deg, #5d3a2a, #3d2415);
            border: 2px solid #8b4513;
            color: #d4af37;
            font-family: 'Courier Prime', monospace;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.3s ease;
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.5);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .password-btn:hover {
            background: linear-gradient(145deg, #6d4a3a, #4d2e1f);
            transform: translateY(-2px);
            box-shadow: 
                inset 0 1px 3px rgba(205, 133, 63, 0.5),
                0 4px 15px rgba(184, 134, 11, 0.4);
        }

        .password-btn.cancel {
            background: linear-gradient(145deg, #5d3a2a, #4a2c1a);
            border-color: #a0522d;
        }

        .password-btn.cancel:hover {
            background: linear-gradient(145deg, #6d4a3a, #5a3c2a);
        }

        .password-error {
            color: #cd853f;
            font-size: 12px;
            margin-top: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .password-error.show {
            opacity: 1;
        }
