*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent
}

:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.35);
    --background: #020617;
    --card: #0f172a;
    --card-hover: #1e293b;
    --input: #020617;
    --border: rgba(255, 255, 255, 0.08);
    --muted-foreground: #94a3b8;
    --destructive: #ef4444;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif
}

html {
    color-scheme: dark;
    font-size: 16px
}

@media (max-width:768px) {
    html {
        font-size: 15px
    }
}

body {
    background: var(--background);
    color: #fff;
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 110px
}

body.is-account,
body.is-admin {
    padding-top: 0
}

@media (max-width:1024px) {
    body {
        padding-top: 85px
    }

    body.is-account,
    body.is-admin {
        padding-top: 0
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.01em
}

div,
p,
span,
td {
    font-weight: 400
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: .75rem 1.5rem;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

header.header-hidden {
    transform: translateY(-100%)
}

.header-top {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: calc(100% - 3rem);
    background: rgba(2, 6, 23, .85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    border-radius: 100px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6)
}

.header-left-group {
    display: flex;
    align-items: center
}

.desktop-nav-container {
    display: none
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: .5rem
}

.header-action-btn {
    background: 0 0;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center
}

.header-action-btn:hover {
    color: #fff
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase
}

.logo-icon {
    color: #10b981
}

.logo-accent {
    color: #10b981
}

@media (min-width:1025px) {
    header {
        padding-top: 1.5rem
    }

    .header-top {
        padding: 0 2rem
    }

    .header-left-group {
        flex: 1 1 0;
        min-width: 200px
    }

    .header-right-group {
        flex: 1 1 0;
        min-width: 200px;
        justify-content: flex-end;
        gap: 1.5rem
    }

    .desktop-nav-container {
        display: flex;
        flex: 0 0 auto;
        justify-content: center
    }

    .nav-pills {
        background: rgba(255, 255, 255, .03);
        border: none;
        padding: .45rem;
        border-radius: 100px;
        display: flex;
        gap: .25rem
    }

    .desktop-nav-link {
        color: #94a3b8;
        padding: .5rem 1rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: .75rem;
        text-decoration: none
    }

    .desktop-nav-link:hover {
        color: #fff
    }

    .desktop-nav-link.active {
        color: #fff
    }

    .currency-selector {
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .08);
        color: #94a3b8;
        padding: .5rem .85rem;
        border-radius: 10px;
        font-size: .75rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: .5rem;
        cursor: pointer
    }

    .user-profile-btn {
        background: 0 0;
        border: none;
        color: #94a3b8;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        gap: .75rem;
        cursor: pointer
    }

    .user-avatar-circle {
        width: 38px;
        height: 38px;
        background: rgba(59, 130, 246, .1);
        border: 2px solid rgba(59, 130, 246, .2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #3b82f6;
        font-weight: 800;
        font-size: .9rem
    }

    .user-profile-btn:hover .user-avatar-circle {
        border-color: #3b82f6;
        background: rgba(59, 130, 246, .2)
    }

    .user-profile-btn:hover {
        color: #fff
    }

    .user-profile-btn[href="/login"]:hover {
        background: #4338ca !important;
        box-shadow: 0 6px 20px var(--primary-glow) !important
    }

    .hamburger {
        display: none !important
    }
}

@media (max-width:1024px) {
    header {
        padding: 1rem .6rem
    }

    .header-top {
        padding: 0 .85rem;
        width: 100%;
        max-width: none;
        border-radius: 12px
    }

    .header-right-group {
        gap: .25rem
    }

    .header-action-btn.search-toggle {
        display: flex !important;
        width: 40px;
        height: 40px
    }

    .user-profile-btn {
        display: none !important
    }

    .currency-selector {
        display: none
    }

    .hamburger {
        display: flex !important
    }
}

.hamburger,
.search-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 0 0;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    font-size: 1.15rem
}

.search-toggle i {
    font-size: 1.1rem;
    margin-top: 6px
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    padding-left: .5rem
}

.hamburger {
    flex-direction: column;
    gap: 5px;
    z-index: 10001
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    display: block
}

.hamburger.open span:first-child {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.search-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, .95);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 10001
}

