    /* Prevent horizontal scrolling */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
        scroll-behavior: smooth;
    }

    /* Ensure content doesn't get hidden behind fixed header */
    body {
        padding-top: 90px;
        /* Adjust based on header height */
        margin-top: 0;
    }

    /* Adjust for mobile - smaller header height */
    @media screen and (max-width: 768px) {
        body {
            padding-top: 75px;
        }
    }

    @media screen and (max-width: 480px) {
        body {
            padding-top: 70px;
        }
    }

    /* Reset body margins to ensure full width */
    @media screen and (max-width: 768px) {
        body {
            margin: 0 !important;
        }
    }

    .site-header {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
        border-bottom: 2px solid #e9ecef;
        box-shadow: 0 2px 8px rgba(40, 184, 255, 0.08);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Ensure full width on mobile */
    @media screen and (max-width: 768px) {
        .site-header {
            width: 100vw;
            left: 0;
            right: 0;
            margin-left: 0;
            margin-right: 0;
        }
    }

    .header-container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        position: relative;
    }

    .header-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: 1;
        text-align: center;
        z-index: 1;
    }

    .header-page-title {
        color: #28b8ff;
        margin: 0;
        font-size: clamp(14px, 4vw, 24px);
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: clamp(150px, 40vw, 500px);
        line-height: 1.2;
    }

    /* Fine-tune for specific breakpoints */
    @media screen and (max-width: 480px) {
        .header-page-title {
            font-size: clamp(12px, 3.5vw, 16px);
            max-width: clamp(120px, 35vw, 180px);
        }
    }

    @media screen and (min-width: 1200px) {
        .header-page-title {
            font-size: clamp(20px, 2vw, 28px);
            max-width: clamp(400px, 50vw, 600px);
        }
    }

    /* Full width on mobile */
    @media screen and (max-width: 768px) {
        .header-container {
            max-width: none;
            margin: 0;
        }
    }

    .header-brand {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        color: inherit;
        position: relative;
        z-index: 10;
    }

    .header-logo-link {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.3s ease;
    }

    .header-logo-link:hover {
        text-decoration: none;
        opacity: 0.9;
    }

    .header-logo {
        width: clamp(32px, 6vw, 55px);
        height: clamp(32px, 6vw, 55px);
        border-radius: 8px;
        filter: drop-shadow(0 2px 4px rgba(40, 184, 255, 0.3));
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    /* Enhanced rounded logo styling */
    .logo-rounded {
        border-radius: 25% !important;
        box-shadow: 0 2px 8px rgba(40, 184, 255, 0.2);
    }

    .header-logo:hover {
        transform: scale(1.05);
    }

    .header-text {
        text-align: left;
    }

    .header-brand-name {
        font-size: clamp(16px, 3vw, 24px);
        font-weight: 300;
        color: #28b8ff;
        margin: 0;
        letter-spacing: 1px;
        font-family: "Segoe UI", "Helvetica Neue", sans-serif;
        background: linear-gradient(135deg, #28b8ff 0%, #1ea8e6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.1;
    }

    .header-system-title {
        font-size: clamp(8px, 1.5vw, 12px);
        color: #666;
        font-weight: 400;
        margin: 0;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 15px;
        position: relative;
        z-index: 10;
    }

    .header-nav a {
        color: #28b8ff;
        text-decoration: none;
        font-weight: 500;
        font-size: clamp(12px, 2vw, 16px);
        padding: 8px 12px;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .header-nav a:hover {
        background: rgba(40, 184, 255, 0.1);
    }

    /* Header User Details (for speakers, members, and admins) */
    .header-user-details {
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(40, 184, 255, 0.1);
        border-radius: 10px;
        padding: 8px 12px;
    }

    .header-user-avatar {
        width: clamp(24px, 4vw, 36px);
        height: clamp(24px, 4vw, 36px);
        border-radius: 50%;
        background: #28b8ff;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(10px, 2vw, 14px);
        font-weight: bold;
        flex-shrink: 0;
    }

    /* Admin avatar styling */
    .header-user-avatar.admin-avatar {
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        font-size: clamp(12px, 2.5vw, 16px);
    }

    .header-user-info {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
    }

    .header-user-id {
        font-size: clamp(9px, 1.5vw, 12px);
        font-weight: 600;
        color: #28b8ff;
        white-space: nowrap;
    }

    .header-user-role {
        font-size: clamp(9px, 1.5vw, 12px);
        font-weight: 600;
        color: #28b8ff;
        white-space: nowrap;
    }

    .header-user-name {
        font-size: clamp(11px, 2vw, 14px);
        color: #333;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: clamp(80px, 15vw, 140px);
    }

    .header-user-menu {
        position: relative;
    }

    .header-menu-toggle {
        background: none;
        border: none;
        font-size: 16px;
        color: #666;
        cursor: pointer;
        padding: 4px 6px;
        border-radius: 4px;
        transition: background 0.2s;
    }

    .header-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .header-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 120px;
        display: none;
        z-index: 1000;
        margin-top: 5px;
    }

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

    /* Login dropdown styles */
    .login-dropdown {
        position: relative;
        display: inline-block;
    }

    .login-dropdown-btn {
        background: linear-gradient(135deg, #28b8ff 0%, #22a3e8 100%);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(40, 184, 255, 0.3);
        min-width: 140px;
        justify-content: space-between;
    }

    .login-dropdown-btn:hover {
        background: linear-gradient(135deg, #22a3e8 0%, #1e8cc7 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(40, 184, 255, 0.4);
    }

    .dropdown-arrow {
        font-size: 10px;
        transition: transform 0.3s ease;
    }

    .login-dropdown-btn:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

    .login-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        min-width: 280px;
        display: none;
        z-index: 1000;
        margin-top: 8px;
        overflow: hidden;
    }

    .login-dropdown-menu.show {
        display: block;
        animation: dropdownSlide 0.3s ease-out;
    }

    @keyframes dropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        color: #333;
        text-decoration: none;
        transition: all 0.2s ease;
        border-bottom: 1px solid #f0f0f0;
        gap: 15px;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
        transform: translateX(2px);
    }

    .item-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 16px;
        color: white;
        flex-shrink: 0;
    }

    .admin-icon {
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    }

    .member-icon {
        background: linear-gradient(135deg, #28b8ff 0%, #22a3e8 100%);
    }

    .speaker-icon {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    }

    .item-content {
        flex: 1;
    }

    .item-title {
        font-weight: 600;
        font-size: 15px;
        color: #333;
        margin-bottom: 4px;
    }

    .item-desc {
        font-size: 12px;
        color: #666;
        line-height: 1.3;
    }

    .dropdown-item:hover .item-icon {
        transform: scale(1.1);
    }

    /* Mobile responsive login dropdown */
    @media (max-width: 768px) {
        .login-dropdown-btn {
            padding: 10px 16px;
            font-size: 13px;
            min-width: 120px;
        }

        .login-dropdown-menu {
            min-width: 260px;
            right: -10px;
        }

        .dropdown-item {
            padding: 14px 16px;
        }

        .item-icon {
            width: 36px;
            height: 36px;
            font-size: 14px;
        }

        .item-title {
            font-size: 14px;
        }

        .item-desc {
            font-size: 11px;
        }
    }

    .header-dropdown-menu a {
        display: block;
        padding: 10px 16px;
        color: #333;
        text-decoration: none;
        font-size: clamp(12px, 2vw, 16px);
        transition: background 0.2s;
    }

    .header-dropdown-menu a:hover {
        background: #f8f9fa;
    }

    /* Mobile responsive */
    @media screen and (max-width: 768px) {
        .header-container {
            padding: 12px 0;
            max-width: none;
            margin: 0;
            width: 100vw;
        }

        .header-brand {
            gap: 12px;
            padding-left: 15px;
        }

        .header-right {
            padding-right: 15px;
        }

        .header-nav {
            gap: 10px;
        }

        .header-nav a {
            padding: 6px 8px;
        }

        .header-user-details {
            padding: 6px 10px;
            gap: 10px;
        }
    }

    @media screen and (max-width: 480px) {
        .header-container {
            padding: 8px 0;
            gap: 6px;
            max-width: none;
            margin: 0;
            width: 100vw;
        }

        .header-brand {
            gap: 6px;
            flex-shrink: 1;
            min-width: 0;
            padding-left: 10px;
        }

        .header-right {
            padding-right: 10px;
        }

        .header-nav {
            justify-content: center;
            flex-wrap: wrap;
        }

        .header-user-details {
            padding: 4px 6px;
            gap: 6px;
            flex-shrink: 0;
            min-width: 0;
        }

        .header-user-info {
            min-width: 0;
            flex-shrink: 1;
        }

        .header-menu-toggle {
            font-size: 12px;
            padding: 2px 3px;
        }
    }
