/* ================================================
   Élan Numérique — Formulaire d'inscription
   Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ──────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #132D52;
  --blue:        #2E8CE6;
  --blue-light:  #5BA8EE;
  --blue-faint:  #EBF4FD;
  --green:       #1DB87A;
  --green-faint: #E6F9F2;
  --red:         #E74C3C;
  --red-faint:   #FEF0EE;
  --slate:       #64748B;
  --slate-light: #94A3B8;
  --border:      #DDE4EE;
  --surface:     #F7F9FC;
  --white:       #FFFFFF;
  --text-main:   #0F172A;
  --text-sub:    #475569;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(11,31,58,.07), 0 1px 2px rgba(11,31,58,.04);
  --shadow-md:   0 4px 16px rgba(11,31,58,.09), 0 1px 4px rgba(11,31,58,.05);
  --shadow-lg:   0 12px 40px rgba(11,31,58,.13), 0 4px 12px rgba(11,31,58,.06);

  --trans:       cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Page shell ──────────────────────────────────── */
.page-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
  background: var(--navy);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.sidebar-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), #1a6dc0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.sidebar-logo .logo-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.sidebar-logo .logo-sub {
  font-size: 11px;
  color: var(--slate-light);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Stepper ─────────────────────────────────────── */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
  cursor: pointer;
}

.step-item:last-child { padding-bottom: 0; }

/* Vertical line between steps */
.step-item:not(:last-child) .step-icon::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  height: calc(100% - 12px);
  background: rgba(255,255,255,.1);
  transition: background .4s var(--trans);
}

.step-item.active:not(:last-child) .step-icon::after,
.step-item.done:not(:last-child) .step-icon::after {
  background: rgba(46,140,230,.35);
}

.step-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.04);
  transition: all .35s var(--trans);
}

.step-item.active .step-icon {
  border-color: var(--blue);
  background: rgba(46,140,230,.2);
  color: var(--blue-light);
  box-shadow: 0 0 0 6px rgba(46,140,230,.12);
}

.step-item.done .step-icon {
  border-color: var(--green);
  background: rgba(29,184,122,.2);
  color: var(--green);
}

.step-label { padding-top: 6px; }

.step-label .step-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 2px;
  transition: color .35s var(--trans);
}

.step-item.active .step-label .step-num { color: var(--blue-light); }
.step-item.done .step-label .step-num   { color: var(--green); }

.step-label .step-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  line-height: 1.3;
  transition: color .35s var(--trans);
}

.step-item.active .step-label .step-name { color: var(--white); }
.step-item.done .step-label .step-name   { color: rgba(255,255,255,.7); }

.sidebar-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.5;
}

/* ── Main content ─────────────────────────────────── */
.main-content {
  padding: 48px 56px;
  max-width: 860px;
}

/* ── Hero header ─────────────────────────────────── */
.form-hero {
  margin-bottom: 48px;
}

.form-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-faint);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.form-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}

.form-hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.form-hero p.lead {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Alert box ───────────────────────────────────── */
.alert-engagement {
  background: linear-gradient(135deg, #EBF4FD 0%, #F0F7FF 100%);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--navy-mid);
  line-height: 1.65;
}

.alert-engagement strong { color: var(--navy); }

.alert-engagement .badge-limit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 10px;
}

/* ── Error summary ───────────────────────────────── */
.error-summary {
  background: var(--red-faint);
  border: 1px solid #FBBBB5;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 32px;
}

.error-summary h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-summary ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.error-summary ul li {
  font-size: 13px;
  color: #B91C1C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-summary ul li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
}

/* ── Form sections ───────────────────────────────── */
.form-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  margin-bottom: 28px;
  transition: box-shadow .3s var(--trans);
}

.form-section:hover {
  box-shadow: var(--shadow-md);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}

/* ── Type toggle (IA / IEF) ──────────────────────── */
.type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.type-option {
  position: relative;
}

.type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.type-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all .25s var(--trans);
  text-align: center;
}

.type-option label .type-icon {
  font-size: 28px;
}

.type-option label .type-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.type-option label .type-desc {
  font-size: 12px;
  color: var(--slate);
}

.type-option input[type="radio"]:checked + label {
  border-color: var(--blue);
  background: var(--blue-faint);
  box-shadow: 0 0 0 3px rgba(46,140,230,.15);
}

