﻿:root {
    --lead: #FEF9FF;
    --contact: #fff7e6;
    --hiring: #e6f5fe;
    --customer: #eafaf4;
    --declined: #ffe6e6;
    --appbar-height: 60px;
    --appbar-height-mobile: 56px;
    --sidebar-offset: 0.75rem;
}


h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.flat-top-tabs .mud-tabs-tabbar {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: var(--mud-default-borderradius) !important;
    border-bottom-right-radius: var(--mud-default-borderradius) !important;
}

#app-banner-notification {
    position: fixed;
    max-width: 80vw;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 5px;
    background-color: var(--mud-palette-info-hover);
    text-align: center;
    z-index: 2000;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid black;
    margin-bottom: -6px;
    left:0;
    right:0;
    bottom:0;
}
#app-banner-popup {
}

.blur-view {
    filter: blur(10px);
}

.location-search-icon {
    position: relative;
    z-index: 2500;
    bottom: 0px;
    right: 0px;
}

.custom-cluster-lead {
    background-color: var(--lead) !important;
}
.custom-cluster-contact {
    background-color: var(--contact) !important;
}
.custom-cluster-hiring {
    background-color: var(--hiring) !important;
}
.custom-cluster-customer {
    background-color: var(--customer) !important;
}
.custom-cluster-declined {
    background-color: var(--declined) !important;
}

.customer-lead {
    background-color: var(--lead) !important;
}
.customer-contact {
    background-color: var(--contact) !important;
}
.customer-hiring {
    background-color: var(--hiring) !important;
}
.customer {
    background-color: var(--customer) !important;
}
    .customer.vip {
        border: 1px solid gold;
        -moz-box-sizing: inherit;
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }
.customer-declined {
    background-color: var(--declined) !important;
}

.bepreisungsgruppen-layout {
    column-count: 4; /* default: 4 columns */
    column-gap: 1.5rem; /* space between columns */
}

/* Medium screens ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ 3 columns */
@media (max-width: 1200px) {
    .bepreisungsgruppen-layout {
        column-count: 3;
    }
}

/* Small screens ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ 2 columns */
@media (max-width: 768px) {
    .bepreisungsgruppen-layout {
        column-count: 2;
    }
}

/* Very small screens ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ 1 column */
@media (max-width: 480px) {
    .bepreisungsgruppen-layout {
        column-count: 1;
    }
}

