/* ============================================
   HELP.CSS - Page d'aide Premium 3D
   ============================================ */

/* Variables Premium */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-info: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* ============================================
   ANIMATIONS PREMIUM
   ============================================ */

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 16px rgba(102, 126, 234, 0.8));
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 2000px;
        transform: translateY(0);
    }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ============================================
   HEADER CORRECTIONS
   ============================================ */

.top-header .header-content-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 2rem !important;
}

.top-header .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.top-header .header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

/* Titre page avec dégradé */
.page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Section titles avec dégradé */
.section-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Category titles avec dégradé */
.category-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.375rem;
}

/* Form title avec dégradé */
.form-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

/* ============================================
   BOUTON BACK TO DASHBOARD
   ============================================ */

.btn-back-dashboard {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-back-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-back-dashboard:hover::before {
    left: 100%;
}

.btn-back-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */

.help-container {
    padding: 2rem 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.dark-mode .glass-card {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1rem;
}

body.dark-mode .glass-nav {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-section {
    background: rgba(102, 126, 234, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

body.dark-mode .glass-section {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   NAVIGATION HELP
   ============================================ */

.help-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.help-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 14px;
    color: var(--text-secondary, #64748b);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
}

body.dark-mode .help-nav-item {
    color: var(--text-secondary, #94a3b8);
}

.help-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    border-radius: 0 3px 3px 0;
    transition: all 0.3s ease;
}

.help-nav-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary, #1e293b);
    transform: translateX(4px);
}

body.dark-mode .help-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #f8fafc);
}

.help-nav-item.active {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 100%);
    color: var(--primary-color, #667eea);
    font-weight: 600;
}

body.dark-mode .help-nav-item.active {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.2) 0%, 
        rgba(118, 75, 162, 0.2) 100%);
}

.help-nav-item.active::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.help-nav-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.help-nav-item:hover i,
.help-nav-item.active i {
    transform: scale(1.1);
}

/* ============================================
   CONTENU HELP
   ============================================ */

.help-content {
    border-radius: 24px;
    padding: 2.5rem;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.help-tab {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-tab.active {
    display: block;
}

/* ============================================
   SEARCH FAQ
   ============================================ */

.search-faq {
    position: relative;
    margin-bottom: 2rem;
}

.search-faq i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary, #94a3b8);
    font-size: 1.125rem;
}

.search-faq input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid transparent;
    border-radius: 16px;
    background: rgba(102, 126, 234, 0.05);
    color: var(--text-primary, #1e293b);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .search-faq input {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #f8fafc);
}

.search-faq input:focus {
    outline: none;
    border-color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 0 20px rgba(102, 126, 234, 0.2);
}

body.dark-mode .search-faq input:focus {
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   FAQ CATEGORIES
   ============================================ */

.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

/* ============================================
   FAQ ITEMS (ACCORDÉON)
   ============================================ */

.faq-item {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary, #1e293b);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .faq-question {
    color: var(--text-primary, #f8fafc);
}

.faq-question:hover {
    color: var(--primary-color, #667eea);
}

.faq-question i {
    font-size: 1.125rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color, #667eea);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    opacity: 1;
    padding: 0 1.5rem 1.5rem;
    animation: slideDown 0.4s ease;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

body.dark-mode .faq-answer p {
    color: var(--text-secondary, #94a3b8);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

body.dark-mode .faq-answer li {
    color: var(--text-secondary, #94a3b8);
}

.faq-answer strong {
    color: var(--text-primary, #1e293b);
    font-weight: 600;
}

body.dark-mode .faq-answer strong {
    color: var(--text-primary, #f8fafc);
}

/* Message no results */
.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    margin-top: 2rem;
}

.no-results-message i {
    font-size: 3rem;
    color: var(--text-tertiary, #94a3b8);
    margin-bottom: 1rem;
    display: block;
}

.no-results-message p {
    font-size: 1rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.5rem 0;
}

.no-results-message a {
    color: var(--primary-color, #667eea);
    font-weight: 600;
    text-decoration: none;
}

.no-results-message a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-intro {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid var(--primary-color, #667eea);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.contact-intro p {
    font-size: 1rem;
    color: var(--text-primary, #1e293b);
    margin: 0;
    line-height: 1.6;
}

body.dark-mode .contact-intro p {
    color: var(--text-primary, #f8fafc);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    border-color: var(--primary-color, #667eea);
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.15);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color, #667eea);
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.5rem 0;
}

body.dark-mode .contact-card h3 {
    color: var(--text-primary, #f8fafc);
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 1rem 0;
}

body.dark-mode .contact-card p {
    color: var(--text-secondary, #94a3b8);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color, #667eea);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.5rem;
}

body.dark-mode .form-group label {
    color: var(--text-primary, #f8fafc);
}

.form-group label i {
    color: var(--primary-color, #667eea);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.05);
    color: var(--text-primary, #1e293b);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #f8fafc);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #667eea);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 0 20px rgba(102, 126, 234, 0.2);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.8125rem;
    color: var(--text-tertiary, #94a3b8);
    margin-top: 0.5rem;
}

.char-counter span {
    font-weight: 600;
    color: var(--primary-color, #667eea);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-submit,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary, #1e293b);
    border-color: transparent;
}

body.dark-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #f8fafc);
}

.btn-secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* ============================================
   DOCUMENTATION GRID - RESPONSIVE CORRIGÉ
   ============================================ */

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive pour tablettes */
@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

/* Responsive pour smartphones */
@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.doc-card {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

body.dark-mode .doc-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.doc-card:hover {
    border-color: var(--primary-color, #667eea);
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.15);
}

.doc-card i {
    font-size: 2.5rem;
    color: var(--primary-color, #667eea);
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.doc-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

body.dark-mode .doc-card h3 {
    color: var(--text-primary, #f8fafc);
}

.doc-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 1rem 0;
    line-height: 1.6;
    flex-grow: 1;
}

body.dark-mode .doc-card p {
    color: var(--text-secondary, #94a3b8);
}

.doc-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: auto;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */

.resources-section {
    margin-bottom: 3rem;
}

.resources-section:last-child {
    margin-bottom: 0;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .resource-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.resource-item:hover {
    border-color: var(--primary-color, #667eea);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.resource-item i {
    font-size: 1.5rem;
    color: var(--primary-color, #667eea);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.resource-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.25rem;
}

body.dark-mode .resource-item strong {
    color: var(--text-primary, #f8fafc);
}

.resource-item p {
    font-size: 0.875rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
    line-height: 1.5;
}

body.dark-mode .resource-item p {
    color: var(--text-secondary, #94a3b8);
}

/* ============================================
   NEWSLETTER SIGNUP
   ============================================ */

.newsletter-signup {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    margin-top: 1.5rem;
}

body.dark-mode .newsletter-signup {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.newsletter-signup i {
    font-size: 3rem;
    color: var(--primary-color, #667eea);
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

.newsletter-signup div {
    flex: 1;
}

.newsletter-signup h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.25rem 0;
}

body.dark-mode .newsletter-signup h4 {
    color: var(--text-primary, #f8fafc);
}

.newsletter-signup p {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

body.dark-mode .newsletter-signup p {
    color: var(--text-secondary, #94a3b8);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-left: 4px solid var(--primary-color, #667eea);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    max-width: 420px;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .toast {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.25rem;
}

body.dark-mode .toast-title {
    color: var(--text-primary, #f8fafc);
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
}

body.dark-mode .toast-message {
    color: var(--text-secondary, #94a3b8);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .help-container {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .help-container {
        grid-template-columns: 1fr;
        padding: 1rem 0 2rem;
    }
    
    .help-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .help-nav-item {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        min-width: 100px;
        text-align: center;
    }
    
    .help-nav-item::before {
        display: none;
    }
    
    .help-nav-item span {
        font-size: 0.8125rem;
    }
    
    .help-content {
        padding: 1.5rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-signup {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-signup .btn-secondary {
        width: 100%;
    }

    .top-header .header-content-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .top-header .header-right {
        width: 100%;
    }

    .btn-back-dashboard {
        width: 100%;
        justify-content: center;
    }

    /* Corrections spécifiques pour la section documentation */
    .doc-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .doc-card i {
        font-size: 2rem;
    }

    .doc-card h3 {
        font-size: 1rem;
    }

    .doc-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .section-title,
    .page-title {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .category-title {
        font-size: 1.125rem;
    }

    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
    }

    .doc-card {
        padding: 1.25rem;
    }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
    .sidebar,
    .top-header,
    .help-nav,
    .contact-form {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .help-container {
        grid-template-columns: 1fr;
    }
}