/* PAGE PROFIL DASHBOARD */

.sp-profile-content {
  padding-top: 26px;
}

.sp-profile-tabs {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 0 18px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
  overflow-x: auto;
}

.sp-profile-tabs a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: var(--sp-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.sp-profile-tabs a.active {
  color: var(--sp-blue);
  border-bottom-color: var(--sp-blue);
}

.sp-profile-hero-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr 300px;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-profile-avatar-large {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-primary));
  display: grid;
  place-items: center;
  color: white;
  font-size: 48px;
  font-weight: 900;
}

.sp-profile-avatar-large button,
.sp-profile-photo button {
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--sp-blue);
  color: white;
  cursor: pointer;
}

.sp-profile-summary h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--sp-text);
}

.sp-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sp-soft-blue);
  color: var(--sp-blue);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.sp-profile-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-profile-verified-card {
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  border: 1px solid #d6e4ff;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sp-profile-verified-card span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--sp-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.sp-profile-verified-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--sp-blue);
}

.sp-profile-verified-card p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 13px;
  line-height: 1.6;
}

.sp-profile-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.sp-profile-panel {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-profile-panel h2 {
  margin: 0 0 22px;
  font-size: 19px;
  color: var(--sp-text);
}

.sp-profile-form {
  display: grid;
  gap: 16px;
}

.sp-profile-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sp-profile-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-text);
  font-size: 13px;
  font-weight: 700;
}

.sp-profile-form input,
.sp-profile-form select,
.sp-profile-form textarea {
  width: 100%;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  color: var(--sp-text);
  background: #ffffff;
  font-family: inherit;
}

.sp-profile-form input:focus,
.sp-profile-form select:focus,
.sp-profile-form textarea:focus {
  outline: none;
  border-color: var(--sp-blue);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
}

.sp-profile-form textarea {
  resize: vertical;
}

.sp-profile-form .sp-btn {
  width: fit-content;
  border: none;
  cursor: pointer;
  margin-top: 6px;
}

.sp-profile-side {
  display: grid;
  gap: 20px;
}

.sp-profile-photo-card {
  text-align: center;
}

.sp-profile-photo {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-primary));
  color: white;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 900;
}

.sp-profile-photo-card p {
  margin: 0 0 16px;
  color: var(--sp-muted);
  font-size: 12.5px;
}

.sp-profile-photo-card .sp-btn {
  width: 100%;
}


/* RESPONSIVE PROFIL */

