.control-section {
    font-family: Poppins, var(--bs-body-font-family) !important;
}

.e-control, .e-css {
    font-family: Poppins, var(--bs-body-font-family) !important;
}


.dxbs-sc-tb-wrapper {
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 10px 10px 0 0;
}

.dxbl-btn {
    border-radius: 0.25rem;
}

.tab-buttons {
    display: flex;
    border-radius: 0.75rem 0.75rem 0 0 !important;
    gap: 0.5rem;
    align-items: center;
}

.tab-icon {
    width: 40px;
}

.container-kalendar {
    height: 100%;
    overflow: auto;
}

.container-radius-op {
    border-radius: 0 0 0.75rem 0.75rem;
}

.container-personal {
    background-color: white;
}

.personal {
    align-items: center;
    outline: 1px solid var(--color_light_gray);
    padding: 0.5rem;
}

.personal-icon {
    width: 32px;
    height: 32px;
}

.plus-button {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 10px;
    border-radius: 0.25rem;
}

.dropdown-container {
    position: relative;
}

.dropdown {
    width: 100%;
    max-height: 100px;
    overflow: auto;
    position: absolute;
    background-color: var(--background_color);
    list-style-type: none;
    padding: 0;
    outline: 1px solid var(--dark_gray_font);
    z-index: 10;
}

    .dropdown > li {
        padding: 5px;
    }

        .dropdown > li:hover {
            background-color: var(--color_light_gray);
        }

@media (max-width: 991.98px) {
    .dropdown-container {
        position: unset;
    }

    .dropdown {
        width: 90%;
        height: 50vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.op_blutsperre_container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: auto;
    max-height: 200px;
}

.op_blutsperre_item {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.bg-scheduler-blue {
    background-color: #0390fc !important;
}

.bg-scheduler-green {
    background-color: #1dc90a !important;
}

.bg-scheduler-orange {
    background-color: #de9b0b !important;
}

.bg-scheduler-yellow {
    background-color: #d3de0b !important;
}

.bg-scheduler-red {
    background-color: #87220b !important;
}

.bg-scheduler-purple {
    background-color: #830b87 !important;
}

.op_table table {
    overflow: auto;
}

.op_table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.op_table table {
    border-collapse: collapse;
    width: 100%;
}

.op_table th,
td {
    padding: 1rem;
}

.op_table th {
    background-color: var(--primary);
    color: var(--light_gray);
    font-size: 16px;
}

    .op_table th:first-child {
        border-radius: 10px 0 0 0;
    }

    .op_table th:last-child {
        border-radius: 0 10px 0 0;
    }

.op_table td:first-child {
    /*padding-left: 3rem;*/
}

.op_table td:last-child {
    padding-right: 1rem;
}

.op_table td > label {
    display: none;
}

.op_table tr > #CODE {
    max-width: 20vw; /* Maximale Breite */
    max-height: 4em; /* Maximale Höhe für zwei Zeilen Text */
    overflow: hidden; /* Versteckt den Text, der über die maximale Höhe hinausgeht */
    display: block;
    white-space: normal; /* Ermöglicht Zeilenumbrüche im Text */
    text-overflow: ellipsis; /* Zeigt "Ellipsis" (...) für abgeschnittenen Text an */
}

.op_table tr > #CHIRUG > #CHIRUGICON {
    display: none
}

.art_table table {
    overflow: auto;
}

.art_table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.art_table table {
    border-collapse: collapse;
    width: 100%;
}

.art_table th,
td {
    padding: 1rem;
}

.art_table th {
    background-color: var(--primary);
    color: var(--light_gray);
    font-size: 16px;
}

    .art_table th:first-child {
        border-radius: 10px 0 0 0;
    }

    .art_table th:last-child {
        border-radius: 0 10px 0 0;
    }

.art_table td:first-child {
    /*padding-left: 3rem;*/
}

.art_table td:last-child {
    padding-right: 1rem;
}

.art_table td > label {
    display: none;
}

.art_table tr > #BMENGETEXT {
    display: none;
}


