body {
        padding-top: 74px;
    }

    .premium-navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050;
        padding: 12px 0;
        background: linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.96));
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(247, 244, 244, 0.1);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
        /* border-bottom-style: dotted; */
    }

    .premium-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        color: white;
        font-size: 1rem;
        background: linear-gradient(135deg, #06b6d4, #2563eb, #7c3aed);
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.38);
    }

    .brand-text {
        font-size: 1.35rem;
        font-weight: 900;
        letter-spacing: 0.5px;
        background: linear-gradient(90deg, #38bdf8, #a78bfa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .premium-nav,
    .auth-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .premium-nav .nav-link {
        color: rgba(255, 255, 255, 0.78) !important;
        padding: 10px 16px !important;
        border-radius: 999px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: 0.25s ease;
        border: 1px solid transparent;
    }

    .premium-nav .nav-link:hover,
    .premium-nav .nav-link.active {
        color: white !important;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }

    .premium-badge {
        padding: 9px 14px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 900;
        background: linear-gradient(135deg, #86efac, #22c55e);
        color: #052e16;
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
        white-space: nowrap;
    }

    .auth-btn {
        text-decoration: none;
        padding: 10px 18px;
        border-radius: 999px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: 0.25s ease;
        color: white;
        white-space: nowrap;
    }

    .btn-register {
        background: linear-gradient(135deg, #06b6d4, #2563eb, #7c3aed);
        box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
    }

    .btn-login {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .btn-logout {
        background: rgba(239, 68, 68, 0.14);
        border: 1px solid rgba(239, 68, 68, 0.32);
        color: #fecaca;
    }

    .auth-btn:hover {
        color: white;
        transform: translateY(-2px);
    }

    .user-pill {
        border: none;
        cursor: pointer;
        padding: 9px 15px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.88);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        transition: 0.25s ease;
    }

    .user-pill:hover {
        color: white;
        background: rgba(255, 255, 255, 0.16);
        transform: translateY(-2px);
    }

    /* Toggle button */
    .navbar-toggler {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: none !important;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .toggler-lines {
        width: 20px;
        height: 14px;
        position: relative;
        display: inline-block;
    }

    .toggler-lines span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: white;
        transition: 0.25s ease;
    }

    .toggler-lines span:nth-child(1) {
        top: 0;
    }

    .toggler-lines span:nth-child(2) {
        top: 6px;
    }

    .toggler-lines span:nth-child(3) {
        top: 12px;
    }

    .navbar-toggler:not(.collapsed) .toggler-lines span:nth-child(1) {
        top: 6px;
        transform: rotate(45deg);
    }

    .navbar-toggler:not(.collapsed) .toggler-lines span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler:not(.collapsed) .toggler-lines span:nth-child(3) {
        top: 6px;
        transform: rotate(-45deg);
    }

    .button-wrapper {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        text-decoration: none;
    }

    .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 92px;
        height: 38px;
        padding: 0 22px;
        border-radius: 999px;
        border: 1px solid rgba(250, 204, 21, 0.55);
        background: linear-gradient(135deg, #facc15, #f59e0b);
        color: #111827;
        font-size: 0.78rem;
        font-weight: 900;
        white-space: nowrap;
        box-shadow: 0 8px 22px rgba(250, 204, 21, 0.28);
        transition: 0.25s ease;
    }

    .button-wrapper:hover .button {
        transform: translateY(-2px) scale(1.03);
        filter: brightness(1.08);
    }

    .premium-profile-canvas {
        width: 370px !important;
        background: linear-gradient(180deg, #020617, #0f172a);
        color: white;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 2000;
    }

    .profile-canvas-header {
        padding: 22px;
        background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(124, 58, 237, 0.22));
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .profile-canvas-header h5 {
        margin: 0;
        font-weight: 900;
    }

    .profile-canvas-header p {
        margin: 4px 0 0;
        color: #cbd5e1;
        font-size: 0.85rem;
    }

    .profile-card {
        text-align: center;
        padding: 26px 18px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .profile-avatar {
        width: 78px;
        height: 78px;
        margin: 0 auto 14px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 1.8rem;
        background: linear-gradient(135deg, #06b6d4, #2563eb, #7c3aed);
    }

    .profile-card h4 {
        margin: 0 0 10px;
        font-weight: 900;
    }

    .role-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 7px 14px;
        border-radius: 999px;
        background: linear-gradient(135deg, #facc15, #f59e0b);
        color: #111827;
        font-size: 0.78rem;
        font-weight: 900;
    }

    .profile-info {
        margin-top: 18px;
        display: grid;
        gap: 12px;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .info-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: rgba(56, 189, 248, 0.16);
        color: #38bdf8;
        flex-shrink: 0;
    }

    .info-item small {
        display: block;
        color: #94a3b8;
        font-size: 0.75rem;
    }

    .info-item strong {
        display: block;
        color: white;
        font-size: 0.9rem;
        word-break: break-word;
    }

    .profile-actions {
        margin-top: 22px;
        display: grid;
        gap: 12px;
    }

    .profile-action {
        text-decoration: none;
        padding: 13px 16px;
        border-radius: 16px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: 0.25s ease;
    }

    .admin-action {
        background: linear-gradient(135deg, #facc15, #f59e0b);
        color: #111827;
    }

    .upload-action {
        background: linear-gradient(135deg, #06b6d4, #2563eb, #7c3aed);
        color: white;
    }

    .logout-action {
        background: rgba(239, 68, 68, 0.16);
        border: 1px solid rgba(239, 68, 68, 0.35);
        color: #fecaca;
    }

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

        .navbar-toggler {
            display: inline-flex;
        }

        .navbar-collapse {
            position: absolute;
            top: calc(100% + 12px);
            left: 12px;
            right: 12px;
            padding: 18px;
            border-radius: 24px;
            background: rgba(2, 6, 23, 0.98);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            
            box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
        }

        .premium-nav,
        .auth-actions {
            width: 100%;
            margin-top: 0;
            flex-direction: column;
            align-items: stretch;
        }

        .premium-nav .nav-link,
        .auth-btn,
        .user-pill,
        .premium-badge,
        .button-wrapper {
            width: 100%;
            justify-content: center;
            margin-bottom: 8px;
        }

        .button {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .premium-profile-canvas {
            width: 100% !important;
            max-width: 100% !important;
            border-left: none;
        }
    }

    .premium-badge {
   
        text-decoration: none;
}

.premium-badge:hover {
    color: #111827 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(250, 204, 21, 0.35);
}

    .nav-link {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.28);
}