html[data-color-theme="dark"] {
    --body-bg-rgb: 32, 33, 37;
    --card-bg: #252b31;
    --bs-card-bg: #252b31;
}

html[data-color-theme="dark"] #top-navbar {
    background-color: #1a1d21;
}

html[data-color-theme="dark"] .navbar-footer {
    background-color: #1a1d21 !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-color-theme="dark"] .navbar-footer,
html[data-color-theme="dark"] .navbar-footer .text-muted,
html[data-color-theme="dark"] .navbar-footer a.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

html[data-color-theme="dark"] .navbar-footer a.text-muted:hover,
html[data-color-theme="dark"] .navbar-footer .navbar-nav-link:hover {
    color: #ffffff !important;
}

html[data-color-theme="dark"] body.navbar-top {
    padding-top: 7.5rem;
}

html[data-color-theme="dark"] .page-header-light,
html[data-color-theme="dark"] .card {
    --card-bg: #252b31;
    background-color: var(--card-bg);
}

html[data-color-theme="dark"] .bg-body {
    background-color: #252b31 !important;
}

html[data-color-theme="dark"] .bg-light-subtle,
html[data-color-theme="dark"] .bg-body-secondary,
html[data-color-theme="dark"] .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-light-subtle,
.bg-body-secondary {
    background-color: rgba(0, 0, 0, 0.03);
}

.bg-success-subtle {
    background-color: rgba(5, 150, 105, 0.12) !important;
}
.border-success-subtle {
    border-color: rgba(5, 150, 105, 0.25) !important;
}
html[data-color-theme="dark"] .bg-success-subtle {
    background-color: rgba(105, 192, 165, 0.15) !important;
}
html[data-color-theme="dark"] .border-success-subtle {
    border-color: rgba(105, 192, 165, 0.3) !important;
}

.text-warning-emphasis {
    color: #b45309 !important;
}
html[data-color-theme="dark"] .text-warning-emphasis {
    color: #f9b690 !important;
}

html[data-color-theme="dark"] .badge.bg-body,
html[data-color-theme="dark"] .badge.bg-light,
html[data-color-theme="dark"] .badge.bg-light-subtle {
    background-color: #252b31 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ececec !important;
}

html[data-color-theme="dark"] .list-group-item {
    background-color: #252b31;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ececec;
}
html[data-color-theme="dark"] .list-group-item-action:hover,
html[data-color-theme="dark"] .list-group-item-action:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

html[data-color-theme="dark"] .step-box,
html[data-color-theme="dark"] .pricing-card,
html[data-color-theme="dark"] .artist-mockup {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-color-theme="dark"] .artist-hero-card {
    background: linear-gradient(135deg, rgba(109, 181, 255, 0.08) 0%, rgba(249, 182, 144, 0.08) 100%), #252b31 !important;
}

html[data-color-theme="dark"] .accordion {
    --accordion-bg: #252b31;
    --accordion-btn-color: #ececec;
    --accordion-btn-bg: #252b31;
    --accordion-border-color: rgba(255, 255, 255, 0.1);
    background-color: #252b31;
}
html[data-color-theme="dark"] .accordion-item {
    background-color: #252b31;
    border-color: rgba(255, 255, 255, 0.1);
}
html[data-color-theme="dark"] .accordion-button {
    background-color: #252b31;
    color: #ececec;
}
html[data-color-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: rgba(109, 181, 255, 0.15) !important;
    color: #6db5ff !important;
}
html[data-color-theme="dark"] .accordion-body {
    color: rgba(255, 255, 255, 0.75);
}

html[data-color-theme="dark"] .page-header-light {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-color-theme="dark"] .btn-light {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    color: #fff;
}

html[data-color-theme="dark"] .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

html[data-color-theme="dark"] .text-body,
html[data-color-theme="dark"] h1,
html[data-color-theme="dark"] h2,
html[data-color-theme="dark"] h3,
html[data-color-theme="dark"] h4,
html[data-color-theme="dark"] h5,
html[data-color-theme="dark"] h6 {
    color: #ececec !important;
}

html[data-color-theme="dark"] .bg-light-custom {
    background-color: #1a1d21 !important;
}

html[data-color-theme="dark"] .nav-link.active {
    color: #fff !important;
}

html[data-color-theme="dark"] .bg-card,
html[data-color-theme="dark"] .sidebar-mobile-expanded {
    background-color: #252b31 !important;
}

html[data-color-theme="dark"] .form-control,
html[data-color-theme="dark"] .form-select,
html[data-color-theme="dark"] .input-group-text {
    background-color: #1a1d21;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

html[data-color-theme="dark"] .form-control:focus,
html[data-color-theme="dark"] .form-select:focus {
    background-color: #1a1d21;
    color: #fff;
    border-color: #103a5d;
}

html[data-color-theme="dark"] .table {
    --table-color: #ececec;
    --table-bg: transparent;
    --table-border-color: rgba(255, 255, 255, 0.1);
    --table-striped-bg: rgba(255, 255, 255, 0.02);
    --table-hover-bg: rgba(255, 255, 255, 0.04);
    color: var(--table-color);
}

html[data-color-theme="dark"] .table-mobile-stacked tr {
    background-color: #252b31 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ececec !important;
}
html[data-color-theme="dark"] .table-mobile-stacked td {
    color: #ececec !important;
}
html[data-color-theme="dark"] .table-mobile-stacked td::before {
    color: #9ca3af !important;
}

#top-navbar {
    background-color:#103a5d;
    min-height: 80px; /* Sicherstellen, dass die Navbar hoch genug für das Logo ist */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1030;
}

.dropdown-menu {
    --dropdown-zindex: 1050;
    z-index: 1050;
}

.navbar .dropdown-menu,
.toolbar-icons .dropdown-menu {
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#top-navbar .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-width: fit-content;
}

#top-navbar .navbar-brand a {
    display: inline-flex !important;
    align-items: center !important;
}

