[contentEditable="true"]:focus {
    display: block;
    width: 100%;
    padding: .4375rem .75rem;
    font-size: .875rem;
    line-height: 1.4285714286;
    background-color: var(--tblr-bg-forms);
    border: var(--tblr-border-width) solid var(--tblr-border-color) !important;
    background-clip: padding-box;
    border-radius: var(--tblr-border-radius);
}

* {
    -webkit-overflow-scrolling: auto;
}

#fullpage-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(12px);
    z-index: 999999;
    transition: all .2s;
}

#fullpage-loader.no_nav {
    z-index: 900 !important;
}

#fullpage-loader .inner {
    position: absolute;
    top: calc(50% + 25px);
    left: calc(50% + 127px);
    transform: translate(-50%, -50%);
}

#fullpage-loader .inner img {
    height: 128px;
    width: 128px;
}

.navbar {
    z-index: 1000 !important;
}
.offcanvas {
    z-index: 1200 !important;
}

.daterangepicker {
    max-height: 70vh !important;
    overflow-y: scroll !important;
    margin-bottom: 30px;
}

 .card {
     border-radius: 15px !important;
     overflow: hidden;
 }

.card .card-actions {
    font-size: .8rem;
}

.card .card-header .nav-link {
    font-size: .8rem;
}

.card .card-header .nav-item {
    margin: 4px 6px;
}
.card .card-header .nav-link.active {
    background-color: #e9f0f9;
}

.card:not(.no-shadow) {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-outer {
    position: relative;
}

.card .card-header {
    background-color: var(--tblr-active-bg);
    font-size: 1.25rem;
    padding: 15px;
}
.card .card-body {
    padding: 20px;
}
.card .card-footer {
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
.btn {
    border-radius: 8px !important;
}
.btn-refresh:hover {
    background-color: #2b36d4;
}
.font-weight-medium {
    font-weight: bold;
}

.bg-default {
    background-color: var(--tblr-bg-surface-tertiary) !important;
}

/** Tabs with bottom border */
.nav-tabs-orange.border-orange .nav-link {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/** Input group */
.input-group span.input-group-text {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;
}
.input-group input {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}
.input-group .left {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;
}

select {
    border-radius: 8px !important;
}

/** Card hover effect */
.card-hover-effect {
    transition: all .3s;
}
.card-hover-effect:hover {
    transform: translateY(-4px);
}

/** Bootstrap list-group list-group-flush */
.list-group-flush .list-group-item {
    position: relative;
    padding: 1rem 1.5rem;
    border: none;
}

.list-group-flush .list-group-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent); /* Linie mit Ausfaden */
}

/** Dashboard Widget Resize */
.editor .fire_module .resize-handle {
    position: absolute;
    right: -8px; /* Handgriff leicht außerhalb der Karte anzeigen */
    top: 50%; /* Zentriert auf der Y-Achse */
    transform: translateY(-40%); /* Perfekte Zentrierung */
    width: 18px;
    height: 80px; /* Länglicher Griff für bessere Zugänglichkeit */
    background-color: var(--tblr-secondary); /* Blauton passend zum Design */
    cursor: ew-resize; /* Cursor für horizontales Resizing */
    border-radius: 4px; /* Abrundung der Ecken für einen modernen Look */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Leichter Schatten für Tiefe */
    transition: background-color 0.2s ease;
    z-index: 99999 !important;
}

.fire_module .resize-handle:hover {
    opacity: 0.8;
    cursor: ew-resize;
}

.fire_module {
    transition: width 0.1s ease;
}

body.resizing {
    cursor: ew-resize !important;
}

.card-editor-actions {
    z-index: 999 !important;
}

/** Bootstrap Modals */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-content .modal-header {
    background-color: var(--tblr-active-bg);
    font-size: 1.25rem;
    padding: 15px;
}
.modal-content .modal-body {
    padding: 20px;
}
.modal-content .modal-footer {
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: scale(0.8);
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-xxl .modal-dialog {
    max-width: 80vw;
    width: 80vw;
}

.btn-group > label:nth-child(2) {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.btn-group > label:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.btn-group > label {
    border-radius: 0 !important;
}

.table-hover-tr:not(:has(.btn:hover)):hover td {
    background-color: rgba(66, 153, 225, 0.1);
}

.table-hover-visible {
    display: none;
}
tr:hover .table-hover-visible {
    display: inline-block !important;
}

.table-hover-tr-pointer:hover td {
    cursor: pointer !important;
}
.table-hover-tr-forbidden:hover td {
    cursor: not-allowed;
}
.popover-erledigt:hover, .popover-deleted:hover {
    cursor: help;
}

.grund:hover {
    transform: scale(1.08);
}

 .filter-alert {
     border-top: 1px solid #4299e1;
     padding-top: 6px;
     margin-top: 6px;
 }

aside.sidebar:not(.collapsed) .show-on-collapsed {
    display: none;
}
aside.sidebar.collapsed .hide-on-collapsed, aside.sidebar.collapsed .nav-link-title {
    display: none;
}

aside.sidebar.collapsed .nav-item {
    padding-left: 0;
}
aside.sidebar.collapsed .nav-item .nav-link-icon {
    margin-right: 0;
    width: 100%;
    text-align: center;
}
aside.sidebar.collapsed .nav-item .nav-link-icon i {
    left: 0;
}

/* Sidebar styles */
aside.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100%);
    width: 250px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 0 15px 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
}

aside.sidebar:not(.no_animate) {
    transition: width 0.3s ease;
}

aside.sidebar.collapsed {
    width: 80px;
}

aside.sidebar .menu a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: block;
}

