@import '_content/EventBooking/EventBooking.ypfk8ks03t.bundle.scp.css';

/* _content/EventBooking.Dashboard/Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== Layout-Grundstruktur (dein bestehendes Markup) ===== */
.page[b-t1d80nvslt] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;   
    background: #eef2f6; /* App-Hintergrund leicht grau f�r Kontrast */
}


main[b-t1d80nvslt] {
    flex: 1;
}

/* ===== Sidebar (links) ===== */
.sidebar[b-t1d80nvslt] {
    /* wenn du deinen Farbverlauf behalten willst, Zeile darunter auskommentieren */
    /* background-image: linear-gradient(180deg, rgb(5,39,103) 0%, #3a0647 70%); */
    background: #0b1220; /* dunkle, ruhige Sidebar */
    color: #e6e7eb;
    border-right: 1px solid #0f172a;
    width: 100%;
}

/* ===== Topbar (oben) ===== */
.top-row[b-t1d80nvslt] {
    background-color: #f7f9fc; /* klar abgesetzt von Content */
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

    /* Links/Buttons in der Topbar � ohne ::deep, da globales CSS greift */
    .top-row a[b-t1d80nvslt],
    .top-row .btn-link[b-t1d80nvslt] {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: inherit;
    }

        .top-row a:hover[b-t1d80nvslt],
        .top-row .btn-link:hover[b-t1d80nvslt] {
            text-decoration: underline;
        }

        .top-row a:first-child[b-t1d80nvslt] {
            overflow: hidden;
            text-overflow: ellipsis;
        }

    /* Logout-Button mit klarem Hover-Kontrast */
    .top-row .inline button[b-t1d80nvslt] {
        font-size: 14px;
        padding: 8px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
        color: #111827;
        cursor: pointer;
        transition: background .12s ease, color .12s ease, border-color .12s ease;
    }

        .top-row .inline button:hover[b-t1d80nvslt] {
            background: #111827;
            color: #fff;
            border-color: #111827;
        }

/* ===== Content-Karte (Rahmen wie gew�nscht) ===== */
article.content[b-t1d80nvslt] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 1px rgba(16,24,40,.03);
    margin: 20px auto;
    padding: 20px 16px;
    max-width: 1200px;
}

/* ===== Sidebar-Navigation: Links, aktiv/hover, Icons ===== */
/* Falls deine Links .nav-link haben: */



/* Aktiver Link: Icons etwas kr�ftiger */
.sidebar .nav-link.active .nav-ico[b-t1d80nvslt],
.sidebar .nav-link[aria-current="page"] .nav-ico[b-t1d80nvslt] {
    opacity: 1;
}


.sidebar .nav-link[b-t1d80nvslt],
.sidebar a[b-t1d80nvslt] {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #c7cbd3; /* nicht zu blass */
    text-decoration: none;
    padding: .56rem .75rem;
    margin: .18rem .3rem;
    border-radius: 8px;
    min-height: 38px;
    font-size: 14.5px;
    position: relative;
    transition: background .12s ease, color .12s ease;
}

    .sidebar .nav-link:hover[b-t1d80nvslt],
    .sidebar a:hover[b-t1d80nvslt] {
        background: #141c2c; /* dunkler Hover-Hintergrund */
        color: #ffffff;
        text-decoration: none;
    }

    /* Aktiv markierter Link � funktioniert f�r .active UND aria-current */
    .sidebar .nav-link.active[b-t1d80nvslt],
    .sidebar a.active[b-t1d80nvslt],
    .sidebar .nav-link[aria-current="page"][b-t1d80nvslt],
    .sidebar a[aria-current="page"][b-t1d80nvslt] {
        color: #ffffff;
        background: #1b2538; /* kontrastreicher aktiver Hintergrund */
        font-weight: 600;
    }

        .sidebar .nav-link.active[b-t1d80nvslt]::before,
        .sidebar a.active[b-t1d80nvslt]::before,
        .sidebar .nav-link[aria-current="page"][b-t1d80nvslt]::before,
        .sidebar a[aria-current="page"][b-t1d80nvslt]::before {
            content: "";
            position: absolute;
            left: -6px;
            top: 6px;
            bottom: 6px;
            width: 3px;
            border-radius: 2px;
            background: #3b82f6; /* blaue Akzentleiste links */
        }

/* Bootstrap Icons in der Sidebar: sichtbar, Gr��e & Ausrichtung konsistent */
.sidebar .nav-ico[b-t1d80nvslt], .sidebar .bi[b-t1d80nvslt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    height: 1em; /* �berschreibt height:1em */
    margin-right: .5rem;
    transform: translateY(0); 
}

/* ===== Typo im Content ===== */
.content h1[b-t1d80nvslt] {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 600;
    margin: 0 0 .6rem 0;
    color: #111827;
}

.content h2[b-t1d80nvslt] {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
    margin: 1rem 0 .5rem;
    color: #111827;
}

.content h3[b-t1d80nvslt] {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 600;
    margin: .9rem 0 .45rem;
    color: #111827;
}

.content p[b-t1d80nvslt], .content li[b-t1d80nvslt], .content label[b-t1d80nvslt] {
    font-size: 15px;
    color: #111827;
}

/* ===== Responsive (dein bisheriges Verhalten beibehalten) ===== */
@media (max-width: 640.98px) {
    .top-row[b-t1d80nvslt] {
        justify-content: space-between;
    }

        .top-row a[b-t1d80nvslt], .top-row .btn-link[b-t1d80nvslt] {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-t1d80nvslt] {
        flex-direction: row;
    }

    .sidebar[b-t1d80nvslt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-t1d80nvslt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth a:first-child[b-t1d80nvslt] {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-t1d80nvslt], article[b-t1d80nvslt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ===== Blazor-Error-UI wie gehabt ===== */
#blazor-error-ui[b-t1d80nvslt] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-t1d80nvslt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* _content/EventBooking.Dashboard/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ntytioaj07] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ntytioaj07] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ntytioaj07] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ntytioaj07] {
    font-size: 1.1rem;
}

/*.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}*/

.bi-house-door-fill-nav-menu[b-ntytioaj07] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ntytioaj07] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ntytioaj07] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ntytioaj07] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ntytioaj07] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ntytioaj07] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ntytioaj07]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        gap: .6rem;
    }

.nav-item[b-ntytioaj07]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ntytioaj07]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ntytioaj07] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ntytioaj07] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ntytioaj07] {
        display: none;
    }

    .nav-scrollable[b-ntytioaj07] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
