/* Styles pour le simulateur d'envoi programmé */
.simulator-section {
    background: #f5fff5;
    border-left-color: #28a745;
}

.simulator-section h2 {
    color: #28a745;
}

#schedulerMessage {
    min-height: 80px;
    flex: 2;
}

.variable-data {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 167, 69, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.variable-data input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.active-tasks {
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.task-item {
    background: white;
    border: 1px solid #ddd;
    border-left: 3px solid #28a745;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.task-info {
    flex: 1;
}

.task-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-details {
    font-size: 0.85rem;
    color: #666;
}

.task-counter {
    background: #e8f5e8;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #28a745;
}

.task-action {
    margin-left: 10px;
}

.task-stop {
    background: #f8d7da;
    color: #dc3545;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.task-stop:hover {
    background: #dc3545;
    color: white;
}

/* Template selector */
.template-selector {
    margin-bottom: 15px;
}

.template-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

/* Animation pour les logs d'envoi */
.sent-message-log {
    border-left: 3px solid #28a745;
    background: #f0fff0;
}

@keyframes highlight {
    0% { background-color: rgba(40, 167, 69, 0.2); }
    100% { background-color: transparent; }
}

.highlight-sent {
    animation: highlight 2s ease;
}
