.dashboard-container {
  display: flex;
  min-height: calc(100vh - 60px);
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: var(--dark-blue);
  color: var(--white);
  padding: 20px 10px;
  flex-shrink: 0;
}
.sidebar ul { list-style: none; }
.sidebar a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 10px;
  margin-bottom: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.sidebar a:hover {
  background: var(--orange);
  color: var(--dark-blue);
  font-weight: 600;
}

/* CONTENT */
.dashboard-content {
  flex-grow: 1;
  padding: 30px;
  background: var(--light-bg);
}

/* MODULES */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.module-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  padding: 25px;
  color: var(--dark-blue);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  color: var(--orange);
}

/* RESPONSIVE */
@media(max-width: 800px) {
  .dashboard-container { flex-direction: column; }
  .sidebar { width: 100%; display: flex; overflow-x: auto; }
  .sidebar ul { display: flex; flex-wrap: nowrap; }
  .sidebar a { white-space: nowrap; margin-right: 10px; }
}
/* PAGES GÉNÉRIQUES */
.page {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.page h2 {
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.page p {
  margin-bottom: 20px;
  color: #444;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
  background: #ffa946;
  transform: translateY(-2px);
}


/* PODCASTS */
.podcast-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn-secondary {
  background: var(--dark-blue);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--dark-blue);
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: transparent;
  color: var(--dark-blue);
}

.podcast-preview {
  margin-top: 40px;
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.podcast-preview h3 {
  margin-bottom: 10px;
  color: var(--dark-blue);
}
.podcast-preview p {
  color: #555;
}

/* FORMULAIRES IA */
.form-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  max-width: 720px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stats-box {
  background: #f5f7fb;
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  color: #333;
  font-size: 15px;
}

.full-width {
  width: 100%;
}

.alert-error {
  background: #ffe6e6;
  color: #a10000;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #ffcccc;
}