@media (max-width: 1199.98px) {
    .op_table table {
        display: flex;
        padding: 0rem 1rem 0rem 1rem;
    }

    .op_table tbody {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .op_table thead {
        display: none !important;
    }

    .op_table td {
        display: flex;
        max-width: 100%;
        padding: 0;
        align-items: center;
    }

    .op_table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0;
        grid-template-areas:
            "STATUS OPTIONS"
            "DATUM ."
            "CODE ."
            "RAUM ."
            "CHIRUG ."
            "PATIENT ."
            "PDF .";
    }

        .op_table tr > #STATUS {
            grid-area: STATUS;
            font-weight: 600;
        }

    .color_-1 {
        background-color: var(--light_red);
        padding: 0.5rem !important;
        max-width: 400px;
        margin-right: auto;
        border-radius: 0.75rem;
    }

    .color_0 {
        background-color: var(--color_light_gray);
        padding: 0.5rem !important;
        max-width: 400px;
        margin-right: auto;
        border-radius: 0.75rem;
    }

    .color_1 {
        background-color: var(--light_yellow);
        padding: 0.5rem !important;
        max-width: 400px;
        margin-right: auto;
        border-radius: 0.75rem;
    }

    .color_2 {
        background-color: var(--lager_charge);
        padding: 0.5rem !important;
        max-width: 400px;
        margin-right: auto;
        border-radius: 0.75rem;
    }

    .color_3 {
        background-color: var(--green);
        padding: 0.5rem !important;
        max-width: 400px;
        margin-right: auto;
        border-radius: 0.75rem;
    }

    .op_table tr > #OPTIONS {
        grid-area: OPTIONS;
    }

    .op_table tr > #DATUM {
        padding-top: 1rem !important;
        grid-area: DATUM;
        font-weight: 900;
    }

    .op_table tr > #CODE {
        grid-area: CODE;
        max-width: 100vw;
        max-height: 3em; /* Maximale Höhe für zwei Zeilen Text */
        overflow: hidden; /* Versteckt den Text, der über die maximale Höhe hinausgeht */
        display: block;
        white-space: normal; /* Ermöglicht Zeilenumbrüche im Text */
        text-overflow: ellipsis; /* Zeigt "Ellipsis" (...) für abgeschnittenen Text an */
    }

    .op_table tr > #RAUM {
        grid-area: RAUM;
        padding-top: 1rem !important;
        font-weight: 900;
    }

    .op_table tr > #CHIRUG {
        grid-area: CHIRUG;
    }

        .op_table tr > #CHIRUG > #CHIRUGICON {
            display: block;
            width: 20px;
            height: 20px;
        }

    .op_table tr > #PATIENT {
        padding-top: 1rem !important;
        grid-area: PATIENT;
        padding-top: 1rem;
    }

        .op_table tr > #PATIENT::before {
            content: "Patient(nr.):";
            display: block;
            margin-right: 0.25rem;
            text-align: center;
        }

    .op_table tr > #PDF {
        padding-top: 1rem !important;
        grid-area: PDF;
    }

        .op_table tr > #PDF::after {
            content: "Bericht";
            display: block;
            margin-left: 0.5rem;
            text-align: center;
        }

    .art_table table {
        display: flex;
        padding: 0rem 1rem 0rem 1rem;
    }

    .art_table tbody {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .art_table thead {
        display: none !important;
    }

    .art_table td {
        display: flex;
        max-width: 100%;
        padding: 0;
        align-items: center;
    }

    .art_table tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        grid-template-areas:
            "ARTNR ARTNR BMENGETEXT"
            "BEZEICHNUNG BEZEICHNUNG BMENGE"
            "INPUT ADDCART TRASH";
    }

    .art_table.verbrauchsliste tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        grid-template-areas:
            "ARTNR ARTNR"
            "BEZEICHNUNG BEZEICHNUNG"
            "INPUT NETTOPREIS"
            "LOT SERNO"
            "MHD TRASH";
    }

    .art_table tr > #ARTNR {
        grid-area: ARTNR;
        color: var(--dark_gray_font);
    }

    .art_table tr > #BMENGETEXT {
        display: block;
        grid-area: BMENGETEXT;
        white-space: nowrap;
    }

    .art_table tr > #BEZEICHNUNG {
        grid-area: BEZEICHNUNG;
        font-weight: 600;
    }

    .art_table tr > #BMENGE {
        grid-area: BMENGE;
    }

    .art_table tr > #INPUT {
        grid-area: INPUT;
        position: relative;
        margin-top: 1.5rem;
    }

        .art_table tr > #INPUT::before {
            content: "Menge";
            position: absolute;
            top: -1.5em; /* Abstand nach oben einstellen */
        }

    .art_table tr > #TRASH {
        grid-area: TRASH;
    }

    .art_table tr > #ADDCART {
        grid-area: ADDCART;
    }

    .art_table tr > #NETTOPREIS {
        grid-area: NETTOPREIS;
        position: relative;
        margin-top: 1.5rem;
    }
        .art_table tr > #NETTOPREIS::before {
            content: "Nettopreis";
            position: absolute;
            top: -1.5em; /* Abstand nach oben einstellen */
        }

    .art_table tr > #LOT {
        grid-area: LOT;
        width: 100%;
        position: relative;
        margin-top: 1.5rem;
    }
        .art_table tr > #LOT::before {
            content: "LOT";
            position: absolute;
            top: -1.5em; /* Abstand nach oben einstellen */
        }

    .art_table tr > #SERNO {
        grid-area: SERNO;
        width: 100%;
        position: relative;
        margin-top: 1.5rem;
    }
        .art_table tr > #SERNO::before {
            content: "Seriennummer";
            position: absolute;
            top: -1.5em; /* Abstand nach oben einstellen */
        }

    .art_table tr > #MHD {
        grid-area: MHD;
        width: 100%;
        position: relative;
        margin-top: 1.5rem;
    }
        .art_table tr > #MHD::before {
            content: "Verfallsdatum";
            position: absolute;
            top: -1.5em; /* Abstand nach oben einstellen */
        }
}
