/* ===== NAVBAR ===== */
.mud-nav-link.active svg {
    opacity: 1;
}

.bottom-nav-toolbar .mud-icon-button {
    opacity: 0.5;
    color: var(--mud-palette-white) !important;
}

.custom-active {
    opacity: 1 !important;
    color: var(--mud-palette-white) !important;
}

/* ===== ENTERPRISE 3D ELEVATION SYSTEM ===== */
.mud-paper {
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mud-paper.mud-elevation-1 {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    }

    .mud-paper.mud-elevation-2 {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
    }

    .mud-paper.mud-elevation-3 {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.06);
    }

    .mud-paper.mud-elevation-4 {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
    }

/* ===== BUTTONS ===== */
.mud-button-root {
    transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

    .mud-button-root.mud-button-filled:not(:disabled):hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

    .mud-button-root.mud-button-filled:not(:disabled):active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mud-button-root.mud-button-outlined:not(:disabled):hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
    }

/* ===== FAB ===== */
.mud-fab {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: box-shadow 0.25s ease, transform 0.2s ease !important;
}

    .mud-fab:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.12) !important;
        transform: translateY(-2px) !important;
    }

/* ===== CHIPS ===== */
.mud-chip {
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

    .mud-chip:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .mud-chip.mud-chip-selected {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

/* ===== TABS ===== */
.mud-tabs .mud-tab.mud-tab-active {
    position: relative;
}

.mud-tabs .mud-tab-slider {
    box-shadow: 0 2px 8px rgba(var(--mud-palette-primary-rgb, 0, 0, 0), 0.3);
}

/* ===== DRAWER ===== */
.mud-drawer {
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.06) !important;
}

.mud-drawer--right {
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.06) !important;
}

/* ===== NAV LINKS ===== */
.mud-nav-link {
    border-radius: 8px;
    margin: 2px 8px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

    .mud-nav-link:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }

/* ===== DIALOG ===== */
.mud-dialog {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
}

/* ===== TABLE ROWS ===== */
.mud-table-row:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

/* ===== TEXT FIELD ===== */
.mud-input-control .mud-input-outlined-border {
    transition: box-shadow 0.2s ease;
}

.mud-input-control:focus-within .mud-input-outlined-border {
    box-shadow: 0 0 0 3px rgba(var(--mud-palette-primary-rgb, 0, 0, 0), 0.1);
}

/* ===== ICON BUTTONS ===== */

.mud-icon-button:not(:disabled):hover {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

/* Switch-Thumb vom Scale-Effekt ausnehmen */
.mud-switch .mud-button-root:hover,
.mud-switch .mud-icon-button:hover {
    transform: none !important;
}

/* ===== TOOLTIP ===== */
.mud-tooltip {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ===== SNACKBAR ===== */
.mud-snackbar {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* ===== RESPONSIVE: Mobile ===== */
@media (max-width: 599.98px) {
    .mud-tabs .mud-tab {
        min-width: unset !important;
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    .profile-button-container .mud-typography {
        display: none;
    }

    .profile-button-container {
        right: 8px !important;
    }

    .mud-dialog {
        margin: 8px !important;
        max-height: calc(100vh - 16px) !important;
    }

    .mud-drawer {
        max-width: 85vw !important;
    }
}

/* ===== RESPONSIVE: Tablet ===== */
@media (min-width: 600px) and (max-width: 959.98px) {
    .mud-tabs .mud-tab {
        min-width: unset !important;
        padding: 8px 14px !important;
        font-size: 0.8125rem !important;
    }
}

/* ===== RESPONSIVE: Large Desktop ===== */
@media (min-width: 1920px) {
    .mud-tabs .mud-tab {
        padding: 10px 20px !important;
        font-size: 0.9375rem !important;
    }
}

/* ===== RESPONSIVE: Ultra-wide / Smart TV ===== */
@media (min-width: 2560px) {
    .mud-tabs .mud-tab {
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }

    .mud-dialog {
        max-width: 50vw !important;
    }
}

/* ===== SMOOTH PAGE TRANSITIONS ===== */
@keyframes content-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.mud-tab-panel {
    animation: content-fade-in 0.25s ease-out;
}
