:root {
    --st-primary: #2563eb;
    --st-primary-soft: #dbeafe;
    --st-surface: #ffffff;
    --st-border: #dbe4f1;
    --st-text: #0f172a;
    --st-muted: #64748b;
    --st-sidebar-bg: #f8fbff;
    --st-sidebar-border: #dbe4f1;
    --st-sidebar-item: #334155;
    --st-sidebar-item-hover: #edf4ff;
    --st-sidebar-active-bg: #2563eb;
    --st-sidebar-active-item: #ffffff;
    --st-all-applications-panel-width: 28rem;
}

body {
    background:
        radial-gradient(circle at 6% 12%, rgba(37, 99, 235, 0.08) 0%, transparent 32%),
        radial-gradient(circle at 90% 84%, rgba(56, 189, 248, 0.08) 0%, transparent 36%),
        linear-gradient(160deg, #f8fbff 0%, #eff5ff 42%, #f8fafc 100%) !important;
    background-attachment: fixed;
    color: var(--st-text);
    font-family: "Poppins", sans-serif !important;
}

.fi-simple-main {
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px -34px rgba(15, 23, 42, 0.42) !important;
}

.fi-topbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
    backdrop-filter: blur(12px);
    /* Keep topbar dropdown anchors from being clipped by overflow clipping rules. */
    overflow: visible !important;
}

/* Ensure floating dropdowns (including profile menu) render above the sticky topbar layer. */
.fi-dropdown-panel {
    z-index: 40 !important;
}

.fi-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.96) 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 10px 0 30px -22px rgba(15, 23, 42, 0.35);
}

.fi-sidebar-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.st-sidebar-search-wrapper {
    margin-top: -0.25rem;
    margin-bottom: -0.25rem;
}

.st-sidebar-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.st-sidebar-search-icon {
    position: absolute;
    left: 0.75rem;
    color: #64748b;
    pointer-events: none;
}

.st-sidebar-search-input {
    width: 100%;
    padding-left: 2.15rem !important;
    padding-right: 2rem !important;
    font-size: 0.85rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
}

.st-sidebar-search-clear {
    position: absolute;
    right: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border-radius: 9999px;
    padding: 0.2rem;
}

.st-sidebar-search-clear:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #334155;
}

.st-sidebar-search-empty {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    color: #64748b;
}

.st-hidden-by-search {
    display: none !important;
}

.fi-sidebar-group-items.st-force-expanded {
    display: flex !important;
}

