/* _content/RapoHerstellung.UI/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-43ivm26b3h] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh / var(--ui-scale, 1));
    min-height: calc(100vh / var(--ui-scale, 1));
    overflow: hidden;
    background-color: var(--bg-color, #f4f7f6);
    color: var(--text-color, #212529);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main[b-43ivm26b3h] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.header-navy[b-43ivm26b3h] {
    position: sticky;
    top: 0;
    background-color: var(--navy-primary, #1a3a5f) !important;
    color: white;
    height: 4.5rem;
    border-bottom: 2px solid var(--navy-light, #2b5585);
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brand-pill[b-43ivm26b3h] {
    background-color: var(--gold-primary, #c9a054);
    color: var(--navy-primary, #1a3a5f);
    font-weight: 800;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.brand-text[b-43ivm26b3h] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.badge-gamp[b-43ivm26b3h] {
    background-color: rgba(201, 160, 84, 0.2);
    border: 1px solid #c9a054;
    color: #c9a054;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.user-name[b-43ivm26b3h] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e9ecef;
}

.user-role[b-43ivm26b3h] {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Benutzermenü Dropdown Styling */
.dropdown-menu-navy[b-43ivm26b3h] {
    background-color: #ffffff !important;
    border: 1px solid rgba(16, 38, 64, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.dropdown-menu-navy .dropdown-item[b-43ivm26b3h] {
    color: #102640 !important;
    font-weight: 500;
    transition: all 0.15s ease;
}

.dropdown-menu-navy .dropdown-item:hover[b-43ivm26b3h] {
    background-color: #f0f4f8 !important;
    color: #102640 !important;
}

.dropdown-menu-navy .text-navy[b-43ivm26b3h] {
    color: #1a3a5f !important;
}

.dropdown-menu-navy .text-navy-dark[b-43ivm26b3h] {
    color: #102640 !important;
}

.dropdown-menu-navy .text-muted[b-43ivm26b3h] {
    color: #64748b !important;
}

.dropdown-menu-navy .border-light[b-43ivm26b3h] {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.dropdown-menu-navy .bg-light[b-43ivm26b3h] {
    background-color: #f8fafc !important;
}

/* Dark Mode Overrides für das Dropdown */
.dark-theme .dropdown-menu-navy[b-43ivm26b3h] {
    background-color: #101c29 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

.dark-theme .dropdown-menu-navy .dropdown-item[b-43ivm26b3h] {
    color: #f1f5f9 !important;
}

.dark-theme .dropdown-menu-navy .dropdown-item:hover[b-43ivm26b3h] {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dark-theme .dropdown-menu-navy .text-navy[b-43ivm26b3h] {
    color: #93c5fd !important;
}

.dark-theme .dropdown-menu-navy .text-navy-dark[b-43ivm26b3h] {
    color: #f8fafc !important;
}

.dark-theme .dropdown-menu-navy .text-muted[b-43ivm26b3h] {
    color: #94a3b8 !important;
}

.dark-theme .dropdown-menu-navy .border-light[b-43ivm26b3h] {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .dropdown-menu-navy .bg-light[b-43ivm26b3h] {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Modern Aura Specific Dropdown Theme */
.theme-modern-aura .dropdown-menu-navy[b-43ivm26b3h] {
    background: rgba(13, 13, 33, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(0, 243, 255, 0.3) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.theme-modern-aura .dropdown-menu-navy .dropdown-item[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.theme-modern-aura .dropdown-menu-navy .dropdown-item:hover[b-43ivm26b3h] {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.18) 0%, rgba(157, 0, 255, 0.18) 100%) !important;
    color: #ffffff !important;
}

.theme-modern-aura .dropdown-menu-navy .text-navy[b-43ivm26b3h] {
    color: #00f3ff !important;
}

.theme-modern-aura .dropdown-menu-navy .text-navy-dark[b-43ivm26b3h] {
    color: #ffffff !important;
}

.theme-modern-aura .dropdown-menu-navy .text-muted[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.65) !important;
}

.theme-modern-aura .dropdown-menu-navy .border-light[b-43ivm26b3h] {
    border-color: rgba(0, 243, 255, 0.15) !important;
}

.theme-modern-aura .dropdown-menu-navy .bg-light[b-43ivm26b3h] {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-admin[b-43ivm26b3h] {
    background-color: #dc3545;
    color: white;
}

.bg-user[b-43ivm26b3h] {
    background-color: #198754;
    color: white;
}

.role-select[b-43ivm26b3h] {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
}

.role-select option[b-43ivm26b3h] {
    background-color: var(--navy-primary);
    color: white;
}

.role-select:focus[b-43ivm26b3h] {
    background-color: var(--navy-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 0.25rem rgba(201, 160, 84, 0.25);
}

.sidebar[b-43ivm26b3h] {
    background-color: var(--navy-dark, #102640);
    border-right: 1px solid var(--navy-light, #1c3d63);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.content[b-43ivm26b3h] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#blazor-error-ui[b-43ivm26b3h] {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    bottom: 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

@media (min-width: 768px) {
    .page[b-43ivm26b3h] {
        flex-direction: row;
        width: 100%;
        height: calc(100vh / var(--ui-scale, 1));
        min-height: calc(100vh / var(--ui-scale, 1));
        overflow: hidden;
    }

    .sidebar[b-43ivm26b3h] {
        width: 260px;
        height: 100%;
        min-height: 100%;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

@media (max-width: 767px) {
    .header-navy[b-43ivm26b3h] {
        height: auto;
        padding: 0.75rem 1rem !important;
    }
    
    .header-navy .container-fluid[b-43ivm26b3h] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch !important;
    }

    .header-navy .d-flex[b-43ivm26b3h] {
        justify-content: space-between;
        align-items: center !important;
    }

    .role-selector-wrapper[b-43ivm26b3h] {
        width: 100%;
    }

    .role-select[b-43ivm26b3h] {
        width: 100% !important;
    }
}

/* premium theme variables for SVG icons */
:root[b-43ivm26b3h] {
    --theme-icon-color: #ffffff;
    --theme-icon-hover-color: #dfb772;
}

.dark-theme[b-43ivm26b3h] {
    --theme-icon-color: #dfb772;
    --theme-icon-hover-color: #ffffff;
}

.favorite-icon-btn[b-43ivm26b3h] {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease-in-out;
    color: var(--theme-icon-color, #ffffff) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.favorite-icon-btn:hover[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--theme-icon-hover-color, #dfb772) !important;
    transform: scale(1.08);
}

.favorite-svg-icon[b-43ivm26b3h] {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
    transition: transform 0.2s ease;
}

/* If the SVG uses lines (stroke only, e.g. calculator, link), we apply stroke-width */
.favorite-svg-icon[fill="none"][b-43ivm26b3h] {
    stroke-width: 2px;
}

/* Modernes Segmentiertes Skalierungs-Tool im Benutzer-Dropdown */
.zoom-panel-modern[b-43ivm26b3h] {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}
.dark-theme .zoom-panel-modern[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.theme-modern-aura .zoom-panel-modern[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 243, 255, 0.2) !important;
}

.zoom-badge-icon[b-43ivm26b3h] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(201, 160, 84, 0.15);
    color: #b8860b;
    font-size: 0.85rem;
}
.dark-theme .zoom-badge-icon[b-43ivm26b3h] {
    background: rgba(201, 160, 84, 0.2);
    color: #ffd700;
}
.theme-modern-aura .zoom-badge-icon[b-43ivm26b3h] {
    background: rgba(0, 243, 255, 0.15) !important;
    color: #00f3ff !important;
}

.zoom-title[b-43ivm26b3h] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #102640;
    line-height: 1.2;
}
.dark-theme .zoom-title[b-43ivm26b3h] {
    color: #f1f5f9;
}
.theme-modern-aura .zoom-title[b-43ivm26b3h] {
    color: #ffffff !important;
}

.zoom-subtitle[b-43ivm26b3h] {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #64748b;
}
.dark-theme .zoom-subtitle[b-43ivm26b3h] {
    color: #94a3b8;
}
.theme-modern-aura .zoom-subtitle[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.65) !important;
}

.zoom-reset-btn[b-43ivm26b3h] {
    font-size: 0.7rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #334155;
    border-radius: 20px;
    padding: 2px 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}
.zoom-reset-btn:hover[b-43ivm26b3h] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.25);
}
.dark-theme .zoom-reset-btn[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
}
.dark-theme .zoom-reset-btn:hover[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.theme-modern-aura .zoom-reset-btn[b-43ivm26b3h] {
    background: rgba(0, 243, 255, 0.1) !important;
    border-color: rgba(0, 243, 255, 0.3) !important;
    color: #00f3ff !important;
}
.theme-modern-aura .zoom-reset-btn:hover[b-43ivm26b3h] {
    background: rgba(0, 243, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Segmented pill bar */
.zoom-segmented-bar[b-43ivm26b3h] {
    display: flex;
    align-items: center;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}
.dark-theme .zoom-segmented-bar[b-43ivm26b3h] {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.theme-modern-aura .zoom-segmented-bar[b-43ivm26b3h] {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(0, 243, 255, 0.25) !important;
}

.zoom-step-btn[b-43ivm26b3h] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #334155;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s ease;
}
.zoom-step-btn:hover[b-43ivm26b3h] {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.dark-theme .zoom-step-btn[b-43ivm26b3h] {
    color: #94a3b8;
}
.dark-theme .zoom-step-btn:hover[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.theme-modern-aura .zoom-step-btn[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-modern-aura .zoom-step-btn:hover[b-43ivm26b3h] {
    background: rgba(0, 243, 255, 0.2) !important;
    color: #ffffff !important;
}

.zoom-preset-btn[b-43ivm26b3h] {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #334155;
    border-radius: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.zoom-preset-btn:hover[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.75);
    color: #0f172a;
}
.dark-theme .zoom-preset-btn[b-43ivm26b3h] {
    color: #94a3b8;
}
.dark-theme .zoom-preset-btn:hover[b-43ivm26b3h] {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}
.theme-modern-aura .zoom-preset-btn[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-modern-aura .zoom-preset-btn:hover[b-43ivm26b3h] {
    background: rgba(0, 243, 255, 0.15) !important;
    color: #ffffff !important;
}

.zoom-preset-btn.active[b-43ivm26b3h] {
    background: linear-gradient(135deg, #c9a054, #b28a3e) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(201, 160, 84, 0.35);
}
.dark-theme .zoom-preset-btn.active[b-43ivm26b3h] {
    background: linear-gradient(135deg, #ffd700, #c9a054) !important;
    color: #0b1118 !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}
.theme-modern-aura .zoom-preset-btn.active[b-43ivm26b3h] {
    background: linear-gradient(135deg, #00f3ff, #9d00ff) !important;
    color: #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 243, 255, 0.4) !important;
}

.zoom-footer[b-43ivm26b3h] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.66rem;
    margin-top: 6px;
    color: #64748b;
}
.dark-theme .zoom-footer[b-43ivm26b3h] {
    color: #94a3b8;
}
.theme-modern-aura .zoom-footer[b-43ivm26b3h] {
    color: rgba(255, 255, 255, 0.6) !important;
}



/* _content/RapoHerstellung.UI/Components/Layout/NavMenu.razor.rz.scp.css */
.brand-header[b-lkdqqlaigo] {
    height: 4.5rem;
    background-color: var(--navy-dark) !important;
    border-bottom: 2px solid var(--navy-light);
    padding-left: 1.25rem !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo-shield[b-lkdqqlaigo] {
    background-color: var(--navy-primary);
    color: var(--navy-dark);
    font-weight: 800;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-brand[b-lkdqqlaigo] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-color) !important;
}

.menu-label[b-lkdqqlaigo] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted-color) !important;
    margin-bottom: 0.25rem;
}

.nav-link[b-lkdqqlaigo] {
    display: flex;
    align-items: center;
    color: var(--muted-color) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 6px !important;
    margin: 0.15rem 0.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover[b-lkdqqlaigo] {
    color: var(--text-color) !important;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

.nav-link.active[b-lkdqqlaigo] {
    color: #ffffff !important;
    background-color: var(--navy-primary) !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(26, 58, 95, 0.25);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link.active:hover[b-lkdqqlaigo] {
    transform: none;
    color: #ffffff !important;
}

.nav-link i[b-lkdqqlaigo] {
    font-size: 1.1rem;
    min-width: 1.4rem;
    text-align: center;
    transition: all 0.2s ease;
}

.nav-link svg[b-lkdqqlaigo] {
    min-width: 1.1rem;
    flex-shrink: 0;
}

.nav-link.active i[b-lkdqqlaigo] {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .navbar-toggler[b-lkdqqlaigo] {
        display: none;
    }

    .nav-sidebar-container[b-lkdqqlaigo] {
        display: flex;
        flex-direction: column;
        height: 100% !important;
        min-height: 100% !important;
        position: relative;
    }

    .nav-scrollable[b-lkdqqlaigo] {
        display: block;
        flex: 1;
        overflow-y: auto;
        padding-bottom: 2rem; /* Platzhalter für den festen Footer */
    }

    .version-sidebar-footer[b-lkdqqlaigo] {
        display: block !important;
        background-color: var(--navy-dark, #0b1a2c) !important;
        border-top: 1px solid var(--navy-light, #1c3d63) !important;
        z-index: 10;
        margin-top: auto;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }
}

@media (max-width: 767px) {
    .brand-header[b-lkdqqlaigo] {
        position: relative;
        z-index: 10;
        padding-left: 4.5rem !important;
        padding-right: 1rem !important;
    }

    .navbar-toggler[b-lkdqqlaigo] {
        display: block !important;
        position: absolute;
        top: 0.75rem;
        left: 1rem;
        width: 3rem;
        height: 3rem;
        opacity: 0;
        z-index: 20;
        cursor: pointer;
    }

    /* Hamburger-Icon über Font Awesome in Pseudo-Element */
    .brand-header[b-lkdqqlaigo]::after {
        content: "\f0c9";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 1.35rem;
        left: 1.5rem;
        font-size: 1.4rem;
        color: white;
        pointer-events: none;
        z-index: 15;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .navbar-toggler:hover ~ .brand-header[b-lkdqqlaigo]::after {
        color: #dfb772;
    }

    /* Wechsel zum Schließen-Symbol (X) bei Aktivierung */
    .navbar-toggler:checked ~ .brand-header[b-lkdqqlaigo]::after {
        content: "\f00d";
        transform: rotate(90deg);
        color: #dfb772;
    }

    .nav-scrollable[b-lkdqqlaigo] {
        display: none;
        background-color: var(--navy-dark, #102640);
        border-bottom: 3px solid var(--navy-light, #1c3d63);
        max-height: calc(100vh - 4.5rem);
        overflow-y: auto;
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-lkdqqlaigo] {
        display: block;
        animation: slideDown-b-lkdqqlaigo 0.25s ease-out;
    }
}

@keyframes slideDown-b-lkdqqlaigo {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
