/* ==============================================
   AIDE & SUPPORT - STYLES SPÉCIFIQUES
   ============================================== */

/* --- Barre de recherche support --- */
.support-search-section {
    background: var(--clr-bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--clr-shadow);
    border: 1px solid var(--clr-border);
}

.search-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-secondary);
}

.support-search-input {
    flex: 1;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    background: var(--clr-bg-primary);
    color: var(--clr-text-primary);
    font-size: 0.95rem;
}

.support-search-input:focus {
    border-color: var(--clr-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.popular-searches span {
    color: var(--clr-text-secondary);
    font-weight: 500;
}

.popular-searches a {
    color: var(--clr-blue);
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    background: var(--clr-bg-primary);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.popular-searches a:hover {
    background: var(--clr-blue);
    color: white;
}

/* --- Onglets de navigation --- */
.support-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.support-tab {
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    background: transparent;
    color: var(--clr-text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.support-tab:hover {
    background: var(--clr-bg-primary);
    color: var(--clr-text-primary);
}

.support-tab.active {
    background: var(--clr-blue);
    color: white;
}

.support-tab .badge {
    background: var(--clr-red);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.support-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.support-tab-content.active {
    display: block;
}

/* --- Tickets --- */
.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tickets-header h3 {
    font-size: 1.1rem;
    color: var(--clr-blue);
}

.tickets-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-select, .filter-input {
    padding: 0.5rem;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    background: var(--clr-bg-primary);
    color: var(--clr-text-primary);
    min-width: 150px;
}

.filter-input {
    flex: 1;
    min-width: 200px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ticket-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--clr-bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    border-left: 4px solid transparent;
}

.ticket-card.priority-high {
    border-left-color: var(--clr-red);
}

.ticket-card.priority-medium {
    border-left-color: var(--clr-yellow);
}

.ticket-card.priority-low {
    border-left-color: var(--clr-green);
}

.ticket-card:hover {
    transform: translateX(5px);
    box-shadow: var(--clr-shadow);
}

.ticket-priority {
    min-width: 80px;
}

.priority-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.priority-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--clr-red);
}

.priority-badge.medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--clr-yellow);
}

.priority-badge.low {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-green);
}

.ticket-content {
    flex: 1;
    min-width: 300px;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ticket-header h4 {
    font-size: 1rem;
    margin: 0;
}

.ticket-id {
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    font-family: monospace;
}

.ticket-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    flex-wrap: wrap;
}

.ticket-meta i {
    margin-right: 0.3rem;
}

.ticket-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.in-progress {
    background: rgba(2, 132, 199, 0.1);
    color: var(--clr-blue);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--clr-yellow);
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-green);
}

.last-update {
    font-size: 0.75rem;
    color: var(--clr-text-secondary);
}

.ticket-actions {
    display: flex;
    gap: 0.3rem;
}

/* --- FAQ --- */
.faq-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.faq-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-secondary);
}

.faq-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    background: var(--clr-bg-primary);
    color: var(--clr-text-primary);
}

.faq-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.faq-category {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: var(--clr-bg-primary);
    color: var(--clr-text-secondary);
    border: 1px solid var(--clr-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category:hover {
    background: var(--clr-bg-secondary);
    color: var(--clr-text-primary);
}

.faq-category.active {
    background: var(--clr-blue);
    color: white;
    border-color: var(--clr-blue);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--clr-bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--clr-bg-primary);
}

.faq-category-badge {
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.faq-category-badge.debutant {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-green);
}

.faq-category-badge.pedagogique {
    background: rgba(2, 132, 199, 0.1);
    color: var(--clr-blue);
}

.faq-category-badge.financier {
    background: rgba(245, 158, 11, 0.1);
    color: var(--clr-yellow);
}

.faq-category-badge.technique {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.faq-category-badge.comptes {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.faq-question h4 {
    flex: 1;
    font-size: 0.95rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1rem 1rem 1rem;
    background: var(--clr-bg-primary);
    border-top: 1px solid var(--clr-border);
}

.faq-item.open .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-answer ol, .faq-answer ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.faq-answer li {
    margin: 0.3rem 0;
}

.faq-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* --- Documentation --- */
.docs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.docs-header h3 {
    font-size: 1.1rem;
    color: var(--clr-blue);
}

.docs-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--clr-bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--clr-shadow);
    border-color: var(--clr-blue);
}

.doc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.doc-icon.pdf {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.doc-icon.video {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.doc-icon.tuto {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.doc-info {
    flex: 1;
    min-width: 180px;
}

.doc-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.doc-info p {
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    margin-bottom: 0.3rem;
}

.doc-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.7rem;
    color: var(--clr-text-secondary);
    flex-wrap: wrap;
}

.doc-meta i {
    margin-right: 0.2rem;
}

.doc-actions {
    display: flex;
    gap: 0.3rem;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.contact-card {
    background: var(--clr-bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--clr-shadow);
    border: 1px solid var(--clr-border);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.contact-card.highlight {
    border: 2px solid var(--clr-blue);
    position: relative;
    overflow: hidden;
}

.contact-card.highlight::before {
    content: '✨ Recommandé';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--clr-blue);
    color: white;
    padding: 0.2rem 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.contact-card.full-width {
    grid-column: 1 / -1;
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-blue), #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--clr-blue);
}

.contact-card p {
    color: var(--clr-text-secondary);
    margin-bottom: 1.5rem;
}

.contact-details {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: var(--clr-bg-primary);
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    border-bottom: 1px dashed var(--clr-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 20px;
    color: var(--clr-blue);
}

.availability-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: pulse 2s infinite;
}

.chat-waiting {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    text-align: left;
    margin-top: 1rem;
}

/* --- Modales --- */
.ticket-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ticket-detail-header h4 {
    font-size: 1.1rem;
    color: var(--clr-text-primary);
    flex: 1;
}

.ticket-detail-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: var(--clr-bg-primary);
    border-radius: 6px;
    flex-wrap: wrap;
}

.ticket-detail-info p {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--clr-text-secondary);
}

.ticket-detail-info i {
    color: var(--clr-blue);
}

.ticket-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.message-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--clr-bg-primary);
    border-radius: 8px;
}

