.scrollbar-verstecken {
    scrollbar-width: thin; /* Stil der Scrollleiste anpassen, falls erforderlich */
    scrollbar-color: #88888800 #f5f5f500; /* Stil der Scrollleiste anpassen, falls erforderlich */
}

/* Verstecke Scrollbalken für Elemente mit overflow: auto; */
.scrollbar-verstecken::-webkit-scrollbar {
    width: 0.4em; /* Breite der Scrollleiste anpassen, falls erforderlich */
}

.scrollbar-verstecken::-webkit-scrollbar-thumb {
    background-color: #88888800; /* Hintergrundfarbe des Scrollbalken-Daumens anpassen */
}

.scrollbar-verstecken::-webkit-scrollbar-thumb:hover {
    background-color: #55555500; /* Hintergrundfarbe des Scrollbalken-Daumens beim Hover anpassen */
}

#kstkstkstkst {
    height: 60rem;
    margin-top: 1rem;
    border-radius: 1rem;
}

/* General Settings */
body {
    width: 100svw;
    height: 100svh;
    overflow: hidden;
    /* background: hsla(171, 87%, 67%, 1);
    background: linear-gradient(90deg, hsla(171, 87%, 67%, 1) 0%, hsla(236, 100%, 72%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(171, 87%, 67%, 1) 0%, hsla(236, 100%, 72%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(171, 87%, 67%, 1) 0%, hsla(236, 100%, 72%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#61F4DE", endColorstr="#6E78FF", GradientType=1 );
 */

    /* background: #0D2588;
background: linear-gradient(135deg, #0D2588, #32C6EC); */
    /* background: linear-gradient(270deg, #4aa4f2, #132e8b);
background-size: 400% 400%;

-webkit-animation: AnimationName 120s ease infinite;
-moz-animation: AnimationName 120s ease infinite;
animation: AnimationName 120s ease infinite; */

    background-image: url("/elements/media/bg.png");
    background-size: cover; /* Passt das Bild an die Größe des Fensters an */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
    background-position: center;

    display: flex;
    align-items: center;
    flex-direction: row;
    font-family: Helvetica;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    background-size: cover; /* Startgröße */
    animation: backgroundZoom 2s ease-in-out forwards;
}

.dk_scs3 {
    user-select: none;
}

@keyframes backgroundZoom {
    0% {
        background-size: 200%;
    }
    100% {
        background-size: 120%;
    }
}

.chart_div {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 2rem;
    height: 80%;
    width: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
}

#section-fatherfu {
    margin-left: 20%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5%;
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@-moz-keyframes AnimationName {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes AnimationName {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

p {
    margin: 0;
}

/* Dashboard Settings */

.all {
    display: flex;
    flex-direction: row;
    width: 100svw;
    height: 100svh;
    align-items: center;
}

#ca {
    width: 15rem;
    font-size: 2rem;
    text-align: center;
}

.button {
    border-radius: 0.5rem;
    font-size: 1rem;
    width: fit-content;
    height: fit-content;
    line-height: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.change_agency {
    z-index: 999;
    border-radius: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content; /* Beispielbreite */
    height: fit-content; /* Beispielhöhe */
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: lightblue; /* Beispielhintergrundfarbe */
    text-align: center; /* Textzentrierung */
    line-height: 100px; /* Vertikale Textzentrierung */
    display: none;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 20%;
}

.filter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.blurry-dark {
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Halbtransparente schwarze Überlagerung */
    filter: blur(5px); /* Weichzeichner */
}

.button-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.size-container {
    padding-left: 8rem;
    padding-right: 8rem;
    height: 85%;
}

.medium-size-container {
    padding-right: 3rem;
    height: 80%;
}

#main-section1 {
    margin-left: 20%;
    width: 50%;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    height: 90%;
    overflow: hidden;
    opacity: 0;
}

.sonder{
    width: 5rem;
}

.obj_filter {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

#section-motherfu {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main-section2 {
    /* background-color: blue; */
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    width: 30%;
    transform: translate(120%, 0%);
    justify-content: center;
}

#firmen-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.small-box-round {
    width: 18rem;
    height: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 1rem;
}

.big-box-round {
    height: 13rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-radius: 1rem;
}

.very-big-box-round {
    height: 85%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 1rem;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gerate {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: scroll;
}

.gerat {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 1rem;
    width: 90%;
    border-radius: 1rem;
    align-items: center;
    min-height: 4rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.gerat:hover {
    opacity: 0.7;
}

#kst-data {
    max-height: 50rem;
    min-height: 50rem;
}

#ks {
    font-size: 1.8rem;
}

.gerat > h5 {
    font-size: 0.8rem;
}

#firma-gesamt-kosten {
}

#kst-durchschnitt {
}

.kst-container {
    width: 100%;
    height: 4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 1rem;
    margin-top: 1rem;
    box-shadow: 0px 0px !important;
    background-color: #6a6a6a30 !important;
    /* box-shadow: 0px 0px 20px 9px rgba(0, 0, 0, 0.303) !important; */
    transition:
        opacity 0.3s,
        scale 0.4s;
}

.kst-container:hover {
    opacity: 0.6;
    scale: 0.95;
}

#kostenstellen {
    height: 80%;
    overflow: scroll;
    overflow-y: visible;
}