@media (max-width: 1200px) {

  .sp-profile-hero-card,
  .sp-profile-grid {
    grid-template-columns: 1fr;
  }

  .sp-profile-avatar-large {
    margin: 0 auto;
  }

  .sp-profile-hero-card {
    text-align: center;
  }

  .sp-profile-summary ul {
    justify-items: center;
  }

  .sp-profile-verified-card {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .sp-profile-form-row {
    grid-template-columns: 1fr;
  }

  .sp-profile-form .sp-btn {
    width: 100%;
  }
}

.sp-profile-message {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.sp-profile-message.success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.sp-profile-message.error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

/* ABONNEMENT PROFIL */

.sp-membership-card {
  display: grid;
  gap: 18px;
}

.sp-membership-badge {
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  padding: 0 18px;
}

.sp-membership-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-membership-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-membership-row span {
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-membership-row strong {
  color: var(--sp-text);
  font-size: 14px;
}

.sp-status-active {
  color: #039855 !important;
}

.sp-status-expired {
  color: #d92d20 !important;
}

/* PAGE RESSOURCES DASHBOARD */

.sp-resources-page {
  padding-top: 26px;
}

.sp-resources-header {
  margin-bottom: 22px;
}

.sp-resources-header h2 {
  margin: 0 0 8px;
  color: var(--sp-text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.sp-resources-header p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-resources-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.sp-resource-stat-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-resource-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  flex: 0 0 54px;
}

.sp-resource-stat-icon.blue {
  background: #eef4ff;
  color: var(--sp-blue);
}

.sp-resource-stat-icon.green {
  background: #ecfdf3;
  color: #039855;
}

.sp-resource-stat-icon.purple {
  background: #f4f3ff;
  color: #7a5af8;
}

.sp-resource-stat-icon.orange {
  background: #fff4e5;
  color: #f79009;
}

.sp-resource-stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--sp-text);
}

.sp-resource-stat-card p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* TOOLBAR */

.sp-resources-toolbar {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(170px, 1fr) minmax(160px, 1fr) minmax(160px, 0.9fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-resource-search {
  position: relative;
}

.sp-resource-search input,
.sp-resources-toolbar select,
.sp-resource-pagination select {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--sp-text) !important;
  padding: 0 14px !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.sp-resource-search input {
  padding-right: 40px !important;
}

.sp-resource-search span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--sp-muted);
  font-size: 17px;
  pointer-events: none;
}

.sp-resource-view-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-resource-view-actions button {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid var(--sp-border) !important;
  background: #ffffff !important;
  border-radius: 11px !important;
  color: var(--sp-muted) !important;
  cursor: pointer;
  font-size: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  place-items: center;
}

.sp-resource-view-actions button.active {
  color: #ffffff !important;
  background: var(--sp-blue) !important;
  border-color: var(--sp-blue) !important;
}

/* TABLE */

.sp-resources-table-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-resources-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
}

.sp-resources-table th {
  text-align: left;
  padding: 16px 20px !important;
  color: #667085;
  font-size: 12.5px;
  font-weight: 800;
  background: #fbfcff;
  border-bottom: 1px solid var(--sp-border);
  white-space: nowrap;
}

.sp-resources-table td {
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--sp-border);
  color: var(--sp-text);
  font-size: 13.5px;
  vertical-align: middle;
}

.sp-resources-table tbody tr:last-child td {
  border-bottom: none;
}

.sp-resource-file {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-resource-file>span {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 900;
  flex: 0 0 48px;
}

.sp-resource-file .pdf {
  background: #fff1f3;
  color: #d92d20;
}

.sp-resource-file .docx {
  background: #eff8ff;
  color: #1570ef;
}

.sp-resource-file .pptx {
  background: #fff4e5;
  color: #f79009;
}

.sp-resource-file .xlsx {
  background: #ecfdf3;
  color: #039855;
}

.sp-resource-file .zip {
  background: #f4f3ff;
  color: #7a5af8;
}

.sp-resource-file strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sp-text);
  font-size: 14px;
  font-weight: 800;
}

.sp-resource-file p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 12.5px;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.sp-badge.blue {
  background: #eef4ff;
  color: var(--sp-blue);
}

.sp-badge.green {
  background: #dcfae6;
  color: #039855;
}

.sp-badge.purple {
  background: #f4f3ff;
  color: #7a5af8;
}

.sp-resource-actions {
  display: flex;
  gap: 8px;
}

.sp-resource-actions a,
.sp-resource-actions button {
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 10px !important;
  border: 1px solid var(--sp-border) !important;
  background: #ffffff !important;
  color: var(--sp-blue) !important;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px !important;
  font-weight: 800;
  padding: 0 !important;
  margin: 0 !important;
}

/* PAGINATION */

.sp-resource-pagination {
  border-top: 1px solid var(--sp-border);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto 150px;
  align-items: center;
  gap: 16px;
}

.sp-resource-pagination p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 13px;
}

.sp-pagination-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sp-pagination-buttons button {
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  border: 1px solid var(--sp-border) !important;
  background: #ffffff !important;
  color: var(--sp-text) !important;
  border-radius: 9px !important;
  cursor: pointer;
  font-weight: 750;
  padding: 0 !important;
  margin: 0 !important;
}

.sp-pagination-buttons button.active {
  background: var(--sp-blue) !important;
  color: white !important;
  border-color: var(--sp-blue) !important;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .sp-resources-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-resources-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .sp-resource-view-actions {
    grid-column: span 2;
  }

  .sp-resources-table-card {
    overflow-x: auto;
  }

  .sp-resources-table {
    min-width: 940px;
  }
}

