/* Variables CSS */
:root {
    --primary-color: #6C8F60;
    --primary-light: #6b9b7a;
    --primary-dark: #2d5a3a;
    --secondary-color: #8bc34a;
    --accent-color: #ff9800;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Category colors */
    --category-maladies: #ffebee;
    --category-ravageurs: #e8f5e9;
    --category-carences: #e3f2fd;
    --category-general: #f5f5f5;
}
/* Ajout pour cohérence */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Loading state */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

.no-symptoms {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 1rem 0;
}

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

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

/* Symptom Cards & Filters */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.symptom-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.symptom-card.selected {
    border: 2px solid var(--primary-color);
}

.symptom-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.5rem;
    background: #f9f9f9;
}

.image-container {
    position: relative;
    flex: 1 1 calc(50% - 0.25rem);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.symptom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.more-images {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.symptom-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.symptom-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.symptom-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.symptom-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* Category specific styles */
.symptom-category.maladies {
    background-color: var(--category-maladies);
    color: #c62828;
}

.symptom-category.ravageurs {
    background-color: var(--category-ravageurs);
    color: #2e7d32;
}

.symptom-category.carences {
    background-color: var(--category-carences);
    color: #1565c0;
}

.symptom-category.general {
    background-color: var(--category-general);
    color: var(--text-dark);
}

.selection-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.symptom-card.selected .selection-indicator {
    opacity: 1;
    background: var(--primary-color);
    color: white;
}

/* Category Filters */
.symptoms-filters {
    margin: 1.5rem 0;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-light);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}



/* Intro Animation Styles */
.intro {
    position: fixed;
    inset: 0;
    background-color: #6c8f60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    color: white;
    text-align: center;
    animation: fadeOutIntro 1s ease forwards;
    animation-delay: 5s;
    opacity: 1;
    user-select: none;
}

.intro-image {
    width: 70vw;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.intro-text h1,
.intro-text p {
    opacity: 0;
    margin: 0;
}

.intro-text h1 {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.intro-text p {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 2.5s;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

@keyframes fadeOutIntro {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.no-scroll {
    overflow: hidden;
}


@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Main content */
.main {
    min-height: calc(100vh - 200px);
}

.page {
    display: none;
    padding: 2rem 0;
}

.page.active {
    display: block;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-back,
.btn-answer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

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

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

.btn-primary:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-back {
    background: var(--text-light);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
}

.btn-back:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* Diagnostic options */
.diagnostic-options {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.section-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    background: var(--background-light);
    padding: 1rem;
    border-radius: 50%;
}

.question-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Symptoms grid */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.symptom-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.symptom-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.symptom-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.symptom-card.selected::after {
    content: 'âœ“';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.symptom-image {
    width: 100%;
    height: 120px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.symptom-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.symptom-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Upload area */
.upload-area {
    background: var(--white);
    border: 3px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 0;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.upload-area.drag-active {
    border-color: var(--secondary-color);
    background: rgba(139, 195, 74, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.upload-area.dragover .upload-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.upload-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.upload-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.upload-info {
    margin-top: 1rem;
}

.upload-info small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Image preview container */
.image-preview-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.image-preview-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.image-preview-item {
    position: relative;
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.image-preview-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.image-preview-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.image-preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Upload progress */
.upload-progress-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.upload-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.upload-progress-info span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.upload-progress-info span:last-child {
    font-weight: bold;
    color: var(--primary-color);
}

.upload-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Error messages */
.upload-error {
    background: #ffeaea;
    border: 1px solid var(--danger-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    color: var(--danger-color);
}

.upload-error i {
    margin-right: 0.5rem;
}

/* Success messages */
.upload-success {
    background: #eafaf1;
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    color: var(--success-color);
}

.upload-success i {
    margin-right: 0.5rem;
}

/* Responsive design pour l'upload */
@media (max-width: 768px) {
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .upload-content h3 {
        font-size: 1.2rem;
    }
    
    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .preview-actions button {
        width: 100%;
    }
    
    .upload-progress-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .upload-details {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .image-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upload-area {
        padding: 1.5rem 0.5rem;
    }
    
    .image-preview-container {
        padding: 1rem;
    }
}

/* Progress and loading */
.analysis-progress {
    text-align: center;
    padding: 4rem 2rem;
}

.progress-content {
    max-width: 400px;
    margin: 0 auto;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress bar */
.progress-bar {
    background: var(--border-color);
    height: 8px;
    border-radius: 4px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: var(--primary-color);
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Question container */
.question-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    text-align: center;
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.question-image {
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 0 auto 2rem;
    display: block;
}

/* Answer buttons */
.answer-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.btn-answer {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 1.5rem 1rem;
    font-size: 1rem;
}

.btn-answer:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-answer:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Results */
.diagnosis-result,
.interactive-result,
.result-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-confidence {
    display: inline-block;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-confidence.success {
    background: var(--success-color);
}

.result-confidence.warning {
    background: var(--warning-color);
}

.result-confidence.danger {
    background: var(--danger-color);
}

.result-description {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.solution-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-type.naturel {
    background: var(--secondary-color);
    color: var(--white);
}

.solution-type.chimique {
    background: var(--warning-color);
    color: var(--white);
}

.solution-type.preventif {
    background: var(--primary-color);
    color: var(--white);
}

.solution-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-description {
    color: var(--text-light);
    line-height: 1.6;
}



/* Diagnostic header */
.diagnostic-header {
    margin-bottom: 2rem;
}

.diagnostic-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Error messages */
.error-message {
    background: var(--danger-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    text-align: center;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .symptoms-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .answer-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .question-title {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .answer-buttons {
        grid-template-columns: 1fr;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .intro p {
        font-size: 1rem;
    }
}

/*
 Styles pour les onglets */
.tabs-container {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.tab-button i {
    font-size: 18px;
}

/* Styles pour la page des rÃ©sultats */
#results {
    min-height: 500px;
}

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

.loading-results {
    text-align: center;
    padding: 50px 20px;
}

.loading-results .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-results h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 24px;
}

.loading-results p {
    color: var(--text-light);
    font-size: 16px;
}

.diagnosis-results {
    padding: 20px 0;
}

/* Styles pour les Ã©lÃ©ments cachÃ©s */
.hidden {
    display: none !important;
}

/* AmÃ©lioration des boutons de retour */
.btn-back {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

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

/* Responsive pour les onglets */
@media (max-width: 768px) {
    .tabs {
        padding: 0 10px;
    }

    .tab-button {
        padding: 12px 15px;
        font-size: 14px;
    }

    .tab-button span {
        display: none;
    }
}
