.page-layout {
    position: relative;
    min-height: 100vh;
    padding: 0 32px 40px 32px !important;
    background: var(--color-bg);
    box-sizing: border-box;
}

.container-main {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-layout {
        padding: 40px 16px;
    }
}

.page-layout.layout-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* No padding allowed for perfect centering in 100dvh */
}

.page-layout.layout-center .container-main {
    margin: auto;
}.loader-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.loader-spinner {
    display: inline-block;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: loader-spin 0.6s linear infinite;
}

.loader-label {
    font-size: 10px;
    letter-spacing: 1px;
    background: linear-gradient(90deg,
            rgba(194, 194, 194, 0.3) 0%,
            rgba(218, 218, 218, 0.8) 50%,
            rgba(192, 192, 192, 0.3) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 0.32s linear infinite;
    font-weight: 700;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    to {
        background-position: -200% center;
    }
}.empty-state-container {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
}

.empty-icon {
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-message {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 700;
    white-space: nowrap;
}

.empty-action {
    margin-top: 24px;
}.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    height: 40px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 700;
}

.btn:hover:not(:disabled) {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.btn-sm {
    padding: 6px 12px;
    height: 30px;
    font-size: 10px;
}

.btn-lg {
    padding: 14px 32px;
    height: 52px;
    font-size: 14px;
}

.btn-primary {
    border-color: var(--color-text);
}

.btn-ghost {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-dim);
}

.btn-ghost:hover:not(:disabled) {
    background: var(--color-surface-soft);
    color: var(--color-text-primary);
    border-color: var(--color-border-hover);
}

.btn-link {
    background: transparent;
    border: none !important;
    padding: 0 !important;
    color: var(--color-text-dim);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
}

.btn-link:hover:not(:disabled) {
    color: var(--color-text-primary);
    background: transparent !important;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-icon-left,
.btn-icon-right {
    display: flex;
    align-items: center;
}.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-label {
    font-size: 10px;
    color: var(--color-text-dim);
    font-weight: 700;
}

.input-field-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-left,
.input-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-dim);
    display: flex;
    align-items: center;
    z-index: 1;
    transition: var(--transition-fast);
}

.input-icon-left {
    left: 14px;
    pointer-events: none;
}

.input-icon-right {
    right: 14px;
    cursor: pointer;
}

.input-icon-right:hover {
    color: var(--color-text-primary);
}

.input-field {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 10px 14px;
    height: 40px;
    width: 100%;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
    transition: var(--transition-fast);
}

.input-field.has-icon-left {
    padding-left: 42px;
}

.input-field.has-icon-right {
    padding-right: 42px;
}

/* Size Variants */
.size-sm .input-field {
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
}

.size-sm .input-field.has-icon-left {
    padding-left: 32px;
}

.size-sm .input-field.has-icon-right {
    padding-right: 32px;
}

.size-sm .input-icon-left {
    left: 10px;
}

.size-sm .input-icon-right {
    right: 10px;
}

.input-field:focus {
    border-color: var(--color-accent);
    outline: none;
    background: var(--color-surface-soft);
}

.input-field::placeholder {
    color: var(--color-text-dim);
    opacity: 0.5;
}.toast-container {
    position: fixed;
    top: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    width: auto;
    max-width: calc(100vw - 48px);
}

.toast-container.top-left {
    left: 24px;
    align-items: flex-start;
}

