.server-progress {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.server-block {
    background: #333;
    height: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.server-block.active {
    background: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
    animation: pulse 1.5s infinite;
}

.server-status {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

.status-text {
    font-family: monospace;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Стили для модального окна */
/* Обновленные стили для модального окна */
.modal-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    color: #212529;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #0d6efd;
    color: white;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-weight: 500;
}

.server-progress {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.server-block {
    background: #e9ecef;
    height: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.server-status {
    color: #6c757d;
}

.status-text {
    font-family: monospace;
    color: #495057;
}

/* Стили для модального окна импорта */
#importProgressModal .modal-header {
    background: #198754;
}

#importProgressModal .server-block.import-block.active {
    background: #198754;
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.3);
}

#importProgressModal .status-dot {
    background: #198754;
}

/* Анимации и эффекты */
.server-block.active {
    background: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.status-dot {
    background: #0d6efd;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

/* Дополнительные улучшения */
.modal-body {
    padding: 1.5rem;
}

.server-progress p {
    color: #495057;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Адаптация для тёмной темы (если нужно) */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: linear-gradient(145deg, #2c3035, #212529);
        color: #fff;
    }

    .server-progress {
        background: #343a40;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .server-block {
        background: #495057;
    }

    .server-status {
        color: #adb5bd;
    }

    .status-text {
        color: #dee2e6;
    }

    .server-progress p {
        color: #e9ecef;
    }
}