/* =====================================================================
   e-Fatura Zorunluluk Sorgulama sayfası — bs-ortak.css üzerine ek stiller
   Önek: .efs-*   ·   Açık tema, marka renkleri, katmanlı 3D derinlik
   ===================================================================== */

/* ---------- Hero ---------- */
.efs-hero .bo-hero__alt strong { color: var(--bo-lac); }
.efs-guven { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--bo-yazi-2); }
.efs-guven li { display: inline-flex; align-items: center; gap: 8px; }
.efs-guven .bi { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #fff; color: var(--bo-kir); box-shadow: var(--bo-g1); font-size: 14px; }

/* Hero illüstrasyonu (izometrik e-fatura sahnesi) */
.efs-sahne .efs-yuz { animation: efsYuz 6s ease-in-out infinite; transform-box: fill-box; }
.efs-sahne .efs-yuz--2 { animation-duration: 7.5s; animation-delay: -2s; }
.efs-sahne .efs-yuz--3 { animation-duration: 5s; animation-delay: -1s; }
.efs-sahne .efs-nabiz { animation: efsNabiz 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.efs-sahne .efs-akis { stroke-dasharray: 6 8; animation: efsAkis 1.4s linear infinite; }
.efs-sahne .efs-tik { stroke-dasharray: 60; stroke-dashoffset: 60; animation: efsTik 3.2s var(--bo-ease) infinite; }
.efs-sahne .efs-led { animation: efsLed 1.8s steps(2, jump-none) infinite; }
.efs-sahne .efs-led:nth-of-type(2) { animation-delay: -.6s; }
.efs-sahne .efs-led:nth-of-type(3) { animation-delay: -1.2s; }
.efs-sahne .efs-tarama { animation: efsTara 3.2s ease-in-out infinite; transform-box: fill-box; }
@keyframes efsYuz { 50% { transform: translateY(-12px); } }
@keyframes efsNabiz { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes efsAkis { to { stroke-dashoffset: -28; } }
@keyframes efsTik { 0%, 15% { stroke-dashoffset: 60; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes efsLed { 50% { opacity: .25; } }
@keyframes efsTara { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-26px, 34px); } }

/* ---------- Sorgulama alanı ---------- */
.efs-sorgu { position: relative; margin-top: clamp(-56px, -4vw, -28px); padding-bottom: clamp(48px, 7vw, 90px); }
.efs-sorgu__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; }
.efs-panel { position: relative; padding: clamp(22px, 3.4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g3); }
.efs-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 28px 28px 0 0; background: linear-gradient(90deg, var(--bo-lac-2), var(--bo-kir) 60%, var(--bo-alt)); }
.efs-panel__bas { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.efs-panel__bas h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.efs-panel__bas p { margin: 4px 0 0; color: var(--bo-yazi-2); font-size: 14.5px; }
.efs-panel__ikon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; color: #fff; font-size: 24px; background: linear-gradient(145deg, var(--bo-lac-2), var(--bo-lac)); box-shadow: 0 14px 26px -12px rgba(11,33,80,.7); }
.efs-form { gap: 18px; }
.efs-form .bo-alan label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.efs-form .bo-alan label .bi { color: var(--bo-kir); }
.efs-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2316357a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-color: var(--bo-zemin); }
.efs-form select:focus { background-color: #fff; }
.efs-form .bo-btn { margin-top: 6px; }
.efs-not { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--bo-yazi-3); }
.efs-not a { color: var(--bo-lac-2); font-weight: 700; }

/* Yan panel: nasıl çalışır */
.efs-yan { display: grid; gap: 16px; }
.efs-yan .bo-kart h3 { font-size: 18px; }
.efs-mini-adim { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: m; }
.efs-mini-adim li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.55; color: var(--bo-yazi-2); }
.efs-mini-adim li::before { counter-increment: m; content: counter(m); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--bo-zemin-2); color: var(--bo-lac-2); font: 800 15px/1 var(--bo-f-bas); }
.efs-mini-adim strong { color: var(--bo-lac); }
.efs-yan .bo-kart--koyu .bo-btn { margin-top: 18px; }

