:root {
    --itv-bg: #0b1220;
    --itv-bg-soft: #111827;
    --itv-surface: rgba(22, 32, 51, 0.84);
    --itv-surface-strong: #162033;
    --itv-border: rgba(255, 255, 255, 0.08);
    --itv-border-strong: rgba(56, 189, 248, 0.22);
    --itv-primary: #14b8a6;
    --itv-primary-strong: #0f766e;
    --itv-secondary: #38bdf8;
    --itv-warning: #f59e0b;
    --itv-danger: #ef4444;
    --itv-success: #22c55e;
    --itv-muted: #94a3b8;
    --itv-text: #f8fafc;
    --itv-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
    --itv-shadow-soft: 0 16px 36px rgba(2, 6, 23, 0.22);
    --itv-radius: 22px;
    --itv-radius-sm: 16px;
    --itv-transition-fast: 160ms ease;
    --itv-transition: 220ms ease;
    --itv-transition-slow: 320ms ease;
    --bs-body-bg: var(--itv-bg);
    --bs-body-color: var(--itv-text);
    --bs-border-color: var(--itv-border);
}

* {
    scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI Variable Text", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 24rem),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 20rem),
        linear-gradient(180deg, #09111f 0%, #0b1220 45%, #0f1726 100%);
    color: var(--itv-text);
}

a {
    color: var(--itv-secondary);
}

a:hover {
    color: #7dd3fc;
}

.itv-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 280px;
    min-width: 280px;
    height: 100vh;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(9, 17, 31, 0.98), rgba(15, 23, 38, 0.95)),
        rgba(11, 18, 32, 0.92);
    border-right: 1px solid var(--itv-border);
    box-shadow: var(--itv-shadow);
    z-index: 1041;
    transition: width var(--itv-transition-slow), min-width var(--itv-transition-slow), padding var(--itv-transition-slow), transform var(--itv-transition-slow);
}

body.itv-sidebar-collapsed .sidebar,
body.sidebar-collapsed .sidebar {
    width: 76px;
    min-width: 76px;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.sidebar-top,
.sidebar-bottom {
    position: relative;
    z-index: 2;
}

.sidebar-top {
    overflow-y: auto;
    padding-right: 0.2rem;
}

.sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent 30%, rgba(20, 184, 166, 0.06));
    pointer-events: none;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #03131a;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #38bdf8 0%, #14b8a6 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 18px 32px rgba(20, 184, 166, 0.28);
}

.sidebar .text-secondary,
.small.text-secondary {
    color: var(--itv-muted) !important;
}

.itv-sidebar-status {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.itv-sidebar-section-label {
    margin: 1.5rem 0 0.75rem;
    color: var(--itv-muted);
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.itv-nav-section {
    margin-top: 1rem;
}

.itv-nav-section:first-of-type {
    margin-top: 1.25rem;
}

.itv-nav-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.itv-nav-caret {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 1.5px solid var(--itv-muted);
    border-bottom: 1.5px solid var(--itv-muted);
    transform: rotate(45deg);
    transition: transform var(--itv-transition-fast);
    margin-right: 0.35rem;
}

.itv-nav-section.is-open .itv-nav-caret {
    transform: rotate(225deg);
}

.itv-nav-section-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height var(--itv-transition-slow), opacity var(--itv-transition-fast), margin-top var(--itv-transition-fast);
    margin-top: 0;
}

.itv-nav-section.is-open .itv-nav-section-body {
    max-height: 32rem;
    opacity: 1;
    margin-top: 0.55rem;
}

.sidebar .nav-link {
    min-height: 50px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #c7d2fe;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    transition: transform var(--itv-transition-fast), background var(--itv-transition), color var(--itv-transition), border-color var(--itv-transition), box-shadow var(--itv-transition);
    border: 1px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.22);
    transform: translateX(4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(15, 118, 110, 0.16);
}

.itv-nav-icon,
.itv-icon-button svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.itv-icon-button {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--itv-border);
    background: rgba(15, 23, 38, 0.68);
    color: var(--itv-text);
    transition: transform var(--itv-transition-fast), border-color var(--itv-transition), background var(--itv-transition);
}

.itv-icon-button:hover {
    transform: translateY(-2px);
    border-color: var(--itv-border-strong);
    background: rgba(20, 184, 166, 0.12);
}

