body
{
   background-color: #FFFFFF;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   padding: 0;
}
:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --background: #f8fafc;
  --card-bg: #ffffff;
  --header-bg: linear-gradient(135deg, #1F2937 0%, #374151 100%);
  --footer-bg: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --text-light: #ffffff;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --border: #D1D5DB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.06);
  --active-color: #8B5CF6;
  --menu-hover-bg: rgba(255,255,255,0.1);
  --dropdown-bg: #1F2937;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
  height: 100%;
  overflow-x: hidden;
}

/* ========== MODIFICATIONS POUR 10 ARTICLES/PODCASTS ========== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* Ajustement pour les grands écrans */
@media (min-width: 1600px) {
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTENU PRINCIPAL */
.dashboard-content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    background: var(--background);
}

/* HERO SECTION */
.hero-section {
    text-align: center;
    margin-bottom: 48px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ACTIONS RAPIDES */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.action-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.action-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1);
}

.action-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 17px;
}

.action-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== CARTES DE CONTENU ========== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
    margin-bottom: 40px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-header {
    padding: 20px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    color: var(--primary);
    font-size: 18px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-all:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(4px);
}

.card-content {
    padding: 0 24px 24px;
}

/* ITEMS DE CONTENU */
.content-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.content-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.content-item:hover .content-image {
    transform: scale(1.05);
}

.content-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.content-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    align-self: flex-start;
}

.content-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.content-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.content-stats {
    display: flex;
    gap: 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.stat:hover {
    color: var(--primary);
}

.podcast-duration {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: #6B7280;
}

.btn-secondary:hover {
    background: #4B5563;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* EVENTS STYLES */
.event-item {
    padding: 18px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.event-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* CATEGORIES STYLES */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.category-item {
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.category-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px;
}

.category-type {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--background);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-live {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.2) 100%);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* PODCAST ACTIONS */
.podcast-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.podcast-play-btn {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.podcast-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ========== FOOTER CENTRÉ BIEN DESIGNÉ ========== */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-section {
    color: white;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section p {
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    margin-top: 20px;
}

.social-links a {
    color: #D1D5DB;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 300px;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links-bottom a:hover {
    color: white;
}

.footer-links-bottom a::after {
    content: '•';
    position: absolute;
    right: -12px;
    color: #6B7280;
}

.footer-links-bottom a:last-child::after {
    display: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 20px;
    }
    
    .hero-section {
        padding: 40px 0;
        margin-bottom: 32px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 16px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links-bottom a::after {
        display: none;
    }
}

/* MESSAGES D'ERREUR */
.error-message {
    background: #FEE2E2;
    color: #DC2626;
    padding: 16px;
    border-radius: var(--radius);
    margin: 20px 0;
    border-left: 4px solid #DC2626;
    text-align: center;
}

.info-message {
    background: #DBEAFE;
    color: #1D4ED8;
    padding: 16px;
    border-radius: var(--radius);
    margin: 20px 0;
    border-left: 4px solid #1D4ED8;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
    display: block;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-state p {
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
