/* Styles additionnels pour toutes les pages */

:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2d528a;
    --accent-green: #2f855a;
    --accent-red: #c53030;
    --accent-orange: #dd6b20;
    --accent-purple: #805ad5;
    --light-blue: #ebf8ff;
    --light-gray: #f7fafc;
}

/* Page spécifique styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb a {
    color: white;
    text-decoration: none;
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* Cards spécifiques */
.info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.info-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-card-body {
    padding: 1.5rem;
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.data-table th {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--secondary-blue);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.data-table tr:hover {
    background-color: #f8fafc;
}

/* Alert levels */
.alert-critical {
    background: linear-gradient(to right, #fed7d7, #feb2b2);
    border-left: 4px solid #c53030;
}

.alert-high {
    background: linear-gradient(to right, #feebc8, #fbd38d);
    border-left: 4px solid #dd6b20;
}

.alert-medium {
    background: linear-gradient(to right, #e6fffa, #b2f5ea);
    border-left: 4px solid #38b2ac;
}

.alert-low {
    background: linear-gradient(to right, #ebf8ff, #bee3f8);
    border-left: 4px solid #4299e1;
}

/* Stats charts */
.stat-chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Map container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Zone de santé item */
.zone-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.zone-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}

/* Publication item */
.pub-item {
    border-left: 4px solid var(--secondary-blue);
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Partner logo */
.partner-logo {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 120px;
}

.partner-logo:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(45, 82, 138, 0.1);
}

/* Contact info */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info-icon {
    background: var(--light-blue);
    color: var(--secondary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Media gallery */
.media-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.media-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.media-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.media-caption {
    padding: 1rem;
    background: white;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-blue);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--secondary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
}