.itv-sidebar-toggle {
    min-width: 52px;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--itv-transition);
    z-index: 1040;
}

.content-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--itv-border);
    background: rgba(9, 17, 31, 0.72);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.itv-topbar {
    min-height: 72px;
}

.itv-topbar-left,
.itv-topbar-center,
.itv-topbar-right {
    display: flex;
    align-items: center;
}

.itv-topbar-center {
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.itv-topbar-right {
    justify-content: flex-end;
}

.itv-page-eyebrow {
    color: var(--itv-secondary);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.25rem;
}

.content-area {
    position: relative;
    flex: 1;
    padding: 1.5rem;
    overflow: hidden;
}

.itv-content-stack {
    position: relative;
    z-index: 1;
}

.itv-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    opacity: 0.16;
    animation: itvDrift 18s ease-in-out infinite;
    pointer-events: none;
}

.itv-bg-orb-a {
    top: 2rem;
    right: 8%;
    width: 18rem;
    height: 18rem;
    background: rgba(20, 184, 166, 0.5);
}

.itv-bg-orb-b {
    bottom: 5rem;
    left: 6%;
    width: 14rem;
    height: 14rem;
    background: rgba(56, 189, 248, 0.42);
    animation-duration: 22s;
}

.topbar-search,
.branch-switcher,
.form-control,
.form-select {
    border-radius: 14px;
    border-color: var(--itv-border);
    background: rgba(15, 23, 38, 0.72);
    color: var(--itv-text);
    box-shadow: none;
}

.form-control::placeholder {
    color: #7b8aa1;
}

.itv-branch-select {
    min-width: 220px;
    max-width: 280px;
}

.itv-global-search {
    min-width: 240px;
    max-width: 320px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.14);
    background: rgba(15, 23, 38, 0.9);
    color: var(--itv-text);
}

.form-check-input {
    background-color: rgba(15, 23, 38, 0.9);
    border-color: var(--itv-border);
}

.form-check-input:checked {
    background-color: var(--itv-primary);
    border-color: var(--itv-primary);
}

.form-label,
.dropdown-item-text,
.dropdown-item,
.modal-title {
    color: var(--itv-text);
}

.dropdown-menu,
.modal-content,
.card,
.alert,
.list-group-item,
.offcanvas,
.itv-card,
.itv-filter-card,
.itv-readiness-card {
    background: var(--itv-surface);
    border: 1px solid var(--itv-border) !important;
    box-shadow: var(--itv-shadow-soft);
    backdrop-filter: blur(18px);
}

.card,
.modal-content,
.alert,
.dropdown-menu,
.itv-card,
.itv-empty-state,
.itv-warning-box,
.itv-info-box {
    border-radius: var(--itv-radius);
}

.modal-content {
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border-color: var(--itv-border);
    background: rgba(255, 255, 255, 0.02);
}

.modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.modal-form-shell .modal-body {
    padding-bottom: 1.5rem;
}

.modal-field-grid > div,
.itv-modal-grid > div {
    animation: itvFadeIn 260ms ease both;
}

.table {
    --bs-table-color: var(--itv-text);
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-bg: rgba(20, 184, 166, 0.08);
    --bs-table-border-color: var(--itv-border);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.95rem 1rem;
}

.table thead.table-light th,
.table-light th {
    background: rgba(148, 163, 184, 0.08) !important;
    color: #dbeafe;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
    border-bottom: 1px solid var(--itv-border);
}

.table tbody tr {
    transition: transform var(--itv-transition-fast), background var(--itv-transition);
}

.table tbody tr:hover {
    transform: translateY(-1px);
}