.fi-sidebar-group-label {
    color: var(--st-muted) !important;
    font-size: 0.69rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

.fi-sidebar-item-button {
    border-radius: 12px !important;
    color: #334155 !important;
    transition: all 0.2s ease-in-out;
}

.fi-sidebar-item .fi-sidebar-item-button:hover {
    background: #edf4ff !important;
    color: #1d4ed8 !important;
    transform: translateX(1px);
}

.fi-sidebar-item.fi-active .fi-sidebar-item-button,
.fi-sidebar-item.fi-sidebar-item-active .fi-sidebar-item-button {
    background: linear-gradient(130deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 12px 24px -14px rgba(37, 99, 235, 0.85);
}

.fi-sidebar-item.fi-active .fi-sidebar-item-label,
.fi-sidebar-item.fi-active .fi-sidebar-item-icon,
.fi-sidebar-item.fi-sidebar-item-active .fi-sidebar-item-label,
.fi-sidebar-item.fi-sidebar-item-active .fi-sidebar-item-icon {
    color: #ffffff !important;
}

.st-all-applications-wrapper {
    border-top: 1px solid var(--st-sidebar-border);
    margin-top: 0;
    padding: 0.85rem 1.5rem 1rem;
}

.st-all-applications-trigger {
    align-items: center;
    border-radius: 0.65rem;
    color: var(--st-sidebar-item);
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0.7rem;
    transition: background-color 0.16s ease, color 0.16s ease;
    width: 100%;
}

.st-all-applications-trigger:hover {
    background: var(--st-sidebar-item-hover);
    color: #334155;
}

.st-all-applications-trigger-label {
    font-size: 0.98rem;
    font-weight: 500;
}

.st-all-applications-trigger-icon {
    color: #667085;
}

.st-all-applications-overlay {
    inset: 0;
    position: fixed;
    z-index: 80;
}

.st-all-applications-backdrop {
    background: rgba(15, 23, 42, 0.72);
    border: none;
    bottom: 0;
    left: var(--sidebar-width);
    position: fixed;
    right: 0;
    top: 0;
}

.st-all-applications-panel {
    background: #f6f8fb;
    border-right: 1px solid var(--st-sidebar-border);
    bottom: 0;
    box-shadow: 16px 0 36px -24px rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    left: var(--sidebar-width);
    max-width: calc(100vw - var(--sidebar-width));
    position: fixed;
    top: 0;
    width: min(var(--st-all-applications-panel-width), calc(100vw - var(--sidebar-width)));
}

.st-all-applications-header {
    align-items: center;
    border-bottom: 1px solid var(--st-sidebar-border);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 4rem;
    padding: 0 1.2rem;
}

.st-all-applications-title {
    color: #111827;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.st-all-applications-close {
    align-items: center;
    border-radius: 0.55rem;
    color: #64748b;
    display: inline-flex;
    justify-content: center;
    padding: 0.25rem;
}

.st-all-applications-close:hover {
    background: #e8edf5;
    color: #334155;
}

.st-all-applications-search {
    align-items: center;
    display: flex;
    margin: 0.95rem 1.2rem 1rem;
    position: relative;
}

.st-all-applications-search-icon {
    color: #7b8799;
    left: 0.95rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.st-all-applications-search-input {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
    border: 1px solid #d7dce4;
    border-radius: 0.7rem;
    color: #45566f;
    font-size: 0.9rem;
    min-height: 2.9rem;
    padding: 0 0.95rem 0 2.9rem !important;
    width: 100%;
}

.st-all-applications-search-input::-webkit-search-decoration,
.st-all-applications-search-input::-webkit-search-cancel-button,
.st-all-applications-search-input::-webkit-search-results-button,
.st-all-applications-search-input::-webkit-search-results-decoration {
    display: none;
}

.st-all-applications-search-input::placeholder {
    color: #64748b;
}

.st-all-applications-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
    outline: none;
}

.st-all-applications-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.2rem 1.2rem;
}

.st-all-applications-section + .st-all-applications-section {
    margin-top: 1rem;
}

.st-all-applications-section-title {
    color: #111827;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.52rem;
    text-transform: uppercase;
}

.st-all-applications-section-items {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.st-all-applications-item {
    align-items: center;
    border-radius: 0.6rem;
    color: #475569;
    display: flex;
    gap: 0.72rem;
    min-height: 2.55rem;
    padding: 0.4rem 0.62rem;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.st-all-applications-item:hover {
    background: #edf2f8;
    color: #334155;
}

.st-all-applications-item-active {
    background: var(--st-sidebar-active-bg);
    box-shadow: inset 0 0 0 1px #d2dae8;
    color: var(--st-sidebar-active-item);
}

.st-all-applications-item-icon {
    align-items: center;
    color: #667085;
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    width: 1.25rem;
}

.st-all-applications-item-icon svg {
    height: 1.15rem;
    width: 1.15rem;
}

.st-all-applications-item-icon-empty::before {
    background: #94a3b8;
    border-radius: 9999px;
    content: '';
    display: block;
    height: 0.34rem;
    width: 0.34rem;
}

.st-all-applications-item-label {
    font-size: 0.98rem;
    font-weight: 500;
}

.st-all-applications-empty {
    color: #64748b;
    font-size: 0.84rem;
    margin: 0 1.2rem 1.2rem;
}

body.st-all-applications-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .st-all-applications-backdrop {
        left: 0;
    }

    .st-all-applications-panel {
        left: 0;
        max-width: 100vw;
        width: min(var(--st-all-applications-panel-width), 100vw);
    }
}

.st-workflow-wizard-wrapper {
    border-top: 1px solid var(--st-sidebar-border);
    margin-top: 0;
    padding: 0.75rem 1.5rem;
}

.st-workflow-wizard-trigger {
    align-items: flex-start;
    border-radius: 0.75rem;
    color: var(--st-sidebar-item);
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    transition: background-color 0.16s ease, color 0.16s ease;
    width: 100%;
}

.st-workflow-wizard-trigger:hover {
    background: var(--st-sidebar-item-hover);
    color: #1e40af;
}

.st-workflow-wizard-trigger-icon {
    color: #4f46e5;
    margin-top: 0.05rem;
}

.st-workflow-wizard-trigger-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
    text-align: left;
}

.st-workflow-wizard-trigger-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25rem;
}

