/* ============================================================
   E-SHELLE — Langues Dark Glassmorphism Override
   Remplace le design light d'Immigration97 par le style premium 2026
   ============================================================ */

/* ── Wrapper ── */
.ep-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* ── Hero ── */
.ep-hero {
  background: linear-gradient(135deg, rgba(46,125,50,.25) 0%, rgba(21,60,21,.4) 50%, rgba(245,124,0,.1) 100%);
  border: 1px solid rgba(46,125,50,.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  color: #fff;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.ep-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(46,125,50,.15), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(245,124,0,.1), transparent 60%);
  pointer-events: none;
}
.ep-hero-kicker {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #4CAF50;
  margin-bottom: .5rem;
}
.ep-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 .75rem; color: #fff; }
.ep-hero h1 span { color: #F57C00; }
.ep-hero p  { font-size: .92rem; color: rgba(255,255,255,.75); margin: 0 0 1.5rem; max-width: 580px; }
.ep-hero-btns, .ep-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.ep-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: .25rem;
}
.ep-hero-stat { font-size: .8rem; color: rgba(255,255,255,.65); }
.ep-hero-stat strong { color: #F57C00; font-weight: 700; }

/* ── Boutons ── */
.ep-btn-primary {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .7rem 1.4rem;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 4px 16px rgba(46,125,50,.4);
}
.ep-btn-primary:hover {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  box-shadow: 0 6px 24px rgba(46,125,50,.6);
  transform: translateY(-1px);
  color: #fff;
}
.ep-btn-outline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .7rem 1.4rem;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.ep-btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

/* ── Boutons small ── */
.ep-btn-sm-primary, .ep-btn-sm-outline, .ep-btn-sm-ghost, .ep-btn-level {
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.ep-btn-sm-primary {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: #fff;
  box-shadow: 0 2px 10px rgba(46,125,50,.35);
}
.ep-btn-sm-primary:hover { background: linear-gradient(135deg, #4CAF50, #66BB6A); color: #fff; transform: translateY(-1px); }
.ep-btn-sm-outline, .ep-btn-sm-ghost, .ep-btn-level {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
}
.ep-btn-sm-outline:hover, .ep-btn-sm-ghost:hover, .ep-btn-level:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(46,125,50,.5);
  color: #4CAF50;
}

/* ── Profile bar / Stats bar ── */
.ep-profile-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}
.ep-stat { text-align: center; flex: 1; min-width: 80px; }
.ep-stat span { display: block; font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
.ep-stat strong { font-size: 1.5rem; font-weight: 800; color: #4CAF50; }
.ep-badge-list { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.ep-badge-pill {
  background: rgba(245,124,0,.2);
  color: #FFB74D;
  border: 1px solid rgba(245,124,0,.3);
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 600;
}

/* ── Section headers ── */
.ep-section-head, .ep-section-title { margin: 2.5rem 0 .35rem; }
.ep-section-head h2,
.ep-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .25rem;
  font-family: 'Syne', sans-serif;
}
.ep-section-head p, .ep-section-sub { font-size: .88rem; color: rgba(255,255,255,.5); margin: 0 0 1.25rem; }

/* ── Quick nav links ── */
.ep-quick { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.ep-quick-link {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .55rem 1.1rem;
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
  backdrop-filter: blur(8px);
}
.ep-quick-link:hover {
  background: rgba(46,125,50,.2);
  border-color: rgba(46,125,50,.5);
  color: #4CAF50;
}
.ep-quick-link.accent {
  background: linear-gradient(135deg, rgba(245,124,0,.25), rgba(245,124,0,.15));
  border-color: rgba(245,124,0,.4);
  color: #FFB74D;
}
.ep-quick-link.accent:hover {
  background: linear-gradient(135deg, rgba(245,124,0,.4), rgba(245,124,0,.3));
  color: #fff;
}

/* ── Test / Exam cards ── */
.ep-test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.ep-exam-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: .9rem; }

.ep-test-card, .ep-exam-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all .25s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.ep-test-card::before, .ep-exam-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,125,50,.5), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.ep-test-card:hover, .ep-exam-card:hover {
  border-color: rgba(46,125,50,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(46,125,50,.1);
  transform: translateY(-3px);
}
.ep-test-card:hover::before, .ep-exam-card:hover::before { opacity: 1; }

/* Tags */
.ep-test-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.ep-tag, .ep-exam-tag {
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
  margin-bottom: .5rem;
}
.ep-tag-general  { background: rgba(29,78,216,.2);  color: #93c5fd; border: 1px solid rgba(29,78,216,.3); }
.ep-tag-ielts    { background: rgba(21,128,61,.2);   color: #86efac; border: 1px solid rgba(21,128,61,.3); }
.ep-tag-toefl    { background: rgba(194,65,12,.2);   color: #fdba74; border: 1px solid rgba(194,65,12,.3); }
.ep-tag-toeic    { background: rgba(126,34,206,.2);  color: #d8b4fe; border: 1px solid rgba(126,34,206,.3); }
.ep-tag-goethe   { background: rgba(21,128,61,.2);   color: #86efac; border: 1px solid rgba(21,128,61,.3); }
.ep-tag-telc     { background: rgba(29,78,216,.2);   color: #93c5fd; border: 1px solid rgba(29,78,216,.3); }
.ep-tag-testdaf  { background: rgba(194,65,12,.2);   color: #fdba74; border: 1px solid rgba(194,65,12,.3); }
.ep-tag-dsh      { background: rgba(126,34,206,.2);  color: #d8b4fe; border: 1px solid rgba(126,34,206,.3); }
.ep-tag-integration { background: rgba(245,124,0,.2); color: #FFB74D; border: 1px solid rgba(245,124,0,.3); }
.ep-tag-level    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); }

.ep-test-name, .ep-exam-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
  font-family: 'Syne', sans-serif;
}
.ep-test-desc, .ep-exam-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  margin: 0 0 .75rem;
  flex: 1;
  line-height: 1.55;
}
.ep-test-meta { font-size: .75rem; color: rgba(255,255,255,.4); margin-bottom: .9rem; }
.ep-test-actions, .ep-exam-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ── Skill cards ── */
.ep-skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.ep-skill-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.1rem;
  backdrop-filter: blur(10px);
  transition: all .2s;
}
.ep-skill-card:hover { border-color: rgba(46,125,50,.3); }
.ep-skill-name {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}
.ep-skill-pct { font-size: 2rem; font-weight: 800; color: #4CAF50; }
.ep-skill-bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 4px; margin-top: .5rem; }
.ep-skill-fill { height: 100%; background: linear-gradient(90deg, #2E7D32, #4CAF50); border-radius: 4px; }

/* ── Level blocks (German) ── */
.ep-level-block { margin-bottom: 2.5rem; }
.ep-level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  backdrop-filter: blur(10px);
}
.ep-level-badge {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: #fff;
  border-radius: 8px;
  padding: .35rem .9rem;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(46,125,50,.4);
}
.ep-level-tagline { font-size: .85rem; color: rgba(255,255,255,.55); flex: 1; margin: 0 1rem; }

/* ── Card generic ── */
.ep-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.35rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

/* ── Sessions table ── */
.ep-sessions-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ep-sessions-table th {
  background: rgba(255,255,255,.04);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ep-sessions-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}
.ep-sessions-table tr:last-child td { border-bottom: none; }
.ep-sessions-table tr:hover td { background: rgba(255,255,255,.03); }

/* Sessions list (German) */
.ep-sessions-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.ep-session-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: .65rem .9rem;
  transition: border-color .2s;
}
.ep-session-row:hover { border-color: rgba(46,125,50,.3); }
.ep-session-row .info strong { display: block; font-size: .85rem; font-weight: 700; color: #fff; }
.ep-session-row .info span { font-size: .72rem; color: rgba(255,255,255,.45); }

/* Score pills */
.ep-score-pill { border-radius: 20px; padding: .2rem .7rem; font-weight: 700; font-size: .78rem; }
.ep-score-great, .ep-score-g { background: rgba(21,128,61,.2);  color: #86efac; border: 1px solid rgba(21,128,61,.3); }
.ep-score-good,  .ep-score-m { background: rgba(245,124,0,.2);  color: #FFB74D; border: 1px solid rgba(245,124,0,.3); }
.ep-score-retry, .ep-score-r { background: rgba(185,28,28,.2);  color: #fca5a5; border: 1px solid rgba(185,28,28,.3); }

/* ── Empty state ── */
.ep-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255,255,255,.35);
  font-size: .9rem;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 16px;
}

/* ── Breadcrumb ── */
.ep-bc { font-size: .82rem; color: rgba(255,255,255,.45); margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ep-bc a { color: #4CAF50; text-decoration: none; font-weight: 500; }
.ep-bc a:hover { text-decoration: underline; }

/* ── Hub Langues cards ── */
.lang-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.lang-hub-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: all .3s;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.lang-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-gradient, linear-gradient(135deg, rgba(46,125,50,.1), transparent));
  opacity: 0;
  transition: opacity .3s;
}
.lang-hub-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.5); border-color: var(--card-color, rgba(46,125,50,.4)); }
.lang-hub-card:hover::before { opacity: 1; }
.lang-hub-flag { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.lang-hub-title { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: .4rem; font-family: 'Syne', sans-serif; }
.lang-hub-sub { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; line-height: 1.5; }
.lang-hub-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.lang-hub-pill {
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.12);
}
.lang-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--card-color, #4CAF50);
  margin-top: auto;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .ep-hero { padding: 1.75rem 1.25rem; }
  .ep-test-grid, .ep-exam-cards, .ep-skill-grid, .lang-hub-grid { grid-template-columns: 1fr; }
  .ep-level-header { flex-direction: column; align-items: flex-start; }
  .ep-sessions-table { display: block; overflow-x: auto; white-space: nowrap; }
  .ep-wrap { padding: 0 .875rem 3rem; }
}