.search-header-overlay.active {
    display: flex
}

.header-top.search-active .header-left-group,
.header-top.search-active .header-right-group {
    visibility: hidden;
    opacity: 0
}

.search-form-full {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    gap: .75rem;
    background: rgba(255, 255, 255, .05);
    padding: .4rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .1)
}

.search-form-full i {
    color: #94a3b8;
    font-size: 1.1rem
}

.search-form-full input {
    flex: 1;
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    outline: 0;
    width: 100%
}

.search-close {
    background: 0 0;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.25rem;
    cursor: pointer;
    padding: .25rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.search-close:hover {
    color: #fff
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
    flex-direction: column;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    animation: slideDownFade .3s cubic-bezier(.4, 0, .2, 1);
    max-height: 90vh;
    overflow-y: auto
}

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

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

.nav-dropdown.open {
    display: flex
}

.nav-user-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
    width: 100%
}

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0, #6366f1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    flex-shrink: 0
}

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

.nav-user-name {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.01em
}

.nav-user-role {
    font-size: .55rem;
    color: #94a3b8;
    font-weight: 700;
    margin-top: .15rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

.nav-user-btn {
    padding: .45rem 1.1rem;
    border-radius: 2rem;
    background: rgba(79, 70, 229, .1);
    border: 1px solid rgba(79, 70, 229, .2);
    color: var(--primary);
    font-size: .7rem;
    font-weight: 800;
    text-decoration: none
}

.nav-user-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

.nav-search-wrapper {
    max-width: 600px;
    margin: 1rem auto 1rem auto;
    width: 100%;
    position: relative
}

.nav-search-input {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: .85rem 1rem .85rem 2.75rem;
    border-radius: 1rem;
    color: #fff;
    font-size: .9rem;
    font-family: var(--font-sans)
}

.nav-search-input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, .05)
}

.nav-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    font-size: 1.1rem
}

.nav-search-btn {
    position: absolute;
    right: .4rem;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: .5rem 1.25rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer
}

.nav-search-btn:hover {
    background: #4338ca
}

.nav-dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    width: 100%
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1rem;
    background: 0 0;
    border: 1px solid transparent;
    border-radius: .75rem;
    text-decoration: none;
    color: var(--muted-foreground);
    font-weight: 600
}

.nav-dropdown-item i {
    font-size: 1rem;
    color: var(--muted-foreground);
    width: 20px;
    text-align: center;
    opacity: .5
}

.nav-dropdown-item span {
    font-size: .75rem;
    letter-spacing: -.01em
}

.nav-dropdown-item:hover {
    color: #fff
}

.nav-dropdown-item.active {
    color: var(--primary)
}

.nav-dropdown-item.active i {
    color: var(--primary);
    opacity: 1
}

.nav-dropdown-item.active span {
    font-weight: 700
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1rem;
    border-radius: .6rem;
    font-weight: 700;
    font-size: .75rem;
    cursor: pointer;
    text-decoration: none;
    gap: .4rem;
    border: none;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden
}

@media (max-width:768px) {
    .btn {
        padding: .4rem .85rem;
        font-size: .7rem
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0, #6366f1 100%);
    color: #fff;
    box-shadow: 0 10px 25px -10px var(--primary-glow)
}

.btn-primary:hover {
    filter: brightness(1.1)
}

.btn-outline {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    color: #fff
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15)
}

.nav-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0, #6366f1 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: .75rem;
    border-radius: .75rem;
    max-width: fit-content;
    margin: 0 auto;
    width: auto;
    min-width: 150px;
    box-shadow: 0 8px 15px -5px var(--primary-glow);
    letter-spacing: .05em;
    text-transform: uppercase
}

.nav-footer-btn:hover {
    filter: brightness(1.1)
}