.type-option input[type="radio"]:checked + label .type-name {
  color: var(--blue);
}

.type-option label:hover {
  border-color: var(--blue-light);
  background: #F5FAFE;
}

/* ── Form grid ───────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .span-2 { grid-column: span 2; }

/* ── Field ───────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: .01em;
}

.field label .req {
  color: var(--blue);
  margin-left: 3px;
}

.field input,
.field select {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--white);
  outline: none;
  transition: border-color .2s var(--trans), box-shadow .2s var(--trans);
  width: 100%;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,140,230,.12);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(231,76,60,.1);
}

.field .field-error {
  font-size: 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Number field with counter display */
.nb-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nb-wrapper input[type="number"] {
  width: 120px;
  flex-shrink: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.nb-hint {
  font-size: 13px;
  color: var(--slate);
}

.nb-hint .nb-bar {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  margin-top: 6px;
  overflow: hidden;
  width: 140px;
}

.nb-hint .nb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 100px;
  width: 0%;
  transition: width .4s var(--trans);
}

/* ── Modules ─────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.module-option {
  position: relative;
}

.module-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.module-option label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all .25s var(--trans);
  height: 100%;
}

.module-option label:hover {
  border-color: var(--blue-light);
  background: #F8FBFF;
}

.module-option input[type="checkbox"]:checked + label {
  border-color: var(--blue);
  background: var(--blue-faint);
  box-shadow: 0 0 0 2px rgba(46,140,230,.15);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.module-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background .25s var(--trans);
}

.module-option input[type="checkbox"]:checked + label .module-icon {
  background: var(--blue);
}

.module-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all .25s var(--trans);
  flex-shrink: 0;
}

.module-option input[type="checkbox"]:checked + label .module-check {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.module-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.module-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  background: var(--surface);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
  transition: background .25s var(--trans);
}

.module-option input[type="checkbox"]:checked + label .module-duration {
  background: rgba(46,140,230,.15);
  color: var(--blue);
}

/* ── Planning / Calendar ─────────────────────────── */
.planning-info {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.week-option {
  position: relative;
}

.week-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.week-option label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s var(--trans);
  text-align: center;
}

.week-option label:hover:not(.disabled) {
  border-color: var(--blue-light);
  background: #F8FBFF;
}

.week-option input[type="radio"]:checked + label {
  border-color: var(--blue);
  background: var(--blue-faint);
  box-shadow: 0 0 0 2px rgba(46,140,230,.15);
}

.week-option label.disabled {
  background: var(--surface);
  opacity: .5;
  cursor: not-allowed;
}

.week-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.week-dates {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.week-spots {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
}

.week-spots.full { color: var(--red); }

.week-badge-full {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
}

/* ── Engagement clause ───────────────────────────── */
.engagement-card {
  background: linear-gradient(135deg, var(--green-faint) 0%, #F0FDF7 100%);
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  cursor: pointer;
  transition: all .25s var(--trans);
}

.engagement-card:hover {
  box-shadow: 0 0 0 3px rgba(29,184,122,.12);
}

.engagement-card.checked {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,184,122,.15);
}

.engagement-check-box {
  width: 26px;
  height: 26px;
  border: 2px solid #86EFAC;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s var(--trans);
  margin-top: 2px;
}

.engagement-card.checked .engagement-check-box {
  background: var(--green);
  border-color: var(--green);
}

.engagement-check-box .check-icon {
  font-size: 14px;
  color: transparent;
  transition: color .2s var(--trans);
}

.engagement-card.checked .engagement-check-box .check-icon {
  color: var(--white);
}

.engagement-text {
  flex: 1;
}

.engagement-text p {
  font-size: 14px;
  color: #166534;
  line-height: 1.65;
}

.engagement-text p strong {
  color: var(--navy);
}

/* ── Submit area ─────────────────────────────────── */
.form-submit-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all .3s var(--trans);
  box-shadow: 0 4px 16px rgba(11,31,58,.25);
  letter-spacing: .01em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11,31,58,.32);
  background: linear-gradient(135deg, #132D52, #1A3A66);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit .btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  font-size: 13px;
  transition: transform .3s var(--trans);
}

.btn-submit:hover .btn-arrow {
  transform: translateX(3px);
}

