/* Style principal de l'application DTAHC */

/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* En-tête */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    text-align: center;
}

/* Sections */
section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

section h2 {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Statuts */
.status-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #ccc;
}

.status-text, .status-success {
    font-weight: bold;
    color: var(--success-color);
}

.status-pending {
    font-weight: bold;
    color: var(--warning-color);
}

.status-error {
    font-weight: bold;
    color: var(--danger-color);
}

/* Liste des services */
#services-list {
    list-style: none;
}

#services-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#services-list li:last-child {
    border-bottom: none;
}

/* Boutons */
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }
    
    .button {
        text-align: center;
    }
}