/* =========================================================
   Nodopay — tema üzerine hedefli eklemeler
   Tema dosyalarına (style.css) dokunulmaz; yalnızca yeni
   bileşenler ve küçük uyarlamalar burada tanımlanır.
   ========================================================= */

/* <main> tema kırpmasını bozmasın */
.main-root { overflow-x: clip; }

/* Başlıkta telefon simgesi (tema avatar görseli yerine) */
.header-area .signin-link .np-avatar-ic {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ld-color-primary); color: #fff; font-size: 15px;
}
.header-area .signin-link:hover .np-avatar-ic { background: var(--ld-color-mint); color: var(--ld-color-ink); }
.header-area .ld-logo img, .ld-offcanvas .offcanvas-head img, .footer-area .f-logo img { height: auto; }

/* Hero: 2. slayt başlığı h1 değil (tek h1 kuralı) — aynı görünüm */
.hero-area p.hero-title {
  font-family: var(--ld-ff-serif); color: var(--ld-color-ink); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.01em; font-size: var(--ld-fs-h1);
}
.hero-area .hero-trust .np-trust-icons span {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ld-color-primary); color: #fff; border: 3px solid var(--ld-color-surface); font-size: 15px;
}
.hero-area .hero-trust .np-trust-icons span:nth-child(2) { background: var(--ld-color-mint-deep); }
.hero-area .hero-trust .np-trust-icons span:nth-child(3) { background: var(--ld-color-navy); }
.hero-area .hero-trust .np-trust-icons span + span { margin-left: -12px; }

/* Bot tuzağı alanı */
.np-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Desteklenen altyapılar — metin logolar */
.clients-area .client-item.np-text-logo span {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ld-ff-heading);
  font-weight: 600; font-size: 14.5px; color: var(--ld-color-ink); text-align: center; line-height: 1.3;
}
.clients-area .client-item.np-text-logo span i { color: var(--ld-color-primary); font-size: 14px; }

/* Aylık / yıllık seçici */
.np-billing-toggle { display: flex; justify-content: center; gap: 6px; margin: 10px auto 0; padding: 6px; width: max-content;
  background: var(--ld-color-surface); border: 1px solid var(--ld-color-border); border-radius: 999px; }