.st-workflow-wizard-trigger-caption {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1rem;
}

.st-workflow-overlay {
    inset: 0;
    position: fixed;
    z-index: 82;
}

.st-workflow-backdrop {
    background: rgba(15, 23, 42, 0.72);
    border: none;
    bottom: 0;
    left: var(--sidebar-width);
    position: fixed;
    right: 0;
    top: 0;
}

.st-workflow-panel {
    background: #f8faff;
    border-right: 1px solid var(--st-sidebar-border);
    bottom: 0;
    box-shadow: 16px 0 36px -24px rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    left: var(--sidebar-width);
    max-width: calc(100vw - var(--sidebar-width));
    position: fixed;
    top: 0;
    width: min(32rem, calc(100vw - var(--sidebar-width)));
}

.st-workflow-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--st-sidebar-border);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1rem 1.2rem;
}

.st-workflow-title {
    color: #111827;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.st-workflow-subtitle {
    color: #64748b;
    font-size: 0.79rem;
    margin-top: 0.25rem;
}

.st-workflow-close {
    align-items: center;
    border-radius: 0.55rem;
    color: #64748b;
    display: inline-flex;
    justify-content: center;
    padding: 0.25rem;
}

.st-workflow-close:hover {
    background: #e8edf5;
    color: #334155;
}

.st-workflow-controls {
    border-bottom: 1px solid #dbe4f1;
    padding: 0.9rem 1.2rem 1rem;
}

.st-workflow-select-label {
    color: #475569;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.st-workflow-select-row {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.st-workflow-select-wrap {
    flex: 1;
    position: relative;
}

.st-workflow-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-image: none !important;
    background-repeat: no-repeat !important;
    border: 1px solid #d7dce4;
    border-radius: 0.65rem;
    color: #0f172a;
    cursor: pointer;
    display: block;
    font-size: 0.84rem;
    min-height: 2.5rem;
    padding: 0 2.3rem 0 0.75rem;
    width: 100%;
}

.st-workflow-select::-ms-expand {
    display: none;
}

.st-workflow-select-chevron {
    color: #64748b;
    pointer-events: none;
    position: absolute;
    right: 0.78rem;
    top: 50%;
    transform: translateY(-50%);
}

.st-workflow-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
    outline: none;
}

.st-workflow-reset {
    border: 1px solid #d7dce4;
    border-radius: 0.55rem;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    min-height: 2.5rem;
    padding: 0 0.8rem;
}

.st-workflow-reset:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.st-workflow-flow-description {
    color: #475569;
    font-size: 0.78rem;
    margin-top: 0.7rem;
}

.st-workflow-progress {
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.st-workflow-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.6rem;
    overflow-y: auto;
    padding: 1rem 1.2rem;
}

.st-workflow-step {
    background: #ffffff;
    border: 1px solid #dbe4f1;
    border-radius: 0.9rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.78rem 0.82rem;
}