/* Optional: prevent items from breaking between columns */
.bepreisungsgruppen-layout > * {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.truncate-text {
    max-width: 35em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.graph-container {
    position: relative;
    border: 2px solid #333;
    border-radius: 50%;
    margin: 20px auto;
    /*overflow: hidden;*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: url(light_map_bg.jpg);
}

.center-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--mud-palette-primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.interest-point {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--mud-palette-secondary);
    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .interest-point:hover {
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

.einstufung-toolbar {
    background-color: var(--mud-palette-background);
    border-radius: var(--mud-default-borderradius);
}

.einstufung-table .mud-table-root {
    overflow-x: auto;
}

.einstufung-table .mud-table-cell {
    vertical-align: middle;
}

.einstufung-chip {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    max-width: 100%;
}

.einstufung-status-chip {
    font-weight: 600;
}

.stoppwerte-overview {
    background-color: var(--mud-palette-background);
    border-radius: var(--mud-default-borderradius);
}

.stoppwerte-metric {
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-surface);
    transition: transform .2s ease, box-shadow .2s ease;
    min-height: 100%;
}

.stoppwerte-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -20px rgba(15,23,42,0.35);
}

body.mud-dark-theme .stoppwerte-metric {
    border-color: rgba(148,163,184,0.35);
    background-color: rgba(15,23,42,0.75);
}

body.mud-dark-theme .stoppwerte-metric:hover {
    box-shadow: 0 18px 28px -18px rgba(15,23,42,0.85);
}

.stoppwerte-metric__icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.35rem;
}

.stoppwerte-grid-wrapper {
    border-radius: var(--mud-default-borderradius);
    overflow: hidden;
}

.stoppwerte-grid-wrapper .mud-divider {
    margin: 0;
}

.stoppwerte-datagrid .mud-table-container {
    border-radius: 0;
}

@media (max-width: 600px) {
    .stoppwerte-metric__icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 600px) {
    .einstufung-toolbar {
        padding: 1.5rem;
    }

    .einstufung-table .mud-table-cell {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

.point-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.interest-point:hover .point-label {
    opacity: 1;
}

.connection-line {
    position: absolute;
    background: var(--mud-palette-black);
    transform-origin: left center;
    z-index: 1;
    height: 2px;
    border-radius: 1px;
}

.info-panel {
    margin-top: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.point-info {
    margin: 10px 0;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #44ff44;
}

/*.customer-search-field div div input {
    padding: 9px 7px !important;    
}        
    Lead = 0,
        Contact = 1,
        Hiring = 2,
        Customer = 3,
        Declined = 4,*/

.customer-actions-popover__panel {
    padding: 1.25rem;
    min-width: 240px;
    max-width: 280px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    background: #ffffff;
}

.customer-actions-popover__caption {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.55);
}

.customer-actions-popover__button {
    flex: 1 1 auto;
}

.customer-actions-popover__panel .mud-button,
.customer-actions-popover__panel .mud-icon-button {
    border-radius: 10px;
}

.customer-actions-popover__panel .mud-divider {
    margin: 0.5rem 0;
}

.customer-actions-popover__panel .mud-stack {
    width: 100%;
}

.customer-actions-popover__stack {
    gap: 1rem !important;
}

.customer-actions-popover__section {
    gap: 0.45rem !important;
}

.customer-actions-popover__row {
    gap: 0.6rem !important;
}


/* --- Modern application shell ------------------------------------------------ */
body,
button,
input,
select,
textarea {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.app-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(74,108,247,0.08) 0%, rgba(110,86,207,0.05) 35%, rgba(255,255,255,1) 100%);
}

body.mud-dark-theme .app-shell {
    background: radial-gradient(circle at top, rgba(74,108,247,0.18) 0%, rgba(23,23,35,1) 62%);
}

.app-shell__appbar {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(148,163,184,0.22);
}

body.mud-dark-theme .app-shell__appbar {
    background: rgba(28,30,40,0.85);
    border-bottom-color: rgba(71,85,105,0.45);
}

.app-shell__content {
    padding: 1.5rem 0.5rem;
    transition: padding .2s ease;
}

@media (max-width: 600px) {
    .app-sidebar--mobile {
        width: min(92vw, 260px);
    }
}

@media (max-width: 960px) {
    .app-shell__workspace {
        min-height: calc(100vh - var(--appbar-height-mobile));
    }

    .app-sidebar--desktop {
        display: none;
    }

    .app-sidebar__overlay {
        top: var(--appbar-height-mobile);
    }

    .app-sidebar--mobile {
        top: var(--appbar-height-mobile);
        height: calc(100vh - var(--appbar-height-mobile));
        max-height: calc(100vh - var(--appbar-height-mobile));
    }
}

.app-shell__background {
    min-height: calc(100vh - var(--appbar-height));
    padding: 2.5rem 0;
    background:
        radial-gradient(1200px circle at 20% 0%, rgba(74,108,247,0.15), transparent 55%),
        radial-gradient(850px circle at 80% -10%, rgba(110,86,207,0.14), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
}

body.mud-dark-theme .app-shell__background {
    background:
        radial-gradient(1200px circle at 15% 0%, rgba(74,108,247,0.32), transparent 55%),
        radial-gradient(950px circle at 85% -10%, rgba(110,86,207,0.3), transparent 45%),
        linear-gradient(180deg, rgba(23,23,35,0.65) 0%, rgba(17,17,27,0.9) 100%);
}

.app-shell__container {
    position: relative;
}

.app-shell__container--centered {
    display: flex;
    justify-content: center;
}

.app-shell__surface {
    padding: 1rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 40px -25px rgba(15,23,42,0.35);
    backdrop-filter: blur(10px);
    transition: box-shadow .2s ease, transform .2s ease;
}
/*
.app-shell__surface:hover {
    box-shadow: 0 28px 50px -20px rgba(15,23,42,0.35);
    transform: translateY(-2px);
}*/

body.mud-dark-theme .app-shell__surface {
    background: rgba(28,30,40,0.85);
    box-shadow: 0 18px 40px -25px rgba(0,0,0,0.6);
}

.app-shell__surface--compact {
    padding: 2rem;
}

.app-shell.mud-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-shell__workspace {
    display: flex;
    flex: 1;
    min-height: calc(100vh - var(--appbar-height));
    position: relative;
    align-items: flex-start;
}

.app-shell--compact .app-shell__workspace {
    min-height: auto;
}

.app-shell .mud-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-shell__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid rgba(15,23,42,0.08);
    box-shadow: 10px 0 26px -22px rgba(15,23,42,0.35);
    transition: width .26s cubic-bezier(.4,0,.2,1), transform .26s cubic-bezier(.4,0,.2,1), box-shadow .26s ease;
    z-index: 3;
    box-sizing: border-box;
}

body.mud-dark-theme .app-sidebar {
    background: #1f2937;
    border-right-color: rgba(148,163,184,0.28);
    box-shadow: 10px 0 26px -24px rgba(0,0,0,0.7);
}

.app-sidebar--desktop {
    position: sticky;
    top: calc(var(--appbar-height) + var(--sidebar-offset));
    align-self: flex-start;
    width: 280px;
    flex: 0 0 280px;
    height: calc(100vh - var(--appbar-height) - var(--sidebar-offset));
    max-height: calc(100vh - var(--appbar-height) - var(--sidebar-offset));
}

.app-sidebar--desktop.app-sidebar--collapsed {
    width: 88px;
    flex: 0 0 88px;
    height: calc(100vh - var(--appbar-height) - var(--sidebar-offset));
    max-height: calc(100vh - var(--appbar-height) - var(--sidebar-offset));
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__brand-text,
.app-sidebar--desktop.app-sidebar--collapsed .sidebar-link__label,
.app-sidebar--desktop.app-sidebar--collapsed .sidebar-nav__skeleton {
    display: none;
}

.app-sidebar--desktop.app-sidebar--collapsed .sidebar-link {
    justify-content: center;
    padding: 0.55rem 0;
    gap: 0;
    width: 60px;
    margin: 0 auto;
}

.app-sidebar--desktop.app-sidebar--collapsed .sidebar-link__icon {
    margin-right: 0;
}

.app-sidebar--mobile {
    position: fixed;
    top: var(--appbar-height);
    bottom: 0;
    left: 0;
    width: 280px;
    flex: 0 0 auto;
    height: calc(100vh - var(--appbar-height));
    max-height: calc(100vh - var(--appbar-height));
    transform: translateX(-100%);
    box-shadow: 26px 0 48px -24px rgba(15,23,42,0.55);
    pointer-events: none;
}

.app-sidebar--mobile.app-sidebar--expanded {
    transform: translateX(0);
    pointer-events: auto;
}

.app-sidebar--mobile.app-sidebar--collapsed {
    box-shadow: none;
}

.app-sidebar__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.45rem 1.15rem 1.8rem;
    gap: 1rem;
    box-sizing: border-box;
    overflow: hidden;
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__inner {
    padding: 1.35rem 0.7rem 1.6rem;
    gap: 0.75rem;
}

.app-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 14px;
    background: rgba(15,23,42,0.04);
    transition: background-color .2s ease, padding .2s ease;
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__brand {
    justify-content: center;
    padding: 0.35rem 0;
    background: transparent;
}

.app-sidebar__brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(214,40,40,0.12);
    color: #d62828;
    font-size: 1.6rem;
    box-shadow: inset 0 0 0 1px rgba(214,40,40,0.16);
}

body.mud-dark-theme .app-sidebar__brand-icon {
    background: rgba(214,40,40,0.22);
    color: #ff6b6b;
    box-shadow: inset 0 0 0 1px rgba(214,40,40,0.32);
}

.app-sidebar__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.app-sidebar__brand-title {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: .01em;
}

.app-sidebar__brand-subtitle {
    font-size: 0.7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(15,23,42,0.55);
}

body.mud-dark-theme .app-sidebar__brand-title {
    color: #f8fafc;
}

body.mud-dark-theme .app-sidebar__brand-subtitle {
    color: rgba(226,232,240,0.62);
}

.app-sidebar__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 14px;
    padding: 0.55rem 0.9rem;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,245,248,0.9) 100%);
    box-shadow: 0 14px 30px -18px rgba(15,23,42,0.45);
    color: #1f2937;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.app-sidebar__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px -16px rgba(214,40,40,0.4);
    border-color: rgba(214,40,40,0.4);
}