#top-navbar .navbar-brand img {
    height: 48px;
    max-height: 48px !important;
    width: auto;
    object-fit: contain;
    display: block !important;
}

.logo-dark,
#top-navbar .navbar-brand img.logo-dark {
    display: none !important;
}

html[data-color-theme="dark"] .logo-light,
html[data-color-theme="dark"] #top-navbar .navbar-brand img.logo-light {
    display: none !important;
}

html[data-color-theme="dark"] .logo-dark,
html[data-color-theme="dark"] #top-navbar .navbar-brand img.logo-dark {
    display: block !important;
}

@media (prefers-color-scheme: dark) {
    html:not([data-color-theme="light"]) .logo-light,
    html:not([data-color-theme="light"]) #top-navbar .navbar-brand img.logo-light {
        display: none !important;
    }
    html:not([data-color-theme="light"]) .logo-dark,
    html:not([data-color-theme="light"]) #top-navbar .navbar-brand img.logo-dark {
        display: block !important;
    }
}

body.navbar-top {
    padding-top: 7rem;
}

/*
    .nav-link.active {
        color:#103a5d;
    }
    .navbar-nav-link.active, .navbar-nav-link.show, .navbar-nav-link[aria-expanded="true"] {
        color:#103a5d;
    }

    html[data-color-theme="dark"] .nav-link.active {
        color:#fff;
        background-color:#103a5d;
    }

    html[data-color-theme="dark"] .navbar-nav-link.active, html[data-color-theme="dark"] .navbar-nav-link.show, html[data-color-theme="dark"] .navbar-nav-link[aria-expanded="true"] {
        color:#fff;
        background-color:#103a5d;
    }

    html[data-color-theme="dark"] .btn-flat-secondary {
        color:#fff;
    }
    html[data-color-theme="dark"] .btn-white {
        color:#103a5d;
    }
*/

#menu-navbar {
    background: rgba(255, 255, 255, 0.1); /* halbtransparent */
    backdrop-filter: blur(10px);          /* Weichzeichner-Effekt */
    -webkit-backdrop-filter: blur(10px);  /* Safari-Unterstützung */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* leichte Linie */
}


/*

.toolbar-icons .navbar-nav-link-icon i {
    color:#fff;
}
.toolbar-icons .navbar-nav-link-icon:hover i {
    color:#103a5d;
}
.toolbar-icons .navbar-nav-link-icon:focus {
    background-color:#fff;
}
.toolbar-icons .navbar-nav-link-icon:focus i {
    color:#103a5d;
}

*/

html:not([data-color-theme="dark"]) .page-header-light .btn-light,
html:not([data-color-theme="dark"]) .btn-light,
html:not([data-color-theme="dark"]) .btn-flat-light {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333 !important;
}

html:not([data-color-theme="dark"]) .page-header-light .btn-light i,
html:not([data-color-theme="dark"]) .btn-light i,
html:not([data-color-theme="dark"]) .btn-flat-light i {
    color: #333 !important;
}

html:not([data-color-theme="dark"]) .page-header-light .btn-light:hover,
html:not([data-color-theme="dark"]) .btn-light:hover,
html:not([data-color-theme="dark"]) .btn-flat-light:hover {
    background-color: #ebebeb;
    border-color: #ccc;
}