.submit-note {
  font-size: 12px;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Confirmation page ───────────────────────────── */
.confirmation-wrap {
  max-width: 680px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: var(--green-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 28px;
  border: 3px solid var(--green);
}

.confirmation-wrap h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.confirmation-wrap p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.confirmation-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 36px;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.confirmation-summary h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface);
  font-size: 14px;
}

.summary-row .s-label { color: var(--slate); font-weight: 500; }
.summary-row .s-val   { color: var(--navy); font-weight: 600; text-align: right; max-width: 60%; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap .2s var(--trans);
}

.btn-back:hover { gap: 12px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .page-wrapper { grid-template-columns: 240px 1fr; }
  .main-content { padding: 40px 36px; }
}

@media (max-width: 768px) {
  .page-wrapper { grid-template-columns: 1fr; }

  .sidebar {
    position: relative;
    height: auto;
    padding: 24px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .sidebar-logo { margin-bottom: 0; flex: 1; min-width: 180px; }
  .stepper { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .step-item { padding-bottom: 0; flex-direction: column; align-items: center; text-align: center; width: calc(50% - 6px); }
  .step-item:not(:last-child) .step-icon::after { display: none; }
  .sidebar-footer { display: none; }

  .main-content { padding: 28px 20px; }
  .form-hero h1 { font-size: 28px; }
  .modules-grid { grid-template-columns: 1fr; }
  .weeks-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .type-toggle { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .weeks-grid { grid-template-columns: 1fr; }
  .type-toggle { grid-template-columns: 1fr; }
}

/* ================================================
   UI refresh - institutional, cleaner, less emoji-led
   ================================================ */
:root {
  --navy:        #16324f;
  --navy-mid:    #24506f;
  --blue:        #2f80ed;
  --blue-light:  #69b7ff;
  --blue-faint:  #eef7ff;
  --teal:        #18a999;
  --teal-faint:  #e9fbf8;
  --green:       #2d9c6b;
  --green-faint: #edf9f3;
  --amber:       #d49324;
  --amber-faint: #fff7e8;
  --red:         #d94c3a;
  --red-faint:   #fff1ef;
  --slate:       #68778a;
  --slate-light: #aab6c4;
  --border:      #d9e3ec;
  --surface:     #f5f8fb;
  --text-main:   #142033;
  --text-sub:    #526174;
  --radius-md:   8px;
  --radius-lg:   8px;
  --radius-xl:   8px;
  --shadow-sm:   0 1px 2px rgba(16,35,63,.08);
  --shadow-md:   0 8px 24px rgba(16,35,63,.09);
  --shadow-lg:   0 20px 48px rgba(16,35,63,.14);
}

body {
  background:
    radial-gradient(circle at top left, rgba(24,169,153,.12), transparent 32rem),
    linear-gradient(180deg, #fbfcfe 0%, #f1f6f8 100%);
}

.page-wrapper {
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  background: linear-gradient(180deg, #16324f 0%, #10243a 58%, #0d1d2e 100%);
  padding: 32px 24px;
}

.sidebar-logo {
  gap: 14px;
  margin-bottom: 42px;
}

.sidebar-logo .logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  box-shadow: inset 0 -4px 0 rgba(24,169,153,.22), 0 12px 24px rgba(0,0,0,.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sidebar-logo .logo-icon span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--teal);
  border-radius: 6px;
}

.sidebar-logo .logo-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.sidebar-logo .logo-sub {
  color: #b9c5d5;
}

.step-item {
  gap: 14px;
  padding-bottom: 28px;
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
}

.step-item:not(:last-child) .step-icon::after {
  left: 15px;
  top: 38px;
}

.step-item.active .step-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(24,169,153,.18);
}

.step-item.done .step-icon {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.main-content {
  width: min(920px, 100%);
  max-width: none;
  padding: 44px 56px 64px;
}

.form-hero {
  margin-bottom: 34px;
}

.form-hero .eyebrow {
  border-radius: 8px;
  border: 1px solid #bfeee8;
  background: #ffffff;
  color: var(--navy-mid);
  padding: 7px 12px;
}

.eyebrow-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(24,169,153,.14);
}

.form-hero h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.form-hero h1 em {
  font-style: normal;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-decoration-color: rgba(24,169,153,.22);
  text-underline-offset: -2px;
}

.form-hero p.lead {
  max-width: 720px;
  font-size: 15px;
}

.alert-engagement {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}

.alert-engagement .badge-limit {
  border-radius: 6px;
  background: var(--amber-faint);
  color: #92400e;
  border: 1px solid #f5d48b;
}

.form-section {
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-section:hover {
  box-shadow: var(--shadow-md);
}

.section-num {
  border-radius: 8px;
  background: var(--teal-faint);
  color: #087f73;
}

.type-option label,
.module-option label,
.week-option label,
.engagement-card,
.confirmation-summary {
  border-radius: 8px;
}

.type-option label {
  align-items: flex-start;
  padding: 20px;
  text-align: left;
}

.type-option label .type-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.type-option input[type="radio"]:checked + label .type-icon {
  background: var(--teal);
  color: #ffffff;
}

.field input,
.field select {
  border-radius: 8px;
  height: 48px;
}

.field .field-error::before,
.error-summary ul li::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}

.error-summary {
  border-radius: 8px;
}

.modules-grid {
  gap: 16px;
}

.module-option label {
  min-height: 132px;
}

.module-icon {
  border-radius: 8px;
  background: #e8eef7;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.module-option input[type="checkbox"]:checked + label .module-icon {
  background: var(--teal);
  color: #ffffff;
}

.module-duration {
  border-radius: 6px;
}

.planning-info {
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.week-option label {
  min-height: 100px;
}

.week-badge-full {
  border-radius: 6px;
  background: #e5e7eb;
}

.engagement-card {
  background: #ffffff;
  border-color: #bbf7d0;
}

.engagement-check-box {
  border-radius: 6px;
}

.btn-submit {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 24px rgba(24,169,153,.24);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #128f82, #256fcf);
}

.btn-submit .btn-arrow {
  border-radius: 6px;
}

.confirmation-wrap {
  margin: 64px auto;
}

.confirmation-icon {
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  box-shadow: var(--shadow-md);
  color: var(--green);
}

.confirmation-icon span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.confirmation-wrap h1 {
  font-family: 'Inter', system-ui, sans-serif;
}

.summary-row {
  gap: 18px;
}

.btn-back {
  color: var(--navy);
}

@media (max-width: 768px) {
  .sidebar {
    padding: 20px;
  }

  .step-item {
    align-items: flex-start;
    text-align: left;
  }

  .main-content {
    padding: 28px 18px 48px;
  }

  .form-section {
    padding: 22px;
  }
}

/* Harmonized interaction accents */
.step-item.active .step-label .step-num,
.form-hero .eyebrow,
.form-hero h1 em,
.field label .req,
#module-count,
.module-option input[type="checkbox"]:checked + label .module-duration,
.btn-back {
  color: var(--teal);
}

.step-item.active .step-icon,
.type-option input[type="radio"]:checked + label .type-icon,
.module-option input[type="checkbox"]:checked + label .module-icon,
.module-option input[type="checkbox"]:checked + label .module-check {
  background: var(--teal);
  border-color: var(--teal);
}

.type-option input[type="radio"]:checked + label,
.module-option input[type="checkbox"]:checked + label,
.week-option input[type="radio"]:checked + label {
  border-color: var(--teal);
  background: var(--teal-faint);
  box-shadow: 0 0 0 2px rgba(24,169,153,.14);
}

.type-option label:hover,
.module-option label:hover,
.week-option label:hover:not(.disabled),
.field input:focus,
.field select:focus {
  border-color: var(--teal);
}

.field input:focus,
.field select:focus {
  box-shadow: 0 0 0 3px rgba(24,169,153,.13);
}

.alert-engagement {
  border-left-color: var(--teal);
}

.nb-hint .nb-fill {
  background: linear-gradient(90deg, var(--green), var(--teal));
}

/* Glass effect layer */
.sidebar,
.form-section,
.alert-engagement,
.type-option label,
.module-option label,
.week-option label,
.engagement-card,
.confirmation-summary,
.confirmation-icon,
.form-hero .eyebrow {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.form-section,
.alert-engagement,
.confirmation-summary {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(217, 227, 236, .72);
  box-shadow:
    0 14px 42px rgba(22, 50, 79, .10),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.form-section:hover,
.confirmation-summary:hover {
  background: rgba(255, 255, 255, .86);
  box-shadow:
    0 18px 52px rgba(22, 50, 79, .13),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(22, 50, 79, .92) 0%, rgba(16, 36, 58, .94) 58%, rgba(13, 29, 46, .96) 100%);
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05);
}

.sidebar-logo .logo-icon,
.form-hero .eyebrow,
.type-option label,
.module-option label,
.week-option label,
.engagement-card,
.planning-info {
  background: rgba(255, 255, 255, .68);
  border-color: rgba(217, 227, 236, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.sidebar-logo .logo-icon {
  background: rgba(255, 255, 255, .92);
}

.type-option label:hover,
.module-option label:hover,
.week-option label:hover:not(.disabled) {
  background: rgba(233, 251, 248, .78);
}

.type-option input[type="radio"]:checked + label,
.module-option input[type="checkbox"]:checked + label,
.week-option input[type="radio"]:checked + label,
.engagement-card.checked {
  background: rgba(233, 251, 248, .84);
  border-color: rgba(24, 169, 153, .72);
  box-shadow:
    0 0 0 2px rgba(24, 169, 153, .12),
    0 12px 28px rgba(24, 169, 153, .10),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

.field input,
.field select {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(217, 227, 236, .9);
}

.field input:focus,
.field select:focus {
  background: rgba(255, 255, 255, .96);
}

.btn-submit {
  box-shadow:
    0 14px 30px rgba(24,169,153,.22),
    inset 0 1px 0 rgba(255,255,255,.26);
}

.confirmation-icon {
  background: rgba(255, 255, 255, .78);
}

/* ================================================
   Premium color system
   Rule: navy = structure, cyan = action, emerald = success,
   amber = attention, coral = error, pearl = surfaces.
   ================================================ */
:root {
  --navy:        #102a43;
  --navy-mid:    #1f4e6f;
  --blue:        #3178c6;
  --blue-light:  #7cc4ff;
  --blue-faint:  #edf7ff;
  --teal:        #16b8a6;
  --teal-deep:   #0f897e;
  --teal-faint:  #e9fbf8;
  --green:       #2f9e73;
  --green-faint: #ecf8f2;
  --amber:       #c88719;
  --amber-faint: #fff6e4;
  --red:         #d84a3a;
  --red-faint:   #fff0ee;
  --slate:       #667789;
  --slate-light: #aab7c4;
  --border:      #d8e4ed;
  --surface:     #f6f9fb;
  --white:       #ffffff;
  --text-main:   #102033;
  --text-sub:    #526578;
  --premium-line: rgba(255,255,255,.72);
  --premium-shadow: 0 24px 70px rgba(16,42,67,.14);
  --premium-shadow-soft: 0 14px 38px rgba(16,42,67,.10);
}

body {
  background:
    linear-gradient(135deg, rgba(22,184,166,.10), transparent 34%),
    linear-gradient(225deg, rgba(49,120,198,.10), transparent 36%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7f9 100%);
}

.page-wrapper {
  grid-template-columns: 292px minmax(0, 1fr);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(16,42,67,.96) 0%, rgba(18,55,78,.96) 52%, rgba(11,27,44,.98) 100%);
  border-right: 1px solid rgba(255,255,255,.10);
  box-shadow:
    18px 0 60px rgba(16,42,67,.14),
    inset -1px 0 0 rgba(255,255,255,.06);
}

.sidebar-logo {
  padding: 10px 0 6px;
}

.sidebar-logo .logo-icon {
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,250,248,.88));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    0 18px 34px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -5px 0 rgba(22,184,166,.18);
}

.sidebar-logo .logo-icon span {
  border-color: var(--teal);
}

.sidebar-logo .logo-title {
  font-size: 17px;
  font-weight: 800;
}

.step-icon {
  border-radius: 10px;
}

.step-item.active .step-icon {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: rgba(255,255,255,.34);
  box-shadow:
    0 10px 24px rgba(22,184,166,.25),
    0 0 0 5px rgba(22,184,166,.14);
}

.step-item.done .step-icon {
  background: var(--green);
  border-color: rgba(255,255,255,.28);
}

.step-item.active .step-label .step-name {
  color: #ffffff;
  font-weight: 650;
}

.main-content {
  width: min(980px, 100%);
  padding-top: 52px;
}

.form-hero {
  margin-bottom: 36px;
}

.form-hero .eyebrow {
  background: rgba(255,255,255,.72);
  border-color: rgba(22,184,166,.30);
  color: var(--teal-deep);
  box-shadow:
    0 10px 28px rgba(16,42,67,.07),
    inset 0 1px 0 rgba(255,255,255,.88);
}

.form-hero h1 {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.08;
}

.form-hero h1 em {
  color: var(--navy);
  text-decoration-color: rgba(22,184,166,.26);
}

.form-hero p.lead {
  color: var(--text-sub);
  font-size: 16px;
}

.alert-engagement,
.form-section,
.confirmation-summary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  border: 1px solid rgba(216,228,237,.78);
  box-shadow:
    var(--premium-shadow-soft),
    inset 0 1px 0 var(--premium-line);
}

.alert-engagement {
  border-left: 4px solid var(--teal);
}

.form-section {
  padding: 34px;
}

.form-section:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow:
    var(--premium-shadow),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.section-header {
  border-bottom-color: rgba(216,228,237,.72);
}

.section-num {
  background: linear-gradient(135deg, rgba(22,184,166,.14), rgba(49,120,198,.13));
  color: var(--teal-deep);
  border: 1px solid rgba(22,184,166,.18);
}

.section-title {
  color: var(--navy);
  font-weight: 750;
}

.type-option label,
.module-option label,
.week-option label,
.engagement-card,
.planning-info {
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.66));
  border: 1px solid rgba(216,228,237,.82);
  box-shadow:
    0 8px 22px rgba(16,42,67,.05),
    inset 0 1px 0 rgba(255,255,255,.88);
}

.type-option label:hover,
.module-option label:hover,
.week-option label:hover:not(.disabled) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(233,251,248,.74));
  border-color: rgba(22,184,166,.42);
  box-shadow:
    0 14px 30px rgba(16,42,67,.08),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.type-option input[type="radio"]:checked + label,
