
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Hairline-web.woff') format('woff');
    font-weight: 100; /* Hairline */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-HairlineItalic-web.woff') format('woff');
    font-weight: 100; /* Hairline Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Thin-web.woff') format('woff');
    font-weight: 200; /* Thin */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-ThinItalic-web.woff') format('woff');
    font-weight: 200; /* Thin Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Light-web.woff') format('woff');
    font-weight: 300; /* Light */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-LightItalic-web.woff') format('woff');
    font-weight: 300; /* Light Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Regular-web.woff') format('woff');
    font-weight: normal; /* Regular */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-RegularItalic-web.woff') format('woff');
    font-weight: normal; /* Regular Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Medium-web.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-MediumItalic-web.woff') format('woff');
    font-weight: 500; /* Medium Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Bold-web.woff') format('woff');
    font-weight: bold; /* Bold */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-BoldItalic-web.woff') format('woff');
    font-weight: bold; /* Bold Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Black-web.woff') format('woff');
    font-weight: 900; /* Black */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-BlackItalic-web.woff') format('woff');
    font-weight: 900; /* Black Italic */
    font-style: italic;
}

/* Globale Schriftart und Farben festlegen */
body {
    font-family: 'U8', sans-serif;
    background-color: #FFFFFF; /* Reines Weiß */
    color: #1A1A1A; /* Sehr dunkles Grau, fast Schwarz */
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'U8', sans-serif;
    font-weight: bold;
    color: #1A1A1A; /* Schwarz für Überschriften */
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Horizontale Navigation */
.navbar-container {
    display: flex;
    align-items: center; /* Diese Zeile ist entscheidend */
    justify-content: space-between; /* Stellt sicher, dass Logo links und Menü rechts ist */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.data-table td:first-child { /* Zielt auf die erste Spalte (Produktname) */
    white-space: nowrap;      /* Verhindert den Zeilenumbruch */
    overflow: hidden;         /* Versteckt überfließenden Text */
    text-overflow: ellipsis;  /* Fügt "..." am Ende hinzu */
    max-width: 200px;         /* Setzt eine maximale Breite, ab der abgeschnitten wird */
}

.data-table td:last-child {
    white-space: nowrap; /* Verhindert den Zeilenumbruch */
}

.data-table td:last-child {
    white-space: nowrap; /* Verhindert den Zeilenumbruch */
}

.navbar {
    background-color: #FFFFFF !important; /* Weißer Hintergrund */
    border-bottom: none; /* Keine Border */
    padding: 15px 0; /* Mehr Padding oben/unten */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav {
    display: flex;
    flex-direction: row; /* Horizontale Anordnung */
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin-left: 20px; /* Abstand zwischen den Links */
}

.navbar-nav .nav-link {
    color: #1A1A1A; /* Schwarzer Text für Nav-Links */
    font-weight: normal; /* Regular Gewicht */
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Buttons */
.btn {
    font-family: 'U8', sans-serif;
    font-weight: bold; /* Bold Gewicht für Buttons */
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 0; /* Keine abgerundeten Ecken */
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-mondhuegel-primary {
    background-color: #1A1A1A; /* Schwarzer Hintergrund */
    border-color: #1A1A1A;
    color: #FFFFFF; /* Weißer Text */
}

.btn-mondhuegel-primary:hover {
    background-color: #333333; /* Etwas helleres Schwarz beim Hover */
    border-color: #333333;
    color: #FFFFFF;
}

.btn-mondhuegel-secondary {
    background-color: transparent;
    border: 1px solid #1A1A1A; /* Dünner schwarzer Rahmen */
    color: #1A1A1A; /* Schwarzer Text */
}

.btn-mondhuegel-secondary:hover {
    background-color: #F5F5F5; /* Sehr helles Grau beim Hover */
    border-color: #1A1A1A;
    color: #1A1A1A;
}

/* Formulare */
input.mondhuegel-input,
select.mondhuegel-input,
textarea.mondhuegel-input {
    background-color: #FFFFFF;
    border: 1px solid #F5F5F5; /* Dezenter hellgrauer Rahmen */
    color: #1A1A1A;
    padding: 10px;
    border-radius: 0; /* Keine abgerundeten Ecken */
    width: 100%;
    transition: border-color 0.3s ease;
}
input.mondhuegel-input:focus,
select.mondhuegel-input:focus,
textarea.mondhuegel-input:focus {
    outline: none;
    border-color: #1A1A1A; /* Rahmen wird schwarz bei Fokus */
}

/* Tabellen */
.mondhuegel-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    color: #1A1A1A;
    background-color: #FFFFFF; /* Weißer Hintergrund */
}

.mondhuegel-table th,
.mondhuegel-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #F5F5F5; /* Feine, hellgraue Linien */
    text-align: left;
    font-size: 0.7rem;
}

.mondhuegel-table thead th {
    background-color: #FFFFFF; /* Weißer Hintergrund */
    color: #1A1A1A; /* Schwarzer Text */
    font-weight: bold; /* U8 Bold */
    text-transform: none; /* Keine Großbuchstaben */
    border-bottom: 2px solid #1A1A1A; /* Etwas stärkere Linie unter Header */
}

.mondhuegel-table tbody tr:nth-child(even) {
    background-color: #F5F5F5; /* Optional: Leichter Grauton für jede zweite Zeile */
}

.mondhuegel-table tbody tr:hover {
    background-color: #E0E0E0; /* Hellerer Grauton beim Hover */
}

/* Keine sichtbaren Boxen/Rahmen für Cards */
.mondhuegel-card {
    background-color: transparent; /* Transparent */
    border: none; /* Keine Border */
    border-radius: 0; /* Keine abgerundeten Ecken */
    padding: 0; /* Kein Padding, wird durch Inhalt gesteuert */
    margin-bottom: 30px; /* Mehr Abstand zwischen Sektionen */
}

.mondhuegel-card-body {
    padding: 0; /* Kein Padding */
}

/* Layout und Hilfsklassen */
.mondhuegel-container {
    width: 100%;
    padding-right: 30px; /* Etwas Rand lassen */
    padding-left: 30px;  /* Etwas Rand lassen */
    margin-right: auto;
    margin-left: auto;
    max-width: 1400px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.mondhuegel-mb-4 {
    margin-bottom: 2rem !important;
}

.mondhuegel-mb-3 {
    margin-bottom: 1.5rem !important;
}

.mondhuegel-mb-1 {
    margin-bottom: 0.5rem !important;
}

.mondhuegel-d-flex {
    display: flex !important;
}

.mondhuegel-w-100 {
    width: 100% !important;
}

.mondhuegel-justify-content-between {
    justify-content: space-between !important;
}

.mondhuegel-list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mondhuegel-list-group-item {
    background-color: #FFFFFF;
    border: 1px solid #F5F5F5;
    color: #1A1A1A;
    padding: 10px 15px;
    margin-bottom: -1px; /* Für durchgehende Linien */
}

.mondhuegel-list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.mondhuegel-list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.mondhuegel-list-group-item-action {
    text-decoration: none;
    color: #1A1A1A;
}

.mondhuegel-list-group-item-action:hover {
    background-color: #F5F5F5;
    color: #1A1A1A;
}

/* Alerts */
.alert {
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f5f5f5; /* Sehr helles Grau */
    color: #1A1A1A; /* Schwarzer Text */
    border: 1px solid #e3e3e3; /* Feiner, hellgrauer Rahmen */
    border-left: 5px solid #1A1A1A; /* Dicker, schwarzer Rand links als Akzent */
}

.alert-danger {
    background-color: #ffe6e6; /* Very light red */
    color: #1A1A1A;
    border-color: #e6a3a3;
}

.btn-mondhuegel-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #FFFFFF;
}

.btn-mondhuegel-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #FFFFFF;
}

/* Custom spacing for headings */
h1, h2, h3 {
    margin-bottom: 20px;
}

/* Spacing for report groups */
.report-gruppe {
    margin-bottom: 40px;
}

/* Overriding blue color for report content headings and table headers */
.mondhuegel-container h1,
.mondhuegel-container h2,
.mondhuegel-container h3 {
    color: #1A1A1A !important; /* Schwarz erzwingen */
    text-transform: uppercase;
    font-weight: bold;
}

.mondhuegel-container table thead th {
    background-color: #f5f5f5 !important; /* Hellgrauer Hintergrund */
    color: #1A1A1A !important; /* Schwarzer Text */
    font-weight: bold;
}

/* Tabs */
.mondhuegel-tabs {
    display: flex;
    list-style-type: none;
    padding: 0;
    border-bottom: 2px solid #1A1A1A;
    margin-bottom: 20px;
}

.mondhuegel-tab-item {
    margin-right: 10px;
}

.mondhuegel-tab-link {
    display: block;
    padding: 10px 20px;
    color: #1A1A1A;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: none;
    font-weight: bold;
}

.mondhuegel-tab-link.active {
    background-color: #FFFFFF;
    border-color: #1A1A1A #1A1A1A transparent #1A1A1A;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.mondhuegel-tab-content .mondhuegel-tab-pane {
    display: none;
}

.mondhuegel-tab-content .mondhuegel-tab-pane.active {
    display: block;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.main-chart-area {
    grid-column: 1 / 2;
}

.side-kpi-area {
    grid-column: 2 / 3;
}

.chart-container {
    position: relative;
    height: 100%;
    min-height: 400px; /* Ensure charts have enough height */
}

.side-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calendar-section .mondhuegel-table td {
    padding: 4px;
    font-size: 0.8rem;
}

.mondhuegel-table .mondhuegel-table-success {
    background-color: #d4edda !important;
}

.mondhuegel-mt-4 {
    margin-top: 24px;
}

/* Footer */
.mondhuegel-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #666666;
    font-size: 0.85rem;
    border-top: 1px solid #e3e3e3;
}

#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Halbtransparenter weißer Hintergrund */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Stellt sicher, dass der Spinner über allem anderen liegt */
    display: none; /* Standardmäßig versteckt */
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
