.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    z-index: 2;
}

.loader-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.loader-ring {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(0, 138, 170, 0.15);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: #008aaa;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
}

.loader-img {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.loader-text h3 {
    color: #008aaa;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.loader-text p {
    color: #58595b;
    font-size: 0.9rem;
}

.loader-bar {
    width: 180px;
    height: 4px;
    background: rgba(0, 138, 170, 0.15);
    border-radius: 999px;
    margin: 16px auto 8px;
    overflow: hidden;
}

.loader-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #008aaa;
    border-radius: 999px;
    transition: width 0.2s ease;
}

.loader-percent {
    color: #008aaa;
    font-size: 0.85rem;
}

.loader-grid,
.loader-blueprint {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