#mobileDrawer {
    display: none !important
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden
}

.card:hover {
    border-color: rgba(79, 70, 229, .3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .5)
}

.content-card {
    padding: 1.5rem !important;
    border-radius: 1.25rem !important
}

@media (max-width:768px) {
    .content-card {
        padding: 1rem !important
    }

    .page-body {
        padding-top: 1rem !important
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem
}

@media (max-width:1023px) {
    .container {
        padding-left: .75rem !important;
        padding-right: .75rem !important
    }

    .header-inner,
    .header-nav-inner,
    .header-top {
        padding-left: .75rem !important;
        padding-right: .75rem !important
    }

    .header-inner,
    .header-top {
        height: 52px !important
    }
}

.page-body {
    padding-top: 1.5rem;
    padding-bottom: 6rem
}

.announcement-bar {
    background: rgba(59, 130, 246, .08);
    border-bottom: 1px solid rgba(59, 130, 246, .15);
    padding: .6rem 1.25rem;
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .8)
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

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

.animate-slide-up {
    animation: slideUp .45s cubic-bezier(.22, .68, 0, 1.2) both
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(.95)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.animate-zoom {
    animation: zoomIn .2s cubic-bezier(.4, 0, .2, 1)
}

input,
select,
textarea {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    color: #fff;
    font-family: var(--font-sans);
    border-radius: 1rem;
    padding: .75rem 1rem;
    outline: 0;
    width: 100%
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary)
}

::placeholder {
    color: #444
}

.text-primary {
    color: var(--primary)
}

.text-muted {
    color: var(--muted-foreground)
}

.font-mono {
    font-family: monospace
}

.ad-block-zone {
    position: relative;
    z-index: 99999 !important;
    pointer-events: auto !important
}

.user-dropdown {
    position: relative
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: rgba(15, 23, 42, .95);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, .6);
    z-index: 1000;
    animation: dropdownFade .2s ease
}

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

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

.user-dropdown-menu.show {
    display: flex
}

.user-dropdown-item {
    padding: .75rem 1rem;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .75rem
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, .05);
    color: #fff
}

.user-dropdown-item.logout {
    color: #ef4444;
    border-top: 1px solid var(--border)
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: rgba(49, 103, 181, .15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: pointer;
    border: 1.5px solid rgba(49, 103, 181, .3)
}

.user-avatar:hover {
    border-color: var(--primary);
    background: rgba(49, 103, 181, .25)
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, .85);
    backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem
}

.modal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5)
}

.modal-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem
}

.modal-header i {
    font-size: 1.5rem;
    color: #ef4444
}

.modal-header h3 {
    font-size: 1.1rem;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800
}

.modal-body {
    color: var(--muted-foreground);
    font-size: .85rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500
}

.modal-footer {
    display: flex;
    gap: 1rem
}

.modal-footer .btn {
    flex: 1
}

.bg-destructive {
    background: #ef4444 !important;
    box-shadow: 0 10px 25px -10px rgba(239, 68, 68, .4) !important;
    color: #fff !important
}

.bg-destructive:hover {
    filter: brightness(1.1)
}

.animate-zoom {
    opacity: 1
}

body.is-account,
body.is-admin {
    background-color: var(--background);
    color: #fff;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh
}

body.is-account .main-content-wrapper,
body.is-admin .main-content-wrapper {
    display: block;
    min-width: 0
}

body.is-account .container.page-body,
body.is-admin .container.page-body {
    max-width: 100%;
    padding: 0 1.25rem 2.5rem 1.25rem;
    margin: 0
}

body.is-account #accountDrawer,
body.is-admin #accountDrawer {
    display: block;
    position: sticky;
    top: 0;
    height: 100vh;
    background: #020617;
    border-right: 1px solid var(--border);
    z-index: 100
}

body.is-account #accountDrawer .drawer-overlay,
body.is-admin #accountDrawer .drawer-overlay {
    display: none
}