.app-sidebar__toggle .mud-icon-root {
    font-size: 1.35rem;
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
}

.app-sidebar--mobile .app-sidebar__toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 16px;
    box-shadow: none;
    border-color: transparent;
    background: rgba(15,23,42,0.05);
}

body.mud-dark-theme .app-sidebar__toggle {
    border-color: rgba(148,163,184,0.4);
    background: linear-gradient(180deg, rgba(39,46,60,0.95) 0%, rgba(28,35,50,0.95) 100%);
    color: #e2e8f0;
    box-shadow: 0 14px 30px -20px rgba(0,0,0,0.65);
}

body.mud-dark-theme .app-sidebar__toggle:hover {
    border-color: rgba(214,40,40,0.55);
}

.app-sidebar__divider {
    height: 1px;
    border-radius: 999px;
    background: rgba(15,23,42,0.08);
}

.app-sidebar__divider--subtle {
    background: rgba(15,23,42,0.05);
}

body.mud-dark-theme .app-sidebar__divider {
    background: rgba(148,163,184,0.18);
}

body.mud-dark-theme .app-sidebar__divider--subtle {
    background: rgba(148,163,184,0.12);
}

.app-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.35rem;
    padding-bottom: 1.25rem;
    scroll-padding-bottom: 3rem;
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__body {
    padding-right: 0;
    padding-bottom: 0.75rem;
}

.app-sidebar__footer {
    padding-top: 0.6rem;
    padding-bottom: 0.25rem;
    margin-top: auto;
}

