/* AUXILIO V10.26 - Loading global */
.aux-global-loading {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 38, 56, .34);
    backdrop-filter: blur(7px) saturate(115%);
    -webkit-backdrop-filter: blur(7px) saturate(115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.aux-global-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.aux-global-loading-card {
    position: relative;
    width: min(390px, calc(100vw - 40px));
    overflow: hidden;
    border: 1px solid rgba(220, 229, 235, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 28px 80px rgba(16, 38, 56, .24);
    color: var(--aux-navy, #17324D);
    transform: translateY(8px) scale(.985);
    transition: transform .2s ease;
}
.aux-global-loading.is-visible .aux-global-loading-card {
    transform: translateY(0) scale(1);
}
.aux-global-loading-content {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 24px 24px 21px;
}
.aux-global-loading-visual {
    position: relative;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
}
.aux-global-loading-ring,
.aux-global-loading-ring::before,
.aux-global-loading-ring::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    content: "";
}
.aux-global-loading-ring {
    border: 3px solid rgba(23, 50, 77, .10);
    border-top-color: var(--aux-terra, #E06633);
    border-right-color: var(--aux-orange, #F78E36);
    animation: aux-loading-spin 1s linear infinite;
}
.aux-global-loading-ring::before {
    inset: 7px;
    border: 2px solid transparent;
    border-bottom-color: var(--aux-cyan, #29CEF6);
    border-left-color: rgba(41, 206, 246, .42);
    animation: aux-loading-spin-reverse .78s linear infinite;
}
.aux-global-loading-ring::after {
    inset: 16px;
    border: 1px solid rgba(23, 50, 77, .12);
    background: rgba(244, 247, 249, .82);
}
.aux-global-loading-mark {
    position: relative;
    z-index: 2;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--aux-terra, #E06633), var(--aux-orange, #F78E36));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.03em;
    box-shadow: 0 7px 18px rgba(224, 102, 51, .24);
    animation: aux-loading-pulse 1.35s ease-in-out infinite;
}
.aux-global-loading-copy {
    min-width: 0;
}
.aux-global-loading-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--aux-terra, #E06633);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.aux-global-loading-title {
    display: block;
    margin: 0;
    color: var(--aux-navy, #17324D);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}
.aux-global-loading-message {
    display: block;
    margin-top: 5px;
    color: var(--aux-muted, #748694);
    font-size: 13px;
    line-height: 1.45;
}
.aux-global-loading-progress {
    position: relative;
    height: 4px;
    overflow: hidden;
    background: #EEF3F6;
}
.aux-global-loading-progress::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -44%;
    width: 44%;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--aux-cyan, #29CEF6), var(--aux-orange, #F78E36), transparent);
    animation: aux-loading-progress 1.25s ease-in-out infinite;
}
body.aux-loading-active {
    cursor: progress;
}
@keyframes aux-loading-spin { to { transform: rotate(360deg); } }
@keyframes aux-loading-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes aux-loading-pulse {
    0%, 100% { transform: scale(.96); box-shadow: 0 7px 18px rgba(224, 102, 51, .18); }
    50% { transform: scale(1.05); box-shadow: 0 9px 24px rgba(224, 102, 51, .31); }
}
@keyframes aux-loading-progress {
    0% { left: -44%; }
    65%, 100% { left: 100%; }
}
@media (max-width: 480px) {
    .aux-global-loading-content { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px 18px 18px; }
    .aux-global-loading-visual { width: 56px; height: 56px; }
    .aux-global-loading-ring::before { inset: 6px; }
    .aux-global-loading-ring::after { inset: 14px; }
    .aux-global-loading-mark { width: 23px; height: 23px; font-size: 11px; }
    .aux-global-loading-title { font-size: 16px; }
    .aux-global-loading-message { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .aux-global-loading,
    .aux-global-loading-card { transition: none; }
    .aux-global-loading-ring,
    .aux-global-loading-ring::before,
    .aux-global-loading-mark,
    .aux-global-loading-progress::after { animation-duration: 2.4s; }
}