.btn-yellow,
.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active,
html[data-color-theme="dark"] .btn-yellow,
html[data-color-theme="dark"] .btn-yellow:hover,
html[data-color-theme="dark"] .btn-yellow:focus,
html[data-color-theme="dark"] .btn-yellow:active {
    color: #1f2937 !important;
}

.btn-yellow i,
html[data-color-theme="dark"] .btn-yellow i {
    color: #1f2937 !important;
}

html:not([data-color-theme="dark"]) .page-header-light .btn-primary {
    color: #fff !important;
}

html:not([data-color-theme="dark"]) .page-header-light .btn-primary i {
    color: #fff !important;
}

html:not([data-color-theme="dark"]) .toolbar-icons .navbar-nav-link-icon i {
    /* alles außer dark */
    color:#fff;
}
html:not([data-color-theme="dark"]) .toolbar-icons .navbar-nav-link-icon:hover i {
    color:#fff;
}
html:not([data-color-theme="dark"]) .toolbar-icons .navbar-nav-link-icon:focus {
    background-color: transparent;
}
html:not([data-color-theme="dark"]) .toolbar-icons .navbar-nav-link-icon:focus i {
    color:#fff;
}


/* Nav Button: Mein BEVENT */
html:not([data-color-theme="dark"]) #button_my_bevent {
    color:#103a5d!important;
}



.event_card  {
    overflow:hidden;
    width:100%;
}
.event_card .event_picture {
   transition: transform 0.2s;
   filter: grayscale(var(--image-grayscale)) opacity(var(--image-opacity));
}

.event_card:hover .event_picture {
    transform: scale(1.02);
}

/* Sidebar Resized (Collapsed) Mode */
@media (min-width: 992px) {
    .sidebar-main {
        transition: width var(--transition-base-timer, 0.15s) ease-in-out;
    }
}

.sidebar-main-resized-loading .sidebar-main,
.sidebar-main.sidebar-main-resized {
    width: 3.5rem !important;
}

.sidebar-main-resized-loading .sidebar-main .sidebar-content,
.sidebar-main.sidebar-main-resized .sidebar-content {
    width: 100% !important;
    overflow-x: hidden !important;
}

.sidebar-main.sidebar-main-resized .sidebar-resize-show,
.sidebar-main-resized-loading .sidebar-main .sidebar-resize-show {
    display: flex !important;
}

.sidebar-main.sidebar-main-resized .sidebar-resize-hide,
.sidebar-main-resized-loading .sidebar-main .sidebar-resize-hide {
    display: none !important;
}

.sidebar-main.sidebar-main-resized .nav-sidebar .nav-link,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar .nav-link {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
}

.sidebar-main.sidebar-main-resized .nav-sidebar .nav-link span,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar .nav-link span {
    display: none !important;
}

.sidebar-main.sidebar-main-resized .nav-sidebar .nav-link i,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar .nav-link i {
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-size: 1.25rem;
}

.sidebar-main.sidebar-main-resized .nav-sidebar .nav-item-submenu > .nav-link:after,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar .nav-item-submenu > .nav-link:after {
    display: none !important;
}

.sidebar-main.sidebar-main-resized .nav-sidebar > .nav-item-header,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar > .nav-item-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

.sidebar-main.sidebar-main-resized .nav-sidebar > .nav-item-header > i,
.sidebar-main-resized-loading .sidebar-main .nav-sidebar > .nav-item-header > i {
    display: block !important;
    margin: 0 auto !important;
}

.sidebar-main.sidebar-main-resized .card-header,
.sidebar-main-resized-loading .sidebar-main .card-header {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    justify-content: center !important;
}

.sidebar-main.sidebar-main-resized .card-header .ms-auto,
.sidebar-main-resized-loading .sidebar-main .card-header .ms-auto {
    margin-left: 0 !important;
}