.app-sidebar--desktop.app-sidebar--collapsed .app-sidebar__footer {
    padding-top: 0.2rem;
    padding-bottom: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.95rem;
    border-radius: 14px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.sidebar-link__icon {
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}

.sidebar-link:hover {
    background-color: rgba(214,40,40,0.1);
    color: #d62828;
    transform: translateX(4px);
}

.sidebar-link--active {
    background-color: rgba(214,40,40,0.16);
    color: #d62828;
    box-shadow: inset 0 0 0 1px rgba(214,40,40,0.22);
}

.sidebar-link--collapsed {
    justify-content: center;
    padding: 0.55rem 0;
    gap: 0;
}

.sidebar-link--collapsed .sidebar-link__label {
    display: none;
}

.sidebar-link--disabled {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,0.18);
    cursor: not-allowed;
}

body.mud-dark-theme .sidebar-link {
    color: #e2e8f0;
}

body.mud-dark-theme .sidebar-link:hover {
    background-color: rgba(214,40,40,0.3);
    color: #ffb4b4;
}

body.mud-dark-theme .sidebar-link--active {
    background-color: rgba(214,40,40,0.28);
    color: #ffb4b4;
    box-shadow: inset 0 0 0 1px rgba(214,40,40,0.34);
}

.sidebar-nav__empty {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0 0.95rem;
}

.sidebar-nav__skeleton {
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(148,163,184,0.2) 0%, rgba(226,232,240,0.4) 50%, rgba(148,163,184,0.2) 100%);
    background-size: 200% 100%;
    animation: sidebar-skeleton 1.6s ease-in-out infinite;
}

.sidebar-nav__skeleton--short {
    width: 82%;
}

.sidebar-nav__skeleton--tiny {
    width: 64%;
}

@keyframes sidebar-skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.app-sidebar__overlay {
    position: fixed;
    top: var(--appbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 2;
}

.app-sidebar__overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.app-shell--compact .app-shell__background {
    padding-top: 3rem;
}

.splash-screen {
      background: linear-gradient(145deg, #031128 0%, #10264a 100%);
      height: 100vh;
      display: flex;
      flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    color: #e2e8f0;
    text-align: center;
      padding: 2rem;
  }
  
.splash-screen__center {
      position: relative;
      width: 200px;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
.splash-screen__logo {
      width: 128px;
      height: auto;
      object-fit: contain;
      position: relative;
      z-index: 1;
  }

.appbar__wrapper {
    width: 100%;
    padding: 0 1rem;
    gap: 1.5rem;
}

.appbar__section {
    display: flex;
    align-items: center;
}

.appbar__section--brand {
    gap: 1.25rem;
    flex: 1;
}

.appbar__brand-icon {
    font-size: 2rem;
    filter: drop-shadow(0 6px 15px rgba(74,108,247,0.25));
}

.appbar__brand-title {
    font-weight: 600;
    color: #0f172a;
}

body.mud-dark-theme .appbar__brand-title {
    color: #e2e8f0;
}

.appbar__status-chip {
    font-weight: 600;
    letter-spacing: .02em;
}

.appbar__section--actions {
    gap: 1rem;
}

.appbar__profile-trigger {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .35rem .75rem;
    border-radius: 999px;
}

.appbar__profile-trigger:hover {
    background: rgba(15,23,42,0.06);
}

body.mud-dark-theme .appbar__profile-trigger:hover {
    background: rgba(255,255,255,0.08);
}

.appbar__avatar {
    font-weight: 700;
}

.appbar__profile-text {
    min-width: 96px;
}

.appbar__profile-subtitle {
    opacity: .7;
}

body.mud-dark-theme .appbar__profile-subtitle {
    color: #cbd5f5;
}


@media (max-width: 768px) {
    .app-shell__content {
        padding: 1.25rem 0.65rem 2rem;
    }

    .app-shell__background {
        padding: 1.25rem 0.25rem;
        background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,1) 60%);
    }

    body.mud-dark-theme .app-shell__background {
        background: linear-gradient(180deg, rgba(17,24,39,0.92) 0%, rgba(17,24,39,1) 65%);
    }

    .app-shell__container {
        width: 100%;
        padding: 0 0.6rem;
    }

    .app-shell__surface {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        box-shadow: 0 12px 28px -22px rgba(15,23,42,0.35);
    }

    body.mud-dark-theme .app-shell__surface {
        box-shadow: 0 16px 36px -22px rgba(0,0,0,0.6);
    }
}
@media (max-width: 768px) {
    .app-shell__surface:hover {
        transform: none;
        box-shadow: 0 12px 28px -22px rgba(15,23,42,0.35);
    }

    body.mud-dark-theme .app-shell__surface:hover {
        box-shadow: 0 16px 36px -22px rgba(0,0,0,0.6);
    }