.module-option input[type="checkbox"]:checked + label,
.week-option input[type="radio"]:checked + label,
.engagement-card.checked {
  background:
    linear-gradient(180deg, rgba(233,251,248,.96), rgba(237,247,255,.74));
  border-color: rgba(22,184,166,.66);
  box-shadow:
    0 0 0 2px rgba(22,184,166,.13),
    0 18px 38px rgba(22,184,166,.12),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.type-option label .type-icon,
.module-icon,
.module-check,
.engagement-check-box {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.type-option input[type="radio"]:checked + label .type-icon,
.module-option input[type="checkbox"]:checked + label .module-icon,
.module-option input[type="checkbox"]:checked + label .module-check,
.engagement-card.checked .engagement-check-box {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.field label {
  color: #415267;
}

.field input,
.field select {
  background: rgba(255,255,255,.84);
  border-color: rgba(193,209,221,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}

.field input:hover,
.field select:hover {
  border-color: rgba(22,184,166,.45);
}

.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow:
    0 0 0 4px rgba(22,184,166,.12),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.module-duration,
.week-badge-full,
.alert-engagement .badge-limit {
  border-radius: 7px;
}

.alert-engagement .badge-limit {
  background: var(--amber-faint);
  color: #8a5a10;
  border: 1px solid rgba(200,135,25,.24);
}

.btn-submit {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    0 18px 36px rgba(22,184,166,.24),
    0 6px 16px rgba(49,120,198,.14),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--teal-deep) 0%, #286aaf 100%);
  box-shadow:
    0 22px 42px rgba(22,184,166,.28),
    0 8px 18px rgba(49,120,198,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
}

.confirmation-icon {
  border-color: rgba(47,158,115,.30);
}

.confirmation-icon span {
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.summary-row {
  border-bottom-color: rgba(216,228,237,.62);
}

.summary-row .s-label {
  color: var(--slate);
}

.summary-row .s-val {
  color: var(--navy);
}

@media (max-width: 768px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding-top: 30px;
  }

  .form-section {
    padding: 24px;
  }
}

/* ── Ajustements premium des cartes de modules et icônes SVG ── */
.module-icon-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-icon {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  transition: all 0.3s var(--trans);
}

.module-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
  transition: transform 0.3s var(--trans);
}

.module-option label:hover .module-icon svg {
  transform: scale(1.1) rotate(-3deg);
}

.module-num-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  background: rgba(16, 42, 67, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--trans);
}

.module-option input[type="checkbox"]:checked + label .module-num-badge {
  background: rgba(22, 184, 166, 0.15);
  color: var(--teal-deep);
  border-color: rgba(22, 184, 166, 0.25);
}

.module-name {
  margin-top: 10px;
  font-size: 15px !important;
  font-weight: 750 !important;
  color: var(--navy);
  line-height: 1.4;
}

.module-desc {
  font-size: 13px !important;
  color: var(--text-sub) !important;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Amélioration de la liste déroulante et des animations focus */
select#fonction {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23415267' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px !important;
}

#fonction_autre_wrapper {
  animation: slideDown 0.3s var(--trans);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alignement du sélecteur IA/IEF en boutons segmentés côte à côte */
.type-toggle {
  display: inline-flex !important;
  background: rgba(16, 42, 67, 0.04) !important;
  padding: 4px !important;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  gap: 4px !important;
  margin-bottom: 28px !important;
  width: auto !important;
}

.type-option {
  display: inline-block !important;
}

.type-option label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 24px !important;
  border: none !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: auto !important;
  margin: 0 !important;
}

.type-option label .type-icon {
  display: none !important;
}

.type-option label .type-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text-sub) !important;
}

