/* BizProCall — full-page boot loader */

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.app-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(228, 228, 231, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 228, 231, 0.45) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 12%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 12%, transparent 75%);
    pointer-events: none;
}

.app-loader__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-align: center;
}

.app-loader__brand {
    position: relative;
    width: 4.75rem;
    height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.app-loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #e4e4e7;
    border-top-color: #64748b;
    animation: app-loader-spin 0.9s linear infinite;
}

.app-loader__logo {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(9, 9, 11, 0.08);
    animation: app-loader-breathe 2.2s ease-in-out infinite;
}

.app-loader__name {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #111827;
}

.app-loader__status {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    color: #94a3b8;
    animation: app-loader-pulse 1.6s ease-in-out infinite;
}

@keyframes app-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes app-loader-breathe {
    0%, 100% {
        transform: scale(1);
    }

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

@keyframes app-loader-pulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-loader__ring {
        animation: none;
        border-color: #64748b;
    }

    .app-loader__logo,
    .app-loader__status {
        animation: none;
    }

    .app-loader__status {
        opacity: 1;
    }
}