/* ---------- Sonuç kartı (animasyonlu) ---------- */
#resultArea { display: none; margin-top: 28px; perspective: 1200px; }
.efs-sonuc { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 38px); border-radius: 24px; text-align: center; border: 1px solid transparent; transform-origin: top center; animation: efsSonucGel .8s var(--bo-ease) both; }
.efs-sonuc--zorunlu { background: radial-gradient(500px 220px at 50% 0%, #fff, transparent 70%), linear-gradient(160deg, #fff5f4, #fde3e1); border-color: #f8c7c3; }
.efs-sonuc--istege { background: radial-gradient(500px 220px at 50% 0%, #fff, transparent 70%), linear-gradient(160deg, #f1fcf6, #d8f5e6); border-color: #a7e7c6; }
.efs-sonuc__rozet { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; }
.efs-sonuc__rozet svg { width: 96px; height: 96px; overflow: visible; }
.efs-sonuc__halka { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transform: rotate(-90deg); transform-origin: 50% 50%; animation: efsHalka 1s .25s var(--bo-ease) forwards; }
.efs-sonuc__isaret { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: efsHalka .6s .9s var(--bo-ease) forwards; }
.efs-sonuc__parca { position: absolute; width: 9px; height: 9px; border-radius: 3px; opacity: 0; animation: efsParca 1.1s 1s var(--bo-ease) forwards; }
.efs-sonuc__parca:nth-child(2) { --x: -62px; --y: -40px; background: var(--bo-alt); }
.efs-sonuc__parca:nth-child(3) { --x: 64px; --y: -34px; background: var(--bo-kir); animation-delay: 1.05s; }
.efs-sonuc__parca:nth-child(4) { --x: -54px; --y: 46px; background: var(--bo-lac-3); animation-delay: 1.1s; }
.efs-sonuc__parca:nth-child(5) { --x: 58px; --y: 50px; background: var(--bo-alt); animation-delay: 1.15s; }
.efs-sonuc--zorunlu .efs-sonuc__halka, .efs-sonuc--zorunlu .efs-sonuc__isaret { stroke: var(--bo-kir); }
.efs-sonuc--istege .efs-sonuc__halka, .efs-sonuc--istege .efs-sonuc__isaret { stroke: #059669; }
.efs-sonuc__etiket { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.efs-sonuc--zorunlu .efs-sonuc__etiket { background: #fff; color: #b91c1c; box-shadow: 0 6px 16px -10px rgba(185,28,28,.6); }
.efs-sonuc--istege .efs-sonuc__etiket { background: #fff; color: #047857; box-shadow: 0 6px 16px -10px rgba(4,120,87,.6); }
.efs-sonuc h3 { margin: 14px 0 10px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.efs-sonuc--zorunlu h3 { color: #991b1b; }
.efs-sonuc--istege h3 { color: #065f46; }
.efs-sonuc__metin { max-width: 560px; margin: 0 auto; font-size: 16.5px; line-height: 1.65; color: var(--bo-yazi); }
.efs-sonuc__alt { max-width: 560px; margin: 12px auto 0; font-size: 14.5px; color: var(--bo-yazi-2); }
.efs-sonuc__secim { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.efs-sonuc__secim li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.85); border: 1px solid var(--bo-cizgi); font-size: 13px; font-weight: 600; color: var(--bo-lac); }
.efs-sonuc .bo-butonlar { justify-content: center; margin-top: 24px; }
.efs-btn-wa { background: linear-gradient(180deg, #2ad46d, #1fae57); color: #fff; --g: 0 12px 24px -10px rgba(31,174,87,.7); }
.efs-btn-wa:hover { color: #fff; }
@keyframes efsSonucGel { from { opacity: 0; transform: rotateX(-24deg) translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes efsHalka { to { stroke-dashoffset: 0; } }
@keyframes efsParca { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(160deg) scale(1); } }

/* ---------- Limit tablosu ---------- */
.efs-tablo-kap { overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g2); }
.efs-tablo { width: 100%; border-collapse: collapse; font-size: 15px; }
.efs-tablo caption { caption-side: bottom; padding: 14px 20px; font-size: 13px; color: var(--bo-yazi-3); text-align: left; background: var(--bo-zemin); }
.efs-tablo th { padding: 16px 20px; text-align: left; font: 700 13px/1.2 var(--bo-f-govde); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--bo-lac-2), var(--bo-lac)); }
.efs-tablo td { padding: 16px 20px; border-top: 1px solid var(--bo-cizgi); vertical-align: middle; }
.efs-tablo tbody tr { transition: background .2s; }
.efs-tablo tbody tr:hover { background: #f7f9fe; }
.efs-tablo td:first-child { font-weight: 700; color: var(--bo-lac); }
.efs-tablo td:first-child .bi { margin-right: 8px; color: var(--bo-kir); }
.efs-limit { font: 800 17px/1 var(--bo-f-bas); color: var(--bo-lac); }
.efs-durum { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; font-size: 13px; font-weight: 700; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Kimler zorunlu (sektör kartları) ---------- */
.efs-sektor .bo-kart__ikon { font-size: 22px; }
.efs-sektor__limit { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--bo-cizgi-2); font-size: 13px; font-weight: 700; color: var(--bo-yazi-3); }
.efs-sektor__limit b { font: 800 22px/1 var(--bo-f-bas); color: var(--bo-kir); }
.efs-sektor--vurgu { border-color: rgba(225,37,27,.25); box-shadow: 0 0 0 4px rgba(225,37,27,.06), var(--bo-g2); }

/* ---------- Belge türleri ---------- */
.efs-belge { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.efs-belge .bo-kart { padding-top: 22px; }
.efs-belge__svg { width: 100%; max-width: 160px; height: auto; margin: 0 0 14px; }
.efs-belge .bo-kart:hover .efs-belge__svg { transform: translateZ(30px); }
.efs-belge__svg { transition: transform .5s var(--bo-ease); }

/* ---------- Zaman çizelgesi ---------- */
.efs-zaman { position: relative; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.efs-zaman::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--bo-lac-2), var(--bo-kir), var(--bo-alt)); opacity: .5; }
.efs-zaman li { position: relative; padding: 0 8px; text-align: center; }
.efs-zaman__nokta { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 22px; background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g2); color: var(--bo-kir); font-size: 26px; }
.efs-zaman h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.efs-zaman p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bo-yazi-2); }

/* ---------- Adımlar (geçiş süreci) ---------- */
.efs-adimlar li h3 { margin: 0 0 6px; font-size: 18px; }
.efs-adimlar li p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bo-yazi-2); }
.efs-adimlar li .bi { position: absolute; top: 24px; right: 22px; font-size: 26px; color: var(--bo-lac-3); opacity: .35; }

/* ---------- Rakamlar ---------- */
.efs-rakamlar .bo-rakam { padding: 26px; border-radius: var(--bo-r); background: #fff; border: 1px solid var(--bo-cizgi); box-shadow: var(--bo-g1); text-align: center; }
.efs-rakamlar .bo-rakam b span { color: var(--bo-kir); }

/* ---------- İçerik metni ---------- */
.efs-metin { max-width: 860px; margin: 0 auto; }
.efs-metin p { font-size: 16.5px; line-height: 1.8; color: var(--bo-yazi-2); }
.efs-metin a { color: var(--bo-lac-2); font-weight: 700; }
.efs-ilgili { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 30px; }
.efs-ilgili a.bo-kart { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
.efs-ilgili .bo-kart__ikon { width: 46px; height: 46px; margin: 0; font-size: 20px; flex: none; }
.efs-ilgili strong { display: block; color: var(--bo-lac); font-size: 15.5px; }
.efs-ilgili small { color: var(--bo-yazi-3); font-size: 13px; }

/* ---------- SSS / CTA ---------- */
.efs-sss summary { font-size: 16px; text-align: left; }
.efs-cta .bo-butonlar { margin-top: 0; }
.efs-cta__metin { max-width: 560px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 991.98px) {
  .efs-sorgu__grid { grid-template-columns: 1fr; }
  .efs-sorgu { margin-top: 0; padding-top: 8px; }
}
@media (max-width: 767.98px) {
  .efs-zaman { grid-template-columns: 1fr; gap: 22px; }
  .efs-zaman::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--bo-lac-2), var(--bo-kir), var(--bo-alt)); }
  .efs-zaman li { display: grid; grid-template-columns: 68px 1fr; gap: 16px; text-align: left; padding: 0; }
  .efs-zaman__nokta { margin: 0; }
  /* Tablo → kart görünümü */
  .efs-tablo thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .efs-tablo, .efs-tablo tbody, .efs-tablo tr, .efs-tablo td { display: block; width: 100%; }
  .efs-tablo tr { padding: 14px 18px; border-top: 1px solid var(--bo-cizgi); }
  .efs-tablo tbody tr:first-child { border-top: 0; }
  .efs-tablo td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
  .efs-tablo td::before { content: attr(data-baslik); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bo-yazi-3); text-align: left; }
  .efs-tablo td:first-child { font-size: 16px; }
  .efs-tablo td:first-child::before { display: none; }
  .efs-tablo td:first-child { justify-content: flex-start; text-align: left; }
}
@media (max-width: 575.98px) {
  .efs-panel { border-radius: 22px; }
  .efs-panel__bas { align-items: flex-start; }
  .efs-sonuc .bo-butonlar .bo-btn { flex: 1 1 100%; }
  .efs-guven { gap: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .efs-sonuc__halka, .efs-sonuc__isaret { stroke-dashoffset: 0 !important; }
  .efs-sahne .efs-tik { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .efs-sonuc__parca { display: none; }
}