@media (max-width: 760px) {

  .sp-resources-stats,
  .sp-resources-toolbar,
  .sp-resource-pagination {
    grid-template-columns: 1fr;
  }

  .sp-resource-view-actions {
    grid-column: auto;
  }

  .sp-pagination-buttons {
    justify-content: center;
  }
}

/* PAGE MES WEBINAIRES DASHBOARD */

.sp-webinars-dashboard-page {
  padding-top: 26px;
}

.sp-webinars-dashboard-header {
  margin-bottom: 22px;
}

.sp-webinars-dashboard-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--sp-text);
}

.sp-webinars-dashboard-header p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 14px;
}

.sp-webinar-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.sp-webinar-stat-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-webinar-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}

.sp-webinar-stat-icon.blue {
  background: #eef4ff;
  color: var(--sp-blue);
}

.sp-webinar-stat-icon.green {
  background: #ecfdf3;
  color: #039855;
}

.sp-webinar-stat-icon.purple {
  background: #f4f3ff;
  color: #7a5af8;
}

.sp-webinar-stat-icon.orange {
  background: #fff4e5;
  color: #f79009;
}

.sp-webinar-stat-card strong {
  display: block;
  font-size: 27px;
  color: var(--sp-text);
  line-height: 1;
  margin-bottom: 7px;
}

.sp-webinar-stat-card p {
  margin: 0 0 4px;
  color: var(--sp-text);
  font-weight: 750;
  font-size: 14px;
}

.sp-webinar-stat-card small {
  color: var(--sp-muted);
  font-size: 12px;
}

/* LAYOUT */

.sp-webinars-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.sp-webinars-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.sp-webinars-list-head h3 {
  margin: 0;
  font-size: 19px;
  color: var(--sp-text);
}

.sp-webinars-list-head>div {
  display: flex;
  gap: 12px;
}

.sp-webinars-list-head select,
.sp-webinars-list-head input {
  height: 40px;
  border: 1px solid var(--sp-border);
  border-radius: 11px;
  background: #ffffff;
  padding: 0 14px;
  color: var(--sp-text);
  font-size: 13px;
}

/* CARDS */

.sp-webinar-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sp-webinar-card-dashboard,
.sp-next-webinar-card,
.sp-agenda-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.sp-webinar-thumb {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #06182d, #155eef);
}

.sp-webinar-thumb::after,
.sp-next-webinar-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
}

.sp-webinar-thumb span,
.sp-next-webinar-thumb span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.sp-webinar-thumb.upcoming {
  background: linear-gradient(135deg, #fef3c7, #dbeafe);
}

.sp-webinar-thumb.upcoming span,
.sp-webinar-thumb.launch span {
  background: var(--sp-blue);
}

.sp-webinar-thumb.replay,
.sp-webinar-thumb.launch {
  background: linear-gradient(135deg, #0b1f3a, #1d4ed8);
}

.sp-webinar-thumb.replay span,
.sp-webinar-thumb.replay-light span,
.sp-webinar-thumb.team span {
  background: #17b26a;
}

.sp-webinar-thumb.replay-light {
  background: linear-gradient(135deg, #f8fafc, #cbd5e1);
}

.sp-webinar-thumb.team {
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
}

.sp-webinar-card-body {
  padding: 16px;
}

.sp-webinar-card-body h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--sp-text);
}

.sp-webinar-card-body p {
  margin: 0 0 14px;
  color: var(--sp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.sp-webinar-meta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #475467;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.sp-webinar-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.sp-webinar-card-actions .sp-btn {
  min-height: 38px;
  font-size: 13px;
  border-radius: 10px;
  width: 100%;
}

.sp-webinar-card-actions button {
  width: 38px;
  height: 38px;
  border: 1px solid #c7d7fe;
  color: var(--sp-blue);
  background: #ffffff;
  border-radius: 10px;
  cursor: pointer;
}

.sp-load-more-webinars {
  width: 100%;
  min-height: 44px;
  border: none;
  background: #f1f5ff;
  color: #344054;
  border-radius: 12px;
  margin-top: 18px;
  font-weight: 700;
  cursor: pointer;
}

/* RIGHT PANEL */

.sp-webinars-right-panel {
  display: grid;
  gap: 20px;
}

.sp-next-webinar-card {
  padding: 18px;
}

.sp-next-webinar-card h3,
.sp-agenda-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--sp-text);
}

