* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #212529;
    --accent: #163e94;
    --bg: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-dark: #212529;
    --text-light: #6c757d;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    background: rgba(10, 10, 25, 0.98);
    backdrop-filter: blur(20px);

    padding: 18px 0;
    z-index: 999;
    min-height: 75px;

    /* 🔥 CORE GLOW */
    border-bottom: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(56, 189, 248, 0.25),
        0 18px 60px rgba(56, 189, 248, 0.35);

    isolation: isolate;
}

.navbar a {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 14px;
    border-radius: 6px;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar a:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

/* Profile Info */
.profileinfo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.profileinfo a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.profileinfo a:hover {
    color: #6366f1;
    text-decoration: none;
}

.logout-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 0;
    font: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logout-btn:hover {
    color: #6366f1;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    z-index: 2147483646;
    isolation: isolate;

    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);

    border-top: 1px solid rgba(56, 189, 248, 0.45);

    /* 🔥 MATCH NAVBAR GLOW (FLIPPED UP) */
    box-shadow:
        0 -4px 30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(56, 189, 248, 0.25),
        0 -18px 60px rgba(56, 189, 248, 0.35);
}

footer a {
    color: #6366f1;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

/* Dropdown menu (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: 8px 0;
    margin-top: 4px;
}

/* Dropdown links */
.dropdown-content a {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #ffffff;
}

/* Show menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}