.sidebar-main.sidebar-main-resized .list-group-item,
.sidebar-main-resized-loading .sidebar-main .list-group-item {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sidebar-main.sidebar-main-resized .list-group-item i,
.sidebar-main-resized-loading .sidebar-main .list-group-item i {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.sidebar-main.sidebar-main-resized .sidebar-section,
.sidebar-main-resized-loading .sidebar-main .sidebar-section {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.sidebar-main.sidebar-main-resized .sidebar-section-header,
.sidebar-main-resized-loading .sidebar-main .sidebar-section-header {
    padding: 0.5rem 0.25rem !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
}

.event_card .event_title {
    /*
    color:#1f2937;
    */
}
.dark .event_card .event_title {
    /*
    color:#6db5ff;
    */
}
.event_card .text-muted .link {
    /*color:#6b7280;*/
}

.event_card .event_title:hover,
.event_card .text-muted .link:hover {
    /*color:#0962bf;*/
}

.mouse {
    cursor: pointer;
}

/* Neu fÃ¼r event_box */
.image-wrapper {
    position: relative;
    height: 360px;
    width: 100%;
    overflow: hidden;
}

.image-wrapper .foreground-image {
    position: relative;
    height: 100%;
    width: auto;
    z-index: 2;
    display: block;
    margin: 0 auto;
}

.image-wrapper .background-blur {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.7);
    transform: scale(1.1);
    z-index: 1;
}


.bvnt_participant_images .rounded-pill {
    border:1px solid #fff;
}


.bvnt_title {
    font-size:1.125rem;
    font-weight:600;
    line-height: 2;
}


/* confetti */
.confetti-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 9999;
}


.confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    opacity: 0.9;
    border-radius: 0px;
    animation: explode 1s forwards, fall 7s forwards 0.6s;

}

@keyframes explode {
    0% { transform: translate(0,0) rotate(0deg); }
    50% { transform: translate(var(--dx), var(--dy)) rotate(180deg); }
    100% { transform: translate(var(--dx), var(--dy)) rotate(360deg); }

}

@keyframes fall {
    0% { transform: translate(var(--dx), var(--dy)) rotate(360deg); opacity:1; }
    100% { transform: translate(calc(var(--dx) + var(--wiggle)), 100vh) rotate(720deg); opacity:0; }
}

/* Smartphone-Optimierungen für den Header */
@media (max-width: 991.98px) {
    #top-navbar {
        min-height: 60px;
    }

    #top-navbar > .container-fluid,
    #top-navbar > .container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    #top-navbar .navbar-brand {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        margin-right: auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    #top-navbar .navbar-brand a {
        display: inline-flex !important;
        align-items: center !important;
        max-width: 100% !important;
    }

    #top-navbar .navbar-brand img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        max-width: 160px !important;
        object-fit: contain !important;
        display: block !important;
    }

    #top-navbar .nav.flex-row,
    #top-navbar .toolbar-icons {
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Sicherstellen, dass die Toolbar-Icons rechtsbündig sind */
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    /* Abstand zwischen den Icons auf Mobile etwas reduzieren falls nötig */
    #top-navbar .navbar-nav-link,
    #top-navbar .nav-link {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }

    /* Sekundäres Menü im Manager rechtsbündig auf Mobile */
    #menu-navbar .nav {
        justify-content: flex-end !important;
    }
}

@media (max-width: 575.98px) {
    #top-navbar .navbar-brand img {
        height: 28px !important;
        max-height: 28px !important;
        max-width: 120px !important;
    }

    #top-navbar .navbar-nav-link,
    #top-navbar .nav-link {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

@media (max-width: 399.98px) {
    #top-navbar .navbar-brand img {
        height: 24px !important;
        max-height: 24px !important;
        max-width: 105px !important;
    }

    #top-navbar .navbar-nav-link,
    #top-navbar .nav-link {
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }
}


/* Disable default accordion toggle icon within the filter sidebar */
/* Removed by user request - they want the toggler icons back but the filter stays open
#accordion_filter .accordion-button::after {
    display: none !important;
    background-image: none !important;
    content: none !important;
}
*/

/* Optional: restore right padding since no arrow is shown */
#accordion_filter .accordion-button {
    padding-right: 1rem; /* match left padding spacing */
}

/* Prevent filter sidebar from being affected by main sidebar resize (icon-only mode) */
/* Modified: We now support icon mode for the filter */
.sidebar-main.sidebar-main-resized #sidebar_filter_section .sidebar-resize-show {
    display: block !important;
}

.sidebar-main.sidebar-main-resized #sidebar_filter_section .sidebar-resize-hide {
    display: none !important;
}

.sidebar-main.sidebar-main-resized #sidebar_filter_section .ms-auto {
    display: none !important;
}

/* If the sidebar is resized, we want to make sure the filter remains readable if it's in the main sidebar */
/* Standard Limitless/Bootstrap behavior for resized sidebar often hides text or collapses widths */
/* We don't force display anymore as we use .sidebar-resize-hide/show classes */

/* Ensure filter content is visible even when sidebar is resized */
/* We don't force width anymore to allow icon-only mode */

/* Specific fix for the "icon-only" transformation */
.sidebar-main-resized #accordion_filter .accordion-button::after {
    position: absolute !important;
    right: 1rem !important;
    display: block !important;
}
#top-navbar {
    background-color:#003764;
}

