/* Полноэкранный оверлей перехода «Конструктор → Калькулятор» (Designer/Index.cshtml, Designer/Edit.cshtml, Home/Calculator.cshtml) */
.dt-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #0d0d0d;
    opacity: 1;
}
.dt-overlay.is-active { display: flex; }
.dt-overlay.is-fading { opacity: 0; transition: opacity 0.25s ease-out; }

.dt-overlay__spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #fff;
    animation: dt-spin 1s linear infinite;
}
@keyframes dt-spin { to { transform: rotate(360deg); } }

.dt-overlay__title {
    font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 24px;
}

.dt-overlay__bar-track {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}
.dt-overlay__bar-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 0.25s ease-out;
}

.dt-overlay__percent {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
}

.dt-overlay__stage {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 0 24px;
}
