/* Styles pour le wizard de création de campagne SMS */

/* Indicateur de progression */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.step-indicator.active .step-number {
    background: #0d6efd;
    color: white;
}

.step-indicator.completed .step-number {
    background: #198754;
    color: white;
}

.step-indicator.completed .step-number::after {
    content: '✓';
}

.step-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.step-indicator.active .step-label {
    color: #0d6efd;
    font-weight: 600;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: #e9ecef;
    margin: 0 10px;
    margin-top: -25px;
    transition: all 0.3s;
}

.step-connector.active {
    background: #198754;
}

/* Zone d'upload CSV - Reproduit exactement csv_upload.html.twig */
.upload-zone {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: #2980b9;
    background: #e8f4f8;
}

.upload-zone.dragover {
    border-color: #27ae60;
    background: #d5f4e6;
}

.upload-zone.has-file {
    border-color: #27ae60;
    background: #d5f4e6;
}

/* Input file caché */
input[type="file"] {
    display: none;
}

/* File info */
.file-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #e8f4f8;
    border-radius: 4px;
}

/* Loading */
.loading {
    display: none;
}

.loading.active {
    display: block;
}

/* Prévisualisation CSV */
.preview-table {
    max-height: 400px;
    overflow-y: auto;
}

.preview-table table {
    font-size: 0.9rem;
}

.preview-table .valid {
    color: #27ae60;
}

.preview-table .invalid {
    color: #e74c3c;
}

/* Loading spinner */
.loading {
    display: none;
}

.loading.active {
    display: block;
}