.sec1 {
    width: 40%;
    text-align: left;
    margin-left: 2rem;
}

.kst-name {
    font-size: 1.7rem;
    max-width: 20rem;
    overflow: hidden;
    max-height: 2rem;
}
.kst-id {
    font-size: 0.9rem;
}

.activeNow {
    background-color: #e2f1ff73 !important;
    opacity: 1 !important;
    transition: scale 0.5;
    scale: 1;
}

hr {
    width: 100%;
}

.activeNow:hover {
    background-color: #e2f1ff73 !important;
    opacity: 1 !important;
    transition: scale 0.5 !important;
    scale: 1 !important;
}

.sec2 {
    width: 20%;
    display: flex;
    flex-direction: row;
    text-align: right;
    justify-content: flex-end;
}
.sec3 {
    width: 40%;
    margin-right: 2rem;
    text-align: right;
}

.scs1 {
    width: 5rem;
    overflow: hidden;
}

.scs2 {
    width: 6rem;
}

.scs3 {
    width: 7rem;
}

.scs4 {
    width: 2rem;
}

.scs5 {
    width: 4rem;
}

#tarif-abweichungen {
    overflow: scroll;
    /* box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 22%); */
}

#taw {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* SIDEBAR COMPONTENT */
#sidebar {
    width: 20%;
    height: fit-content;
    position: absolute;
    border-radius: 0rem 2rem 2rem 0rem;
    top: 50%;
    transform: translate(
        -150%,
        -50%
    ); /* Startzustand: Außerhalb des Bildschirms */
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    /* transition: transform 0.5s ease;  */
}

#sidebar.slide-in {
    animation: slideIn 2s forwards ease-in-out; /* Animation anwenden */
}

#main-section2.slide-in {
    animation: slideInRight 2s forwards ease-in-out; /* Animation anwenden */
}

#main-section1.slide-in {
    animation: fadeInNice 2s forwards ease-in-out; /* Animation anwenden */
}

@keyframes slideIn {
    to {
        transform: translate(0%, -50%); /* Endzustand: Sichtbar */
    }
}

@keyframes slideInRight {
    to {
        transform: translate(0%, 0%); /* Endzustand: Sichtbar */
    }
}

@keyframes fadeInNice {
    to {
        opacity: 1; /* Endzustand: Sichtbar */
    }
}

#sidebar_app_logo {
    width: 80%;
    image-orientation: none;
}

.sidebar-menu {
    text-align: left !important;
    user-select: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
    font-size: 2rem;
    padding: 1rem;
    width: fit-content;
    border-radius: 1rem;
    transition: scale 0.4s;
}

.sidebar-menu:hover {
    scale: 1.1;
}

#firma-gesamt-kosten {
    background-color: #e1e1e136 !important;
}

#kst-durchschnitt {
    background-color: #e1e1e136 !important;
}

#data-stats-gesamtkosten {
    text-shadow: 0 0 10px #ffffffa6;
    font-size: 0.9rem;
}

#data-stats-kstdurschnitt {
    text-shadow: 0 0 10px #ffffffa6;
    font-size: 0.9rem;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1); /* Leicht transparent */
    backdrop-filter: blur(30px); /* Unschärfe-Effekt für den Glas-Look */
    text-align: center;
    box-shadow: 12px 0px 20px 9px rgb(0 0 0 / 22%);
    /* background-color: #add8e669; */
    background-color: #ffffff1a;
    /* background-color: #00000030; */
}

/* Archiv Seite */
#archiv-section {
    margin-left: 20%;
    width: 80%;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.csvdocument {
    width: 70%;
    height: 4.5rem;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: row;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.dk_scs1 {
    text-align: left;
    width: 70%;
}

.dk_scs2 {
    width: 15%;
}

.dk_scs3 {
    width: 15%;
}

/* Custom Classes for Styling */
.ui_icon {
    width: 2rem;
    height: 2rem;
}

#section-motherfu > div {
    padding-left: 1rem;
    padding-right: 1rem;
}

.modern-list-selection {
    border-radius: 0.2rem;
    border: 0px;
    background-color: #0000007d;
    color: white;
    font-weight: bold;
    -webkit-appearance: none;
    padding: 0.5rem;
    text-align: center;
}

.selection-label {
    font-size: 1rem;
}

.spacer {
    margin-top: 1rem;
}

.big-spacer {
    margin-top: 4rem;
}

.mega-big-spacer {
    margin-top: 4rem;
}

.fat-text {
    font-size: 3rem;
    font-weight: bold;
}

.extra-small-text-light {
    font-size: 0.8rem;
    font-weight: 700;
    color: #eeeeee;
}

.small-text-bold {
    font-size: 1rem;
}

.medium-text-bold {
    font-size: 2.5rem;
}

@media (max-width: 1920px) {
    h1 {
        font-size: 24px; /* Anpassen auf die gewünschte Größe */
    }

    #kst-data {
        max-height: 35rem;
        min-height: 35rem;
    }
    .sidebar-menu {
        font-size: 1.4rem;
    }
    .big-spacer {
        margin-top: 2rem;
    }
    #main-section1 {
        max-height: 57rem;
        min-height: 57rem;
    }
}
