/* ==========================================================================
   SınavaHazırlık.tr · Ehliyet e-Sınav Modülü
   Ana site şablonu (yeşil tema) ile uyumlu ek stiller
   ========================================================================== */

:root {
  --eh-green: #0f766b;
  --eh-green-dark: #07584f;
  --eh-green-soft: #e7f4ef;
  --eh-mint: #d9f0e7;
  --eh-gold: #f5bd19;
  --eh-ink: #0f2b25;
  --eh-muted: #5f736c;
  --eh-line: #dfe9e4;
  --eh-bg: #eef7f3;
  --eh-danger: #c2413b;
  --eh-shadow: 0 18px 45px rgba(7, 88, 79, .1);
}

body.ehliyet-page {
  background: var(--eh-bg) !important;
}

/* Hero */
.ehliyet-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 189, 25, .16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(16, 185, 129, .22), transparent 32%),
    linear-gradient(135deg, #073d32 0%, #0b5145 55%, #0f766b 100%) !important;
  padding-bottom: 60px;
}
.ehliyet-hero .subpage-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ehliyet-hero .subpage-title span.highlight {
  background: linear-gradient(135deg, #fde68a 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ehliyet-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}
.ehliyet-btn-primary,
.ehliyet-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ehliyet-btn-primary {
  background: var(--eh-gold);
  color: #073d32;
  box-shadow: 0 12px 26px rgba(245, 189, 25, .24);
}
.ehliyet-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(245, 189, 25, .32);
}
.ehliyet-btn-secondary {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(8px);
}
.ehliyet-btn-secondary:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-2px);
}

/* Sayfa kapsayıcı */
.ehliyet-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 72px;
  overflow: visible;
}
.ehliyet-container .subpage-stats-bar {
  overflow: visible;
}
.ehliyet-section {
  margin-top: 34px;
}
.ehliyet-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.ehliyet-section-head h2 {
  margin: 4px 0 6px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--eh-ink);
  letter-spacing: -.02em;
}
.ehliyet-section-head p {
  margin: 0;
  max-width: 640px;
  color: var(--eh-muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.ehliyet-eyebrow {
  color: var(--eh-green);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .13em;
}
.ehliyet-section-link {
  flex: 0 0 auto;
  color: var(--eh-green);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(15, 118, 107, .28);
}
.ehliyet-section-link:hover {
  color: var(--eh-green-dark);
}

/* Modül kartları */
.ehliyet-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ehliyet-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ehliyet-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ehliyet-module-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--eh-line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(7, 88, 79, .07);
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ehliyet-module-card:hover {
  transform: translateY(-4px);
  border-color: #9fd0c0;
  box-shadow: 0 20px 38px rgba(7, 88, 79, .14);
}
.ehliyet-module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.ehliyet-module-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--eh-green-soft);
  color: var(--eh-green);
}
.ehliyet-module-icon svg {
  width: 22px;
  height: 22px;
}
.ehliyet-module-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 107, .09);
  color: var(--eh-green);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ehliyet-module-badge.gold {
  background: rgba(245, 189, 25, .17);
  color: #8a6300;
}
.ehliyet-module-card h3 {
  margin: 0 0 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--eh-ink);
  line-height: 1.28;
}
.ehliyet-module-card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--eh-muted);
  font-size: 12.5px;
  line-height: 1.62;
}
.ehliyet-module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 13px;
  border-top: 1px dashed var(--eh-line);
  color: #48615a;
  font-size: 11px;
  font-weight: 700;
}
.ehliyet-module-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ehliyet-module-meta span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7bbba9;
}
.ehliyet-module-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--eh-green);
  font-size: 12px;
  font-weight: 800;
}
.ehliyet-module-cta svg {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}
.ehliyet-module-card:hover .ehliyet-module-cta svg {
  transform: translateX(4px);
}
.ehliyet-module-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 189, 25, .22), transparent 35%),
    linear-gradient(135deg, #0a443c, #0f766b);
  border-color: transparent;
  color: #fff;
}
.ehliyet-module-card.featured h3,
.ehliyet-module-card.featured .ehliyet-module-cta {
  color: #fff;
}
.ehliyet-module-card.featured p {
  color: #d7ece4;
}
.ehliyet-module-card.featured .ehliyet-module-icon {
  background: rgba(255, 255, 255, .14);
  color: #fde68a;
}
.ehliyet-module-card.featured .ehliyet-module-badge {
  background: rgba(245, 189, 25, .2);
  color: #ffe08a;
}
.ehliyet-module-card.featured .ehliyet-module-meta {
  border-top-color: rgba(255, 255, 255, .18);
  color: #e6f4ee;
}
.ehliyet-module-card.featured .ehliyet-module-meta span::before {
  background: #f5bd19;
}