html:not([data-color-theme="dark"]) .nav-link.active {
    color:#103a5d;
}
html:not([data-color-theme="dark"]) .navbar-nav-link.active,
html:not([data-color-theme="dark"]) .navbar-nav-link.show,
html:not([data-color-theme="dark"]) .navbar-nav-link[aria-expanded="true"] {
    color:#103a5d;
}

/* ==========================================================================
   Mobile Bottom Navigation & Event Scrollbar
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Platzhalter unten nur, wenn die Bottom-Bar vorhanden ist */
    body:has(.mobile-bottom-nav) {
        padding-bottom: 65px !important;
    }

    /* Feste Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 58px;
        background-color: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
        z-index: 990;
    }

    /* Dark-Mode Unterstützung */
    [data-color-theme="dark"] .mobile-bottom-nav {
        background-color: #1e222d;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-bottom-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 4px;
    }

    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        color: #6c757d;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 500;
        padding: 4px 2px;
        transition: color 0.15s ease-in-out;
        cursor: pointer;
    }

    .mobile-bottom-nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
        line-height: 1;
    }

    .mobile-bottom-nav-item.active,
    .mobile-bottom-nav-item:hover,
    .mobile-bottom-nav-item:focus {
        color: var(--bvnt-primary, #103a5d);
        font-weight: 600;
    }

    [data-color-theme="dark"] .mobile-bottom-nav-item {
        color: #a0aec0;
    }

    [data-color-theme="dark"] .mobile-bottom-nav-item.active,
    [data-color-theme="dark"] .mobile-bottom-nav-item:hover,
    [data-color-theme="dark"] .mobile-bottom-nav-item:focus {
        color: #ffffff;
    }

    /* Horizontale Wischleiste für Event- & Profil-Unterseiten */
    .event-mobile-scrollnav,
    .profile-mobile-scrollnav {
        background-color: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 8px 12px;
        margin-bottom: 1rem;
        position: sticky;
        top: 0;
        z-index: 980;
    }

    [data-color-theme="dark"] .event-mobile-scrollnav,
    [data-color-theme="dark"] .profile-mobile-scrollnav {
        background-color: #1e222d;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .event-mobile-scrollnav-inner,
    .profile-mobile-scrollnav-inner {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .event-mobile-scrollnav-inner::-webkit-scrollbar,
    .profile-mobile-scrollnav-inner::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .event-mobile-scrollnav-inner .btn,
    .profile-mobile-scrollnav-inner .btn {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    /* Dropdown-Menüs (z. B. Avatar/Account) über Navigationsleisten positionieren */
    .navbar {
        z-index: 1000;
    }

    .dropdown-menu {
        --dropdown-zindex: 1050;
        z-index: 1050;
    }

    .navbar .dropdown-menu,
    .toolbar-icons .dropdown-menu {
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile Sidebar & Drawer Overlay */
    .sidebar-main,
    .sidebar:not(.sidebar-component-desktop) {
        display: none;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        z-index: 1100 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #fff;
    }

    .sidebar-main.sidebar-mobile-expanded,
    .sidebar-mobile-expanded .sidebar-main,
    .sidebar.sidebar-mobile-expanded,
    .sidebar-mobile-expanded .sidebar,
    body.sidebar-mobile-expanded .sidebar-main,
    body.sidebar-mobile-expanded .sidebar {
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35) !important;
        background-color: #fff !important;
        left: 0 !important;
    }

    [data-color-theme="dark"] .sidebar-main.sidebar-mobile-expanded,
    [data-color-theme="dark"] .sidebar-mobile-expanded .sidebar-main,
    [data-color-theme="dark"] .sidebar.sidebar-mobile-expanded,
    [data-color-theme="dark"] .sidebar-mobile-expanded .sidebar,
    html[data-color-theme="dark"] body.sidebar-mobile-expanded .sidebar-main,
    html[data-color-theme="dark"] body.sidebar-mobile-expanded .sidebar {
        background-color: #252b31 !important;
    }

    body.sidebar-mobile-expanded {
        overflow: hidden;
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1090;
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
    }
}

/* Sidebar Mobile Toggle Button & Touch-Optimierung */
.sidebar-mobile-main-toggle {
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.sidebar-mobile-main-toggle * {
    pointer-events: none;
}

/* ==========================================================================
   Warenkorb Sidebar & Content Alignment
   ========================================================================== */
.cart-sidebar-table {
    table-layout: fixed;
    width: 100%;
}

.cart-sidebar-table td {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    word-break: break-word;
}

.cart-sidebar-table td.text-end {
    width: 42%;
    min-width: 95px;
    word-break: normal;
}

/* Content Area Alignment: Align content seamlessly with header container and allow broader content layout */
.page-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.content {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
    }
}

@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;
    }
}
