@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-hnp8cpx1fh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hnp8cpx1fh] {
    flex: 1;
}

.sidebar[b-hnp8cpx1fh] {
    background-image: linear-gradient(180deg, rgb(0, 43, 76) 0%, #6691b2 70%);
}

.top-row[b-hnp8cpx1fh] {
    background-color: var(--bs-heading-color);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-hnp8cpx1fh]  a, .top-row[b-hnp8cpx1fh]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-hnp8cpx1fh]  a:hover, .top-row[b-hnp8cpx1fh]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-hnp8cpx1fh]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-hnp8cpx1fh] {
        justify-content: space-between;
    }

    .top-row[b-hnp8cpx1fh]  a, .top-row[b-hnp8cpx1fh]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-hnp8cpx1fh] {
        flex-direction: row;
    }

    .sidebar[b-hnp8cpx1fh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-hnp8cpx1fh] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hnp8cpx1fh]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-hnp8cpx1fh], article[b-hnp8cpx1fh] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.nav-link[b-hnp8cpx1fh] {
    background-color: rgba(var(--bs-primary), 0.15);
    color: var(--bs-primary) !important;
    font-weight: 600;
    border-radius: 0.375rem;
}

.nav-link.active[b-hnp8cpx1fh] {
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    color: var(--bs-primary) !important;
    font-weight: 600;
    border-radius: 0.375rem;
}
/* /Pages/SubjectManagementPage.razor.rz.scp.css */
.abbreviation-card[b-3k22c01ywa] {
    .card
;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* /Pages/TimetableOverview.razor.rz.scp.css */
.link-stile[b-tzch5q2b6m] {
    .link-underline
;
    cursor: pointer;
}

.align-right[b-tzch5q2b6m] {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
    display: block;
}

.timetable-entry[b-tzch5q2b6m] {
    position: absolute;
    inset: 2px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    padding: 0.5rem;

    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);

    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);

    transition: background-color 0.2s ease;
}

/* Offline lessons */
.timetable-entry.offline[b-tzch5q2b6m] {
    background-color: var(--bs-secondary-bg);
}

/* Online lessons */
.timetable-entry.online[b-tzch5q2b6m] {
    background-color: rgba(var(--bs-info-rgb), 0.25);
}

/* Better muted text in dark mode */
.timetable-entry small[b-tzch5q2b6m] {
    color: var(--bs-secondary-color);
}

/* Table styling */
#timetable-container table[b-tzch5q2b6m] {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

/* Remove bright white cells */
#timetable-container td[b-tzch5q2b6m],
#timetable-container th[b-tzch5q2b6m] {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

/* Slight hover effect */
.timetable-entry.offline:hover[b-tzch5q2b6m] {
    background-color: var(--bs-secondary-bg);
}

thead th[b-tzch5q2b6m] {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}
