/* Splash Screen / Initial Loader - Administration */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        hsl(222 47% 11%) 0%,
        hsl(229 84% 5%) 100%
    );
    transition: opacity 0.4s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splash-fade-in 0.6s ease-out;
}

.splash-logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: hsl(215 20% 85%);
}

.splash-tagline {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: hsl(215 20% 55%);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.splash-loader {
    margin-top: 3rem;
    width: 180px;
    height: 4px;
    background: hsla(215, 20%, 30%, 0.4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.splash-loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    height: 100%;
    width: 50%;
    background: linear-gradient(
        90deg,
        transparent,
        hsl(215 70% 60%),
        hsl(215 70% 70%),
        hsl(215 70% 60%),
        transparent
    );
    border-radius: 4px;
    animation: splash-loading 1.5s ease-in-out infinite;
}

.splash-loading-text {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: hsl(215 20% 50%);
    letter-spacing: 0.05em;
    animation: splash-text-pulse 2s ease-in-out infinite;
}

@keyframes splash-text-pulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes splash-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splash-loading {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}