.type-option input[type="radio"]:checked + label {
  background: var(--white) !important;
  box-shadow: 0 2px 6px rgba(16, 42, 67, 0.08) !important;
}

.type-option input[type="radio"]:checked + label .type-name {
  color: var(--teal-deep) !important;
}

/* Thèmes de couleur spécifiques et haut de gamme pour les icônes de module */
.module-icon.col-blue {
  background: rgba(49, 120, 198, 0.1) !important;
  color: #3178c6 !important;
}
.module-icon.col-purple {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #8b5cf6 !important;
}
.module-icon.col-emerald {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
}
.module-icon.col-amber {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #f59e0b !important;
}

/* États cochés correspondants */
.module-option input[type="checkbox"]:checked + label .module-icon.col-blue {
  background: #3178c6 !important;
  color: var(--white) !important;
}
.module-option input[type="checkbox"]:checked + label .module-icon.col-purple {
  background: #8b5cf6 !important;
  color: var(--white) !important;
}
.module-option input[type="checkbox"]:checked + label .module-icon.col-emerald {
  background: #10b981 !important;
  color: var(--white) !important;
}
.module-option input[type="checkbox"]:checked + label .module-icon.col-amber {
  background: #f59e0b !important;
  color: var(--white) !important;
}

/* ── Effet Verre Dépoli Premium (Glassmorphism) ── */
body {
  background:
    radial-gradient(circle at 10% 20%, rgba(22, 184, 166, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(49, 120, 198, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  background-attachment: fixed !important;
}

.sidebar {
  background: 
    linear-gradient(180deg, rgba(16, 42, 67, 0.82) 0%, rgba(18, 55, 78, 0.85) 52%, rgba(11, 27, 44, 0.88) 100%) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15) !important;
}

.form-section,
.alert-engagement,
.confirmation-summary {
  background: rgba(255, 255, 255, 0.68) !important;
  backdrop-filter: blur(16px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
  border: 1px solid rgba(217, 227, 236, 0.45) !important;
  box-shadow: 
    0 10px 30px rgba(16, 42, 67, 0.04), 
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.form-section:hover,
.confirmation-summary:hover {
  background: rgba(255, 255, 255, 0.76) !important;
  box-shadow: 
    0 16px 40px rgba(16, 42, 67, 0.07), 
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.type-option label,
.module-option label,
.week-option label,
.engagement-card {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(217, 227, 236, 0.55) !important;
}

.type-option label:hover,
.module-option label:hover,
.week-option label:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(22, 184, 166, 0.45) !important;
}

.type-option input[type="radio"]:checked + label,
.module-option input[type="checkbox"]:checked + label,
.week-option input[type="radio"]:checked + label,
.engagement-card.checked {
  background: rgba(233, 251, 248, 0.75) !important;
  border-color: rgba(22, 184, 166, 0.66) !important;
}

.planning-info {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(217, 227, 236, 0.4) !important;
}
