body,
.form-control,
.btn {
    font-size: 0.9rem !important;
}

.main-form {
    height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.tab-content {
    width: 100%;
    background: #fff;
    padding: 30px;
}

.nav-item,
.nav-item>.active {
    background-color: #fff;
}



.btn .btn-soft-success {
    background-color: #1f9361;
    /* Main button color */
    color: #fff;
    /* Text color */
    border: none;
    /* No border */
    padding: 10px 20px;
    /* Padding for the button */
    border-radius: 2px;
    /* Rounded corners */
    font-size: 16px;
    /* Font size */
    font-family: 'Arial', sans-serif;
    /* Font style */
    cursor: pointer;
    /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition */
}

.btn-soft-success:hover {
    background-color: #3d9871;
    /* Slightly lighter green on hover */
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    /* Increased shadow on hover */
}

.btn-soft-success:active {
    background-color: #1f9361;
    /* Darker green when clicked */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Reduced shadow on click */
}

/* Success Button */
.btn-soft-success {
    background-color: #1f9361;
    /* Green */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-soft-success:hover {
    background-color: #3d9871;
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-soft-success:active {
    background-color: #1f9361;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Danger Button */
.btn-soft-danger {
    background-color: #e74c3c;
    /* Red */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-soft-danger:hover {
    background-color: #d44a3b;
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-soft-danger:active {
    background-color: #c0392b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Info Button */
.btn-soft-info {
    background-color: #3498db;
    /* Blue */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-soft-info:hover {
    background-color: #2b89c4;
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-soft-info:active {
    background-color: #2980b9;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Warning Button */
.btn-soft-warning {
    background-color: #f39c12;
    /* Orange/Yellow */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-soft-warning:hover {
    background-color: #e38e10;
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-soft-warning:active {
    background-color: #d68910;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Success Button */
.btn-success::before,
.btn-soft-success::before {
    content: '\f00c';
    /* Font Awesome checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Primary Button */
.btn-primary::before {
    content: '\f00c';
    /* Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}


/* Secondary Button */
.btn-secondary::before {
    content: '\f013';
    /* Font Awesome cog icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Danger Button */
.btn-danger::before {
    content: '\f057';
    /* Font Awesome times-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.3rem;
    margin-left: 0.3rem;
    font-size: 0.85rem;
    color: #ffffff;
}

.btn-soft-danger::before {
    content: '\f2ed';
    /* Font Awesome trash icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    /* Consistent margin with other buttons */
    margin-left: 0.4rem;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Warning Button */
.btn-warning::before {
    content: '\f071';
    /* Font Awesome exclamation-triangle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Info Button */
.btn-info::before {
    content: '\f05a';
    /* Font Awesome info-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Light Button */
.btn-light::before {
    content: '\f0eb';
    /* Font Awesome lightbulb icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1rem;
    /* Larger icon for light button */
    color: #000000;
    /* Dark icon for light background */
}

/* avoid in case of kartik codemirror */
.kv-code-container .btn-light::before {
    content: none !important;
}

/* Dark Button */
.btn-dark::before {
    content: '\f002';
    /* Font Awesome search icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1rem;
    /* Larger icon for dark button */
    color: #ffffff;
}

/* Alerts */

/* Success Alert */
.alert-success::before {
    content: '\f00c';
    /* Font Awesome checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    /* Larger icon for alerts */
    color: #0f5132;
    /* Green to match the success alert */
}

/* Danger Alert */
.alert-danger::before {
    content: '\f057';
    /* Font Awesome times-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    /* Larger icon for alerts */
    color: #842029;
    /* Red to match the danger alert */
}

/* Warning Alert */
.alert-warning::before {
    content: '\f071';
    /* Font Awesome exclamation-triangle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    /* Larger icon for alerts */
    color: #856404;
    /* Yellow to match the warning alert */
}

/* Info Alert */
.alert-info::before {
    content: '\f05a';
    /* Font Awesome info-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    /* Larger icon for alerts */
    color: #0dcaf0;
    /* Blue to match the info alert */
}

.none-icon:before {
    content: none;
    /* This removes the icon */
    display: none;
    /* Alternatively, you can use this to completely hide it */
}

/* Primary Button */
.btn-soft-primary {
    background-color: #2472c6;
    /* Primary blue */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-soft-primary:hover {
    background-color: #0069d9;
    /* Slightly darker blue on hover */
    color: #FFF;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    /* Increased shadow on hover */
}

.btn-soft-primary:active {
    background-color: #769fcc;
    /* Darker blue when clicked */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Reduced shadow on click */
}

.btn-sm {

    padding: 4px;
}

/* Hide the icon if the 'no-icon' class is present */
.no-icon::before {
    content: none;
}


/* Font size utility classes */

.fs-8 {
    font-size: 0.5rem;
}


/* Example: 8px (0.5rem) */

.fs-10 {
    font-size: 0.625rem;
}


/* Example: 10px (0.625rem) */

.fs-12 {
    font-size: 0.75rem;
}


/* Example: 12px (0.75rem) */

.fs-14 {
    font-size: 0.875rem;
}


/* Example: 14px (0.875rem) */

.fs-16 {
    font-size: 1rem;
}


/* Example: 16px (1rem) */

.fs-18 {
    font-size: 1.125rem;
}


/* Example: 18px (1.125rem) */

.fs-20 {
    font-size: 1.25rem;
}


/* Example: 20px (1.25rem) */

.fs-22 {
    font-size: 1.375rem;
}


/* Example: 22px (1.375rem) */

.fs-24 {
    font-size: 1.5rem;
}


/* Example: 24px (1.5rem) */

.fs-28 {
    font-size: 1.75rem;
}


/* Example: 28px (1.75rem) */

.fs-32 {
    font-size: 2rem;
}


/* Example: 32px (2rem) */

.fs-36 {
    font-size: 2.25rem;
}


/* Example: 36px (2.25rem) */

.fs-40 {
    font-size: 2.5rem;
}


/* Example: 40px (2.5rem) */

.fs-48 {
    font-size: 3rem;
}


/* Example: 48px (3rem) */

.fs-56 {
    font-size: 3.5rem;
}


/* Example: 56px (3.5rem) */

.fs-64 {
    font-size: 4rem;
}


/* Example: 64px (4rem) */

.alert {
    padding: 15px;
}

.control-label {
    padding-bottom: 7px;
}



.help-block {
    margin-left: 0px;
    margin-top: 2px;
    font-size: 0.75rem;
    color: #c21e56;
}

.help-block:not(:empty)::before {
    content: "\f06a";
    /* Unicode for exclamation-circle in Font Awesome */
    font-family: "Font Awesome 5 Free";
    /* Font Awesome family */
    font-weight: 900;
    /* Font Awesome solid style */
    margin-right: 4px;
    /* Space between icon and text */
    display: inline-block;
    color: #c21e56;
    /* Customize the color */
}


.select2-container--krajee-bs5 .select2-results__option--highlighted[aria-selected] {
    background-color: #5072A7;
    color: #fff;
}




.error-summary {
    padding: 1rem;
    /* Adjust padding for better spacing */
    border-radius: 0.0rem;
    /* Rounded corners */
    margin-bottom: 1rem;
    /* Add margin to separate from other elements */
    background-color: #ffe9e9;
    /* Bootstrap alert-danger background color */
    color: #B71C1C;
    /* Bootstrap alert-danger text color */
    border: 1px solid #B71C1C;
    /* Bootstrap alert-danger border color */
}

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

.error-summary li:before {
    content: "⚠ ";
    /* Add a warning icon before each error */
    color: #dc3545;
    /* Danger color */
    font-weight: bold;
    margin-right: 0.5rem;
}


#searchInput {
    background-color: transparent;
    /* Make the background transparent */
    border: none;
    /* Remove default borders */
    border-bottom: 1px solid #8a8a8a;
    /* Add a bottom border */
    display: block;
    margin: 1.15rem 1.9rem;
    width: 100%;
    padding: 8px;
    /* Add some padding for better appearance */
    color: #fff;
    /* Set text color */
    font-size: 16px;
    /* Font size */
}

#searchInput::placeholder {
    color: #acacac;
    /* Light gray color for placeholder */
}

#searchInput:focus {
    outline: none;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Base styles for sidebar items */
.sidebar-nav {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Sidebar Link Highlight Styles */
.sidebar-link.menu-highlighted {
    background: linear-gradient(135deg, #222E3C, #284464);
    /* Blue gradient background */
    color: #fff;
    /* White text for contrast */
    border-radius: 4px;
    /* Slight rounding of corners */
    padding: 0.2rem 0.5rem;
    /* Padding around the text */
    transition: background 0.3s ease, color 0.3s ease;
    /* Smooth transition for background and color */
}

.sidebar-link.menu-highlighted:hover {
    background: linear-gradient(135deg, #222E3C, #004085);
    /* Darker blue gradient on hover */
}

.sidebar-link {
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center items vertically */
    justify-content: space-between;
    /* Space between text and arrow */
}

/* Submenu indentation - first level */
.sidebar-dropdown {
    padding-left: 15px;
    /* Indent first-level submenu items */
}

/* Second-level submenu (nested) */
.sidebar-dropdown ul .sidebar-dropdown {
    padding-left: 30x;
    /* Further indent second-level submenu items */
}

/* Third-level submenu (nested) */
.sidebar-dropdown ul .sidebar-dropdown ul .sidebar-dropdown {
    padding-left: 40px;
    /* Further indent third-level submenu items */
}

.menu-arrow {
    float: right;
    /* Optional: Add some space between text and arrow */
    margin-right: 0px !important;
    line-height: inherit !important;
    color: #4e5b69 !important;
    transition: transform 0.3s ease;
    /* Smooth transition for rotation */
}

/* Optional: Control arrow rotation */
.sidebar-link.collapsed .menu-arrow {
    transform: rotate(0deg);
    /* Arrow pointing right when collapsed */
}

.sidebar-link:not(.collapsed) .menu-arrow {
    transform: rotate(90deg);
    /* Arrow pointing down when expanded */
}


.sidebar-header {
    text-transform: uppercase;
}




.select2-selection__clear,
.kv-clear {
    padding-right: 0.5rem !important;
    padding-top: 0.0rem !important;
}

.kv-clear {
    line-height: 1.1rem !important;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    padding-top: 0.0rem;
    right: 1.2rem !important;

}

.select2-container--krajee-bs5 .select2-selection--single .select2-selection__rendered {
    color: #495057 !important;
}

.select2-container--krajee-bs5 .select2-selection--single {
    height: calc(1.9rem + 2px);
    line-height: 1.3;
    padding: 0.375rem 1.5rem 0.375rem 0.5rem;
}

.menu_icon {
    display: inline-flex;
    width: 30px;
}

.fullscreen-loader {
    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 0.9s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* Ensure it appears on top */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Optional: If you want a semi-transparent background behind the loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 9998;
    /* Behind the loader spinner */
}

.control-label {
    display: block;
}

/* Target the Glyphicon class and replace it with Font Awesome */
.glyphicon.glyphicon-ok:before {
    content: "\f00c";
    /* Unicode for Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    /* Use the Font Awesome font family */
    font-weight: 900;
    /* Font weight to ensure solid icons (Font Awesome Pro) */
    padding-right: 4px;
}

/* You can replace more icons in a similar way */
.glyphicon.glyphicon-remove:before {
    content: "\f00d";
    /* Unicode for Font Awesome times (close) icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.nav-pills {
    display: flex;
    /* Make the nav pills flex items */
    flex-direction: column;
    /* Stack them vertically by default */
}

/* Medium screens and above */
@media (min-width: 768px) {
    .nav-pills {
        flex-direction: row;
        /* Switch to horizontal layout */
        justify-content: space-around;
        /* Distribute space evenly */
    }
}

/* Large screens */
@media (min-width: 992px) {
    .nav-pills {
        min-width: auto;
        /* Remove min-width restriction */
        justify-content: flex-start;
        /* Align items to the start */
    }

    .nav-pills .nav-item {
        margin-right: 1rem;
        /* Add margin between items */
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .nav-pills {
        min-width: 12rem;
        /* Minimum width for nav pills */
    }
}


.nav-pills .nav-link.active,
.nav-pills .show>.nav-link .card-body {
    border: 1px solid #e3e7f0;
    background-color: #436691 !important;
}

.card-title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.0rem;
    font-color: #535353
}

.card-title-sub {
    font-weight: 300;
    font-size: 0.85rem;
    display: flex;
}


.modal-header {
    background-color: #222E3C;
    color: #fff;
    border-bottom: 1px solid #e3e7f0;
}

.modal-title {
    color: #fff;
}

.btn-ssm {
    font-size: 0.8em !important;
    padding-top: 0.05em;
    padding-bottom: 0.05em;

}

.callout {
    padding: 20px;
    margin: 20px 0;
    border-width: 1px;
    /* Set border width for all sides */
    border-style: solid;
    /* Solid border for all sides */
    border-color: lightgrey;
    /* Light grey color for top, right, and bottom */
    border-left-width: 5px;
    /* Thicker left border */
    border-radius: 0.25rem;
    /* Rounded corners */
    background-color: #fff;
}

.callout h4.callout-title {
    margin-top: 0;
    font-weight: 600;
}

/* Specific callout types with left border color and light grey for other borders */
.callout-info {
    border-left-color: #17a2b8;
    /* Left border color for info (blue) */
    /* Text color */
}

.callout-warning {
    border-left-color: #ffc107;
    /* Left border color for warning (yellow) */
    /* Text color */
}

.callout-danger {
    border-left-color: #dc3545;
    /* Left border color for danger (red) */
    /* Text color */
}


/* Main container for the treemap layout */
.treemap-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    /* Adjusts spacing between items */
}

/* Each department tile */
.tile-inline {
    background-color: #6082B6;
    /* Light blue for contrast */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    /* Smaller font for compact layout */
    font-weight: 600;
    color: #f3f3f3;
    text-align: center;
    white-space: nowrap;
    /* Keeps text on one line */
}

.bi-microsoft-teams {
    color: #6200EE;
    /* Microsoft Teams purple color */
    font-size: 1rem;
    /* Adjust size as needed */
}

.range-value {
    background: #fff !important;
}

.sticky-div {
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    top: -10px;
    /* The point at which the element becomes sticky */
    padding-top: 0px;
    width: 100%;
    padding: 10px;
    z-index: 900;
}

.sticky-form {
    position: sticky;
    top: 0;
    padding: 20px 15px;
    background-color: white;
    z-index: 1055;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Optional: change style when sticky */
.sticky-form.is-sticky {
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Ensure parent elements don’t interfere with sticky positioning */
.form-ap1-profile-search {
    overflow: visible; /* Ensure overflow is visible */
}


/* Remove shadow from navbar */
.navbar {
    box-shadow: none !important;
}

.header-item {
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-topbar:hover {
    background-color: #3577f11f;
}

.btn-topbar.show {
    border-color: #fff !important;
}

.avatar {
    vertical-align: middle;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #acacac;
 }

 .btn-block {
    display: block;
    width: 100%;
}


/* Scrollable container for log content */
.log-modal-body {
    height: 500px;
    overflow-y: auto;
    background: #323232;
    color: #fff;
    padding: 10px;
    font-family: 'Courier New', monospace;
}

/* Styling for the entire grid-view inside the log modal */
.log-grid-view {
    background-color: #323232;
    color: #fff;
}

/* Table styling for logs */
.log-table {
    width: 100%;
    background-color: #323232;
    border: 1px solid #444;
}

.log-table th,
.log-table td {
    border-color: #444; /* Optional: adjust border color */
}

.log-table-striped tbody tr:nth-of-type(odd) {
    background-color: #2c2c2c; /* Slightly lighter for stripes */
}

/* Styling for modal header */
.log-modal-header {
    border-bottom: 1px solid #444;
    background-color: #222;
    color: #fff;
}

/* Log modal footer styling */
.log-modal-footer {
    border-top: 1px solid #444;
    background-color: #222;
}

/* Custom button style for close action in the modal */
.log-close-btn {
    color: #fff;
}

/* Log message text style */
.log-message-text {
    font-family: 'Courier New', monospace;
    color: #fff;
    white-space: pre-wrap; /* To keep formatting for multi-line log messages */
}


.hover-box {
    transition: all 0.3s ease-in-out;
    background: #eef0f1;
}
.hover-box:hover {
    background-color: #6580a5; /* Bootstrap primary blue */
    color: white !important;
    transform: scale(1.05);
    cursor: pointer;
}
.hover-box:hover i {
    color: white !important;
}


.process-log-container {
    height: 400px;
    max-height: 400px;
    overflow-y: auto;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 0.9rem;
}
.status-icon {
    font-size: 1.5rem;
}

/* Prevent underlining of text inside cards, including links */
.card a {
    text-decoration: none;  /* Remove underline from links */
}

/* Optional: Add hover effect to link */
.card a:hover {
    text-decoration: none;  /* Ensure the link doesn't get underlined on hover */
}

/* Force red background to be applied to the 'status-indicator' regardless of striped rows */
.status-indicator {
    width: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
}

/* Target the td that is marked with the 'status-indicator' class */
.status-indicator.red-cell {
    background-color: red !important;
}

/* Ensure red stays for both odd and even rows (avoid Bootstrap's striped effect overriding) */
.table-striped > tbody > tr > .status-indicator.red-cell {
    background-color: red !important;
}

/* Ensure the red background is maintained when hovering over the row */
.table-striped > tbody > tr:hover > .status-indicator.red-cell {
    background-color: red !important;
}

/* Prevent alternating row colors from interfering with the red indicator */
.table-striped-columns > tbody > tr > .status-indicator.red-cell {
    background-color: red !important;
}

/* Even when striped and columns are applied, override the color */
.table-striped > tbody > tr:nth-of-type(odd) > .status-indicator.red-cell {
    background-color: red !important;
}

/* Make sure the red background applies regardless of column rules */
.table-striped > tbody > tr > td.status-indicator.red-cell {
    background-color: red !important;
}

/* Flagge für Deutschland */
.flag-de::before {
    content: '';
    display: inline-block;
    border: 1px solid #d6d6d6; /* Optional: border around the flag */
    width: 20px; /* Breite der Flagge */
    height: 12px; /* Höhe der Flagge */
    background-image: url('/images/flags/de.png');
    background-size: cover; /* Stellen sicher, dass das Bild die Fläche ausfüllt */
    background-position: center; /* Bild wird zentriert */
}

.tree-hover {
    border: 2px dashed #28a745 !important;
}


.tag-drag-container {
    padding: 15px;
    border : 1px solid #ccc;
}

.tag-draggable {
    cursor: grab;
    color: #fff;
    display:inline-block; 
    margin:1px; 
    padding: 6px 12px;    
    background:#75afa2; 
}


.drag-helper {
    cursor: grabbing;
    padding:1px 10px; 
    background-color: #e3fcef;
    border: 1px dashed #29a745;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    pointer-events: none;
}


.clear-search-btn {
    position: absolute;
    top: 2px;
    right: 25px;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    display: none;
}

.dropzone-area {
    border: 1px dashed #6c757d; /* gestrichelter Rand */
    transition: background-color 0.3s, border-color 0.3s;
}

.dropzone-area.dragover {    
    background-color: #e2e6ea;
    border-color: #495057;
    cursor: copy;
}

/* Sidebar-Hintergrund wie Trove (Slate-900) */
.sidebar-content,
.sidebar-link,
.sidebar-link:hover,
.sidebar-item .sidebar-link,
.sidebar-brand,
.sidebar-brand:hover,
.sidebar-dropdown .sidebar-link {
    background: #0f172a;
}
.sidebar-item.active > .sidebar-link,
.sidebar-item.active .sidebar-link:hover {
    background: linear-gradient(90deg, rgba(99,102,241,.18), rgba(99,102,241,.10) 50%, transparent);
    border-left-color: #6366f1;
}
.sidebar-cta-content {
    background: #1e293b;
}
