.loader-mask {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 99999;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    font-size: 0;
    color: #00c9d0;
    display: inline-block;
    margin: -25px 0 0 -25px;
    text-indent: -9999em;
    transform: translateZ(0);
}

.loader div {
    background-color: #00c9d0;
    display: inline-block;
    position: absolute;
    inset: 0;
    opacity: 0.5;
    border-radius: 50%;
    animation: ballPulseDouble 2s ease-in-out infinite;
}

.loader div:last-child {
    animation-delay: -1s;
}

#loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(18, 147, 162, 0.10), transparent 32%),
        linear-gradient(180deg, #f7fbfc 0%, #ffffff 56%, #eef7f8 100%);
    text-align: center;
}

.boot-loader-shell {
    min-width: 280px;
    padding: 36px 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 60px rgba(11, 73, 90, 0.12);
    backdrop-filter: blur(12px);
}

.signal-loader {
    position: relative;
    width: 180px;
    height: 88px;
    margin: 0 auto 18px;
}

.signal-track {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(18, 147, 162, 0.18), rgba(18, 147, 162, 0.55), rgba(18, 147, 162, 0.18));
    transform: translateY(-50%);
    overflow: hidden;
}

.signal-track::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.92) 50%, transparent 100%);
    animation: signalSweep 1.8s linear infinite;
}

.signal-node {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1fd8b7 0%, #1293a2 100%);
    box-shadow: 0 0 0 6px rgba(18, 147, 162, 0.12), 0 8px 18px rgba(18, 147, 162, 0.18);
    animation: signalNode 1.6s ease-in-out infinite;
}

.node-1 {
    left: 0;
    top: 58px;
    animation-delay: 0s;
}

.node-2 {
    left: 38px;
    top: 42px;
    animation-delay: 0.16s;
}

.node-3 {
    left: 78px;
    top: 18px;
    animation-delay: 0.32s;
}

.node-4 {
    left: 118px;
    top: 36px;
    animation-delay: 0.48s;
}

.node-5 {
    right: 0;
    top: 10px;
    animation-delay: 0.64s;
}

.boot-loader-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.boot-loader-title {
    color: #123b47;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.boot-loader-subtitle {
    color: #4b6770;
    font-size: 14px;
    font-weight: 600;
}

@keyframes ballPulseDouble {
    0%, 100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes signalSweep {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes signalNode {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}
