/* ============================================
   PLANNING B2S SANTÉ — Feuille de styles
   Préfixe .planning- pour éviter conflits Bootstrap
   ============================================ */

.planning-wrap {
  font-family: 'Montserrat', sans-serif;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* ── HEADER ── */
.planning-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 32px !important;
  gap: 16px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.planning-title {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  border: none;
}
.planning-logo img {
  height: 64px;
  display: block;
}

/* ── TABLE DESKTOP ── */
.planning-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.planning-table thead th {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4892a;
  padding: 0 8px 10px;
  text-align: center;
  border: none;
  background: none;
}
.planning-table thead th.th-time {
  width: 80px;
  color: transparent;
}

.planning-table thead tr.sep-row th {
  padding: 0;
}
.planning-table thead tr.sep-row th div {
  height: 3px;
  background: #1a1a1a;
}

.planning-table tbody td {
  padding: 13px 8px 15px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  vertical-align: middle;
}
.planning-table tbody td.td-time {
  text-align: left;
  padding-left: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  line-height: 1.7;
  vertical-align: middle;
  width: 80px;
}

.planning-table .cell-activity {
  font-weight: 600;
  font-size: 1.3rem;
  color: #1a1a1a;
  display: block;
  line-height: 1.4;
}

/* ── COULEURS PAR ACTIVITÉ ── */
.planning-table .aqua   { background: #b3e8f5; }
.planning-table .marche { background: #b3e8c4; }
.planning-table .pilates { background: #cfc3f0; }
.planning-table .gym    { background: #ffd4a8; }
.planning-table .longe  { background: #a8d4f5; }

/* ── MOBILE : cartes par jour ── */
.planning-mobile {
  display: none;
}

.planning-mobile .mobile-day {
  margin-bottom: 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.planning-mobile .mobile-day-header {
  background: #1a1a1a;
  color: #c4892a;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
}
.planning-mobile .mobile-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid #eeeeee;
  font-size: 1.3rem;
}
.planning-mobile .mobile-session:last-child {
  border-bottom: none;
}
.planning-mobile .mobile-session-name {
  font-weight: 600;
  color: #1a1a1a;
}
.planning-mobile .mobile-session-time {
  font-weight: 500;
  color: #666;
  font-size: 1.3rem;
  white-space: nowrap;
  margin-left: 12px;
}
.planning-mobile .mobile-session.aqua   { background: #b3e8f5; }
.planning-mobile .mobile-session.marche { background: #b3e8c4; }
.planning-mobile .mobile-session.pilates { background: #cfc3f0; }
.planning-mobile .mobile-session.gym    { background: #ffd4a8; }
.planning-mobile .mobile-session.longe  { background: #a8d4f5; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .planning-title { font-size: 1.5rem; letter-spacing: 0.12em; }
  .planning-logo img { height: 48px; }
  .planning-table { display: none; }
  .planning-mobile { display: block; margin-top: 8px; }
}

@media print {
  .planning-mobile { display: none !important; }
  .planning-table { display: table !important; }
}