.sp-next-webinar-thumb {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #06182d, #155eef);
  margin-bottom: 16px;
}

.sp-next-webinar-card h4 {
  margin: 0 0 12px;
  color: var(--sp-text);
  font-size: 15px;
  line-height: 1.35;
}

.sp-countdown-label {
  margin: 8px 0 12px;
  color: var(--sp-text);
  font-size: 13px;
  font-weight: 700;
}

.sp-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.sp-countdown-grid div {
  background: #f8fbff;
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  padding: 9px 5px;
  text-align: center;
}

.sp-countdown-grid strong {
  display: block;
  color: var(--sp-blue);
  font-size: 22px;
}

.sp-countdown-grid span {
  color: var(--sp-muted);
  font-size: 10px;
}

.sp-next-webinar-card .sp-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 11px;
  font-size: 13px;
}

/* AGENDA */

.sp-agenda-card {
  padding: 18px;
}

.sp-panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-panel-title-row a {
  color: var(--sp-blue);
  font-weight: 700;
  font-size: 13px;
}

.sp-agenda-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--sp-border);
}

.sp-agenda-item:last-child {
  border-bottom: none;
}

.sp-agenda-item>span {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sp-soft-blue);
  color: var(--sp-blue);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.sp-agenda-item strong {
  display: block;
  font-size: 13px;
  color: var(--sp-text);
  margin-bottom: 3px;
}

.sp-agenda-item p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 12px;
}

.sp-agenda-item em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--sp-blue);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.sp-agenda-item em.live {
  background: #fee4e2;
  color: #d92d20;
}

.sp-agenda-item em.replay {
  background: #dcfae6;
  color: #039855;
}

/* RESPONSIVE */

@media (max-width: 1300px) {
  .sp-webinars-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sp-webinar-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-webinars-right-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .sp-webinar-stats-grid,
  .sp-webinar-card-grid,
  .sp-webinars-right-panel {
    grid-template-columns: 1fr;
  }

  .sp-webinars-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sp-webinars-list-head>div {
    width: 100%;
    flex-direction: column;
  }

  .sp-webinars-list-head select,
  .sp-webinars-list-head input {
    width: 100%;
  }
}

/* DASHBOARD V2 NAFLOO */

.nf-dashboard-v2 {
  background: #f5fbff;
}

.nf-dash-v2-grid {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 28px;
  align-items: start;
}

.nf-dash-left,
.nf-dash-right {
  display: grid;
  gap: 18px;
}

.nf-dash-greeting h2 {
  margin: 0 0 6px;
  color: #8a5a18;
  font-size: 20px;
  font-weight: 900;
}

.nf-dash-greeting p {
  margin: 0;
  color: var(--sp-text);
  font-size: 20px;
}

.nf-mastery-card,
.nf-journal-reco-card,
.nf-central-card,
.nf-next-live-card,
.nf-events-card {
  background: #ffffff;
  border: 1px solid rgba(138, 90, 24, 0.25);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
}

.nf-mastery-card {
  padding: 18px;
}

