/* ============================================================
   RESET & BASE
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f0f2f5;
  color: #1a1a2e;
}

/* ============================================================
   APP CONTAINER (Dashboard)
   ============================================================ */

.app-container {
  display: flex;
  min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.sidebar-collapsed {
  width: 80px;
}

.sidebar-collapsed .logo span,
.sidebar-collapsed .nav-item span,
.sidebar-collapsed .logout-btn-sidebar span {
  display: none;
}

.sidebar-collapsed .nav-item i {
  margin: 0;
}

.sidebar-header {
  padding: 30px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}

.logo i {
  font-size: 28px;
  color: #6366f1;
}

.logo span {
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sidebar-nav {
  flex: 1;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #a0a0c0;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-item i {
  width: 22px;
  font-size: 18px;
}

.nav-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: white;
}

.nav-item.active {
  background: #6366f1;
  color: white;
}

.sidebar-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn-sidebar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: none;
  border-radius: 12px;
  color: #f87171;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn-sidebar:hover {
  background: #ef4444;
  color: white;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 24px 32px;
  transition: all 0.3s ease;
}

.sidebar-collapsed ~ .main-content {
  margin-left: 80px;
}

/* ============================================================
   HEADER
   ============================================================ */

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sidebar-toggle {
  background: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.sidebar-toggle:hover {
  background: #6366f1;
  color: white;
}

.header-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.header-title p {
  color: #6b7280;
  font-size: 14px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: white;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-info i {
  font-size: 28px;
  color: #6366f1;
}

/* ============================================================
   STATS GRID
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.stat-icon.blue {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.stat-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.stat-info h3 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
}

.stat-info p {
  color: #6b7280;
  font-size: 14px;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: white;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header h2 i {
  color: #6366f1;
}

.card-body {
  padding: 24px;
}

.card-body.no-padding {
  padding: 0;
}

.full-height {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.full-height .card-body {
  flex: 1;
}

/* ============================================================
   FORMULAIRES
   ============================================================ */

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: #6366f1;
  background: white;
}

.project-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.project-select-wrapper {
  position: relative;
}

.project-select-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 1;
}

.project-select-wrapper select {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  background: #f9fafb;
  cursor: pointer;
}

.input-group-btn {
  display: flex;
  gap: 12px;
}

