/* Variables */
:root {
    --primary-color: #4e8cff;
    --primary-dark: #3a6fc8;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
	--accent-color: #4cb1a7;
	--light-bg: #f8f9fa;
	--box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
	font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: #f5f7fa;
	margin: 0;
}

/* Icônes SVG inline pour la navigation */
.nav-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	margin-right: 8px;
	vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-inline-size: 100%;
	block-size: auto;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-link {
    display: flex;
    align-items: center; /* Aligne verticalement le texte et le logo */
    gap: 15px; /* Espace entre le texte et le logo */
    text-decoration: none;
}

.logo-link h1 {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo-link:hover h1 {
    color: var(--primary-dark);
}

.logo-svg {
    height: 40px; /* Ajustez selon la taille souhaitée */
    width: auto;
}

.slogan {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:hover {
    color: var(--primary-color);
}

nav a i {
    font-size: 0.9rem;
}
/* Logo Styles */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-svg {
    height: 50px; /* Ajustez selon la taille souhaitée */
    width: auto;
    margin-bottom: 5px;
}

.logo-text {
    display: none; /* Cache le texte si vous voulez seulement le logo */
}

/* Si vous voulez avoir à la fois le logo et le texte */

.logo-with-text {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-text {
    display: block;
    margin: 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-height: 400px;
}

/* Highlights */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.highlight-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.3rem;
}

/* About App */
.about-app {
    margin: 80px 0;
    text-align: center;
}

.about-app h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-app p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.app-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.detail-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Styles pour le diaporama de témoignages */
.testimonials-section {
    text-align: center;
    margin: 80px 0;
}

.testimonials-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.testimonials-section h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto;
    border-radius: 2px;
}

.testimonials-section p.subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
}

.testimonials-slider {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(20px);
    padding: 20px;
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    position: relative;
    padding: 0 30px;
}

.testimonial-text:before, .testimonial-text:after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    font-family: serif;
    line-height: 1;
}

.testimonial-text:before {
    top: -20px;
    left: 0;
}

.testimonial-text:after {
    content: '"';
    bottom: -50px;
    right: 0;
}

.testimonial-author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 20px;
}

.testimonial-location {
    color: #666;
    font-size: 1rem;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.auto-play-toggle {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-left: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}
/* Styles pour les icônes SVG */
.highlight-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #007acc; /* Couleur principale */
}

.detail-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    color: #007acc;
}

.slider-arrow {
    width: 16px;
    height: 16px;
}

/* Animation hover pour les cartes */
.highlight-card:hover .highlight-icon,
.detail-item:hover .detail-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
/* Styles pour les icônes de catégories */
.category-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
    color: #007acc; /* Couleur principale */
}

/* Animation au survol */
.feature-category:hover .category-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {    
    .testimonial-text {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
    }
    .highlight-icon {
        width: 40px;
        height: 40px;
    }
    
    .detail-icon {
        width: 32px;
        height: 32px;
    }
	
    .category-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
}

@media (max-width: 480px) {
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonials-slider {
        padding: 20px;
    }
}

/* Features Page */
.features {
    padding: 60px 0;
}

.features h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.feature-category {
    margin-bottom: 60px;
}

.feature-category h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-section {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-section .btn:hover {
    background: #e6f0ff;
}

/* Demo Page */
.demo-container {
    padding: 30px 0;
}

.demo-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

#demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-notes,.seo-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.demo-notes h3,.seo-content h3 {
    margin-bottom: 15px;
}

.demo-notes ul,.seo-content ul {
    list-style: disc;
    padding-left: 20px;
}

.demo-notes li, .seo-content li {
    margin-bottom: 8px;
}

.feedback-request {
    background: var(--light-color);
    padding: 20px 0;
    margin-top: 20px;
    text-align: center;
}

.feedback-request h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feedback-request p {
    max-width: 800px;
    margin: 0 auto 20px;
}

.feedback-request ul {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.feedback-request li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.feedback-request li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Contact Page */
.contact-form {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 140, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin: 0;
}

.alert {
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.feedback-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #15572433;
}

.feedback-summary h4 {
    margin-bottom: 15px;
    color: #155724;
}

.feedback-summary p {
    margin-bottom: 8px;
}

.feedback-summary strong {
    font-weight: 600;
}

/* Pricing Options */
.pricing-options {
    text-align: center;
    background: #f8f9fa;
    margin-top: 10px;
}

.pricing-options h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.pricing-options p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.option-card {
	position: relative;
    background: white;
    padding: 30px 30px 0px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.option-card.highlighted {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    position: relative;
}

.option-card.highlighted:before {
    content: "Recommandé";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.option-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.vote-count {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    color: gray;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    border-radius: 50px;
}

.donut-chart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 30px;
}

.donut-chart {
    flex: 0 0 auto;
}

.donut-legend {
    /* flex: 1; */
    min-width: 200px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.color-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
}
p.note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 40px;
    font-style: italic;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #adb5bd;
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #495057;
}

.footer-bottom p {
    margin-bottom: 5px;
    color: #adb5bd;
    font-size: 0.9rem;
}

.open-source {
    font-style: italic;
    max-width: 800px;
    margin: 10px auto 0;
}

/* Fullscreen mode */
.fullscreen #demo-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: white;
}