/* Tam deneme bandı */
.ehliyet-deneme-banner {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(245, 189, 25, .26), transparent 32%),
    linear-gradient(135deg, #073d32, #0f766b);
  color: #fff;
  box-shadow: var(--eh-shadow);
}
.ehliyet-deneme-banner .ehliyet-module-badge {
  background: rgba(245, 189, 25, .2);
  color: #ffe08a;
}
.ehliyet-deneme-banner h2 {
  margin: 9px 0 6px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: -.02em;
}
.ehliyet-deneme-banner p {
  max-width: 650px;
  margin: 0;
  color: #d3e9e1;
  font-size: 12.5px;
  line-height: 1.65;
}
.ehliyet-deneme-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: #e6f4ee;
  font-size: 11px;
  font-weight: 800;
}
.ehliyet-deneme-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ehliyet-deneme-banner-meta span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5bd19;
}
.ehliyet-deneme-banner > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--eh-gold);
  color: #073d32;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}
.ehliyet-deneme-banner > a:hover {
  transform: translateY(-2px);
}

/* Sınav formatı */
.ehliyet-format {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--eh-line);
  border-radius: 22px;
  box-shadow: var(--eh-shadow);
}
.ehliyet-format h2 {
  margin: 5px 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--eh-ink);
  letter-spacing: -.02em;
}
.ehliyet-format p {
  margin: 0 0 18px;
  color: var(--eh-muted);
  font-size: 13px;
  line-height: 1.7;
}
.ehliyet-format-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ehliyet-fact {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--eh-green-soft);
  text-align: center;
}
.ehliyet-fact b {
  display: block;
  color: var(--eh-green-dark);
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.ehliyet-fact span {
  display: block;
  margin-top: 3px;
  color: #4e6b62;
  font-size: 10px;
  font-weight: 700;
}
.ehliyet-distribution {
  display: grid;
  gap: 12px;
  align-content: center;
}
.ehliyet-dist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: center;
  font-size: 11.5px;
  color: #38534b;
  font-weight: 700;
}
.ehliyet-dist-track {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: #e9f1ed;
  overflow: hidden;
}
.ehliyet-dist-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766b, #2fa88f);
}
.ehliyet-dist-row:nth-child(2) .ehliyet-dist-track i { background: linear-gradient(90deg, #b45309, #f5bd19); }
.ehliyet-dist-row:nth-child(3) .ehliyet-dist-track i { background: linear-gradient(90deg, #1d4ed8, #60a5fa); }
.ehliyet-dist-row:nth-child(4) .ehliyet-dist-track i { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.ehliyet-format-note {
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f6faf8;
  border: 1px solid var(--eh-line);
  color: #4a645c;
  font-size: 11.5px;
  line-height: 1.6;
}

/* Son sonuç */
.ehliyet-last-result {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0a443c, #0f766b);
  color: #fff;
  box-shadow: var(--eh-shadow);
}
.ehliyet-last-result[hidden] {
  display: none;
}
.ehliyet-last-ring {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#f5bd19 calc(var(--pct) * 1%), rgba(255, 255, 255, .16) 0);
  position: relative;
}
.ehliyet-last-ring::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0a443c;
}
.ehliyet-last-ring b {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
}
.ehliyet-last-copy {
  flex: 1;
}
.ehliyet-last-copy small {
  display: block;
  color: #9fd5c6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ehliyet-last-copy b {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
}
.ehliyet-last-copy p {
  margin: 4px 0 0;
  color: #cfe7df;
  font-size: 12px;
}
.ehliyet-last-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.ehliyet-last-actions a {
  padding: 10px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
}
.ehliyet-last-actions a:hover {
  background: rgba(255, 255, 255, .2);
}

/* İpuçları */
.ehliyet-tips {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ehliyet-tip {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--eh-line);
}
.ehliyet-tip i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--eh-green-soft);
  color: var(--eh-green);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}
.ehliyet-tip h3 {
  margin: 12px 0 5px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--eh-ink);
}
.ehliyet-tip p {
  margin: 0;
  color: var(--eh-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   Quiz arayüzü
   ========================================================================== */
.ehliyet-quiz-hero {
  padding-bottom: 52px;
}
.ehliyet-quiz-container {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.ehliyet-quiz-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.ehliyet-quiz-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}
.ehliyet-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--eh-green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  padding: 4px 2px;
}
.ehliyet-side-card {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--eh-line);
  box-shadow: 0 8px 20px rgba(7, 88, 79, .06);
}
.ehliyet-side-card h3 {
  margin: 0 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--eh-ink);
  letter-spacing: .01em;
}
.ehliyet-side-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin: 2px -6px;
  border-radius: 9px;
  color: #436057;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
}
.ehliyet-side-card a:hover,
.ehliyet-side-card a.active {
  background: var(--eh-green-soft);
  color: var(--eh-green-dark);
}
.ehliyet-side-card a span {
  color: #87a49a;
  font-size: 10px;
  font-weight: 700;
}
.ehliyet-side-card p {
  margin: 0;
  color: var(--eh-muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.ehliyet-side-info {
  background: linear-gradient(135deg, #0a443c, #11695d);
  border-color: transparent;
  color: #fff;
}
.ehliyet-side-info b {
  display: block;
  margin-bottom: 6px;
  color: #fde68a;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ehliyet-side-info p {
  color: #d3e9e1;
}
.ehliyet-quiz-main {
  min-width: 0;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--eh-line);
  box-shadow: var(--eh-shadow);
}
.ehliyet-quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.ehliyet-quiz-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ehliyet-quiz-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--eh-green-soft);
  color: var(--eh-green-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
}
.ehliyet-quiz-meta span.secondary {
  background: #f4f7f5;
  color: #64766f;
}
.ehliyet-timer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #0a443c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ehliyet-timer svg {
  width: 16px;
  height: 16px;
}
.ehliyet-timer.warning {
  background: #9a3412;
  animation: ehPulse 1s ease-in-out infinite;
}
@keyframes ehPulse {
  50% { opacity: .72; }
}
.ehliyet-progress {
  height: 8px;
  border-radius: 999px;
  background: #e9f1ed;
  overflow: hidden;
  margin-bottom: 22px;
}
.ehliyet-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766b, #2fa88f);
  transition: width .25s ease;
}
.ehliyet-question {
  animation: ehFade .22s ease both;
}
@keyframes ehFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.ehliyet-question-cat {
  color: var(--eh-green);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ehliyet-question h2 {
  margin: 7px 0 18px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  color: var(--eh-ink);
  font-weight: 800;
  letter-spacing: -.01em;
}
.ehliyet-question-visual {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f7fbf9;
  border: 1px solid var(--eh-line);
}
.ehliyet-question-visual svg {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
}
.ehliyet-question-visual p {
  margin: 0;
  color: #5c746b;
  font-size: 11.5px;
  line-height: 1.6;
}
.ehliyet-options {
  display: grid;
  gap: 10px;
}
.ehliyet-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--eh-line);
  border-radius: 13px;
  background: #fff;
  color: #26423a;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.ehliyet-option:hover {
  border-color: #8bc4b4;
  background: #f8fcfb;
}
.ehliyet-option i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0f5f2;
  color: #597087;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  transition: background .16s ease, color .16s ease;
}
.ehliyet-option.selected {
  border-color: var(--eh-green);
  background: #eef9f4;
  box-shadow: 0 0 0 3px rgba(15, 118, 107, .08);
}
.ehliyet-option.selected i {
  background: var(--eh-green);
  color: #fff;
}
.ehliyet-option.correct {
  border-color: #15803d;
  background: #f0fdf4;
}
.ehliyet-option.correct i {
  background: #15803d;
  color: #fff;
}
.ehliyet-option.wrong {
  border-color: #dc2626;
  background: #fef2f2;
}
.ehliyet-option.wrong i {
  background: #dc2626;
  color: #fff;
}
.ehliyet-option:disabled {
  cursor: default;
}
.ehliyet-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7e6;
  border: 1px solid #fde68a;
  color: #7c5b00;
  font-size: 12px;
  line-height: 1.6;
}
.ehliyet-feedback[hidden] {
  display: none;
}
.ehliyet-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef3f0;
}
.ehliyet-quiz-nav .ehliyet-nav-left,
.ehliyet-quiz-nav .ehliyet-nav-right {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.ehliyet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid var(--eh-line);
  background: #fff;
  color: #2f4c43;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.ehliyet-btn:hover:not(:disabled) {
  background: #f5faf7;
  border-color: #a5cfc3;
}
.ehliyet-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.ehliyet-btn.primary {
  background: var(--eh-green);
  border-color: var(--eh-green);
  color: #fff;
}
.ehliyet-btn.primary:hover:not(:disabled) {
  background: var(--eh-green-dark);
  border-color: var(--eh-green-dark);
}
.ehliyet-btn.gold {
  background: var(--eh-gold);
  border-color: var(--eh-gold);
  color: #073d32;
}
.ehliyet-btn.gold:hover:not(:disabled) {
  background: #eab008;
  border-color: #eab008;
}
.ehliyet-btn.ghost {
  background: transparent;
}
.ehliyet-hint {
  margin-top: 12px;
  color: #7a8f87;
  font-size: 11px;
  text-align: center;
}