.message-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.message-header strong {
    color: var(--clr-blue);
}

.message-header span {
    font-size: 0.75rem;
    color: var(--clr-text-secondary);
}

.message-content p {
    margin: 0.3rem 0;
    line-height: 1.5;
}

.message-content ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.ticket-reply {
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
}

.ticket-reply h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.attachments-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.attachment-file {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    background: var(--clr-bg-primary);
    border-radius: 4px;
    font-size: 0.8rem;
}

.attachment-file i {
    color: var(--clr-blue);
}

/* --- Vidéo modal --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--clr-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder i:hover {
    transform: scale(1.1);
    color: #38bdf8;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }
    
    .ticket-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ticket-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-card {
        flex-wrap: wrap;
    }
    
    .doc-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .ticket-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-item {
        flex-direction: column;
    }
    
    .message-avatar {
        align-self: flex-start;
    }
    
    .contact-card.full-width {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .support-tabs {
        flex-direction: column;
    }
    
    .support-tab {
        width: 100%;
        justify-content: center;
    }
    
    .tickets-filters {
        flex-direction: column;
    }
    
    .filter-select, .filter-input {
        width: 100%;
    }
    
    .faq-categories {
        flex-direction: column;
    }
    
    .faq-category {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        flex-wrap: wrap;
    }
    
    .faq-category-badge {
        width: 100%;
    }
    
    .docs-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .docs-actions select,
    .docs-actions button {
        width: 100%;
    }
    
    .reply-actions {
        flex-direction: column;
    }
    
    .reply-actions button {
        width: 100%;
    }
}


/* ==============================================
   GUIDE DE PRISE EN MAIN - STYLES
   ============================================== */

/* --- Modal du guide --- */
.guide-modal .modal-content {
    max-width: 900px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.guide-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--clr-bg-primary);
    border-radius: 8px;
}

/* Sidebar du guide */
.guide-sidebar {
    width: 280px;
    background: var(--clr-bg-secondary);
    border-right: 1px solid var(--clr-border);
    padding: 1rem;
    overflow-y: auto;
}

.guide-sidebar h3 {
    font-size: 1rem;
    color: var(--clr-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--clr-border);
}

.guide-modules {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.guide-module {
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-module i {
    width: 20px;
    color: var(--clr-blue);
}

.guide-module:hover {
    background: var(--clr-bg-primary);
}

.guide-module.active {
    background: var(--clr-blue);
    color: white;
}

.guide-module.active i {
    color: white;
}

.guide-module.completed {
    color: var(--clr-green);
}

.guide-module.completed i {
    color: var(--clr-green);
}

.guide-module.completed::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.8rem;
}

/* Contenu principal du guide */
.guide-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: var(--clr-bg-primary);
}

.guide-step {
    display: none;
}

.guide-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.guide-step h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-blue);
}

.guide-step .step-counter {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--clr-bg-secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    margin-bottom: 1.5rem;
}

.guide-step .step-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--clr-text-primary);
}

.guide-demo {
    background: var(--clr-bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--clr-border);
}

.guide-demo h4 {
    margin-bottom: 1rem;
    color: var(--clr-blue);
}

.demo-image {
    background: var(--clr-bg-primary);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--clr-border);
    margin-bottom: 1rem;
}

.demo-image i {
    font-size: 3rem;
    color: var(--clr-blue);
    margin-bottom: 0.5rem;
}

.demo-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.demo-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.demo-button {
    background: var(--clr-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-button:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.guide-tip {
    background: rgba(2, 132, 199, 0.1);
    border-left: 4px solid var(--clr-blue);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.guide-tip i {
    color: var(--clr-blue);
    margin-right: 0.5rem;
}

.guide-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--clr-yellow);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.guide-warning i {
    color: var(--clr-yellow);
    margin-right: 0.5rem;
}

.guide-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--clr-green);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.guide-success i {
    color: var(--clr-green);
    margin-right: 0.5rem;
}

.guide-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border);
}

.guide-progress {
    margin-top: 1rem;
    padding: 0.5rem;
    background: var(--clr-bg-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar-guide {
    flex: 1;
    height: 6px;
    background: var(--clr-bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-guide .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-blue), #38bdf8);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
    min-width: 45px;
}

/* --- Recherche automatique --- */
.search-container {
    position: relative;
}

.support-search-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    background: var(--clr-bg-primary);
    color: var(--clr-text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.support-search-input:focus {
    border-color: var(--clr-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}

/* Suggestions de recherche */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-bg-secondary);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    margin-top: 0.3rem;
    box-shadow: var(--clr-shadow);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.active {
    display: block;
    animation: slideDown 0.2s ease;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--clr-border);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--clr-bg-primary);
}

.suggestion-item i {
    width: 20px;
    color: var(--clr-blue);
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    display: block;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.suggestion-category {
    font-size: 0.7rem;
    color: var(--clr-text-secondary);
}

/* --- WhatsApp badge --- */
.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* --- Responsive pour le guide --- */
@media (max-width: 768px) {
    .guide-container {
        flex-direction: column;
    }
    
    .guide-sidebar {
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .guide-modules {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .guide-module {
        flex-shrink: 0;
    }
    
    .guide-content {
        padding: 1rem;
    }
    
    .guide-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .guide-navigation button {
        width: 100%;
    }
}