.toast-container.top-center {
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.toast-container.top-right {
    right: 24px;
    align-items: flex-end;
}

.toast-item {
    pointer-events: auto; /* Re-enable clicks for the toast itself */
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 20px;
    border-radius: var(--radius-md, 8px);
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary, #fff);
    min-width: 280px;
    max-width: 100%;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: normal;
    word-break: break-all;
}

/* Variants */
.toast-success { color: var(--color-success, #87f4b4); border-left: 3px solid var(--color-success, #87f4b4); }
.toast-error { color: var(--color-error, #ff9d9d); border-left: 3px solid var(--color-error, #ff9d9d); }
.toast-warning { color: var(--color-warning, #ffd479); border-left: 3px solid var(--color-warning, #ffd479); }
.toast-info { color: var(--color-accent, #79d2ff); border-left: 3px solid var(--color-accent, #79d2ff); }

/* Progress Bar (Optional highlight) */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: currentColor;
    opacity: 0.3;
}
.footer-main {
    position: absolute;
    bottom: var(--spacing-std);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: var(--color-text-dim);
    opacity: 0.8;
}

.discord-link {
    color: var(--color-text-dim);
    transition: var(--transition-fast);
    text-decoration: none;
    font-weight: 600;
}

.discord-link:hover {
    color: var(--color-accent);
    opacity: 1;
}.page-header {
    width: 100%;
    min-height: 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 24px 0 16px 0 !important;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: rgba(30, 30, 30, 0.25);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 64px;
}

.header-left-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.header-title-group h1 {
    font-size: 18px !important;
    letter-spacing: 2px;
    margin: 0;
}

.header-center-side {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 0 8px;
}

.header-right-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

@media (max-width: 600px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-center-side {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
    }

    .header-right-side {
        width: 100%;
        justify-content: flex-start;
    }
}.badge-ui {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.badge-default {
    background: var(--color-surface-soft);
    color: var(--color-text);
    border-color: var(--color-border);
}

.badge-primary {
    background: hsla(257, 100%, 83%, 0.089);
    /* Distinct Violet/Indigo */
    color: #a582ff;
    border-color: rgba(163, 127, 255, 0.199);
}

.badge-dim {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-dim);
    border-color: var(--color-border);
}

.badge-success {
    background: rgba(0, 255, 149, 0.1);
    color: var(--color-success);
    border-color: rgba(0, 255, 149, 0.2);
}

.badge-warning {
    background: rgba(255, 174, 0, 0.1);
    color: var(--color-warning);
    border-color: rgba(255, 174, 0, 0.2);
}

.badge-error {
    background: rgba(255, 68, 68, 0.1);
    color: var(--color-error);
    border-color: rgba(255, 68, 68, 0.2);
}

.badge-accent {
    background: rgba(0, 195, 255, 0.1);
    color: #4cd3ff;
    border-color: rgba(0, 195, 255, 0.2);
}

.pulsing {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}.blur-loader-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border-radius: inherit;
}

.blur-content {
    transition: filter var(--transition-fast), opacity var(--transition-fast);
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* No background to avoid 'square' effect */
    z-index: 100;
    border-radius: inherit;
    pointer-events: none;
}

.is-loading {
    pointer-events: none;
    user-select: none;
}
/* ===== ModuleCard: Single Source of Truth ===== */

.module-card {
    position: relative;
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0;
    /* padding lives in .module-content so BlurLoader overlay covers full area */
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.module-card:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-border-hover);
}

/* ---------- Content layout ---------- */

.module-content {
    padding: 24px;
    /* 20px from index.css */
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    /* 12px from index.css */
    height: 100%;
}

.module-icon-box {
    color: var(--color-accent);
    opacity: 0.7;
    margin-bottom: 4px;
}

.module-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
    letter-spacing: normal;
    color: var(--color-text-primary);
}

.module-info p {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin: 0;
}

.module-action {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    display: flex;
    justify-content: flex-end;
}

.action-link {
    font-size: 10px;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
}

.module-card:hover .action-link {
    color: var(--color-accent);
}

/* ---------- Loading ---------- */

.module-card.loading {
    cursor: default;
    pointer-events: none;
}

/* ---------- Restricted ---------- */

.module-card.restricted {
    background: #181818 !important;
    border-color: rgba(90, 90, 90, 0.25) !important;
    cursor: default;
}

.module-card.restricted .module-icon-box,
.module-card.restricted .module-info h3,
.module-card.restricted .module-info p,
.module-card.restricted .module-action {
    filter: grayscale(1) brightness(0.35);
}

.module-card.restricted:hover {
    background: #1b1b1b !important;
    border-color: rgba(197, 197, 197, 0.15) !important;
}.status-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 24px 0;
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.6;
    border-top: 1px solid var(--color-border);
    width: 100%;
}

.footer-left {
    text-transform: uppercase;
}

.footer-right {
    text-align: right;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .status-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}.scroll-shadow-host {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.scroll-shadow-content {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Fades */
.scroll-fade-top,
.scroll-fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

.scroll-fade-top {
    top: 0;
    background: linear-gradient(to bottom,
            var(--color-bg) 0%,
            transparent 100%);
}

.scroll-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top,
            var(--color-bg) 0%,
            transparent 100%);
}

/* Custom Scrollbar integration (optional, uses global variables if available) */
.scroll-shadow-content::-webkit-scrollbar {
    width: 8px;
}

.scroll-shadow-content::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-shadow-content::-webkit-scrollbar-thumb {
    background: var(--color-border, #333);
}.sidebar-header-ui {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-dim);
    letter-spacing: 0.5px;
    min-height: 40px;
    box-sizing: border-box;
}

.sidebar-header-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgba(var(--color-surface-rgb), var(--header-opacity, 0.45));
    backdrop-filter: blur(var(--blur-amount, 12px)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-amount, 12px)) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    pointer-events: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-main-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    opacity: 0.8;
}

.header-title {
    text-transform: uppercase;
}

.header-extra {
    display: flex;
    align-items: center;
}.ui-select-container {
    position: relative;
    min-width: 80px;
    user-select: none;
    flex: 1;
}

.ui-select-trigger {
    width: 100%;
    height: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-dim);
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 0;
}

.ui-select-trigger:hover,
.ui-select-trigger.open {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
    background: var(--color-surface-soft);
}

.ui-select-trigger.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-dim);
}