.st-workflow-step-current {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.st-workflow-step-completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.st-workflow-step-order {
    align-items: center;
    background: #dbeafe;
    border-radius: 9999px;
    color: #1d4ed8;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    height: 1.5rem;
    justify-content: center;
    margin-top: 0.1rem;
    width: 1.5rem;
}

.st-workflow-step-completed .st-workflow-step-order {
    background: #22c55e;
    color: #ffffff;
}

.st-workflow-step-body {
    min-width: 0;
}

.st-workflow-step-title {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 650;
}

.st-workflow-step-description {
    color: #64748b;
    font-size: 0.77rem;
    line-height: 1.1rem;
    margin-top: 0.28rem;
}

.st-workflow-step-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.58rem;
}

.st-workflow-step-link,
.st-workflow-step-toggle {
    align-items: center;
    border: 1px solid #d7dce4;
    border-radius: 0.55rem;
    color: #334155;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0 0.62rem;
}

.st-workflow-step-link:hover,
.st-workflow-step-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.st-workflow-empty {
    color: #64748b;
    font-size: 0.84rem;
    margin: 1rem 1.2rem;
}

.st-workflow-footer {
    border-top: 1px solid #dbe4f1;
    padding: 0.95rem 1.2rem;
}

.st-workflow-next {
    align-items: center;
    background: linear-gradient(130deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 0.7rem;
    box-shadow: 0 12px 22px -14px rgba(37, 99, 235, 0.85);
    color: #ffffff;
    display: flex;
    font-size: 0.83rem;
    font-weight: 650;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.4rem 0.8rem;
}

.st-workflow-next:hover {
    filter: brightness(1.04);
}

body.st-workflow-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .st-workflow-backdrop {
        left: 0;
    }

    .st-workflow-panel {
        left: 0;
        max-width: 100vw;
        width: min(32rem, 100vw);
    }
}

.fi-ta-content,
.fi-fo-component {
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 22px 40px -30px rgba(15, 23, 42, 0.36) !important;
}

.fi-btn-color-primary {
    background: linear-gradient(130deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: none !important;
    box-shadow: 0 12px 22px -14px rgba(37, 99, 235, 0.85) !important;
}

.fi-btn-color-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.fi-input,
.fi-select-input {
    border-radius: 10px !important;
    border-color: #cbd5e1 !important;
}

.fi-input:focus,
.fi-select-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16) !important;
}

.dark body {
    background:
        radial-gradient(circle at 6% 12%, rgba(37, 99, 235, 0.14) 0%, transparent 32%),
        radial-gradient(circle at 90% 84%, rgba(56, 189, 248, 0.1) 0%, transparent 36%),
        linear-gradient(160deg, #0f172a 0%, #111827 48%, #0b1220 100%) !important;
}

.dark .fi-sidebar {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.93) 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.18) !important;
}

.dark .st-all-applications-wrapper {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.dark .st-all-applications-trigger {
    color: #d1d5db;
}

.dark .st-all-applications-trigger-icon {
    color: #9ca3af;
}

.dark .st-all-applications-trigger:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #f1f5f9;
}

.dark .st-all-applications-backdrop {
    background: rgba(2, 6, 23, 0.78);
}

.dark .st-all-applications-panel {
    background: #0f172a;
    border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.dark .st-all-applications-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.dark .st-all-applications-title {
    color: #e5e7eb;
}

.dark .st-all-applications-close {
    color: #94a3b8;
}

.dark .st-all-applications-close:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.dark .st-all-applications-search-input {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(148, 163, 184, 0.38);
    color: #e5e7eb;
}

.dark .st-all-applications-search-input::placeholder,
.dark .st-all-applications-search-icon {
    color: #94a3b8;
}

.dark .st-all-applications-search-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.dark .st-all-applications-section-title {
    color: #e5e7eb;
}

.dark .st-all-applications-item {
    color: #d1d5db;
}

.dark .st-all-applications-item:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #f1f5f9;
}

.dark .st-all-applications-item-active {
    background: rgba(148, 163, 184, 0.24);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.34);
    color: #f8fafc;
}

.dark .st-all-applications-item-icon {
    color: #9ca3af;
}

.dark .st-all-applications-item-icon-empty::before {
    background: #94a3b8;
}

.dark .st-all-applications-empty {
    color: #94a3b8;
}