.input-group-double {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.input-group-double .input-wrapper {
  flex: 2;
}

/* ============================================================
   BOUTONS
   ============================================================ */

.btn-primary {
  padding: 12px 24px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  padding: 12px 24px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-outline {
  padding: 12px 24px;
  background: transparent;
  color: #6366f1;
  border: 2px solid #6366f1;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: #6366f1;
  color: white;
}

.btn-use-plan {
  margin-top: 16px;
  padding: 10px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   ARTICLES LIST
   ============================================================ */

.articles-list {
  max-height: 500px;
  overflow-y: auto;
}

.article-card {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-card:hover {
  background: #f9fafb;
}

.article-card.active {
  background: #eef2ff;
  border-left: 4px solid #6366f1;
}

.article-title {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.actions-row button {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.actions-row button:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

/* ============================================================
   BADGES SEO
   ============================================================ */

.seo-badge,
.status-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: white;
}

.seo-low { background: #ef4444; }
.seo-medium { background: #f59e0b; }
.seo-high { background: #10b981; }

.status-draft {
  background: #e5e7eb;
  color: #374151;
}

.status-published {
  background: #6366f1;
}

/* ============================================================
   APERÇU ARTICLE
   ============================================================ */

.preview-card {
  min-height: 600px;
}

.article-preview {
  background: #f9fafb;
  padding: 24px;
  border-radius: 16px;
  line-height: 1.7;
  max-height: 550px;
  overflow-y: auto;
}

.placeholder-preview {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.placeholder-preview i {
  font-size: 48px;
  margin-bottom: 16px;
}

/* ============================================================
   MODALE
   ============================================================ */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  width: 700px;
  max-width: 90%;
  border-radius: 24px;
  overflow: hidden;
  animation: fadeInUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
}

.modal-body {
  padding: 24px;
}

.modal-body textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 16px;
  font-family: inherit;
}

.select-wrapper {
  position: relative;
  margin-top: 16px;
}

.select-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.select-wrapper select {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  background: #f9fafb;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1f2937;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  background: #10b981;
}

.toast.error {
  background: #ef4444;
}

/* ============================================================
   PAGE D'AUTHENTIFICATION
   ============================================================ */

.auth-body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  margin: 0;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.auth-card {
  background: white;
  border-radius: 24px;
  padding: 40px 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.5s ease-out;
}

.auth-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.auth-logo i {
  font-size: 42px;
  color: #6366f1;
}

.auth-logo h1 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 14px;
}

/* Onglets */
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 5px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  color: #6b7280;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab.active {
  background: white;
  color: #6366f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-tab:hover:not(.active) {
  background: #e5e7eb;
  color: #4f46e5;
}

/* Formulaires auth */
.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.auth-form .input-group {
  position: relative;
  margin-bottom: 20px;
}

.auth-form .input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
}

.auth-form .input-group input {
  width: 100%;
  padding: 14px 15px 14px 45px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.auth-form .input-group input:focus {
  border-color: #6366f1;
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
}

.checkbox-group a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.auth-footer p {
  font-size: 12px;
  color: #9ca3af;
}

/* Modales conditions */
.modal-terms {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.modal-terms-content {
  background: white;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.3s ease-out;
  overflow: hidden;
}

.modal-terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.modal-terms-header h2 {
  margin: 0;
  font-size: 20px;
  color: #1f2937;
}

.modal-terms-header button {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-terms-header button:hover {
  background: #e5e7eb;
  color: #374151;
}

.modal-terms-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.modal-terms-body h3 {
  font-size: 16px;
  color: #1f2937;
  margin: 20px 0 10px 0;
}

.modal-terms-body h3:first-child {
  margin-top: 0;
}

.modal-terms-body p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-terms-footer {
  padding: 15px 25px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

.modal-terms-footer button {
  padding: 10px 24px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-terms-footer button:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .sidebar {
    width: 80px;
  }
  
  .sidebar .logo span,
  .sidebar .nav-item span,
  .sidebar .logout-btn-sidebar span {
    display: none;
  }
  
  .sidebar .nav-item i {
    margin: 0;
  }
  
  .main-content {
    margin-left: 80px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .input-group-double {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 16px;
  }
  
  .header-title h1 {
    font-size: 22px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .inline-group {
    flex-direction: column;
    align-items: stretch;
  }
}
/* ============================================================
   PAGE FEEDBACK UTILISATEUR
   ============================================================ */

.feedback-body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  margin: 0;
}

.feedback-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.feedback-card {
  background: white;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.5s ease-out;
}

.feedback-header {
  text-align: center;
  margin-bottom: 35px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 40px;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.back-btn:hover {
  background: #e5e7eb;
  transform: translateX(-4px);
}

.feedback-logo i {
  font-size: 56px;
  color: #6366f1;
  margin-bottom: 16px;
}

.feedback-logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.feedback-subtitle {
  color: #6b7280;
  font-size: 15px;
}

/* Types de feedback */
.feedback-types {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.type-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.type-option input {
  display: none;
}

.type-option i {
  font-size: 18px;
  color: #6b7280;
}

.type-option span {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
}

.type-option:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.type-option:has(input:checked) {
  background: #eef2ff;
  border-color: #6366f1;
}

.type-option:has(input:checked) i {
  color: #6366f1;
}

.type-option:has(input:checked) span {
  color: #6366f1;
}

/* Étoiles de notation */
.rating-stars {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.rating-stars i {
  font-size: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #d1d5db;
}

.rating-stars i:hover,
.rating-stars i.fas {
  color: #fbbf24;
  transform: scale(1.1);
}

/* Formulaire */
.feedback-form .form-group {
  margin-bottom: 24px;
}

.feedback-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
  font-size: 14px;
}

.feedback-form label i {
  color: #6366f1;
}

.feedback-form .input-wrapper {
  position: relative;
}

.feedback-form .input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.feedback-form .input-wrapper input {
  padding-left: 42px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.feedback-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  cursor: pointer;
  font-weight: normal;
}

/* Boutons du formulaire */
.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
  flex: 1;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}

/* Message de succès */
.feedback-success {
  text-align: center;
  padding: 20px;
}

.feedback-success i {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 20px;
}

.feedback-success h3 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 10px;
}

.feedback-success p {
  color: #6b7280;
  margin-bottom: 25px;
}

/* Plan résultat */
.plan-result {
  margin-top: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border-left: 4px solid #6366f1;
}

.ideas-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.idea-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.idea-item button {
  padding: 6px 12px;
  font-size: 12px;
  background: #6366f1;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.generation-status {
  margin-top: 15px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 10px;
  color: #d97706;
  font-size: 14px;
}

.filter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-wrapper i {
  color: #9ca3af;
}

.filter-wrapper select {
  width: auto;
  padding: 8px 12px;
  margin: 0;
}
/* ============================================================
   MODALE SUGGESTIONS
   ============================================================ */

.modal-suggestions {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 10002;
  animation: fadeIn 0.2s ease;
}

.modal-suggestions-content {
  background: white;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.3s ease;
}

.modal-suggestions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.modal-suggestions-header h2 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.modal-suggestions-header h2 i {
  color: #f59e0b;
}

.modal-suggestions-header button {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-suggestions-header button:hover {
  background: #e5e7eb;
  color: #374151;
}

.modal-suggestions-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-suggestions-body #suggestionsText {
  line-height: 1.7;
  color: #374151;
}

.modal-suggestions-body #suggestionsText h3 {
  color: #1f2937;
  margin: 20px 0 10px 0;
}

.modal-suggestions-body #suggestionsText h3:first-child {
  margin-top: 0;
}

.modal-suggestions-body #suggestionsText p {
  margin-bottom: 12px;
}

.modal-suggestions-body #suggestionsText ul {
  margin: 10px 0 20px 20px;
}

.modal-suggestions-body #suggestionsText li {
  margin-bottom: 8px;
}

.modal-suggestions-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}