/* Başlangıç ekranı */
.ehliyet-start {
  text-align: center;
  padding: 18px 8px 10px;
}
.ehliyet-start-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--eh-green-soft);
  color: var(--eh-green);
}
.ehliyet-start-icon svg {
  width: 30px;
  height: 30px;
}
.ehliyet-start h2 {
  margin: 0 0 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 25px;
  color: var(--eh-ink);
}
.ehliyet-start > p {
  max-width: 540px;
  margin: 0 auto 18px;
  color: var(--eh-muted);
  font-size: 13px;
  line-height: 1.7;
}
.ehliyet-start-rules {
  max-width: 520px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  text-align: center;
}
.ehliyet-start-rules div {
  padding: 12px 8px;
  border-radius: 12px;
  background: #f6faf8;
  border: 1px solid var(--eh-line);
}
.ehliyet-start-rules b {
  display: block;
  color: var(--eh-green-dark);
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
}
.ehliyet-start-rules span {
  display: block;
  margin-top: 2px;
  color: #6d817a;
  font-size: 10px;
  font-weight: 700;
}

/* Sonuç */
.ehliyet-result {
  text-align: center;
  animation: ehFade .25s ease both;
}
.ehliyet-result-ring {
  --pct: 0;
  width: 132px;
  height: 132px;
  margin: 4px auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, #0f766b) calc(var(--pct) * 1%), #edf3f0 0);
  position: relative;
}
.ehliyet-result-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}
.ehliyet-result-ring div {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
}
.ehliyet-result-ring b {
  font-family: 'Manrope', sans-serif;
  font-size: 31px;
  line-height: 1;
  color: var(--eh-ink);
}
.ehliyet-result-ring span {
  margin-top: 3px;
  color: #7b8f87;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.ehliyet-result h2 {
  margin: 0 0 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 25px;
  color: var(--eh-ink);
}
.ehliyet-result > p {
  max-width: 580px;
  margin: 0 auto 16px;
  color: var(--eh-muted);
  font-size: 13px;
  line-height: 1.65;
}
.ehliyet-result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  max-width: 560px;
  margin: 0 auto 20px;
}
.ehliyet-result-stats div {
  padding: 11px 8px;
  border-radius: 12px;
  background: #f6faf8;
  border: 1px solid var(--eh-line);
}
.ehliyet-result-stats b {
  display: block;
  color: var(--eh-ink);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
}
.ehliyet-result-stats span {
  display: block;
  margin-top: 2px;
  color: #71857d;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ehliyet-result-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}
.ehliyet-review {
  text-align: left;
  border-top: 1px solid #eef3f0;
  padding-top: 18px;
}
.ehliyet-review > h3 {
  margin: 0 0 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  color: var(--eh-ink);
}
.ehliyet-review details {
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  margin-bottom: 8px;
  background: #fff;
  overflow: hidden;
}
.ehliyet-review summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  color: #2d4a41;
}
.ehliyet-review summary::-webkit-details-marker {
  display: none;
}
.ehliyet-review summary .rev-badge {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  background: #15803d;
}
.ehliyet-review summary .rev-badge.wrong {
  background: #c2413b;
}
.ehliyet-review summary .rev-badge.empty {
  background: #94a3b8;
}
.ehliyet-review summary span.rev-q {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ehliyet-review .rev-body {
  padding: 0 13px 13px;
  color: #526a61;
  font-size: 12px;
  line-height: 1.65;
}
.ehliyet-review .rev-body p {
  margin: 6px 0;
}
.ehliyet-review .rev-body b {
  color: #233f37;
}
.ehliyet-review .rev-body .rev-visual svg {
  width: 84px;
  height: 84px;
  margin: 4px 0;
}

/* ==========================================================================
   Ders (kategori) sayfaları
   ========================================================================== */
.ehliyet-subject-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  margin-top: 26px;
}
.ehliyet-subject-panel {
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--eh-line);
  box-shadow: 0 10px 26px rgba(7, 88, 79, .07);
}
.ehliyet-subject-panel h2 {
  margin: 4px 0 9px;
  font-family: 'Manrope', sans-serif;
  font-size: 23px;
  color: var(--eh-ink);
}
.ehliyet-subject-panel p {
  margin: 0 0 16px;
  color: var(--eh-muted);
  font-size: 13px;
  line-height: 1.7;
}
.ehliyet-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ehliyet-topic-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--eh-green-soft);
  color: #315f54;
  font-size: 10.5px;
  font-weight: 700;
}
.ehliyet-subject-cta {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0a443c, #0f766b);
  color: #fff;
  box-shadow: var(--eh-shadow);
}
.ehliyet-subject-cta small {
  color: #9fd5c6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ehliyet-subject-cta h3 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
}
.ehliyet-subject-cta p {
  margin: 0 0 6px;
  color: #d3e9e1;
  font-size: 12px;
  line-height: 1.6;
}
.ehliyet-subject-cta .ehliyet-btn {
  justify-self: start;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .ehliyet-card-grid,
  .ehliyet-card-grid.three,
  .ehliyet-card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ehliyet-module-card.featured {
    grid-column: span 2;
  }
  .ehliyet-format {
    grid-template-columns: 1fr;
  }
  .ehliyet-quiz-layout {
    grid-template-columns: 1fr;
  }
  .ehliyet-quiz-side {
    position: static;
    order: 2;
  }
  .ehliyet-quiz-side .ehliyet-side-card:first-of-type {
    display: none;
  }
  .ehliyet-subject-grid {
    grid-template-columns: 1fr;
  }
  .ehliyet-container .subpage-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ehliyet-container {
    padding: 0 15px 54px;
  }
  .ehliyet-hero {
    padding: 44px 16px 48px !important;
  }
  .ehliyet-hero-actions {
    flex-direction: column;
  }
  .ehliyet-btn-primary,
  .ehliyet-btn-secondary {
    width: 100%;
  }
  .ehliyet-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .ehliyet-card-grid,
  .ehliyet-card-grid.three,
  .ehliyet-card-grid.two {
    grid-template-columns: 1fr;
  }
  .ehliyet-container .subpage-stats-bar {
    gap: 14px;
    padding: 16px;
  }
  .ehliyet-container .subpage-stat-item {
    gap: 12px;
  }
  .ehliyet-container .subpage-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex: 0 0 auto;
  }
  .ehliyet-container .subpage-stat-icon svg {
    width: 20px;
    height: 20px;
  }
  .ehliyet-container .subpage-stat-info b {
    font-size: 17px;
  }
  .ehliyet-container .subpage-stat-info small {
    display: block;
    font-size: 10.5px;
    line-height: 1.35;
  }
  .ehliyet-module-card.featured {
    grid-column: auto;
  }
  .ehliyet-format {
    padding: 20px;
  }
  .ehliyet-format-facts {
    grid-template-columns: 1fr;
  }
  .ehliyet-tips {
    grid-template-columns: 1fr;
  }
  .ehliyet-last-result {
    align-items: flex-start;
    flex-direction: column;
  }
  .ehliyet-quiz-main {
    padding: 16px;
    border-radius: 18px;
  }
  .ehliyet-quiz-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .ehliyet-question-visual {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .ehliyet-question-visual svg {
    width: 112px;
    height: 112px;
  }
  .ehliyet-option {
    font-size: 13px;
    padding: 12px;
  }
  .ehliyet-quiz-nav {
    align-items: stretch;
    flex-direction: column;
  }
  .ehliyet-quiz-nav .ehliyet-nav-left,
  .ehliyet-quiz-nav .ehliyet-nav-right {
    width: 100%;
  }
  .ehliyet-quiz-nav .ehliyet-btn {
    flex: 1;
  }
  .ehliyet-result-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ehliyet-start-rules {
    grid-template-columns: 1fr;
  }
  .ehliyet-review summary span.rev-q {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