body.is-account #accountDrawer .drawer-panel,
body.is-admin #accountDrawer .drawer-panel {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    background: 0 0;
    box-shadow: none;
    padding: .75rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column
}

body.is-account #accountDrawer .logo,
body.is-admin #accountDrawer .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none
}

body.is-account .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

body.is-account .stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem
}

body.is-account .stat-card:hover {
    border-color: rgba(79, 70, 229, .3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .6)
}

body.is-account .stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0
}

@media (max-width:1023px) {
    body.is-account .stats-grid {
        grid-template-columns: 1fr;
        gap: .75rem
    }

    body.is-account .stat-card {
        padding: 1rem 1.25rem;
        gap: 1rem
    }

    body.is-account .stat-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem
    }

    body.is-account .stat-card h3 {
        font-size: 1.25rem
    }
}

body.is-account .drawer-nav,
body.is-admin .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1
}

body.is-account .drawer-nav a,
body.is-admin .drawer-nav a {
    color: var(--muted-foreground);
    font-size: .85rem;
    font-weight: 700;
    padding: .85rem 1.25rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease
}

body.is-account .drawer-nav a i,
body.is-admin .drawer-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: .6
}

body.is-account .drawer-nav a:hover,
body.is-admin .drawer-nav a:hover {
    background: rgba(255, 255, 255, .03);
    color: #fff
}

body.is-account .drawer-nav a:hover i,
body.is-admin .drawer-nav a:hover i {
    opacity: 1
}

body.is-account .drawer-nav a.active,
body.is-admin .drawer-nav a.active {
    background: linear-gradient(135deg, var(--primary) 0, #6366f1 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, .25)
}

body.is-account .drawer-nav a.active i,
body.is-admin .drawer-nav a.active i {
    opacity: 1
}

@media (max-width:1023px) {

    body.is-account,
    body.is-admin {
        grid-template-columns: 1fr
    }

    body.is-account #accountDrawer,
    body.is-admin #accountDrawer {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 15000;
        background: 0 0;
        border-right: none;
        pointer-events: none;
        display: block
    }

    body.is-account #accountDrawer.open,
    body.is-admin #accountDrawer.open {
        pointer-events: auto
    }

    body.is-account #accountDrawer .drawer-overlay,
    body.is-admin #accountDrawer .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .6);
        backdrop-filter: blur(4px);
        opacity: 0;
        z-index: 5
    }

    body.is-account #accountDrawer.open .drawer-overlay,
    body.is-admin #accountDrawer.open .drawer-overlay {
        opacity: 1
    }

    body.is-account #accountDrawer .drawer-panel,
    body.is-admin #accountDrawer .drawer-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background: var(--card);
        box-shadow: 20px 0 50px rgba(0, 0, 0, .5);
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
        pointer-events: auto
    }

    body.is-account #accountDrawer.open .drawer-panel,
    body.is-admin #accountDrawer.open .drawer-panel {
        transform: translateX(0)
    }

    body.is-account #accountDrawer .logo,
    body.is-admin #accountDrawer .logo {
        margin-bottom: 2rem;
        justify-content: space-between
    }
}

@media (max-width:1023px) {

    body.is-account #accountDrawer .drawer-panel,
    body.is-admin #accountDrawer .drawer-panel {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
        pointer-events: auto
    }

    body.is-account #accountDrawer .drawer-nav,
    body.is-admin #accountDrawer .drawer-nav {
        flex: 1;
        overflow-y: auto;
        min-height: 0
    }

    .sidebar-collapse-wrapper {
        position: sticky;
        bottom: 0;
        flex-shrink: 0;
        background: linear-gradient(to bottom, transparent, var(--card) 30%);
        padding-top: 1rem !important;
        margin-top: 0 !important
    }
}

.sidebar-collapse-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    padding: .85rem 1.25rem;
    border-radius: .75rem
}

.sidebar-collapse-link:hover {
    background: rgba(255, 255, 255, .03);
    color: #fff
}

.sidebar-collapse-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: .6
}

