/* 📝 Styles pour la modal d'aide à l'import */

.import-help-modal .modal__content {
    max-width: 800px;
    width: 90vw;
}

.import-help-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.help-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.help-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.help-section h3 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.help-section h4 {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
}

.help-section p {
    margin-bottom: 1rem;
    color: #666;
}

.help-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.help-section li {
    margin-bottom: 0.5rem;
    color: #666;
}

.help-section li strong {
    color: #333;
}

.code-example {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    background: transparent;
    overflow-x: auto;
}

.code-example code {
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.channels-help {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.format-channels {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.format-channels h4 {
    margin-bottom: 0.8rem;
    color: #2196F3;
}

.channel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.channel-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

/* Responsive */
@media (max-width: 768px) {
    .import-help-modal .modal__content {
        width: 95vw;
        max-width: none;
        margin: 1rem;
    }
    
    .code-example pre {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .channels-help {
        gap: 1rem;
    }
    
    .format-channels {
        padding: 0.8rem;
    }
    
    .channel-list {
        gap: 0.3rem;
    }
    
    .channel-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Code highlighting */
.code-example pre code {
    color: #333;
}

/* YAML syntax highlighting basique */
.code-example pre code::before {
    content: '';
}

/* Améliorer la lisibilité du code */
.code-example {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.code-example pre {
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}

/* Scrollbar personnalisée pour le code */
.code-example pre::-webkit-scrollbar {
    height: 8px;
}

.code-example pre::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.code-example pre::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.code-example pre::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}