
  
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: #6366f1;
      --primary-dark: #4f46e5;
      --secondary: #10b981;
      --accent: #f59e0b;
      --danger: #ef4444;
      --surface: #ffffff;
      --surface-alt: #f8fafc;
      --text: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
      --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
      color: var(--text);
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
    }
    
    /* Features Section */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin: 3rem 0;
    }

    .feature-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 1rem;
      padding: 2rem;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: transform 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-5px);
    }

    .feature-icon {
      width: 4rem;
      height: 4rem;
      background: var(--gradient);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      color: white;
    }

    .feature-card h3 {
      color: white;
      margin-bottom: 1rem;
      font-size: 1.5rem;
    }

    .feature-card p {
      color: rgba(255, 255, 255, 0.8);
    }

    .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    /* Header */
    header {
      padding: 2rem 0 1rem;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .logo {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

    .logo svg {
      width: 2.5rem;
      height: 2.5rem;
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-8px); }
    }

    .tagline {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 1rem;
    }

    /* Navigation breadcrumb */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      justify-content: center;
      margin-bottom: 1rem;
    }

    .breadcrumb a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .breadcrumb a:hover {
      color: white;
    }

    .breadcrumb-separator {
      opacity: 0.6;
    }

    /* Main Card */
    .main-card {
      background: var(--surface);
      border-radius: 1rem;
      padding: 2rem;
      box-shadow: var(--shadow-lg);
      margin: 2rem 0;
      border: 1px solid var(--border);
      backdrop-filter: blur(10px);
    }

    .main-card h1 {
      color: var(--primary);
      margin-bottom: 1.5rem;
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

    /* Form section */
    .add-section {
      background: var(--surface-alt);
      border-radius: 1rem;
      padding: 1.5rem;
      margin: 2rem 0;
      border: 2px dashed var(--border);
    }

    .add-form {
      display: grid;
      grid-template-columns: 2fr 1fr auto;
      gap: 1rem;
      align-items: end;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-input {
      padding: 0.75rem 1rem;
      border: 2px solid var(--border);
      border-radius: 0.5rem;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: var(--surface);
    }

    .form-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    label {
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text);
    }

    /* Buttons */
    .btn {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 0.5rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 1rem;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--gradient);
      color: white;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    .btn-secondary {
      background: var(--surface);
      color: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn-secondary:hover {
      background: var(--primary);
      color: white;
    }

    .btn-danger {
      background: var(--danger);
      color: white;
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
    }

    .btn-danger:hover {
      background: #dc2626;
      transform: translateY(-1px);
    }

    .button-group {
      display: flex;
      gap: 1rem;
      margin: 2rem 0;
      flex-wrap: wrap;
      justify-content: center;
    }

    /* Table */
    .table-container {
      background: var(--surface);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--shadow);
      margin: 2rem 0;
    }

    .table-header {
      background: var(--surface-alt);
      padding: 1rem;
      border-bottom: 2px solid var(--border);
      font-weight: 600;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th, td {
      padding: 1rem;
      text-align: left;
      border-bottom: 1px solid var(--border);
    }

    th {
      background: var(--surface-alt);
      font-weight: 600;
      color: var(--primary);
    }

    tbody tr:hover {
      background: var(--surface-alt);
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .quantity-btn {
      width: 2rem;
      height: 2rem;
      border: 2px solid var(--primary);
      background: var(--surface);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
    }

    .quantity-btn:hover {
      background: var(--primary);
      color: white;
    }

    .quantity-display {
      min-width: 3rem;
      text-align: center;
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--primary);
    }

    /* Empty state */
    .empty-state {
      text-align: center;
      padding: 3rem 2rem;
      color: var(--text-muted);
    }

    .empty-state svg {
      width: 4rem;
      height: 4rem;
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    /* Stats */
    .stats-bar {
      display: flex;
      gap: 1rem;
      margin: 1rem 0;
      flex-wrap: wrap;
      justify-content: center;
    }

    .stat-item {
      background: var(--surface-alt);
      padding: 1rem;
      border-radius: 0.5rem;
      text-align: center;
      border: 1px solid var(--border);
    }

    .stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
    }

    .stat-label {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    /* Footer */
    footer {
      margin-top: 4rem;
      padding: 3rem 0;
      text-align: center;
      color: rgba(255, 255, 255, 0.8);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-links {
      margin-top: 1rem;
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: white;
    }
    /* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - 2rem);
  background: var(--surface, #fff);
  color: var(--text, #333);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-size: 0.95rem;
  line-height: 1.5;
  z-index: 1000;
  animation: slideUp 0.5s ease forwards;
}

/* Texte */
.cookie-banner p {
  margin: 0;
  font-weight: 400;
  color: var(--text, #333);
}

/* Boutons */
.cookie-banner button {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.cookie-banner #cookie-accept {
  background: var(--primary, #6366f1);
  color: #fff;
}

.cookie-banner #cookie-accept:hover {
  background: #4f46e5;
}

.cookie-banner #cookie-reject {
  background: var(--surface-alt, #f3f4f6);
  color: var(--text, #333);
}

.cookie-banner #cookie-reject:hover {
  background: #e5e7eb;
}

/* Animation apparition */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .cookie-banner {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
  .cookie-banner button {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}




    /* Responsive */
    @media (max-width: 768px) {
      .logo {
        font-size: 2rem;
      }

      .tagline {
        font-size: 1rem;
      }

      .main-card h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
      }

      .add-form {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .button-group {
        flex-direction: column;
      }

    

      table {
        font-size: 0.9rem;
      }

      th, td {
        padding: 0.75rem 0.5rem;
      }
    }

    /* Animations */
    .fade-in {
      animation: fadeIn 0.5s ease-out;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .slide-in {
      animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateX(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
  