
.admin-content {
    margin-left: 30px; /* même largeur que la sidebar */
}
.admin-body {
    margin-left: 250px; /* sidebar */
    padding-top: 60px;  /* header */
}

.admin-content {
    flex: 1;
    margin-left: 0; 
    padding: 30px 40px 40px 40px;
    background: #f8f9fa;
    min-height: 100vh;
    box-sizing: border-box;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dashboard-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.dashboard-header .btn {
    display: inline-block;
    padding: 0.5em 1.5em;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    /* Ajoutez d'autres styles de bouton si besoin */
}

.dashboard-title {
    color: #00628B;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    color: #00628B;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color-light);
    display: inline-block;
    margin-bottom: 18px;
    padding-bottom: 4px;
    letter-spacing: 0.5px;
}

.dashboard-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    flex: 1 1 0;
    padding: 28px 18px;
    text-align: center;
    min-width: 180px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00628B;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: #7F8C8D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-change {
    font-size: 0.9rem;
    color: #2ECC71;
    margin-top: 8px;
}

.dashboard-panels {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.dashboard-panel {
    flex: 1 1 320px;
    min-width: 320px;
}

.dashboard-panel-header {
    margin-bottom: 12px;
}

.dashboard-panel-title {
    font-size: 1rem;
    text-transform: uppercase;
    color: #00628B;
    font-weight: 600;
    margin: 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    padding: 22px 18px;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    margin: 0;
    padding-left: 28px;
}
.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 8px;
	width: 2px;
	background-color: var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00628B;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-content {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.timeline-date {
    font-size: 0.85rem;
    color: #7F8C8D;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    font-size: 1rem;
    color: #00628B;
}

.service-status {
    display: flex;
    align-items: center;
}

.icon-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    margin-left: 4px;
}

.icon-dot.active {
    background: #2ECC71;
}

.icon-dot.inactive {
    background: #E74C3C;
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-content {
        padding: 24px 10px 24px 10px;
    }
    .dashboard-stats, .dashboard-panels {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .admin-content {
        margin-left: 0;
        padding-top: 80px;
    }
}