.dark .st-workflow-wizard-wrapper {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.dark .st-workflow-wizard-trigger {
    color: #d1d5db;
}

.dark .st-workflow-wizard-trigger-icon {
    color: #a5b4fc;
}

.dark .st-workflow-wizard-trigger-caption {
    color: #94a3b8;
}

.dark .st-workflow-wizard-trigger:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #f1f5f9;
}

.dark .st-workflow-backdrop {
    background: rgba(2, 6, 23, 0.78);
}

.dark .st-workflow-panel {
    background: #0f172a;
    border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.dark .st-workflow-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.dark .st-workflow-title {
    color: #e5e7eb;
}

.dark .st-workflow-subtitle {
    color: #94a3b8;
}

.dark .st-workflow-close {
    color: #94a3b8;
}

.dark .st-workflow-close:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.dark .st-workflow-controls {
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.dark .st-workflow-select-label,
.dark .st-workflow-flow-description {
    color: #cbd5e1;
}

.dark .st-workflow-progress {
    color: #93c5fd;
}

.dark .st-workflow-select,
.dark .st-workflow-reset,
.dark .st-workflow-step {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(148, 163, 184, 0.38);
    color: #e5e7eb;
}

.dark .st-workflow-select-chevron {
    color: #94a3b8;
}

.dark .st-workflow-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.dark .st-workflow-reset:hover,
.dark .st-workflow-step-link:hover,
.dark .st-workflow-step-toggle:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #f1f5f9;
}

.dark .st-workflow-step-title {
    color: #e5e7eb;
}

.dark .st-workflow-step-description {
    color: #94a3b8;
}

.dark .st-workflow-step-order {
    background: rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
}

.dark .st-workflow-step-completed {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(74, 222, 128, 0.36);
}

.dark .st-workflow-step-completed .st-workflow-step-order {
    background: #16a34a;
    color: #f8fafc;
}

.dark .st-workflow-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.dark .st-workflow-empty {
    color: #94a3b8;
}

.dark .st-sidebar-search-input {
    background: rgba(15, 23, 42, 0.65) !important;
    border-color: rgba(148, 163, 184, 0.36) !important;
    color: #e2e8f0 !important;
}

.dark .st-sidebar-search-input::placeholder {
    color: #94a3b8 !important;
}

.dark .st-sidebar-search-icon,
.dark .st-sidebar-search-clear,
.dark .st-sidebar-search-empty {
    color: #94a3b8;
}

.dark .st-sidebar-search-clear:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.dark .fi-topbar {
    background: rgba(15, 23, 42, 0.86) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.st-global-loading-overlay {
    align-items: center;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    display: none;
    inset: 0;
    justify-content: center;
    pointer-events: all;
    position: fixed;
    z-index: 9999;
}

.st-global-loading-overlay__panel {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 0.9rem;
    box-shadow: 0 22px 44px -26px rgba(15, 23, 42, 0.46);
    color: #0f172a;
    display: inline-flex;
    gap: 0.7rem;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
}

.st-global-loading-overlay__spinner {
    animation: st-overlay-spin 0.8s linear infinite;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    border-radius: 9999px;
    display: inline-block;
    flex-shrink: 0;
    height: 1.1rem;
    width: 1.1rem;
}

.st-global-loading-overlay__text {
    font-size: 0.86rem;
    font-weight: 600;
}

body.st-ui-loading {
    cursor: progress;
}

body.st-ui-loading .st-global-loading-overlay {
    display: flex;
}

body.st-ui-loading .fi-main,
body.st-ui-loading .fi-sidebar,
body.st-ui-loading .fi-topbar,
body.st-ui-loading main {
    pointer-events: none;
    user-select: none;
}

@keyframes st-overlay-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dark .st-global-loading-overlay {
    background: rgba(2, 6, 23, 0.54);
}

.dark .st-global-loading-overlay__panel {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

.dark .st-global-loading-overlay__spinner {
    border-color: rgba(96, 165, 250, 0.22);
    border-top-color: #60a5fa;
}