.list-group-item {
    color: var(--itv-text);
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.list-group-item:last-child {
    border-bottom: 0;
}

.btn {
    border-radius: 14px;
    transition: transform var(--itv-transition-fast), box-shadow var(--itv-transition), background var(--itv-transition), border-color var(--itv-transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.itv-action-button {
    background: linear-gradient(135deg, var(--itv-primary) 0%, var(--itv-primary-strong) 100%);
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(20, 184, 166, 0.22);
}

.btn-outline-primary {
    color: #8be9de;
    border-color: rgba(20, 184, 166, 0.28);
}

.btn-outline-primary:hover {
    background: rgba(20, 184, 166, 0.14);
    color: #dffdf8;
    border-color: rgba(20, 184, 166, 0.42);
}

.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-info {
    border-color: var(--itv-border);
    color: var(--itv-text);
}

.badge {
    border-radius: 999px;
    padding: 0.48rem 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.text-bg-success,
.itv-status-badge.is-success {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #86efac !important;
}

.text-bg-danger,
.itv-status-badge.is-danger {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #fca5a5 !important;
}

.text-bg-warning,
.itv-status-badge.is-warning {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fcd34d !important;
}

.text-bg-secondary,
.text-bg-dark,
.itv-status-badge.is-muted {
    background: rgba(148, 163, 184, 0.14) !important;
    color: #cbd5e1 !important;
}

.text-bg-info,
.text-bg-primary,
.text-bg-light,
.itv-status-badge.is-info {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #7dd3fc !important;
}

.branch-badge,
.itv-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--itv-border);
    color: var(--itv-text);
    background: rgba(15, 23, 38, 0.6);
}

.itv-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.itv-readiness-pill {
    font-size: 0.82rem;
}

.itv-status-pill.is-ready {
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
    --itv-pill-dot: #22c55e;
    --itv-pill-shadow: rgba(34, 197, 94, 0.38);
}

.itv-status-pill.is-warning {
    border-color: rgba(245, 158, 11, 0.3);
    color: #fcd34d;
    --itv-pill-dot: #f59e0b;
    --itv-pill-shadow: rgba(245, 158, 11, 0.38);
}

.itv-status-pill.is-info {
    border-color: rgba(56, 189, 248, 0.28);
    color: #7dd3fc;
    --itv-pill-dot: #38bdf8;
    --itv-pill-shadow: rgba(56, 189, 248, 0.38);
}

.itv-status-pill.is-danger {
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    --itv-pill-dot: #ef4444;
    --itv-pill-shadow: rgba(239, 68, 68, 0.38);
}

.itv-pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--itv-pill-dot, currentColor);
    box-shadow: 0 0 0 0 var(--itv-pill-shadow, rgba(255, 255, 255, 0.35));
    animation: itvPulse 2s infinite;
}

.itv-page-header,
.itv-filter-card,
.itv-card,
.itv-empty-state,
.itv-warning-box,
.itv-info-box,
.itv-readiness-card {
    position: relative;
}

.itv-page-header {
    margin-bottom: 1.5rem;
}

.itv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.itv-kpi-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.itv-stat-card,
.itv-readiness-card {
    padding: 1.15rem;
    border-radius: var(--itv-radius);
    border: 1px solid var(--itv-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 23, 38, 0.5));
    box-shadow: var(--itv-shadow-soft);
}

.itv-stat-card .display-6,
.itv-counter {
    font-weight: 700;
    color: var(--itv-text);
}

.itv-card-hover,
.itv-stat-card,
.itv-filter-card,
.itv-empty-state,
.card {
    transition: transform var(--itv-transition), box-shadow var(--itv-transition), border-color var(--itv-transition);
}

.itv-card-hover:hover,
.itv-stat-card:hover,
.itv-filter-card:hover,
.itv-empty-state:hover,
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--itv-shadow);
    border-color: rgba(56, 189, 248, 0.16) !important;
}

.itv-glow-ready {
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12), 0 0 24px rgba(34, 197, 94, 0.16);
}

.itv-glow-warning {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12), 0 0 24px rgba(245, 158, 11, 0.14);
}

.itv-glow-danger {
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.14), 0 0 24px rgba(239, 68, 68, 0.16);
}

.itv-empty-state {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.06), rgba(15, 23, 38, 0.48));
}

.itv-warning-box,
.itv-info-box {
    padding: 1rem 1.15rem;
    background: rgba(15, 23, 38, 0.55);
    border: 1px solid var(--itv-border);
}

.itv-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.itv-timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.3), rgba(20, 184, 166, 0.18));
}

.itv-timeline-item {
    position: relative;
    padding-left: 1.5rem;
}

.itv-timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--itv-secondary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--itv-border);
    background: rgba(9, 17, 31, 0.6);
}

.itv-user-menu .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.itv-avatar {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    color: #03131a;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8 0%, #14b8a6 100%);
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 35%),
        linear-gradient(180deg, #07111f 0%, #0b1220 100%);
}

.login-card {
    border-radius: 28px;
}

.modal-form-section {
    display: none;
}

.modal-form-section.is-active {
    display: block;
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 2rem);
}

