﻿.main-body {
    height: 100vh;
    width: 100vw;
    padding-bottom: 50px;
}

.root-theme {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --primary-color: #0066cc;
}

[data-theme='dark'] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --primary-color: #3399ff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.slider-container {
    position: relative;
    width: 100%; /* Set the width to 100% */
    height: 50px; /* Set the height to a rectangular form */
}

    .slider-container .rz-slider {
        width: 100%;
        height: 100%;
        background-color: #f0f0f0; /* Background color of the slider */
        border: 1px solid #ccc; /* Border of the slider */
        border-radius: 10px; /* Rounded corners */
        position: relative;
    }

    .slider-container .ended {
        background-color: #42b236; /* Background color of the slider */
        color: #fff !important;
    }

    .slider-container .started {
        background-color: #377bce; /* Background color of the slider */
        color: #fff !important;
    }

    .slider-container .slider-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1em;
        color: #333; /* Color of the text */
        z-index: 0;
        transition: opacity 0.1s ease, transform 0.3s ease;
    }

    .slider-container .slider-text.hidden {
            opacity: 0;
            transform: translate(-50%, 50px);
        }

.slider-label-clickable {
    cursor: pointer;
}

.rz-slider-handle {
    width: var(--slider-handle-width, 1.5rem) !important;
    margin-inline-start: 0 !important;
    color: #fff !important;
    background-color: #282937;
    border-radius: 10px;
    height: 100% !important;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px; /* Add margin of 5px left and right */
}

    .rz-slider-handle::after {
        content: var(--slider-handle-content, '>');
    }

    .rz-slider-handle:hover {
        background-color: #555773 !important;
    }

.rz-slider-range {
    display: none;
}

