 
 
 :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --bg: #f8fafc;
            --text: #0f172a;
            --muted: #64748b;
            --border: #e2e8f0;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--bg);
            color: var(--text);
        }

        /* ================= HEADER ================= */

        header {
            position: sticky;
            top: 0;
            backdrop-filter: blur(12px);
            background: rgba(255, 255, 255, 0.85);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
        }

        .nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 18px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .logo span {
            background: linear-gradient(135deg, #2563eb, #9333ea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-actions a {
            text-decoration: none;
            margin-left: 14px;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all .2s ease;
        }
        

        .btn-login {
            color: var(--primary);
        }

        .btn-login:hover {
            background: rgba(37, 99, 235, .08);
        }

        .btn-signup {
            background: linear-gradient(135deg, var(--primary), #4f46e5);
            color: #fff;
        }

        .btn-signup:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
        }

        /* ================= MAIN ================= */

        main {
            margin: 0;
            padding: 0;
        }

        /* Internal pages container */
        .page-container {
            max-width: 1100px;
            margin: 80px auto;
            padding: 0 20px;
        }

        /* ================= AUTH PROFILE ================= */

        .profile-area {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 14px;
            background: #f1f5f9;
            border-radius: 30px;
            cursor: pointer;
            transition: .2s ease;
        }

        .user-profile:hover {
            background: #e2e8f0;
        }

        .dropdown {
            position: relative;
        }

        /* .dropdown-menu {
            position: absolute;
            top: 50px;
            right: 0;
            background: #fff;
            border-radius: 12px;
            padding: 10px;
            display: none;
            box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
            min-width: 180px;
            border: 1px solid var(--border);
            z-index: 100;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        } */

        .dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
    min-width: 180px;
    border: 1px solid var(--border);
    z-index: 100;
    animation: fadeIn .2s ease;
}

.dropdown-menu.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-icon {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.25s ease;
}

.user-profile.active .dropdown-icon {
    transform: rotate(180deg);
}

        .btn-logout {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 8px;
            color: #ef4444 !important;
            background: #fef2f2;
            text-decoration: none;
            transition: .2s ease;
        }

        .btn-logout:hover {
            background: #fee2e2;
            transform: translateY(-1px);
        }

        /* ================= FOOTER ================= */

        footer {
            margin-top: 60px;
            padding: 50px 20px;
            text-align: center;
            font-size: 14px;
            color: var(--muted);
            background: #f1f5f9;
        }

        footer a {
            color: var(--primary);
            text-decoration: none;
        }

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