.nf-meter {
  height: 150px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 100%, #fff 0 42%, transparent 43%),
    conic-gradient(from 230deg, #c28b3f 0 68%, #eadcc8 68% 100%);
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 18px;
}

.nf-meter-score {
  text-align: center;
}

.nf-meter-score span {
  display: block;
  color: #6b5c48;
  font-size: 12px;
  font-weight: 800;
}

.nf-meter-score strong {
  color: #8a5a18;
  font-size: 38px;
  font-weight: 900;
}

.nf-meter-score small {
  font-size: 20px;
  color: #6b5c48;
}

.nf-journal-reco-card {
  padding: 18px;
}

.nf-journal-reco-card h3,
.nf-events-card h3 {
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  color: #6b5c48;
}

.nf-journal-reco-card a {
  display: block;
  color: var(--sp-text);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 16px;
}

.nf-sos-banner {
  display: block;
  background: linear-gradient(135deg, #b37a2d, #e3b06a);
  color: #2a1a08;
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(138, 90, 24, 0.25);
}

.nf-sos-banner strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(72, 43, 8, 0.25);
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.nf-sos-banner span {
  font-weight: 900;
  text-transform: uppercase;
}

.nf-sos-banner small {
  display: block;
  margin-top: 6px;
  font-weight: 700;
}

.nf-central-card {
  min-height: 320px;
  padding: 42px;
  display: grid;
  place-items: center;
  text-align: center;
}

.nf-central-card div {
  margin: 16px 0;
}

.nf-central-card h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--sp-text);
}

.nf-central-card p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--sp-muted);
  line-height: 1.7;
}

.nf-next-live-card,
.nf-events-card {
  padding: 16px;
}

.nf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nf-card-header h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 15px;
}

.nf-live-thumb {
  height: 130px;
  border-radius: 14px;
  background: linear-gradient(135deg, #06182d, var(--sp-blue));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.nf-live-thumb span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
}

.nf-next-live-card h4 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 15px;
  color: var(--sp-text);
}

.nf-live-date {
  text-align: center;
  font-weight: 800;
  color: #6b5c48;
  margin-bottom: 14px;
}

.nf-live-btn {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #b37a2d, #e3b06a);
  color: #2a1a08;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.nf-event-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--sp-border);
}

.nf-event-item:last-child {
  border-bottom: none;
}

.nf-event-item strong {
  display: block;
  color: var(--sp-blue);
  font-size: 14px;
  margin-bottom: 5px;
}

.nf-event-item span {
  color: var(--sp-text);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 1300px) {
  .nf-dash-v2-grid {
    grid-template-columns: 1fr;
  }
}

/* FILTRES WEBINAIRES */

.nf-webinar-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.nf-webinar-filter-tabs a {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  color: var(--sp-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nf-webinar-filter-tabs a.active {
  background: var(--sp-blue);
  border-color: var(--sp-blue);
  color: #ffffff;
}

.sp-webinar-thumb.live span {
  background: #ef4444;
}

.sp-webinar-thumb.upcoming span {
  background: var(--sp-blue);
}

.sp-webinar-thumb.replay span {
  background: #17b26a;
}

.sp-webinar-thumb.pending_replay span {
  background: #f79009;
}

.nf-webinar-disabled-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff4e5;
  color: #b54708;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   NAFLOO — OFFRE INTÉGRÉE AU DASHBOARD
========================================================= */

.nf-dashboard-offer-view {
  padding: 24px;
}

.nf-dashboard-inline-offer {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.nf-dashboard-inline-offer-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.nf-dashboard-inline-offer-header h1 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 36px);
}

.nf-dashboard-section-label {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-dashboard-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.nf-dashboard-back-link:hover {
  color: var(--sp-primary);
}

.nf-dashboard-embedded-offer .nf-offer-hero {
  padding: 0;
  background: transparent;
}

.nf-dashboard-embedded-offer .sp-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.nf-dashboard-embedded-offer .nf-offer-grid {
  align-items: start;
  gap: 24px;
}

.nf-dashboard-embedded-offer .nf-offer-content,
.nf-dashboard-embedded-offer .nf-offer-card {
  border-radius: 20px;
}

.nf-dashboard-embedded-offer .nf-offer-content {
  padding: 26px;
  background: #ffffff;
  border: 1px solid #eaecf0;
}

.nf-dashboard-embedded-offer .nf-offer-card {
  position: sticky;
  top: 24px;
}

@media (max-width: 980px) {
  .nf-dashboard-offer-view {
    padding: 18px;
  }

  .nf-dashboard-inline-offer-header {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .nf-dashboard-embedded-offer .nf-offer-grid {
    grid-template-columns: 1fr;
  }

  .nf-dashboard-embedded-offer .nf-offer-card {
    position: static;
  }
}