﻿/* ============================================================
   angular.css — Global Stylesheet
   Compatible with Angular projects and portable to MudBlazor
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties (Variables)
   ------------------------------------------------------------ */
:root {
    /* Brand Colors */
    --color-primary: #DD0031;
    --color-primary-dark: #C3002F;
    --color-primary-light: #ff4d6d;
    --color-accent: #1976D2;
    --color-accent-dark: #0d47a1;
    --color-warn: #F44336;
    --color-warn-dark: #c62828;
    --color-success: #4CAF50;
    --color-success-dark: #2e7d32;
    --color-info: #2196F3;
    --color-info-dark: #0d47a1;
    /* Neutral / Surface */
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-surface-alt: #f5f5f5;
    --color-border: #e0e0e0;
    --color-divider: #eeeeee;
    /* Text */
    --color-text: #212121;
    --color-text-muted: #757575;
    --color-text-hint: #9e9e9e;
    --color-text-disabled: #bdbdbd;
    --color-text-inverse: #ffffff;
    --blue: #2f6fed;
    --blue-soft: #eaf1fe;
    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    /* Typography */
    --font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'Roboto Mono', 'Courier New', monospace;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --line-height: 1.6;
    --line-height-tight: 1.25;
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    /* Elevation / Shadows */
    --shadow-1: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-2: 0 3px 6px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.08);
    --shadow-3: 0 10px 20px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.08);
    --shadow-4: 0 15px 25px rgba(0,0,0,.15), 0 5px 10px rgba(0,0,0,.08);
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    /* Layout */
    --max-width: 1200px;
    --max-width-sm: 768px;
    --max-width-md: 960px;
    --container-padding: var(--space-4);
    --header-height: 64px;
    --sidebar-width: 260px;
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-overlay: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* ------------------------------------------------------------
   2. Dark Mode
   ------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #121212;
        --color-surface: #1e1e1e;
        --color-surface-alt: #2c2c2c;
        --color-border: #333333;
        --color-divider: #2a2a2a;
        --color-text: #eeeeee;
        --color-text-muted: #9e9e9e;
        --color-text-hint: #616161;
        --color-text-disabled: #424242;
    }
}

.dark-theme {
    --color-bg: #121212;
    --color-surface: #1e1e1e;
    --color-surface-alt: #2c2c2c;
    --color-border: #333333;
    --color-divider: #2a2a2a;
    --color-text: #eeeeee;
    --color-text-muted: #9e9e9e;
    --color-text-hint: #616161;
    --color-text-disabled: #424242;
}

/* ------------------------------------------------------------
   3. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height);
      /*color: var(--color-text);
  background-color: var(--color-bg);*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    a:hover {
        color: var(--color-accent-dark);
        text-decoration: underline;
    }

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ------------------------------------------------------------
   4. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    color: var(--mud-palette-dark);
    margin-bottom: var(--space-2);
}
.mud-chip-content{
    color:black;
}
.mud-chip-filled.mud-chip-color-primary > .mud-chip-content {
    color: white;
}
h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

h5 {
    font-size: var(--font-size-md);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--space-4);
}

.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-base {
    font-size: var(--font-size-base);
}

.text-md {
    font-size: var(--font-size-md);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-hint {
    color: var(--color-text-hint);
}

.text-success {
    color: var(--color-success);
}

.text-warn {
    color: var(--color-warn);
}

.text-inverse {
    color: var(--color-text-inverse);
}

.font-normal {
    font-weight: var(--font-weight-normal);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

code, pre {
    font-family: var(--font-family-mono);
    font-size: var(--font-size-sm);
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
}

code {
    padding: 2px 6px;
}

pre {
    padding: var(--space-4);
    overflow-x: auto;
}

/* ------------------------------------------------------------
   5. Layout
   ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-sm {
    max-width: var(--max-width-sm);
    margin: 0 auto;
}

.container-md {
    max-width: var(--max-width-md);
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.col {
    flex: 1;
    min-width: 0;
}

.col-auto {
    flex: 0 0 auto;
}

.col-1 {
    flex: 0 0 8.333%;
    max-width: 8.333%;
}

.col-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

.d-grid {
    display: grid;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-1 {
    flex: 1;
}

.align-start {
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

/* ------------------------------------------------------------
   6. Spacing Utilities
   ------------------------------------------------------------ */
.m-0 {
    margin: 0;
}

.m-1 {
    margin: var(--space-1);
}

.m-2 {
    margin: var(--space-2);
}

.m-3 {
    margin: var(--space-3);
}

.m-4 {
    margin: var(--space-4);
}

.m-6 {
    margin: var(--space-6);
}

.m-8 {
    margin: var(--space-8);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-1 {
    margin-top: var(--space-1);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-1 {
    margin-bottom: var(--space-1);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--space-1);
}

.p-2 {
    padding: var(--space-2);
}

.p-3 {
    padding: var(--space-3);
}

.p-4 {
    padding: var(--space-4);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

.gap-1 {
    gap: var(--space-1);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* ------------------------------------------------------------
   7. Card
   ------------------------------------------------------------ */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--transition-base);
}

    .card:hover {
        box-shadow: var(--shadow-2);
    }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-divider);
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    margin: 0;
}

.card-footer {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-divider);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

/* ------------------------------------------------------------
   8. Buttons
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

    .btn:active {
        transform: scale(0.98);
    }

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--color-primary-dark);
    }

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

    .btn-accent:hover {
        background: var(--color-accent-dark);
    }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

    .btn-outline:hover {
        background: rgba(221,0,49,.06);
    }

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

    .btn-ghost:hover {
        background: var(--color-surface-alt);
    }

.btn-sm {
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-md);
}

.btn-icon {
    padding: var(--space-2);
    border-radius: var(--radius-full);
}

.btn-block {
    width: 100%;
}

/* ------------------------------------------------------------
   9. Form Elements
   ------------------------------------------------------------ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    /*   color: var(--color-text-muted);*/
    color: var(--mud-palette-dark);
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
}

    .input:hover,
    input:hover,
    select:hover,
    textarea:hover {
        border-color: var(--color-text-hint);
    }

    .input:focus,
    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(221,0,49,.15);
    }

    .input.error,
    input.error {
        border-color: var(--color-warn);
        box-shadow: 0 0 0 3px rgba(244,67,54,.12);
    }

textarea {
    min-height: 100px;
    resize: vertical;
}

.hint {
    font-size: var(--font-size-xs);
    color: var(--color-text-hint);
}

.error-msg {
    font-size: var(--font-size-xs);
    color: var(--color-warn);
}

/* ------------------------------------------------------------
   10. Badges & Chips
   ------------------------------------------------------------ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    line-height: 1.4;
}

.badge-primary {
    background: var(--color-primary);
    color: #fff;
}

.badge-accent {
    background: var(--color-accent);
    color: #fff;
}

.badge-success {
    background: var(--color-success);
    color: #fff;
}

.badge-warn {
    background: var(--color-warn);
    color: #fff;
}

.badge-info {
    background: var(--color-info);
    color: #fff;
}

.badge-neutral {
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-sm);
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: default;
    transition: background var(--transition-fast);
}

    .chip:hover {
        background: var(--color-divider);
    }

/* ------------------------------------------------------------
   11. Table
   ------------------------------------------------------------ */
.table-wrapper {
    overflow-x: auto;
}

table, .table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-base);
}

thead th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
}

tbody td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-divider);
    color: var(--color-text);
}

tbody tr:hover td {
 /*   background: var(--color-surface-alt);*/
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ------------------------------------------------------------
   12. Alerts
   ------------------------------------------------------------ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    border-left: 4px solid transparent;
    margin-bottom: var(--space-4);
}

.alert-success {
    background: #f1f8f1;
    border-color: var(--color-success);
    color: #1b5e20;
}

.alert-warn {
    background: #fff8e1;
    border-color: var(--color-warn);
    color: #e65100;
}

.alert-error {
    background: #fce4e4;
    border-color: var(--color-warn);
    color: #b71c1c;
}

.alert-info {
    background: #e3f2fd;
    border-color: var(--color-info);
    color: #0d47a1;
}

/* ------------------------------------------------------------
   13. Toolbar / Header
   ------------------------------------------------------------ */
.toolbar {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 var(--space-6);
    background: var(--color-primary);
    color: #fff;
    gap: var(--space-4);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-2);
}

.toolbar-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: #fff;
    flex: 1;
}

/* ------------------------------------------------------------
   14. Sidebar
   ------------------------------------------------------------ */
.sidenav {
    width: var(--sidebar-width);
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.sidenav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    border-radius: var(--radius-sm);
    margin: 2px var(--space-2);
}

    .sidenav-item:hover {
        background: var(--color-surface-alt);
        color: var(--color-text);
    }

    .sidenav-item.active {
        background: rgba(221,0,49,.08);
        color: var(--color-primary);
        font-weight: var(--font-weight-medium);
    }

/* ------------------------------------------------------------
   15. Divider
   ------------------------------------------------------------ */
.divider {
    border: none;
    border-top: 1px solid var(--color-divider);
    margin: var(--space-4) 0;
}

/* ------------------------------------------------------------
   16. Overlay / Modal
   ------------------------------------------------------------ */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-4);
    z-index: var(--z-modal);
}

.dialog-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-4);
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

/* ------------------------------------------------------------
   17. Progress & Spinner
   ------------------------------------------------------------ */
.progress {
    height: 4px;
    background: var(--color-divider);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-divider);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------------------------------------------------
   18. Tooltip
   ------------------------------------------------------------ */
[data-tooltip] {
    position: relative;
    cursor: default;
}

    [data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: #fff;
        font-size: var(--font-size-xs);
        padding: 4px 8px;
        border-radius: var(--radius-sm);
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity var(--transition-fast);
        z-index: var(--z-tooltip);
    }

    [data-tooltip]:hover::after {
        opacity: 1;
    }

/* ------------------------------------------------------------
   19. Responsive Helpers
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .hide-sm {
        display: none !important;
    }

    .col-3, .col-4, .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 960px) {
    .hide-md {
        display: none !important;
    }
}

@media (min-width: 961px) {
    .hide-lg {
        display: none !important;
    }
}

/* ------------------------------------------------------------
   20. Utility Helpers
   ------------------------------------------------------------ */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-full {
    border-radius: var(--radius-full);
}

.shadow-1 {
    box-shadow: var(--shadow-1);
}

.shadow-2 {
    box-shadow: var(--shadow-2);
}

.shadow-3 {
    box-shadow: var(--shadow-3);
}

.cursor-pointer {
    cursor: pointer;
}

.select-none {
    user-select: none;
}

.opacity-50 {
    opacity: .5;
}

.opacity-75 {
    opacity: .75;
}

.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;
}
.nav-link {
    display: block;
    padding: 0px !important;
    color: #0d6efd;
    border-radius:10px;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
/*.mud-dialog {
    background-color: #f4f6f8 !important;
}*/
.ssf-dialog-content-100 {
    height: calc(100dvh - 100px);
    padding: 12px !important;
}
.ssf-dialog-content-150 {
    height: calc(100dvh - 150px);
    padding: 12px !important;
}
.ssf-dialog-content-200 {
    height: calc(100dvh - 200px);
    padding: 12px !important;
}
.ssf-dialog-content-250 {
    height: calc(100dvh - 250px);
    padding: 12px !important;
}
.ssf-dialog-content-300 {
    height: calc(100dvh - 300px);
    padding: 12px !important;
}
.ssf-dialog-content-350 {
    height: calc(100dvh - 350px);
    padding: 12px !important;
}
.ssf-dialog-content-400 {
    height: calc(100dvh - 400px);
    padding: 12px !important;
}
.ssf-dialog-content-450 {
    height: calc(100dvh - 450px);
    padding: 12px !important;
}
.ssf-dialog-content-500 {
    height: calc(100dvh - 500px);
    padding: 12px !important;
}

.cp-tabs .mud-tab-active {
    background: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.cp-tabs .mud-tab {
    color: var(--mud-palette-primary);
    font-weight: 500;
    transition: background .2s;
}

    .cp-tabs .mud-tab:hover:not(.mud-tab-active) {
        background: var(--mud-palette-primary-hover);
        border-radius: 8px 8px 0 0;
    }

.cp-tabs .mud-tabs-header {
    background: transparent;
}

.cp-tabs .mud-tab-slider {
    background: var(--mud-palette-primary) !important;
    height: 3px;
}

.type-chip-blue-no-border {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--blue-soft);
 
    text-transform: uppercase;
    letter-spacing: .02em;
}
.type-chip-blue-border {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--blue-soft);
 
    color: var(--muted);
    border: 1px solid var(--blue);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.mud-table{
    border-radius:0px !important;
}
.top-border-4px {
    border-top: 4px solid var(--mud-palette-primary);
}
.field-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--mud-palette-divider, #eee);
}
.field-row:last-child {
    border-bottom: none;
}
.field-label {
    color: var(--mud-palette-text-secondary);
    font-size: .8125rem;
}
.field-value {
    font-weight: 600;
    text-align: right;
}
.mud-warning-text {
    color: #f38e0d !important;
    --mud-ripple-color: #f38e0d !important
}

::deep .gray-readonly-field .mud-input-outlined-input {
    background-color: red !important;
}
/*.mud-layout {
    position: fixed !important;
}*/