body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F9FAFB;
    color: #111827;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode default */
html.dark fuse-splash-screen {
    background-color: #111827;
    color: #F9FAFB;
}

/* Theme-based background colors - Light mode */
html.light.theme-default fuse-splash-screen {
    background-color: #f3e8ff;
}

html.light.theme-emerald fuse-splash-screen {
    background-color: #d1fae5;
}

html.light.theme-ocean fuse-splash-screen {
    background-color: #cffafe;
}

html.light.theme-rose fuse-splash-screen {
    background-color: #ffe4e6;
}

html.light.theme-amber fuse-splash-screen {
    background-color: #fef3c7;
}

html.light.theme-brand fuse-splash-screen {
    background-color: #dbeafe;
}

html.light.theme-navy fuse-splash-screen {
    background-color: #dbeafe;
}

html.light.theme-teal fuse-splash-screen {
    background-color: #ccfbf1;
}

html.light.theme-indigo fuse-splash-screen {
    background-color: #e0e7ff;
}

html.light.theme-slate fuse-splash-screen {
    background-color: #f1f5f9;
}

/* Theme-based background colors - Dark mode */
html.dark.theme-default fuse-splash-screen {
    background-color: #0d0417;
}

html.dark.theme-emerald fuse-splash-screen {
    background-color: #011410;
}

html.dark.theme-ocean fuse-splash-screen {
    background-color: #030f17;
}

html.dark.theme-rose fuse-splash-screen {
    background-color: #1a040a;
}

html.dark.theme-amber fuse-splash-screen {
    background-color: #1a1002;
}

html.dark.theme-brand fuse-splash-screen {
    background-color: #030f1a;
}

html.dark.theme-navy fuse-splash-screen {
    background-color: #05070f;
}

html.dark.theme-teal fuse-splash-screen {
    background-color: #02100e;
}

html.dark.theme-indigo fuse-splash-screen {
    background-color: #0a0918;
}

html.dark.theme-slate fuse-splash-screen {
    background-color: #07090c;
}

body fuse-splash-screen img {
    width: 120px;
    max-width: 120px;
}

/* Logo colors for dark mode with theme colors */
html.dark.theme-default fuse-splash-screen {
    color: #a855f7;
}

html.dark.theme-emerald fuse-splash-screen {
    color: #10b981;
}

html.dark.theme-ocean fuse-splash-screen {
    color: #06b6d4;
}

html.dark.theme-rose fuse-splash-screen {
    color: #fb7185;
}

html.dark.theme-amber fuse-splash-screen {
    color: #fbbf24;
}

html.dark.theme-brand fuse-splash-screen {
    color: #3b82f6;
}

html.dark.theme-navy fuse-splash-screen {
    color: #3b82f6;
}

html.dark.theme-teal fuse-splash-screen {
    color: #14b8a6;
}

html.dark.theme-indigo fuse-splash-screen {
    color: #6366f1;
}

html.dark.theme-slate fuse-splash-screen {
    color: #94a3b8;
}

body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
}

body fuse-splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background-color: rgba(17, 24, 39, 0.3);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

/* Theme-based spinner colors - Light mode */
html.light.theme-default fuse-splash-screen .spinner > div {
    background-color: rgba(168, 85, 247, 0.6);
}

html.light.theme-emerald fuse-splash-screen .spinner > div {
    background-color: rgba(16, 185, 129, 0.6);
}

html.light.theme-ocean fuse-splash-screen .spinner > div {
    background-color: rgba(8, 145, 178, 0.6);
}

html.light.theme-rose fuse-splash-screen .spinner > div {
    background-color: rgba(244, 63, 94, 0.6);
}

html.light.theme-amber fuse-splash-screen .spinner > div {
    background-color: rgba(245, 158, 11, 0.6);
}

html.light.theme-brand fuse-splash-screen .spinner > div {
    background-color: rgba(33, 150, 243, 0.6);
}

html.light.theme-navy fuse-splash-screen .spinner > div {
    background-color: rgba(59, 130, 246, 0.6);
}

html.light.theme-teal fuse-splash-screen .spinner > div {
    background-color: rgba(20, 184, 166, 0.6);
}

html.light.theme-indigo fuse-splash-screen .spinner > div {
    background-color: rgba(99, 102, 241, 0.6);
}

html.light.theme-slate fuse-splash-screen .spinner > div {
    background-color: rgba(100, 116, 139, 0.6);
}

/* Theme-based spinner colors - Dark mode */
html.dark.theme-default fuse-splash-screen .spinner > div {
    background-color: rgba(168, 85, 247, 0.6);
}

html.dark.theme-emerald fuse-splash-screen .spinner > div {
    background-color: rgba(16, 185, 129, 0.6);
}

html.dark.theme-ocean fuse-splash-screen .spinner > div {
    background-color: rgba(8, 145, 178, 0.6);
}

html.dark.theme-rose fuse-splash-screen .spinner > div {
    background-color: rgba(244, 63, 94, 0.6);
}

html.dark.theme-amber fuse-splash-screen .spinner > div {
    background-color: rgba(245, 158, 11, 0.6);
}

html.dark.theme-brand fuse-splash-screen .spinner > div {
    background-color: rgba(33, 150, 243, 0.6);
}

html.dark.theme-navy fuse-splash-screen .spinner > div {
    background-color: rgba(59, 130, 246, 0.6);
}

html.dark.theme-teal fuse-splash-screen .spinner > div {
    background-color: rgba(20, 184, 166, 0.6);
}

html.dark.theme-indigo fuse-splash-screen .spinner > div {
    background-color: rgba(99, 102, 241, 0.6);
}

html.dark.theme-slate fuse-splash-screen .spinner > div {
    background-color: rgba(148, 163, 184, 0.6);
}

body fuse-splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body fuse-splash-screen .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}