.fullscreen .demo-controls {
    position: fixed;
    top: 8px;
    left: 110px;
    z-index: 10000;
}
/* Administration */
.admin-login {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.admin-dashboard {
    padding: 2rem;
}

.stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    color: #555;
    font-size: 1rem;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    color: #2c3e50;
}

.feedback-table {
    overflow-x: auto;
}

.feedback-table table {
    width: 100%;
    border-collapse: collapse;
}

.feedback-table th, 
.feedback-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.feedback-table th {
    background-color: #2c3e50;
    color: white;
}

.feedback-table tr:hover {
    background-color: #f5f5f5;
}
.feedback-table td:nth-child(3) { /* 3ème colonne = email */
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-table td:nth-child(3):hover {
    overflow: visible;
    white-space: normal;
    word-break: break-all;
    z-index: 10;
    position: relative;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.scrollable-message {
    max-height: 120px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 0.9em;
    line-height: 1.4;
}

.scrollable-message::-webkit-scrollbar {
    width: 6px;
}

.scrollable-message::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scrollable-message::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.scrollable-message::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Pour Firefox */
.scrollable-message {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.admin-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}
.alert-success a {
    color: #155724;
    text-decoration: underline;
    font-weight: bold;
}
/* Styles pour l'administration étendue */
.chart-container {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.visits-table table, .visits-detail table {
    width: 100%;
    border-collapse: collapse;
}

.visits-table th, 
.visits-table td,
.visits-detail th,
.visits-detail td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.visits-table th, .visits-detail th {
    background-color: #2c3e50;
    color: white;
}

.visits-table tr:hover, .visits-detail tr:hover {
    background-color: #f5f5f5;
}

.btn-small {
    padding:0;
    font-size: 0.8rem;
}

.pages-list {
    max-height: 100px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.user-agent {
    cursor: help;
    border-bottom: 1px dotted #999;
}

.visits-detail {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}
/* Styles pour la section exclusions */
.exclusions-section {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.exclusions-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
}
/* Styles pour tableaux avec tbody scrollable */
.scrollable-tbody-container {
    max-height: 500px; /* Hauteur pour environ 5 lignes */
    overflow-y: auto;
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.scrollable-tbody-container table {
    width: 100%;
    border-collapse: collapse;
}

.scrollable-tbody-container thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.scrollable-tbody-container tbody {
    display: block;
    max-height: 500px; /* Ajuster selon besoin */
    overflow-y: auto;
    width: 100%;
}
.scrollable-tbody-container.auto-width thead {
    width: 100%; 
}

.scrollable-tbody-container.auto-width tbody {
    width: 100%;
}
.scrollable-tbody-container tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.scrollable-tbody-container th {
    background-color: #2c3e50;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Personnalisation de la barre de défilement */
.scrollable-tbody-container tbody::-webkit-scrollbar {
    width: 8px;
}

.scrollable-tbody-container tbody::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-tbody-container tbody::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scrollable-tbody-container tbody::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.table-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}
/* Styles pour le menu horizontal et les onglets */
.admin-tabs {
    display: flex;
    border-bottom: 2px solid #2c3e50;
    margin-bottom: 20px;
    overflow-x: auto;
}

.admin-tab-button {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.admin-tab-button:hover {
    color: #2c3e50;
    background-color: #f8f9fa;
}

.admin-tab-button.active {
    color: #4e8cff;
    border-bottom-color: #4e8cff;
    background-color: #f8f9fa;
}

.admin-tab-button i {
    margin-right: 8px;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .admin-tab-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .admin-tab-button i {
        margin-right: 5px;
    }
}
/* Styles pour la navigation par date */
.date-navigation {
    margin-bottom: 20px;
}

.date-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.date-title-container h3 {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.nav-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.arrow-nav {
    display: flex;
    gap: 5px;
}

.arrow-nav .btn-small {
    font-size: 14px;
}
.arrow-left:before,.arrow-right:after {
    vertical-align: top;
    display:inline-block;
    font-weight: bold;
    font-size: 1.5em;
}
.arrow-left:before {
    content: "\003C"; /* Unicode pour le symbole < */
    margin-right: 5px;
}
.arrow-right:after {
    content: "\003E"; /* Unicode pour le symbole > */
    margin-left: 5px;
}
.search::before{
    content: "\1F50D"; /* Unicode pour l'icône de loupe */
    font-size: 16px;
    vertical-align: middle;
    margin-right: 5px;
}
.date-search {
    display: flex;
    gap: 5px;
    align-items: center;
}

.date-search input[type="date"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.date-search .btn-small {
    padding: 8px 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .date-title-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-controls {
        width: 100%;
        justify-content: flex-end;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    nav ul {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-category h2 {
        font-size: 1.5rem;
    }
    
    .iframe-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .demo-controls {
        flex-direction: column;
    }
    
    .option-card.highlighted {
        transform: none;
    }
}