.trigger-content {
    position: relative;
    overflow: hidden;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.display-label {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.chevron-icon {
    display: flex;
    align-items: center;
    margin-left: 8px;
    opacity: 0.6;
}

.ui-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.options-list {
    padding: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.option-item {
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    padding-left: 14px;
}

.option-item.selected {
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    pointer-events: none;
}

/* Custom Scrollbar for dropdown */
.options-list::-webkit-scrollbar {
    width: 4px;
}

.options-list::-webkit-scrollbar-track {
    background: transparent;
}

.options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.options-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}.log-tooltip {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    background: #1a1a1a;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-width: 140px;
    backdrop-filter: blur(4px);
}

.tooltip-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 2px solid var(--color-accent);
    padding-left: 8px;
}

.tooltip-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tooltip-time {
    font-size: 0.75rem;
    color: var(--color-text-primary);
    font-weight: 600;
}.scroll-minimap {
    width: 14px;
    height: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    border-left: 1px solid var(--color-border);
    flex-shrink: 0;
    user-select: none;
    z-index: 100;
    cursor: pointer;
    transition: background 0.2s ease;
}

.scroll-minimap:hover {
    background: rgba(0, 0, 0, 0.4);
}

.minimap-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Current Viewport Indicator */
.minimap-viewport {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(var(--color-accent-rgb), 0.15);
    border-top: 1px solid rgba(var(--color-accent-rgb), 0.3);
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.3);
    pointer-events: none;
    /* Removed transiton for better feel during direct scroll */
}

/* Marker Ticks */
.minimap-marker {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    cursor: pointer;
    transition: transform 0.1s ease;
    border-radius: 1px;
    z-index: 5;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.minimap-marker:hover {
    transform: scaleX(1.4) scaleY(2);
    z-index: 10;
    filter: brightness(1.3);
}

/* Page Specific Overrides */
.viewer-body .scroll-minimap {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    overflow: hidden;
}.ui-tabs-nav {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
    margin: 0 auto;
    /* Centering */
}

.ui-tab-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--color-text-dim);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-tab-btn:hover {
    color: var(--color-text);
}

.ui-tab-btn.active {
    color: var(--color-accent);
}

.active-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    z-index: 1;
}

.tab-label {
    position: relative;
    z-index: 2;
}


@media (max-width: 600px) {
    .ui-tabs-nav {
        width: 100%;
        flex-direction: column;
    }

    .ui-tab-btn {
        width: 100%;
        text-align: center;
    }
}.modal-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.modal-window {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-title {
    font-size: 16px;
    margin: 0;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
}

.modal-body {
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Animations for scrollbar inside modal */
.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}.ui-shimmer {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    /* Use page background as base */
    min-height: 1em;
    width: 100%;

    /* Shared Shimmer Logic */
    background-attachment: fixed;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Horizontal Shimmer (Left to Right) */
.ui-shimmer.direction-horizontal {
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: uiShimmerRight 1.5s infinite linear;
}

/* Vertical Shimmer (Top to Bottom) */
.ui-shimmer.direction-vertical {
    background-image: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 100% 100vh;
    animation: uiShimmerDown 1.5s infinite linear;
}

@keyframes uiShimmerRight {
    from {
        background-position: -150% 0;
    }

    to {
        background-position: 150% 0;
    }
}

@keyframes uiShimmerDown {
    from {
        background-position: 0 -100vh;
    }

    to {
        background-position: 0 100vh;
    }
}.ui-accordion-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.accordion-item-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.accordion-header-wrapper {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.4s cubic-bezier(0.09, 0.57, 0, 1),
        border-color 0.4s cubic-bezier(0.09, 0.57, 0, 1);
}

.accordion-content-overflow {
    width: 100%;
}