@charset "UTF-8";


/* Higher specificity to avoid !important */
html body {
    background: #F2F7F8;
    font-family: Inter, sans-serif;
    font-size: 14px;
}

h1 {
    font-size: 1.25rem;
    font-weight: 400;
}

h2 {
    font-size: 1.2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.15rem;
    font-weight: 400;
}

/*TODO: von px auf rem wechseln */

h5 {
    font-size: 18px;
    font-weight: 600;
}

h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

ul {
    list-style: none;
    padding-left: 0;
}

/*
Main Classes
 */

.collapse.in {
    display: block;
}

/* position utilities */
.top-25 { top: 25% !important; }
.top-75 { top: 75% !important; }

.start-25 { left: 25% !important; }
.start-75 { left: 75% !important; }

.end-25 { right: 25% !important; }
.end-75 { right: 75% !important; }

/*
Main Page
 */

.main-wrapper {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 100vh;
    background: #f2f7f8;
}

.page-wrapper {
    width: 100%;
    transition: .2s ease-in;
    overflow-x: hidden;
}


.body-wrapper {
    padding-top: calc(70px + 30px);
    min-height: calc(100% - 70px);
}

.body-container {
    max-width: 1300px;
    margin: 0 auto;
}

/*
Side Menü
 */

.left-sidebar {
    width: 260px;
    box-shadow: 1px 0 20px rgba(0, 0, 0, .08);
    flex-shrink: 0;
    z-index: 99;
    position: fixed;
    left: 0;
    height: 100%;
    display: block;
    background-color: #ffffff;
}

.scroll-sidebar {
    overflow-y: auto;
    height: calc(100vh - 120px);
}


.sidebar-item {
    text-wrap: nowrap;
    overflow: hidden;
}

.sidebar-item .btn {
    font-size: 1.1rem;
    border: 0;
    padding: 6px 22px;
    text-align: left;
    width: 100%;
}


.sec-lev .sidebar-item .btn {
    font-size: 1rem;
}

.nav-icon {
    color: #3A3F4F;
}

.navbar-brand {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
}

.navbar-brand-mobile {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: #FFFFFF;
}

.navbar-brand-img {
    display: block;
    margin: auto;
    width: 125px;
}

.navbar-brand-top-img {
    width: 50px;
}

.navbar-title {
    margin: 0;
    font-weight: bolder;
    font-size: 0.95rem;
}

.offcanvas.offcanvas-start {
    width: 100%;
}

.btn-toggle::after {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
    float: right;
}

.btn-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/*
Topbar
 */

.topbar {
    width: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(to right, #0178bc 0, #00bdda 100%);
    z-index: 9;
    padding: 0 10px;
    color: #ffffff;
}


.topbar .navbar {
    min-height: 70px;
}

/*
Sweet Alert
 */

/* Higher specificity for SweetAlert override */
body .swal2-popup {
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
}

/*
Bootstrap Toasts - Remove transparency
 */

/* Override Bootstrap's default translucent background */
.toast {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.toast-header {
    background-color: #f8f9fa !important;
}


@media (min-width: 992px) {
    .page-wrapper {
        margin-left: 260px;
    }

    .topbar {
        width: calc(100% - 260px);
    }
}

@media (max-width: 991px) {
    /* Mobile-specific utility classes - !important needed to override Bootstrap defaults */
    .btn-xs-primary {
        margin-bottom: 0.5rem !important;
        --bs-btn-color: #fff;
        --bs-btn-bg: #0d6efd;
        --bs-btn-border-color: #0d6efd;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #0b5ed7;
        --bs-btn-hover-border-color: #0a58ca;
        --bs-btn-focus-shadow-rgb: 49, 132, 253;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #0a58ca;
        --bs-btn-active-border-color: #0a53be;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: #0d6efd;
        --bs-btn-disabled-border-color: #0d6efd;
    }

    .btn-xs-outline-primary {
        margin-bottom: 0.5rem !important;
        border: solid 1px !important;
        --bs-btn-color: #0d6efd;
        --bs-btn-border-color: #0d6efd;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #0d6efd;
        --bs-btn-hover-border-color: #0d6efd;
        --bs-btn-focus-shadow-rgb: 13, 110, 253;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #0d6efd;
        --bs-btn-active-border-color: #0d6efd;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #0d6efd;
        --bs-btn-disabled-bg: transparent;
        --bs-btn-disabled-border-color: #0d6efd;
        --bs-gradient: none;

    }
}

/* Tables */

.table-actions {
    justify-content: center; /* Zentriert die Icons */
    align-items: center;
    gap: 5px; /* Abstand zwischen den Buttons */
}

/* Utility classes to replace inline styles */
.cursor-pointer {
    cursor: pointer;
}

.text-xs {
    font-size: 0.8rem;
}

.text-sm {
    font-size: 0.9rem;
}

.nowrap {
    white-space: nowrap;
}

.width-auto {
    width: auto;
}

.width-fit {
    width: fit-content;
}

.width-1pct {
    width: 1%;
}

.min-width-60 {
    min-width: 60px;
}

.z-index-11000 {
    z-index: 11000;
}

.breadcrumb-bullet {
    --bs-breadcrumb-divider: '•';
}