.np-billing-toggle button { border: 0; background: transparent; padding: 9px 22px; border-radius: 999px; font-weight: 600; color: var(--ld-color-body); }
.np-billing-toggle button.active { background: var(--ld-color-ink); color: #fff; }
.np-billing-toggle button span { font-size: 11px; background: var(--ld-color-mint); color: var(--ld-color-ink); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.plans-area .np-price-custom { font-size: 46px; }

/* Paket karşılaştırma tablosu */
.np-compare th[scope="row"] { text-align: left; font-weight: 600; }
.np-compare td, .np-compare thead th:not(:first-child) { text-align: center; }
.np-yes { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center;
  background: rgba(var(--ld-color-mint-rgb), .35); color: var(--ld-color-mint-deep); font-size: 13px; }
.np-no { color: var(--ld-color-border-2); }

/* Hesaplayıcı notu (tema .calc-example kullanılmaz; main.js o sınıfı İngilizce metinle doldurur) */
.calc-area .calc-widget .np-calc-example {
  font-size: 13.5px; color: var(--ld-color-muted); line-height: 1.7; border-top: 1px solid var(--ld-color-border);
  padding-top: 16px; margin: 20px 0 22px;
}

/* Yapay zekâ / arama özeti kutusu */
.np-tldr {
  background: linear-gradient(135deg, rgba(var(--ld-color-primary-rgb), .07), rgba(var(--ld-color-mint-rgb), .14));
  border-left: 4px solid var(--ld-color-primary); border-radius: var(--ld-radius); padding: 18px 22px; margin-bottom: 28px;
  color: var(--ld-color-ink); font-size: 16px; line-height: 1.7;
}
.np-tldr a { color: var(--ld-color-primary); font-weight: 600; }

/* İçindekiler */
.np-toc { border: 1px solid var(--ld-color-border); border-radius: var(--ld-radius); padding: 18px 22px; margin-bottom: 28px; background: #fff; }
.np-toc > span { font-weight: 700; color: var(--ld-color-ink); display: block; margin-bottom: 8px; }
.np-toc ul { margin: 0; padding-left: 18px; }
.np-toc li { margin: 4px 0; }
.np-toc li.lvl-3 { margin-left: 16px; font-size: 15px; }
.np-toc a { color: var(--ld-color-primary); }

/* Zengin metin */
.np-prose h2 { font-size: 28px; margin: 34px 0 14px; }
.np-prose h3 { font-size: 22px; margin: 26px 0 12px; }
.np-prose p { margin-bottom: 16px; }
.np-prose ul, .np-prose ol { padding-left: 22px; margin-bottom: 18px; }
.np-prose li { margin-bottom: 6px; }
.np-prose a { color: var(--ld-color-primary); text-decoration: underline; text-underline-offset: 3px; }
.np-prose code, .np-tldr code { background: var(--ld-color-surface); padding: 2px 6px; border-radius: 6px; font-size: .9em; color: var(--ld-color-primary-deep); }
.np-prose blockquote { border-left: 4px solid var(--ld-color-mint); padding: 6px 0 6px 18px; margin: 22px 0; font-family: var(--ld-ff-serif); font-size: 19px; color: var(--ld-color-ink); }
.np-prose blockquote cite { display: block; font-size: 14px; margin-top: 8px; font-family: var(--ld-ff-body); color: var(--ld-color-muted); font-style: normal; }
.np-updated { color: var(--ld-color-muted); font-size: 14px; margin-top: 30px; }
.np-code { background: #0F1B2D; color: #E4E9F4; border-radius: var(--ld-radius); padding: 20px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; margin: 0 0 24px; }
.np-code code { background: none; color: inherit; padding: 0; }
.np-method { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: .04em; }
.np-method.post { background: rgba(var(--ld-color-mint-rgb), .35); color: var(--ld-color-mint-deep); }
.np-method.get { background: rgba(var(--ld-color-primary-rgb), .12); color: var(--ld-color-primary); }
.np-table-plain { margin-bottom: 24px; }
.np-table-plain table td, .np-table-plain table th { padding: 12px 14px; vertical-align: top; }
.np-sticky { position: sticky; top: 120px; }

/* Arka plan varyantı */
.np-alt-bg { background-color: var(--ld-color-surface); }

/* Çip menü */
.np-chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.np-chip-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ld-color-border-2);
  font-weight: 600; font-size: 14.5px; color: var(--ld-color-ink); background: #fff; transition: all .25s ease; }
.np-chip-nav a span { font-size: 12px; background: var(--ld-color-surface); border-radius: 999px; padding: 1px 8px; color: var(--ld-color-muted); }
.np-chip-nav a:hover, .np-chip-nav a.active { background: var(--ld-color-ink); color: #fff; border-color: var(--ld-color-ink); }

/* Entegrasyon kartları */
.np-int-group { padding-top: 30px; margin-bottom: 50px; scroll-margin-top: 110px; }
.np-int-card { position: relative; display: flex; gap: 14px; align-items: flex-start; height: 100%; background: #fff;
  border: 1px solid var(--ld-color-border); border-radius: var(--ld-radius); padding: 18px 18px 40px; transition: all .3s ease; }
.np-int-card:hover { border-color: rgba(var(--ld-color-primary-rgb), .4); box-shadow: var(--ld-shadow); transform: translateY(-3px); }
.np-int-card .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(var(--ld-color-primary-rgb), .08); color: var(--ld-color-primary); font-size: 18px; }
.np-int-card .ic img { max-width: 34px; max-height: 34px; object-fit: contain; }
.np-int-card h3 { font-family: var(--ld-ff-heading); font-size: 16px; margin: 2px 0 4px; }
.np-int-card p { font-size: 13.5px; margin: 0; color: var(--ld-color-muted); line-height: 1.5; }
.np-badge { position: absolute; left: 76px; bottom: 14px; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.np-badge.ok { background: rgba(var(--ld-color-mint-rgb), .35); color: var(--ld-color-mint-deep); }
.np-badge.soon { background: #FFF3DA; color: #A86A00; }

/* İl bağlantıları */
.np-city-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.np-city-cloud.small { justify-content: flex-start; margin: 12px 0 8px; }
.np-city-cloud a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ld-color-border); background: #fff; font-size: 14px;
  color: var(--ld-color-ink); transition: all .2s ease; }
.np-city-cloud a:hover { background: var(--ld-color-primary); border-color: var(--ld-color-primary); color: #fff; }
.np-region { margin-bottom: 44px; }
.np-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.np-city-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--ld-color-border);
  border-radius: var(--ld-radius-sm); background: #fff; font-weight: 600; color: var(--ld-color-ink); transition: all .2s ease; }
.np-city-grid a i { margin-left: auto; font-size: 12px; color: var(--ld-color-muted); }
.np-city-grid a:hover { border-color: var(--ld-color-primary); box-shadow: var(--ld-shadow); }
.np-city-grid .plate { font-size: 12px; background: var(--ld-color-surface); border-radius: 6px; padding: 2px 7px; color: var(--ld-color-muted); }
.footer-area .np-city-links { columns: 2; column-gap: 24px; }
.footer-area .np-all-cities, .np-all-cities { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--ld-color-mint); }
.np-all-cities.dark { color: var(--ld-color-primary); }

/* Sorun / çözüm kartları */
.np-list-card { height: 100%; border-radius: var(--ld-radius); padding: 24px; border: 1px solid var(--ld-color-border); background: #fff; }
.np-list-card h2, .np-list-card h3 { font-family: var(--ld-ff-heading); font-size: 18px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.np-list-card.bad h2 i, .np-list-card.bad h3 i { color: #E05B5B; }
.np-list-card.good { border-color: rgba(var(--ld-color-mint-rgb), .8); background: rgba(var(--ld-color-mint-rgb), .08); }
.np-list-card.good h2 i, .np-list-card.good h3 i { color: var(--ld-color-mint-deep); }
.np-list-card ul { margin: 0; padding-left: 18px; }
.np-list-card li { margin-bottom: 6px; }
.np-steps { padding-left: 20px; }
.np-steps li { margin-bottom: 10px; }

/* SSS sayfası */
.np-faq-nav { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 120px; }
.np-faq-nav a { display: flex; justify-content: space-between; padding: 14px 18px; border: 1px solid var(--ld-color-border); border-radius: var(--ld-radius-sm);
  font-weight: 600; color: var(--ld-color-ink); background: #fff; }
.np-faq-nav a:hover { border-color: var(--ld-color-primary); color: var(--ld-color-primary); }
.np-faq-nav a span { color: var(--ld-color-muted); font-size: 13px; }
.np-faq-group { margin-bottom: 48px; scroll-margin-top: 110px; }
.np-faq-title { font-size: 26px; margin-bottom: 18px; }
.np-faq-title span { font-family: var(--ld-ff-body); font-size: 14px; color: var(--ld-color-muted); font-weight: 500; margin-left: 8px; }

/* Blog araçları */
.np-blog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.np-blog-tools .np-chip-nav { margin-bottom: 0; }
.np-blog-tools .side-search { min-width: 280px; }
.np-empty { text-align: center; padding: 40px 0; }
.np-side-cta p { margin-bottom: 16px; }

/* Form durum mesajları (tüm formlar) */
.np-form-status { font-size: 14px; margin-top: 14px; min-height: 1em; }
.np-form-status.is-success { color: var(--ld-color-mint-deep); font-weight: 600; }
.np-form-status.is-error { color: #E05B5B; font-weight: 600; }
.footer-newsletter .np-form-status.is-success { color: var(--ld-color-mint); }
.w-field .is-invalid, .w-field input.is-invalid, .w-field textarea.is-invalid, .w-field select.is-invalid { border-color: #E05B5B !important; }
.np-wizard-result.is-error .ok { background: #E05B5B; }

/* Küçük ekranlar */
@media (max-width: 991.98px) {
  .np-faq-nav, .np-sticky { position: static; }
  .footer-area .np-city-links { columns: 1; }
}
@media (max-width: 575.98px) {
  .np-blog-tools .side-search { min-width: 100%; }
  .np-billing-toggle button { padding: 8px 14px; }
}

/* Başlık sağ alanı tek satırda kalsın */
.header-area .header-right .signin-link, .header-area .header-right .ld-btn { white-space: nowrap; }
@media (max-width: 1399.98px) { .header-area .signin-link { display: none; } }

/* Detay sayfalarında yan sütundaki kart sütun boyunca uzamasın */
.sdetail-area .advisor-card { height: auto; margin-top: 24px; }
.sdetail-area .sd-widget + .sd-widget { margin-top: 24px; }

/* Mobil başlık: logo okunur kalsın, buton menüye taşınsın */
@media (max-width: 575.98px) {
  .header-area .header-right .ld-btn { display: none; }
  .header-area .ld-logo { flex-shrink: 0; }
  .header-area .ld-logo img { height: 38px; }
}
