/* Единый индикатор загрузки — DaLoad */
.da-load-shell {
    position: fixed;
    inset: 0;
    z-index: 4900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(6, 199, 133, 0.12), transparent),
        rgba(18, 19, 22, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.28s var(--app-ease), visibility 0.28s;
}

.da-load-shell[hidden] {
    display: none !important;
}

.da-load-shell.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.da-load-shell__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(92vw, 360px);
    text-align: center;
}

.da-load-shell__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(6, 199, 133, 0.2);
    border-top-color: var(--brand-grad-light, #06c785);
    border-radius: 50%;
    animation: daLoadSpin 0.75s linear infinite;
}

@keyframes daLoadSpin {
    to { transform: rotate(360deg); }
}

.da-load-shell__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

.da-load-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.da-load-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.3;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.da-load-tag::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid rgba(6, 199, 133, 0.25);
    border-top-color: #06c785;
    border-radius: 50%;
    animation: daLoadSpin 0.7s linear infinite;
    flex-shrink: 0;
}

.crew-sync-badge.is-sync-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.crew-sync-badge.is-sync-active::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid rgba(6, 199, 133, 0.3);
    border-top-color: #06c785;
    border-radius: 50%;
    animation: daLoadSpin 0.7s linear infinite;
    flex-shrink: 0;
}

.da-action-toast.is-error {
    border-color: rgba(248, 113, 113, 0.45);
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.35) 0%, #181a20 100%);
}

.da-action-toast.is-error .da-action-toast__text {
    color: #fecaca;
}

.schedule-data-pane.is-loading > .data-pane-loader {
    display: flex;
}
