        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header Styles (same as login.ejs) */
        header {
            background-color: #000000;
            color: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-left {
            color: #999;
            font-size: 0.9rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .logo-circle {
            width: 40px;
            height: 40px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-weight: bold;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: white;
            text-decoration: none;
            cursor: pointer;
        }

        .nav-item:hover {
            opacity: 0.8;
        }

        .nav-icon {
            width: 20px;
            height: 20px;
        }

        .dropdown-arrow {
            width: 12px;
            height: 12px;
            margin-left: 0.25rem;
        }

        /* Main Content Area */
        .main-content {
            background-color: #f5f5f5;
            flex: 1;
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .content-header {
            width: 100%;
            max-width: 600px;
            margin-bottom: 2rem;
        }

        .content-header h1 {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .breadcrumb {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        /* 404 Container */
        .not-found-container {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 3rem 2.5rem;
            width: 100%;
            max-width: 500px;
            text-align: center;
        }

        .not-found-code {
            font-size: 3.5rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .not-found-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.75rem;
        }

        .not-found-message {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .not-found-actions {
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            align-items: center;
        }

        .primary-btn,
        .secondary-link {
            width: 100%;
            max-width: 260px;
        }

        .primary-btn button {
            width: 100%;
            padding: 0.875rem;
            background-color: #1a1a1a;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .primary-btn button:hover {
            background-color: #333;
        }

        .secondary-link a {
            display: inline-block;
            width: 100%;
            padding: 0.85rem;
            border-radius: 4px;
            border: 1px solid #ddd;
            font-size: 0.95rem;
            color: #333;
            text-decoration: none;
            background-color: #fff;
            transition: background-color 0.2s, border-color 0.2s;
        }

        .secondary-link a:hover {
            background-color: #f9f9f9;
            border-color: #ccc;
        }

        /* Footer Styles (same as login.ejs) */
        footer {
            background-color: #1a1a1a;
            color: white;
            padding: 3rem 2rem 2rem;
        }

        .footer-graphic {
            height: 100px;
            background: linear-gradient(to bottom, transparent, #1a1a1a),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="%231a1a1a"/></svg>');
            background-size: cover;
            margin-bottom: 2rem;
            position: relative;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            font-size: 1rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .footer-section ul li a:hover {
            color: white;
        }

        .footer-section p {
            color: #ccc;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: #0066cc;
            text-decoration: none;
        }

        .footer-section a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 2rem;
            border-top: 1px solid #333;
        }

        .social-icons {
            display: flex;
            gap: 1rem;
        }

        .social-icon {
            width: 24px;
            height: 24px;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .social-icon:hover {
            opacity: 1;
        }

        @media (max-width: 640px) {
            .main-content {
                padding: 2rem 1.25rem;
            }

            .not-found-container {
                padding: 2.25rem 1.75rem;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }
