:root {
    --http-request-dropdown-color: var(--mud-palette-primary);
    --http-request-dropdown-hover-bg: var(--mud-palette-tertiary-hover);
}

html, body {
    background-color: var(--mud-palette-surface);
    font-family: Tahoma;
}

a, .btn-link {
    color: #0366d6;
}

.app-header-font {
    font-family: 'Gotu';
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.app-icon {
    background: url('../logo5.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 36px;
    width: 36px;
    align-self: center;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.mud-tabs:not(.siren-app-tabs) > * > * > * > * > * > .mud-tab {
    text-transform: none;
    padding: 0.5em !important;
    padding-top: 0.25em !important;
    padding-bottom: 0.25em !important;
    min-height: 36px !important;
    border-radius: 0.25em;
    overflow: clip;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.siren-app-tabs > * > * > * > * > * > .mud-tab {
    text-transform: none;
    overflow: hidden !important;
    padding: 0.5em !important;
    padding-top: 0.25em !important;
    padding-bottom: 0.25em !important;
    min-height: 36px !important;
    color: rgba(var(--mud-palette-primary-rgb), 0.7) !important;
    /*border-top-left-radius: 0.25em;
    border-top-right-radius: 0.25em; */
    border-radius: 0.25em;
    overflow: clip;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.mud-tab-active {
    color: rgba(var(--mud-palette-primary-rgb), 1) !important;
}

.mud-tabs-tabbar-primary .mud-tab.mud-tab-active {
    color: rgba(var(--mud-palette-primary-rgb), 1) !important;
}

.mud-tabs {
    /* border-bottom: solid 1px var(--mud-palette-tertiary); */
}

.mud-tabs-tabbar {
    background: linear-gradient(90deg, var(--mud-palette-tertiary), var(--mud-palette-surface));
}

.mud-appbar {
    background: linear-gradient(90deg, var(--mud-palette-appbar-background), var(--mud-palette-surface));
}

.icon-btn-sm {
    padding: 6px;
}

.mud-menu-activator > .mud-button {
    min-width: 64px;
    height: 32px;
    border-radius: 1.5rem;
}

.mud-button {
    height: 42px;
    min-width: 120px;
    border-radius: 1.5rem;
}

.mud-chip-content-light > .mud-chip-content {
    color: #00001A !important;
}

.context-item-active {
    border-right: solid 2px var(--mud-palette-primary);
    background-color: color-mix(in srgb, var(--mud-palette-primary) 20%, transparent 80%);
}

.siren-app-short-tabs {
    height: 64px;
    max-width: calc(100dvw - 24% - var(--mud-drawer-width-left));
}

    .siren-app-short-tabs > .mud-tabs-tabbar {
        height: 64px;
        align-content: center;
        border-bottom-left-radius: 5em;
        border-top-left-radius: 0;
        padding-left: 4em;
        border-bottom: solid 1px var(--mud-palette-tertiary);
    }


.siren-app-tabs {
    height: 64px;
    max-width: calc(100dvw - 20%);
}

    .siren-app-tabs > .mud-tabs-tabbar {
        height: 64px;
        align-content: center;
        border-bottom-left-radius: 5em;
        border-top-left-radius: 0;
        padding-left: 4em;
        border-bottom: solid 1px var(--mud-palette-tertiary);
    }

.mud-dialog {
    background: transparent;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid var(--mud-palette-primary);
    will-change: backdrop-filter;
    box-shadow: 1px 1px 6px 2px var(--mud-palette-secondary-hover);
}

.siren-dialog {
    display: none;
    backdrop-filter: blur(8px);
    will-change: backdrop-filter;
}

.collection-card {
    flex: 1 1 40%;
    max-width: 48%;
    box-shadow: 0 0 4px 2px transparent;

}

    .collection-card:hover {
        background-color: var(--mud-palette-tertiary-hover);
        box-shadow: 0 0 4px 2px var(--mud-palette-tertiary);
    }

.monaco-editor-container {
    min-height: 100px;
    height: 100%;
    width: 100%;
    padding: 1em;
}

.monaco-editor .lines-content,
.monaco-editor .view-line,
.monaco-editor .view-lines {
    -webkit-user-select: all!important;
    -ms-user-select: all;
    -khtml-user-select: all;
    -moz-user-select: all;
    -o-user-select: all;
    user-select: all!important;
}

.mud-icon-size-small {
    font-size: 1rem;
}

.collection-card-clickable:hover {
    cursor: pointer;
}

.collection-card:hover .hover-visible {
    display: flex !important;
}

.collection-detail-item:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.2);
    border-radius: 0.25em;
}

    .collection-detail-item:hover .hover-visible {
        display: flex !important;
    }

.hover-zone:hover .hover-visible {
    display: flex !important;
}

.hover-zone:hover .hover-visible-error {
    color: var(--mud-palette-error) !important;
}

.hover-error-zone:hover .hover-visible-error {
    color: var(--mud-palette-error) !important;
}

.hover-zone:hover .hover-visible-primary {
    color: var(--mud-palette-primary) !important;
}

.small-icon {
    font-size: 1em;
}

.scale-50 .mud-icon-root {
    scale: 0.5;
}

.scale-75 .mud-icon-root {
    scale: 0.75;
}

.http-request-group {
    box-shadow: 1px 0px 2px 1px var(--http-request-dropdown-color);
    border-radius: 4em;
    height: 45px;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.http-request-dropdown-outer {
    height: 45px;
    padding-bottom: 0.05em;
    overflow: clip;
    max-width: 150px;
    border-bottom-left-radius: 4em;
    border-top-left-radius: 4em;
    border-top: solid 1px var(--http-request-dropdown-color);
    border-left: solid 3px var(--http-request-dropdown-color);
    border-bottom: solid 1px var(--http-request-dropdown-color);
    top: -0.325em;
}

.http-request-dropdown {
    max-width: 150px;
    min-height: 2.813em;
    border-bottom-left-radius: 4em;
    border-top-left-radius: 4em;
}

    .http-request-dropdown .mud-input-control-input-container {
        background: var(--mud-palette-surface);
        padding-left: 1.5em;
        border-radius: 2em;
        width: 100%;
    }

        .http-request-dropdown .mud-input-control-input-container .mud-input .mud-input-slot {
            top: 0.25em;
        }

        .http-request-dropdown .mud-input-control-input-container .mud-input .mud-input-adornment {
            background-color: transparent;
            color: var(--http-request-dropdown-color);
            margin-top: 0.5em;
        }

.mud-input-control + .mud-input-required + .mud-select + .http-request-dropdown {
    background-color: transparent;
    padding-left: 0.25em;
    top: -0.15em;
}

.http-request-dropdown > .mud-input-control-input-container {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 2.813em;
}

.http-request-dropdown-outer .http-request-dropdown > .mud-input-control:hover {
    background-color: var(--http-request-dropdown-hover-bg);
}

.http-request-dropdown-outer .http-request-dropdown > .mud-input-control-input-container:hover {
    background-color: var(--http-request-dropdown-hover-bg);
}


.http-request-url-input .mud-input-control-input-container input {
}

.send-request-button {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 4em;
    border-bottom-right-radius: 4em;
    border: solid 0px transparent;
    height: 2.75em;
    background-color: var(--mud-palette-primary-hover);
    background: linear-gradient(90deg, var(--mud-palette-tertiary-hover) 0%, var(--mud-palette-primary-hover) 100%);
    border-bottom: solid 1px var(--http-request-dropdown-color);
}

    .send-request-button:hover {
        background: linear-gradient(90deg, 
            var(--mud-palette-primary) 0%, 
            var(--mud-palette-primary-darken) 100%);
        box-shadow: 1px 0 3px 1px var(--mud-palette-primary);
    }

.http-request-group:hover:not(:has(*:focus-within)):not(.http-request-dropdown-outer:has(:hover)) {
    box-shadow: 1px 0 6px 1px var(--http-request-dropdown-color);
}

.http-request-group:has(*:focus-within) {
    box-shadow: 0 0 0 2px var(--http-request-dropdown-color);
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

.http-request-group:not(:has(*:focus-within)) > .http-request-dropdown-outer:hover {
    background: linear-gradient(90deg, 
        var(--http-request-dropdown-color) 0%, 
        var(--http-request-dropdown-hover-bg) 50%,
        transparent 100%);
    box-shadow: 1px 0 3px 0px var(--http-request-dropdown-color);
}

.http-request-input > * > * > .mud-input-slot {
    padding: 0px !important;
}

.http-request-input:focus-within {
    background-color: transparent;
    box-shadow: none;
}

.mud-popover + .mud-theme-transparent {
    color: var(--mud-palette-dark-text) !important;
    background-color: var(--mud-palette-gray-darker) !important;
}

/*
    .mud-popover + .mud-theme-transparent + .mud-theme-error {
        background-color: rgba(var(--mud-palette-error-rgb), 0.1) !important;
        border: solid 1px var(--mud-palette-error);
        color: var(--mud-palette-error) !important;
    }
    */

.fluent-multi-splitter {
    /* Resize Icon colors */
    --neutral-stroke-strong-rest: var(--mud-palette-primary-lighten);
    --neutral-stroke-strong-hover: var(--mud-palette-primary-lighten);
    /* Bar colors */
    --neutral-stroke-rest: var(--mud-palette-primary-darken); /* var(--mud-palette-primary); */
    --neutral-stroke-hover: var(--mud-palette-primary);
    /* Bar size */
    --fluent-multi-splitter-bar-size: 10px !important;
    border-radius: 2em;
}

    .fluent-multi-splitter > .fluent-multi-splitter-bar:has([status="lastresizable"]) {
        opacity: 0.2;
    }

.fluent-multi-splitter-bar {
    border-radius: 2em;
}

    .fluent-multi-splitter-bar::before,
    .fluent-multi-splitter-bar::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 8px;
        height: 100%;
        background-color: var(--mud-palette-surface);
        pointer-events: none;
    }

    .fluent-multi-splitter-bar::before {
        left: 0;
    }

    .fluent-multi-splitter-bar::before {
        right: 0;
    }


.fluent-multi-splitter:has([orientation="vertical"]) > * > * > .fluent-multi-splitter-bar::before,
.fluent-multi-splitter:has([orientation="vertical"]) > * > * > .fluent-multi-splitter-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background-color: var(--mud-palette-surface);
    pointer-events: none;
}

.fluent-multi-splitter:has([orientation="vertical"]) > * > * > .fluent-multi-splitter-bar::before {
    left: 0;
}

.fluent-multi-splitter:has([orientation="vertical"]) > * > * > .fluent-multi-splitter-bar::after {
    right: 0;
}

.mw-80 {
    max-width: 80px !important;
}

.mud-drawer-content {
    flex-direction: row !important;
    border-right: solid 1px var(--mud-palette-tertiary);
}

button:focus {
    outline: none;
}

.mud-toggle-group > .mud-toggle-item {
    border-radius: 1em;
}

.app-context-panel {
    height: 100dvh;
    min-width: var(--mud-drawer-width-mini-left);
    max-width: var(--mud-drawer-width-mini-left);
    overflow: hidden;
    background: linear-gradient(360deg, var(--mud-palette-tertiary), var(--mud-palette-surface));
    border-right: solid 1px var(--mud-palette-tertiary);
    /*padding-right: 0.05em;*/
}

.mud-nav-item {
    max-width: var(--mud-drawer-width-mini-left);
}
.mud-toggle-group-horizontal:not(.mud-toggle-group-rtl)>.mud-toggle-item:not(:first-child).mud-toggle-item-delimiter, .mud-toggle-group-horizontal:not(.mud-toggle-group-rtl)>:not(:first-child) .mud-toggle-item.mud-toggle-item-delimiter {
    border-left: 0px;
}

.mud-snackbar {
    border: 1px solid var(--mud-palette-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mud-alert-outlined-success {
    background-color: rgba(var(--mud-palette-success-rgb), 0.5);
    border: 1px solid var(--mud-palette-success);
    box-shadow: 0px 0px 0.4em 0.1em var(--mud-palette-success);
}

.mud-alert-outlined-warning {
    background-color: rgba(var(--mud-palette-warning-rgb), 0.5);
    border: 1px solid var(--mud-palette-warning-rgb);
    box-shadow: 0px 0px 0.4em 0.1em var(--mud-palette-warning);
}

.mud-alert-outlined-info {
    background-color: rgba(var(--mud-palette-info-rgb), 0.5);
    border: 1px solid var(--mud-palette-info-rgb);
    box-shadow: 0px 0px 0.4em 0.1em var(--mud-palette-info);
}

.mud-alert-outlined-error {
    background-color: rgba(var(--mud-palette-error-rgb), 0.5);
    border: 1px solid var(--mud-palette-error);
    box-shadow: 0px 0px 0.4em 0.1em var(--mud-palette-error);
}

.toggle-icon {
    min-width: unset;
    max-height: 33px;
}

.toggle-inner {
    max-height: 24px;
    width: unset;
    max-width: 24px; 
    display: flex;
} 

.w-100 {
    width: 100%!important;
}

.h-100 {
    height: 100%!important;
}

.mud-tabs-tabbar-primary .mud-tab:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.25);
}

.mud-tabs-tabbar-primary .mud-tab.mud-tab-active:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.20);
}

.mud-icon-button {
    padding: 8px;
}

.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    cursor: ew-resize;
    z-index: 1;
}

.max-w-160 {
    max-width: 160px;
}

.mud-menu-sub-menu-activator {
    border-radius: 0.25rem;
}

.list-item-active {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.6);
}

/* ============================================
   Siren Metric Chips & Tooltip Styling
   ============================================ */

.siren-metric-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.siren-metric-chip--network {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 119, 182, 0.08) 100%);
    color: var(--mud-palette-info);
    border-color: rgba(0, 119, 182, 0.25);
}

.siren-metric-chip--network:hover {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.25) 0%, rgba(0, 119, 182, 0.15) 100%);
    border-color: rgba(0, 119, 182, 0.4);
}

.siren-metric-chip--timing {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(255, 152, 0, 0.08) 100%);
    color: var(--mud-palette-warning);
    border-color: rgba(255, 152, 0, 0.25);
}

.siren-metric-chip--timing:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.25) 0%, rgba(255, 152, 0, 0.15) 100%);
    border-color: rgba(255, 152, 0, 0.4);
}

.siren-metric-chip--size {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    color: var(--mud-palette-success);
    border-color: rgba(76, 175, 80, 0.25);
}

.siren-metric-chip--size:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(76, 175, 80, 0.15) 100%);
    border-color: rgba(76, 175, 80, 0.4);
}

/* Tooltip Panel Base Styles */
.siren-tooltip-panel {
    min-width: 280px;
    max-width: 340px;
    padding: 12px;
}

.siren-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mud-palette-text-primary);
}

.siren-tooltip-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.siren-tooltip-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.siren-tooltip-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.siren-tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.siren-tooltip-label {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    flex-shrink: 0;
}

.siren-tooltip-value {
    font-size: 12px;
    color: var(--mud-palette-text-primary);
    text-align: right;
}

.siren-tooltip-value--mono {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 11px;
}

.siren-tooltip-value--wrap {
    word-break: break-all;
    max-width: 180px;
}

.siren-tooltip-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.siren-tooltip-badge--success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.siren-tooltip-value--valid {
    color: #4caf50;
}

.siren-tooltip-value--expiring {
    color: #ff9800;
}

.siren-tooltip-value--expired {
    color: #f44336;
}

/* Timeline Tooltip Specific */
.siren-tooltip-panel--timeline {
    min-width: 300px;
}

.siren-timeline-chart {
    display: flex;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.siren-timeline-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: opacity 0.15s ease;
    position: relative;
}

.siren-timeline-segment::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
}

.siren-timeline-segment:hover {
    opacity: 0.85;
}

.siren-timeline-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.siren-timeline-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.siren-timeline-indicator {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.siren-timeline-label {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    flex: 1;
}

.siren-timeline-value {
    font-size: 12px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    color: var(--mud-palette-text-primary);
    text-align: right;
    min-width: 60px;
}

.siren-timeline-total {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.siren-timeline-total .siren-timeline-label {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    padding-left: 20px;
}

.siren-timeline-value--total {
    font-weight: 700;
    color: var(--mud-palette-warning);
}

.siren-timeline-empty {
    padding: 16px;
    text-align: center;
}

/* Size Tooltip Specific */
.siren-tooltip-panel--size {
    min-width: 240px;
}

.siren-size-section {
    padding: 0;
}

.siren-size-section--bordered {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.siren-size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.siren-size-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.siren-size-total {
    font-size: 14px;
    font-weight: 700;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    color: #4caf50;
}

.siren-size-total--request {
    color: var(--mud-palette-info);
}

.siren-size-bar-container {
    margin-bottom: 10px;
}

.siren-size-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.siren-size-bar-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.siren-size-bar-segment--body {
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
}

.siren-size-bar-segment--headers {
    background: linear-gradient(90deg, #81c784 0%, #a5d6a7 100%);
    opacity: 0.7;
}

.siren-size-bar-segment--request-body {
    background: linear-gradient(90deg, #2196f3 0%, #42a5f5 100%);
}

.siren-size-bar-segment--request-headers {
    background: linear-gradient(90deg, #64b5f6 0%, #90caf9 100%);
    opacity: 0.7;
}

.siren-size-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.siren-size-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.siren-size-indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.siren-size-indicator--body {
    background: #4caf50;
}

.siren-size-indicator--headers {
    background: #81c784;
}

.siren-size-indicator--request-body {
    background: #2196f3;
}

.siren-size-indicator--request-headers {
    background: #64b5f6;
}

.siren-size-label {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    flex: 1;
}

.siren-size-value {
    font-size: 11px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    color: var(--mud-palette-text-primary);
    text-align: right;
    min-width: 50px;
}

/* Status Code Chip Styles */
.siren-metric-chip--status-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.35);
    font-weight: 600;
}

.siren-metric-chip--status-success:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.18) 100%);
    border-color: rgba(76, 175, 80, 0.5);
}

.siren-metric-chip--status-redirect {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(33, 150, 243, 0.1) 100%);
    color: #2196f3;
    border-color: rgba(33, 150, 243, 0.35);
    font-weight: 600;
}

.siren-metric-chip--status-redirect:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0.18) 100%);
    border-color: rgba(33, 150, 243, 0.5);
}

.siren-metric-chip--status-client-error {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.1) 100%);
    color: #ff9800;
    border-color: rgba(255, 152, 0, 0.35);
    font-weight: 600;
}

.siren-metric-chip--status-client-error:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 152, 0, 0.18) 100%);
    border-color: rgba(255, 152, 0, 0.5);
}

.siren-metric-chip--status-server-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(244, 67, 54, 0.1) 100%);
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.35);
    font-weight: 600;
}

.siren-metric-chip--status-server-error:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3) 0%, rgba(244, 67, 54, 0.18) 100%);
    border-color: rgba(244, 67, 54, 0.5);
}

.siren-metric-chip--status-cancelled,
.siren-metric-chip--status-default {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.2) 0%, rgba(158, 158, 158, 0.1) 100%);
    color: #9e9e9e;
    border-color: rgba(158, 158, 158, 0.35);
    font-weight: 600;
}

.siren-metric-chip--status-cancelled:hover,
.siren-metric-chip--status-default:hover {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.3) 0%, rgba(158, 158, 158, 0.18) 100%);
    border-color: rgba(158, 158, 158, 0.5);
}

.siren-status-code {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Status Code Tooltip */
.siren-tooltip-panel--status {
    min-width: 180px;
    padding: 12px;
}

.siren-status-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.siren-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    font-weight: 700;
    min-width: 42px;
}

.siren-status-badge--success {
    background: rgba(76, 175, 80, 0.25);
    color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.siren-status-badge--redirect {
    background: rgba(33, 150, 243, 0.25);
    color: #2196f3;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

.siren-status-badge--client-error {
    background: rgba(255, 152, 0, 0.25);
    color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

.siren-status-badge--server-error {
    background: rgba(244, 67, 54, 0.25);
    color: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.3);
}

.siren-status-badge--cancelled,
.siren-status-badge--default {
    background: rgba(158, 158, 158, 0.25);
    color: #9e9e9e;
    box-shadow: 0 0 8px rgba(158, 158, 158, 0.2);
}

.siren-status-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.siren-status-category {
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}