.login-button {
    width: 100%;
    background-color: #238550 !important;
    color: white;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.logout-button {
    width: 100%;
    background-color: #e63232 !important;
    color: white;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.no-select .started {
    color: #fff !important;
}

.no-select .ended {
    color: #fff !important;
}

.no-select {
    user-select: none;
    -webkit-user-select: none; /* Für Safari */
    -moz-user-select: none; /* Für Firefox */
    -ms-user-select: none; /* Für Internet Explorer/Edge */
}

.full-height-container {
    display: flex;
    flex-direction: column;
}

.bottom-buttons {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
}


.container {
    height: 100%;
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
}

.button-same-size {
    flex: 1;
    margin: 5px;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    color: white;
    text-align: center;
}

.timer {
    font-size: 2em;
    margin-bottom: 20px;
}

.root-theme {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --primary-color: #0066cc;
}

[data-theme='dark'] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --primary-color: #3399ff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.slider-container {
    position: relative;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 3px;
}

.slider-label {
    position: absolute;
    font-size: 16px;
    color: #555;
    font-weight: bold;
    pointer-events: none;
}

.slider {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #4CAF50;
    border-radius: 5px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    left: 10px;
    touch-action: none;
    transition: left 0.2s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.unlocked {
    background: #2e7d32 !important;
}

.rz-body {
    overflow: inherit;
    scrollbar-width: none; /* Für Firefox */
    -ms-overflow-style: none; /* Für Internet Explorer/Edge */
}

    .rz-body::-webkit-scrollbar {
        display: none; /* Für Chrome, Safari, Edge (neue Versionen) */
    }

.buttonSilderContainerClass_Completed {
    background-color: darkseagreen;
    color: white !important;
}

.buttonSilderClass_Completed {
    background-color: darkseagreen;
}

.buttonSilderContainerClass_NotStarted {
    background-color: #ffffff;
}

.buttonSilderClass_NotStarted {
    background-color: #ffffff40;
}

.buttonSilderClass_Started {
    background-color: #ea580c;
}

.buttonSilderContainerClass_Started {
    background-color: #fed7aa;
    color: #7c2d12 !important;
}

.snackbar-container {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 9999;
}

.snackbar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    max-width: 400px;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: white;
    animation: fadein 0.3s ease, fadeout 0.3s ease 2.7s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    opacity: 1;
}

.snackbar-icon {
    font-size: 1.2rem;
}

.snackbar-item.info {
    background-color: #2196f3;
}

.snackbar-item.success {
    background-color: #4caf50;
}

.snackbar-item.warning {
    background-color: #ff9800;
}

.snackbar-item.error {
    background-color: #f44336;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.page-drop-target {
    background-color: #e0f0ff;
    border: 2px dashed #007acc;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}

.Version {
    position: absolute;
    right: 0;
}

.performanceLigth {
    width: 90px;
    flex-grow: 0 !important;
}

@media (max-width: 576px) {
    .rz-card-group.rz-card-group-responsive {
        flex-direction: row !important;
    }
}

.filter-selector-container {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    max-height: 240px;
    overflow-y: auto;
}

.dual-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dual-list-column {
    flex: 1 1 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .dual-list-column {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

.dual-list-item {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

    .dual-list-item:hover {
        background-color: #f5f5f5;
        cursor: pointer;
    }

.dual-list-wrapper {
    touch-action: manipulation;
    -ms-touch-action: manipulation; /* für ältere IE/Edge-Versionen */
}

    .dual-list-wrapper * {
        touch-action: manipulation;
    }

.filter-selector-container {
    touch-action: manipulation;
    -ms-touch-action: manipulation; /* für ältere IE/Edge-Versionen */
}

    .filter-selector-container * {
        touch-action: manipulation;
    }

.rz-dialog {
}

.rz-dialog-content {
    flex: 1 1 auto;
}

.rz-dialog-content,
.rz-dialog-side-content {
    padding: 0;
}

.rz-my-4,
.rz-mb-4 {
    padding-bottom: 1rem !important;
}

.stats-container {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 1rem;
    max-width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-left: 4px solid #007BFF;
    /*margin-left: 20px;*/
    padding: 3px;
}

.stat-label {
    font-weight: 600;
    color: #007BFF;
}

.stat-value {
    font-family: monospace;
    white-space: pre-line;
    color: #333;
}

.multiline {
    white-space: pre-wrap;
}

@media (max-width: 768px) {
}

.traffic-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background-color: #333;
    border-radius: 1rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 60px;
}

.light {
    width: 70%;
    height: 0;
    padding-bottom: 70%; /* Macht die Kreise responsive */
    border-radius: 50%;
    transition: background-color 0.3s;
}

.task-panel-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.task-panel {
    flex: 1 1 45%; /* Zwei Panels nebeneinander */
    min-width: 300px; /* Fallback für sehr kleine Screens */
}

@media (max-width: 768px) {
    .task-panel {
        flex: 1 1 100%;
    }
}

.theme-switch {
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-button {
    cursor: pointer;
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s;
}

/* Dark mode specific styles */
[data-theme='dark'] .rz-sidebar,
[data-theme='dark'] .rz-header,
[data-theme='dark'] .rz-footer,
[data-theme='dark'] .rz-body,
[data-theme='dark'] .rz-dialog,
[data-theme='dark'] .rz-card,
[data-theme='dark'] .rz-panelmenu,
[data-theme='dark'] .rz-panelmenu-item,
[data-theme='dark'] .rz-inputtext,
[data-theme='dark'] .rz-dropdown,
[data-theme='dark'] .rz-button {
    background-color: #2c2c2c;
    color: var(--text-color);
    border-color: #444;
}

[data-theme='dark'] a {
    color: var(--primary-color);
}

.rezept-container {
    display: flex;
    flex-direction: row;
    border: 1px solid #d6cab7;
    background-color: #f5ede3;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1000px;
    font-family: sans-serif;
    color: #000;
    width: 90%;
}

.rezept-seitenstreifen {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #ede1c8;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    max-width: 6rem;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    flex-shrink: 0;
}

.rezept-inhalt {
    padding: 2rem;
    flex: 1;
}

.rezept-kopf h1 {
    font-size: 1.75rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.rezept-kopf h2 {
    font-size: 0.9rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.rezept-spalten {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}

.rezept-links,
.rezept-rechts {
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
}

    .rezept-links ul,
    .rezept-rechts ol {
        padding: 0.55rem;
        margin: 0;
    }

    .rezept-links li,
    .rezept-rechts li {
        line-height: 1.4;
    }

    .rezept-links h3,
    .rezept-rechts h3 {
        text-transform: uppercase;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .rezept-container {
        flex-direction: column;
    }

    .rezept-seitenstreifen {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        font-size: 0.75rem;
        text-align: center;
        min-width: auto;
        max-width: none;
        padding: 0.5rem;
        justify-content: center;
        border-bottom: 1px solid #d6cab7;
    }

    .rezept-spalten {
        flex-direction: column;
    }

    .rezept-inhalt {
        padding: 1.5rem;
    }
}

.seiten-titel {
    font-size: 2rem;
    margin: 1rem auto;
    text-align: center;
    border-bottom: 2px solid #d6cab7;
    padding-bottom: 0.5rem;
    max-width: 900px;
}

.filterleiste {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.freitext-suche {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.tag-button {
    padding: 0.3rem 0.8rem;
    border: 1px solid #d6cab7;
    background-color: #f5ede3;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.8rem;
}

    .tag-button.selected {
        background-color: #d6cab7;
        font-weight: bold;
    }

/* Smaller confirmation dialog */
.confirm-dialog .rz-dialog {
    min-width: auto !important;
    min-height: auto !important;
    width: auto;
    height: auto;
}

/* Developer mode table styling */
.developer-table {
    border-collapse: collapse;
    width: 100%;
}

    .developer-table th,
    .developer-table td {
        padding: 0.4rem 0.8rem;
        border: 1px solid #ddd;
    }

    .developer-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .developer-table tr:hover {
        background-color: #f1f1f1;
    }

    .developer-table tr.highlight {
        background-color: #ffe0b2;
    }

    .developer-table td.foreign-key {
        cursor: pointer;
        text-decoration: underline;
    }

.site-footer {
    background: #0f1115;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 15px;
    position: relative;
    width: 110%;
    left: -3%;
}

    .site-footer a {
        color: #cfd3dc;
        text-decoration: none
    }

        .site-footer a:hover {
            text-decoration: underline
        }

    .site-footer .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 2rem 1rem
    }

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between
         .footer-grid .main {
        width: 100%;
    }
    .footer-grid nav {
        width: 30%;
    }
    .footer-grid .foot-note {
        width: 30%;
    }
}
.footer-grid .main {
    width: 25%;
}

.footer-grid nav {
    width: 25%;
}

.footer-grid .foot-note {
    width: 25%;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .footer-grid .main {
        width: 100%;
    }
    .footer-grid nav {
        width: 30%;
    }
    .footer-grid .foot-note {
        width: 30%;
    }
}

    .footer-grid ul {
        list-style: none;
        padding: 0;
        margin: 0
    }

    .footer-grid li {
        margin: .3rem 0
    }

    .foot-note {
        opacity: .9
    }

    /* ===== COOKIE BANNER STYLES ===== */
    .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        z-index: 10000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        animation: slideInUp 0.5s ease-out;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    body:has(.chat-button) .cookie-banner {
        bottom: 5.5rem;
    }


    .cookie-banner-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .cookie-banner-header {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .cookie-banner-icon {
        font-size: 2rem;
        color: #fbbf24;
        flex-shrink: 0;
        margin-top: 0.25rem;
    }

    .cookie-banner-title h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .cookie-banner-title p {
        margin: 0;
        opacity: 0.9;
        font-size: 1rem;
    }

    .cookie-banner-body {
        margin-bottom: 1.5rem;
    }

    .cookie-categories {
        display: none; /* Initially hidden, shown when "Einstellungen" is clicked */
        gap: 1rem;
        margin-bottom: 1rem;
    }

        .cookie-categories.show {
            display: flex;
            flex-direction: column;
        }

    .cookie-category {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0.75rem;
        padding: 1rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .cookie-category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .cookie-category-info {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 1;
    }

    .cookie-category-icon {
        font-size: 1.25rem;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }

        .cookie-category-icon.essential {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }

        .cookie-category-icon.analytics {
            background: rgba(245, 158, 11, 0.2);
            color: #f59e0b;
        }

        .cookie-category-icon.marketing {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

    .cookie-category-info h4 {
        margin: 0 0 0.25rem 0;
        font-size: 1rem;
        font-weight: 600;
    }

    .cookie-category-info p {
        margin: 0;
        font-size: 0.875rem;
        opacity: 0.8;
    }

    .cookie-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .cookie-switch {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    .cookie-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .cookie-switch-slider {
        position: relative;
        width: 46px;
        height: 24px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 999px;
        transition: background 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }

    .cookie-switch-slider::before {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        background: #fff;
        transition: transform 0.2s ease;
    }

    .cookie-switch input:checked + .cookie-switch-slider {
        background: rgba(16, 185, 129, 0.9);
        border-color: rgba(16, 185, 129, 0.9);
    }

    .cookie-switch input:checked + .cookie-switch-slider::before {
        transform: translate(22px, -50%);
    }

    .cookie-switch input:disabled + .cookie-switch-slider {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .toggle-status {
        font-size: 0.75rem;
        opacity: 0.8;
        min-width: 4rem;
    }

    .cookie-category-details {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

        .cookie-category-details p {
            margin: 0;
            opacity: 0.7;
        }

    .cookie-banner-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.5rem;
    }

    .cookie-warning {
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(251, 191, 36, 0.7);
        color: #fef3c7;
        border-radius: 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .cookie-banner-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .cookie-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border: none;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        min-height: 44px;
    }

    .cookie-btn-reject {
        background: rgba(239, 68, 68, 0.9);
        color: white;
    }

        .cookie-btn-reject:hover {
            background: rgba(239, 68, 68, 1);
            transform: translateY(-1px);
        }

    .cookie-btn-settings {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

        .cookie-btn-settings:hover {
            background: rgba(255, 255, 255, 0.3);
        }

    .cookie-btn-info {
        background: rgba(255, 255, 255, 0.9);
        color: #4c1d95;
        font-weight: 600;
    }

        .cookie-btn-info:hover {
            background: white;
            transform: translateY(-1px);
        }

    .cookie-btn-accept {
        background: rgba(16, 185, 129, 0.9);
        color: white;
    }

        .cookie-btn-accept:hover {
            background: rgba(16, 185, 129, 1);
            transform: translateY(-1px);
        }

    .cookie-btn-accept-all {
        background: rgba(255, 255, 255, 0.9);
        color: #667eea;
        font-weight: 600;
    }

        .cookie-btn-accept-all:hover {
            background: white;
            transform: translateY(-1px);
        }

    .cookie-banner-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }

    /* Always keep cookie banner compact (mobile style) */
    .cookie-banner-content {
        padding: 1rem;
    }

    .cookie-banner-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .cookie-banner-icon {
        align-self: center;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cookie-toggle {
        align-self: flex-end;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-link {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.3s ease;
    }

        .cookie-link:hover {
            color: white;
            text-decoration: underline;
        }

    .cookie-info-modal {
        display: none;
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        z-index: 2;
    }

    .cookie-info-modal__content {
        background: white;
        color: #0f172a;
        border-radius: 1rem;
        padding: 1.5rem;
        max-width: 460px;
        width: 100%;
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.2);
    }

    .cookie-info-modal__header {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

        .cookie-info-modal__header h4 {
            margin: 0;
            font-size: 1.1rem;
        }

        .cookie-info-modal__header p {
            margin: 0.25rem 0 0;
            color: #475569;
            font-size: 0.9rem;
        }

    .cookie-info-modal__close {
        border: none;
        background: transparent;
        color: #64748b;
        font-size: 1rem;
        cursor: pointer;
    }

    .cookie-info-modal__body ul {
        margin: 0;
        padding-left: 1.1rem;
        color: #0f172a;
    }

        .cookie-info-modal__body li {
            margin-bottom: 0.5rem;
        }

    /* ===== FLOATING COOKIE SETTINGS BUTTON ===== */
    .cookie-settings-button {
        position: fixed;
        bottom: 5.5rem;
        right: 1rem;
        left: auto;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 999px;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        animation: fadeIn 0.5s ease-out;
    }

        .cookie-settings-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }

    /* ===== ANIMATIONS ===== */
    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideOutDown {
        from {
            transform: translateY(0);
            opacity: 1;
        }

        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* ===== RESPONSIVE DESIGN ===== */
    @media (max-width: 768px) {
        .cookie-banner-content {
            padding: 1rem;
        }

        .cookie-banner-header {
            flex-direction: column;
            text-align: center;
            gap: 0.75rem;
        }

        .cookie-banner-icon {
            align-self: center;
        }

        .cookie-category-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .cookie-toggle {
            align-self: flex-end;
        }

        .cookie-banner-actions {
            flex-direction: column;
        }

        .cookie-btn {
            width: 100%;
            justify-content: center;
        }

        .cookie-banner-links {
            flex-direction: column;
            gap: 0.5rem;
        }

        .cookie-settings-button {
            bottom: 0.5rem;
            left: 0.5rem;
            width: 2.25rem;
            height: 2.25rem;
            padding: 0;
            font-size: 0.95rem;
        }
    }

    @media (max-width: 480px) {
        .cookie-banner-title h3 {
            font-size: 1.25rem;
        }

        .cookie-category {
            padding: 0.75rem;
        }

        .cookie-category-info {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
    }

    /* ===== ACCESSIBILITY ===== */
    @media (prefers-reduced-motion: reduce) {
        .cookie-banner,
        .cookie-settings-button,
        .cookie-btn,
        .toggle-slider,
        .toggle-slider:before {
            animation: none;
            transition: none;
        }
    }

    @media (prefers-contrast: high) {
        .cookie-banner {
            background: #000;
            border-top: 2px solid #fff;
        }

        .cookie-category {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .cookie-btn {
            border: 2px solid currentColor;
        }
    }

    /* ===== PRINT STYLES ===== */
    @media print {
        .cookie-banner,
        .cookie-settings-button {
            display: none !important;
        }
    }

    .phone-button {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .6rem .9rem;
        border: 0;
        border-radius: .75rem;
        background: #0a7;
        color: #fff;
        font: 600 0.95rem/1 system-ui,Segoe UI,Roboto,Arial;
        cursor: pointer;
        transition: transform .05s ease, filter .2s ease;
    }

        .phone-button:hover {
            filter: brightness(1.05);
        }

        .phone-button:active {
            transform: scale(.98);
        }

    .phone-icon {
        display: block;
        fill: currentColor;
    }

    ul.rz-profile-menu {
        background-color: transparent !important;
        border-inline-start: none;
    }
.rz-sidebar-toggle {
    padding: 0;
    padding-left: var(--rz-sidebar-toggle-padding);
    padding-right: var(--rz-sidebar-toggle-padding);
}

.rz-layout .rz-sidebar{
    position: absolute !important;
}
.rz-dialog {
}

.rz-dialog.rz-open {
    width: auto !important;
    max-width: calc(100vw - 2rem);
    margin: 1rem;
}

.product-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.unit-missing,
.unit-missing .rz-dropdown {
    background: #fee2e2;
}

    .product-entry > * {
        flex: 1 1 150px;
        min-width: 120px;
    }

    /* Optional: Buttons nicht zu breit werden lassen */
    .product-entry button {
        flex: 0 0 auto;
    }

/* Mobile Ansicht: Eingaben untereinander */
@media (max-width: 768px) {
    .product-entry {
        flex-direction: column;
        align-items: stretch;
    }

        .product-entry > * {
            width: 100%;
            min-width: unset;
        }

        .product-entry button {
        }

    .rz-p-4 {
        padding: 0 !important;
    }

    .rz-body {
        padding: 0.75rem !important;
    }
}


.buttonControl {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
}

.canvas-panel .canvas-card {
    background-color: transparent !important;
    box-shadow: none !important;
}

.btn-menu {
    background-color: transparent;
    width: 100%;
    display: flex;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

    .btn-menu:hover {
        background-color: var(--rz-profile-menu-item-hover-background-color);
        color: var(--rz-menu-item-hover-color);
        width: 100%;
        border: none;
    }

#profile-avatar-input {
    display: none;
}

.profile-license-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-license-chip {
    background-color: #dbeafe;
    color: #0f172a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.85rem;
    line-height: 1.2;
}

.profile-license-empty {
    color: #475569;
    font-size: 0.9rem;
}


.settings-group-title {
    margin: 1rem 0 0.5rem;
    color: #0f172a;
}

.system-setting-row {
    background-color: #6b99e8 !important;
    color: #fff;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--input-bg, transparent) inset;
    box-shadow: 0 0 0 1000px var(--input-bg, transparent) inset;
    -webkit-text-fill-color: var(--input-color,#000);
    caret-color: var(--input-color, #000);
    transition: background-color 9999s ease-in-out 0s;
}
