* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles pour isoler les styles externes de Winds-Up */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Styles pour les onglets */
.tabs {
    display: flex !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
    /* Forcer la taille constante */
    min-height: 60px !important;
    height: 60px !important;
    align-items: center !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

.tab {
    flex: 1 !important;
    padding: 15px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-bottom: 3px solid transparent !important;
    /* Forcer la taille constante */
    font-size: 1em !important;
    line-height: 1.5 !important;
    min-height: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.tab:hover {
    background-color: #e9ecef;
    color: #495057;
}

.tab.active {
    background-color: white;
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

/* Styles pour le header - forcer la taille constante */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 30px !important;
    text-align: center !important;
    /* Forcer la taille constante */
    min-height: 120px !important;
    height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.header h1 {
    /* font-size: 2.2em !important; */
    font-weight: 550 !important;
    margin: 0 0 10px 0 !important;
    /* Forcer la taille constante */
    line-height: 1.2 !important;
    color: rgb(168, 229, 253) !important;
    text-align: center !important;
    display: block !important;
}

.header p {
    font-size: 1.1em !important;
    opacity: 0.9 !important;
    /* Forcer la taille constante */
    line-height: 1.4 !important;
    margin: 0 !important;
    color: white !important;
    text-align: center !important;
    display: block !important;
}

/* Styles pour le bloc forecast - éviter les conflits */
.forecast-html-block {
    /* Réinitialiser les styles qui pourraient affecter le layout */
    font-family: inherit;
    font-size: 16px !important;
    line-height: inherit;
}

.forecast-html-block * {
    /* Empêcher les styles externes d'affecter notre layout */
    box-sizing: border-box;
    font-size: inherit !important;
}

/* Styles pour la section météo */
.meteo-section {
    padding: 20px;
}

.meteo-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

.meteo-content {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.meteo-content * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.info-box {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.info-box p {
    margin: 5px 0;
    color: #1976d2;
}

.info-box a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Styles pour les données météo */
.meteo-data {
    margin-bottom: 20px;
}

.meteo-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.meteo-info p {
    margin: 0;
    color: #495057;
    font-size: 1.1em;
    text-align: justify;
}

.meteo-info strong {
    color: #667eea;
    font-weight: 600;
}

/* Styles pour le contenu complet MeteoConsult */
.meteo-full-content {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.meteo-full-content * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    box-sizing: border-box !important;
}

.meteo-full-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 10px 0 !important;
    font-size: 0.9em !important;
}

.meteo-full-content th,
.meteo-full-content td {
    border: 1px solid #ddd !important;
    padding: 8px !important;
    text-align: center !important;
    font-size: 0.85em !important;
}

.meteo-full-content th {
    background-color: #f8f9fa !important;
    font-weight: bold !important;
}

.meteo-full-content h1,
.meteo-full-content h2,
.meteo-full-content h3 {
    color: #667eea !important;
    margin: 15px 0 10px 0 !important;
}

.meteo-full-content p {
    margin: 10px 0 !important;
    line-height: 1.6 !important;
}

.meteo-full-content .lonlat {
    color: #666 !important;
    font-size: 0.9em !important;
}

.container {
    font-size: 16px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    /* Forcer la priorité */
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

.table-container {
    padding: 20px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-size: 0.9em;
}

.data-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85em;
    vertical-align: middle;
}

/* Largeur réduite pour la colonne heure */
.data-table th:nth-child(1),
.data-table td:nth-child(1) {
    width: 120px;
    text-align: left;
}

/* Largeur réduite pour la colonne direction */
.data-table th:nth-child(2),
.data-table td:nth-child(2) {
    width: 100px;
    text-align: left;
}

/* Largeur réduite pour la colonne vitesse */
.data-table th:nth-child(3),
.data-table td:nth-child(3) {
    width: 60px;
    text-align: center;
}

/* Styles spécifiques pour la colonne barre */
.data-table td:nth-child(4) {
    text-align: left;
    padding: 8px 4px;
    width: 80px;
}

.data-table td:nth-child(4) div {
    display: block;
    margin: 0;
    height: 6px;
    border-radius: 3px;
}

/* Largeur réduite pour les colonnes mini et maxi */
.data-table th:nth-child(5),
.data-table td:nth-child(5),
.data-table th:nth-child(6),
.data-table td:nth-child(6) {
    width: 50px;
    text-align: center;
}

/* Centrer le contenu de toutes les cellules par défaut */
.data-table td {
    text-align: center;
}

.data-table tr:hover {
    background-color: #f8f9ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.data-table tr:nth-child(even) {
    background-color: #fafafa;
}

.data-table tr:nth-child(even):hover {
    background-color: #f0f2ff;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 1.2em;
}



.status {
    text-align: center;
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #c3e6c3;
}

/* Debug info caché */
.debug-info {
    display: none;
}

/* Styles pour l'onglet caméra */
.camera-container {
    padding: 20px;
    background: white;
}

.camera-frame {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.camera-image-container {
    padding: 20px;
    text-align: center;
}

.camera-image-container h3 {
    color: #495057;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.camera-image-wrapper {
    margin: 20px 0;
    position: relative;
}

#camera-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}

.camera-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

.camera-error p {
    margin: 5px 0;
    font-size: 1em;
}

.camera-controls {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.refresh-camera-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.refresh-camera-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.last-update {
    color: #6c757d;
    font-size: 0.9em;
    font-style: italic;
}

.camera-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #17a2b8;
}

.camera-info h4 {
    color: #0c5460;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.camera-info p {
    color: #0c5460;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Styles pour le bouton de la caméra */
.camera-link {
    text-align: center;
    margin: 30px 0;
}

.camera-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.camera-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    text-decoration: none;
    color: white;
}

/* Styles pour le footer */
.footer {
    background: #f8f9fa;
    color: #6c757d;
    padding: 15px 20px;
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 10px 10px;
    font-size: 16px !important;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 0.9em !important;
    font-weight: 400;
    opacity: 0.8;
}


@media (max-width: 768px) {
    .container {
        margin: 10px !important;
        border-radius: 10px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    .header {
        padding: 20px 15px !important;
        min-height: 100px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .header h1 {
        font-size: 1.8em !important;
        line-height: 1.2 !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    .header p {
        font-size: 1em !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    .tabs {
        min-height: 50px !important;
        height: auto !important;
        flex-wrap: wrap !important;
    }
    
    .tab {
        padding: 10px 12px !important;
        font-size: 0.9em !important;
        min-height: 50px !important;
        height: auto !important;
        word-wrap: break-word !important;
        text-align: center !important;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px 3px !important;
        font-size: 0.75em !important;
    }
    
    .table-container {
        padding: 15px !important;
        overflow-x: auto !important;
    }
    

    
    /* Styles responsifs pour l'onglet caméra */
    .camera-container {
        padding: 15px !important;
    }
    
    .camera-image-container {
        padding: 15px !important;
    }
    
    .camera-image-container h3 {
        font-size: 1.3em !important;
    }
    
    #camera-image {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .camera-controls {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .refresh-camera-btn {
        padding: 8px 16px !important;
        font-size: 0.9em !important;
    }
    
    .camera-info {
        padding: 15px !important;
    }
    
    .camera-info h4 {
        font-size: 1.1em !important;
    }
    
    .camera-info p {
        font-size: 0.9em !important;
    }
    

    
    /* Styles responsifs pour le bouton de la caméra */
    .camera-link {
        margin: 20px 0 !important;
    }
    
    .camera-btn {
        padding: 15px 30px !important;
        font-size: 1.1em !important;
    }

    .footer {
        padding: 12px 15px !important;
        margin-top: 25px !important;
        border-radius: 0 0 8px 8px !important;
    }
    
    .footer-content p {
        font-size: 0.85em !important;
    }
} 

/* Styles pour l'onglet Météo-France */
.meteo-section {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.meteo-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.meteo-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.meteo-full-content {
    max-height: 800px;
    overflow-y: auto;
    padding: 15px;
    border-radius: 8px;
    background: white;
}

.meteo-data {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.meteo-info {
    margin: 10px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meteo-info p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
}

.info-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.info-box p {
    margin: 5px 0;
    color: #333;
}

.info-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Responsive design pour l'onglet météo */
@media (max-width: 768px) {
    .meteo-section {
        margin: 10px;
        padding: 15px;
    }
    
    .meteo-section h2 {
        font-size: 1.8em;
    }
    
    .meteo-content, .meteo-data {
        padding: 15px;
    }
    
    .meteo-info {
        padding: 12px;
    }
    
    .meteo-info p {
        font-size: 1em;
    }
} 

/* Styles pour le tableau des prévisions météo agricole */
.meteo-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meteo-table-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.meteo-table-container th,
.meteo-table-container td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 0.9em;
}

.meteo-table-container th {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
}

.meteo-table-container tr:nth-child(even) {
    background-color: #f9f9f9;
}

.meteo-table-container tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.3s ease;
}

.meteo-table-container td:first-child {
    font-weight: bold;
    background-color: #f5f5f5;
    text-align: left;
}

/* Styles pour les données météo agricole */
.meteo-section h2 {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Responsive design pour le tableau */
@media (max-width: 768px) {
    .meteo-table-container {
        padding: 10px;
    }
    
    .meteo-table-container th,
    .meteo-table-container td {
        padding: 8px 4px;
        font-size: 0.8em;
    }
    
    .meteo-table-container th {
        font-size: 0.7em;
    }
} 

/* Styles pour l'iframe WeatherOnline */
.meteo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.meteo-content iframe {
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.meteo-content iframe:hover {
    transform: scale(1.02);
}

/* Responsive design pour l'iframe */
@media (max-width: 768px) {
    .meteo-content {
        padding: 15px;
    }
    
    .meteo-content iframe {
        width: 100% !important;
        max-width: 318px;
        height: auto !important;
        min-height: 318px;
    }
} 

/* Styles pour la section refresh-data */
.refresh-data {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.refresh-data button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    margin-bottom: 10px;
}

.refresh-data button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.refresh-data button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.refresh-data p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
    font-style: italic;
}

/* Responsive design pour refresh-data */
@media (max-width: 768px) {
    .refresh-data {
        margin: 15px 10px;
        padding: 12px;
    }
    
    .refresh-data button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .refresh-data p {
        font-size: 0.8em;
    }
} 

/* Styles pour la page debug */
.debug-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.debug-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.debug-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}

.stats-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stats-table th,
.stats-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}

.stats-table th {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
}

.stats-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.stats-table tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.3s ease;
}

.bar-cell {
    width: 200px;
    position: relative;
}

.progress-bar {
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    min-width: 20px;
}

.recent-visits {
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visits-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.visit-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #667eea;
    font-family: monospace;
    font-size: 0.9em;
}

.debug-actions {
    text-align: center;
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.refresh-btn, .clear-btn, .sessions-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.clear-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.sessions-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.refresh-btn:hover, .clear-btn:hover, .sessions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.clear-btn:hover {
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.sessions-btn:hover {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

/* Responsive design pour debug */
@media (max-width: 768px) {
    .debug-container {
        padding: 15px;
    }
    
    .debug-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .debug-section h2 {
        font-size: 1.3em;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 8px 4px;
        font-size: 0.8em;
    }
    
    .bar-cell {
        width: 100px;
    }
    
    .progress-bar {
        height: 15px;
    }
    
    .debug-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .refresh-btn, .clear-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
} 

/* Styles pour les informations système */
.system-info {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}

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

.info-item strong {
    color: #667eea;
    font-weight: 600;
} 

/* Styles pour l'animation de chargement */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.loading-text {
    color: white;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.loading-images {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.loading-image {
    position: absolute;
    height: 80px;
    width: auto;
    top: 20px;
    animation: slideAcross 3s infinite linear;
}

.loading-image.hydrofoil {
    left: -100px;
    animation-delay: 0s;
}

.loading-image.surfing {
    left: -100px;
    animation-delay: 1.5s;
}

@keyframes slideAcross {
    0% {
        left: -100px;
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(10px);
    }
    100% {
        left: calc(100% + 100px);
        transform: translateY(0px);
    }
}

/* Animation de rebond pour les images */
.loading-image {
    animation: slideAcross 4s infinite linear, bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive design pour l'animation de chargement */
@media (max-width: 768px) {
    .loading-container {
        margin: 10px;
        padding: 20px;
        min-height: 300px;
    }
    
    .loading-text {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    .loading-images {
        height: 100px;
    }
    
    .loading-image {
        height: 60px;
        top: 20px;
    }
} 