aside.sidebar .menu a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.dropdown-glass {
    background: rgba(255, 255, 255);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 15px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: left 0.3s ease;
}

/* Navbar styles */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 290px;
    right: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 15px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.navbar-glass:not(.no_animate) {
    transition: left 0.3s ease;
}
.navbar-glass.collapsed {
    left: 110px;
}

/* Content styles */
main.content {
    margin-top: 60px;
    margin-left: 290px;
    padding: 2rem;
    padding-right: 46px !important;
}

main.content:not(.no_animate) {
    transition: margin-left 0.3s ease;
}

main.content.collapsed {
    margin-left: 110px;
}

.alert {
    border-radius: 15px;
}

.nav-item {
    margin-left: -8px;
    padding-left: 8px;
    margin-bottom: 2px;
    margin-top: 2px;
}

.nav-item i {
    position: relative;
    top: 2px;
    left: 4px;
}

.nav-item.active {
    background-color: #e9f0f9;
    border: 1px solid #c0d5ee;
    border-radius: 15px;
    color: #226cc4;
}

.nav-item.active i {
    color: #226cc4;
}

.offcanvas {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px;
    border-radius: 15px 0px 0px 15px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: visible !important;
}

.accordion-item {
    border-radius: 15px !important;
    background-color: white;
}

.nav-pills {
    background-color: white;
    border-radius: 15px;
}
.nav-pills .nav-item .nav-link {
    border-radius: 15px;
}
.nav-pills .nav-item .nav-link.active {
    background-color: #e9f0f9;
    color: #206bc4 !important;
}

.alert {
    border-radius: 15px !important;
}

.custom-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 999999 !important;
    font-size: 14px;
}
[rel='custom_tooltip']:hover {
    cursor: help;
}

.css_tooltip_holder .css_tooltip {
    display: none;
}

.css_tooltip {
    position: absolute;
    top: -15px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 8px;
    padding: 4px 8px;
    text-wrap: nowrap;
}

.css_tooltip_holder:hover .css_tooltip {
    display: inline;
}

.css_tooltip_holder:hover {
    cursor: help;
}

.chart_color_white .apexcharts-text {
    fill: white !important;
}

.popover {
    z-index: 999060 !important;
}

.nav-item .nav-link-icon {
    width: 20px !important;
    text-align: center;
    padding-right: 12px;
}

.sidebar-item {
    transition: all .2s;
}

.sidebar-item:hover {
    background-color: #e9f0f9;
    border-radius: 15px;
    color: #226cc4;
}

.sidebar-item:hover .nav-link {
    background-color: transparent !important;
}

.alert {
    display: inline-block !important;
    width: 100% !important;
}

.columns-static {
    position: sticky;
    right: 0;
}

td.columns-static {
    background: var(--table-bg) !important;
    filter: drop-shadow(-10px 0px 7px var(--table-bg)) !important;
}
th.columns-static {
    background-color: var(--table-header) !important;
    filter: drop-shadow(-10px 0px 7px var(--table-header)) !important;
}

.bg-offcanvas {
    background-color: var(--tblr-offcanvas-bg) !important;
}