.modal-form-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: inherit;
}

.itv-fade-in {
    animation: itvFadeIn 240ms ease both;
}

.itv-slide-up {
    animation: itvSlideUp 320ms ease both;
}

.itv-scale-hover:hover {
    transform: scale(1.015);
}

.itv-skeleton {
    position: relative;
    overflow: hidden;
    min-height: 6rem;
    background: rgba(148, 163, 184, 0.1);
}

.itv-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: itvShimmer 1.4s infinite;
}

body.itv-sidebar-collapsed .sidebar .nav-link span:last-child,
body.itv-sidebar-collapsed .sidebar .brand-block > div:last-child,
body.itv-sidebar-collapsed .sidebar .itv-sidebar-status,
body.itv-sidebar-collapsed .sidebar .itv-sidebar-section-label,
body.itv-sidebar-collapsed .sidebar .itv-nav-caret,
body.itv-sidebar-collapsed .sidebar-bottom .itv-info-box,
body.sidebar-collapsed .sidebar .nav-link span:last-child,
body.sidebar-collapsed .sidebar .brand-block > div:last-child,
body.sidebar-collapsed .sidebar .itv-sidebar-status,
body.sidebar-collapsed .sidebar .itv-sidebar-section-label,
body.sidebar-collapsed .sidebar .itv-nav-caret,
body.sidebar-collapsed .sidebar-bottom .itv-info-box,
body.sidebar-collapsed .sidebar-bottom .btn {
    display: none;
}

body.itv-sidebar-collapsed .sidebar .brand-block,
body.sidebar-collapsed .sidebar .brand-block {
    justify-content: center;
}

body.itv-sidebar-collapsed .sidebar .nav-link,
body.sidebar-collapsed .sidebar .nav-link {
    justify-content: center;
    padding: 0.72rem 0.55rem;
    min-height: 46px;
}

body.itv-sidebar-collapsed .sidebar .itv-nav-section-toggle,
body.sidebar-collapsed .sidebar .itv-nav-section-toggle {
    justify-content: center;
}

body.itv-sidebar-collapsed .sidebar .itv-nav-section-body,
body.sidebar-collapsed .sidebar .itv-nav-section-body {
    max-height: none;
    opacity: 1;
    margin-top: 0.25rem;
}

body.itv-sidebar-collapsed .sidebar .itv-nav-section,
body.sidebar-collapsed .sidebar .itv-nav-section {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.itv-sidebar-collapsed .sidebar .itv-nav-section:first-of-type,
body.sidebar-collapsed .sidebar .itv-nav-section:first-of-type {
    border-top: 0;
    margin-top: 0.8rem;
    padding-top: 0;
}

body.itv-sidebar-collapsed .sidebar .brand-mark,
body.sidebar-collapsed .sidebar .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

body.itv-sidebar-collapsed .sidebar-bottom .nav-link,
body.sidebar-collapsed .sidebar-bottom .nav-link {
    width: 100%;
}

@keyframes itvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes itvSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes itvPulse {
    0% { box-shadow: 0 0 0 0 var(--itv-pill-shadow, rgba(255, 255, 255, 0.35)); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes itvDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(10px, -18px, 0) scale(1.04); }
}

@keyframes itvShimmer {
    100% { transform: translateX(100%); }
}

@media (max-width: 1199.98px) {
    .sidebar {
        position: fixed;
        left: 0;
        transform: translateX(-100%);
        transition: transform var(--itv-transition-slow);
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-open .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    .itv-topbar {
        flex-wrap: wrap;
    }

    .itv-topbar-center {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .itv-branch-select,
    .itv-global-search {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .content-area,
    .topbar,
    .footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .table > :not(caption) > * > * {
        padding: 0.8rem 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    body,
    .print-layout {
        background: #fff !important;
        color: #000 !important;
    }

    .app-shell,
    .itv-shell,
    .content-wrap,
    .content-area {
        display: block;
        padding: 0;
    }

    .sidebar,
    .topbar,
    .footer,
    .btn,
    .d-print-none,
    .sidebar-overlay,
    .itv-bg-orb {
        display: none !important;
    }

    .card,
    .alert,
    .table,
    .list-group-item {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border-color: #cbd5e1 !important;
    }

    .badge {
        color: #000 !important;
        background: #fff !important;
        border: 1px solid #94a3b8 !important;
    }
}