.sidebar-collapse-link:hover i {
    opacity: 1
}

.sidebar-toggle-desktop {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden
}

#accountDrawer:hover .sidebar-toggle-desktop {
    opacity: 1;
    visibility: visible
}

.sidebar-toggle-desktop:hover {
    transform: translateY(-50%) scale(1.1);
    background: #2563eb
}

@media (min-width:1024px) {

    body.is-account.sidebar-collapsed,
    body.is-admin.sidebar-collapsed {
        grid-template-columns: 80px 1fr
    }

    body.is-account.sidebar-collapsed #accountDrawer,
    body.is-admin.sidebar-collapsed #accountDrawer {
        width: 80px
    }

    body.is-account.sidebar-collapsed #accountDrawer .drawer-panel,
    body.is-admin.sidebar-collapsed #accountDrawer .drawer-panel {
        padding: 2rem .5rem;
        align-items: center
    }

    body.is-account.sidebar-collapsed #accountDrawer .logo,
    body.is-admin.sidebar-collapsed #accountDrawer .logo {
        justify-content: center;
        margin-bottom: 2rem;
        padding: 0;
        gap: 0
    }

    body.is-account.sidebar-collapsed #accountDrawer .logo span,
    body.is-admin.sidebar-collapsed #accountDrawer .logo span {
        display: none
    }

    body.is-account.sidebar-collapsed #accountDrawer .drawer-nav,
    body.is-admin.sidebar-collapsed #accountDrawer .drawer-nav {
        align-items: center
    }

    body.is-account.sidebar-collapsed #accountDrawer .drawer-nav a,
    body.is-admin.sidebar-collapsed #accountDrawer .drawer-nav a {
        justify-content: center;
        padding: 0;
        width: 45px;
        height: 45px;
        border-radius: 12px;
        gap: 0
    }

    body.is-account.sidebar-collapsed #accountDrawer .drawer-nav a span,
    body.is-admin.sidebar-collapsed #accountDrawer .drawer-nav a span {
        display: none
    }

    body.is-account.sidebar-collapsed #accountDrawer .drawer-nav a i,
    body.is-admin.sidebar-collapsed #accountDrawer .drawer-nav a i {
        margin: 0;
        font-size: 1.1rem;
        opacity: 1
    }

    body.is-account.sidebar-collapsed #accountDrawer .sidebar-collapse-wrapper,
    body.is-admin.sidebar-collapsed #accountDrawer .sidebar-collapse-wrapper {
        padding: 1rem 0;
        display: flex;
        justify-content: center
    }

    body.is-account.sidebar-collapsed #accountDrawer .sidebar-collapse-link,
    body.is-admin.sidebar-collapsed #accountDrawer .sidebar-collapse-link {
        justify-content: center;
        padding: 0;
        width: 45px;
        height: 45px
    }

    body.is-account.sidebar-collapsed #accountDrawer .sidebar-collapse-link span,
    body.is-admin.sidebar-collapsed #accountDrawer .sidebar-collapse-link span {
        display: none
    }

    body.is-account.sidebar-collapsed #accountDrawer .sidebar-collapse-link i,
    body.is-admin.sidebar-collapsed #accountDrawer .sidebar-collapse-link i {
        transform: rotate(180deg);
        margin: 0
    }

    .sidebar-collapsed .sidebar-toggle-desktop i {
        transform: rotate(180deg)
    }
}

@media (max-width:1023px) {
    .sidebar-toggle-desktop {
        display: none !important
    }

    .mobile-sidebar-close {
        display: block !important
    }

    .sidebar-collapse-wrapper {
        display: none !important
    }

    .account-hamburger {
        display: flex !important;
        z-index: 10002 !important;
        position: relative;
    }
    .account-hamburger:active {
        background: rgba(255,255,255,0.15) !important;
        transform: scale(0.95);
    }
}

@media (min-width:1024px) {
    .account-hamburger {
        display: none !important
    }
}

footer a:hover {
    color: var(--primary) !important
}