/* Doruk Oto Far B2B — müşteri arayüzü */
:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --red: #dc2626;
  --red-d: #b91c1c;
  --wa: #25d366;
  --wa-d: #1da851;
  --bg: #f4f5f7;
  --radius: 12px;
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.btn-danger { --bs-btn-bg: var(--red); --bs-btn-border-color: var(--red); --bs-btn-hover-bg: var(--red-d); --bs-btn-hover-border-color: var(--red-d); }
a { color: var(--red-d); }

/* Navbar */
.app-navbar { background: var(--navy); padding-top: calc(.5rem + env(safe-area-inset-top)); box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.app-navbar .nav-link { color: rgba(255,255,255,.8); }
.app-navbar .nav-link.active, .app-navbar .nav-link:hover { color: #fff; }
.app-navbar .search-form { max-width: 520px; }
.app-navbar .search-form .form-control { border: 0; }
.cart-badge { font-size: .65rem; position: relative; top: -8px; }
.app-footer { background: var(--navy); color: rgba(255,255,255,.6); }

/* Install banner */
.install-banner { background: var(--navy-2); color: #fff; }

/* Brand chips */
.brand-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.brand-chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: .35rem .85rem; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; color: #111827; text-decoration: none; font-size: .875rem; }
.chip:hover { border-color: #9ca3af; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-special { border-color: #111827; }
.chip-special i { color: #f59e0b; }

/* Product cards */
.product-card { border: 0; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.product-img { display: block; position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #f1f1f1; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.brand-tag { position: absolute; top: .5rem; left: .5rem; background: rgba(255,255,255,.95); border: 1px solid #e5e7eb; font-size: .7rem; padding: .1rem .5rem; border-radius: 999px; color: #374151; font-weight: 600; }
.brand-tag.special { background: var(--navy); color: #fff; border-color: var(--navy); }
.product-name { color: #111827; text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-model { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: #6b7280; margin-top: .15rem; }
.product-price { font-weight: 800; color: var(--red); font-size: 1.05rem; }
.stock-dot { font-size: .7rem; font-weight: 600; white-space: nowrap; }
.stock-dot::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .25rem; vertical-align: middle; }
.stock-dot.ok { color: #15803d; } .stock-dot.ok::before { background: #22c55e; }
.stock-dot.low { color: #b45309; } .stock-dot.low::before { background: #f59e0b; }
.qty-input { width: 4.2rem; flex: 0 0 auto; text-align: center; }
.product-detail-img { background: #fff; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; border-radius: var(--radius) 0 0 var(--radius); }
.product-detail-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 1rem; }
.product-desc img { max-width: 100%; height: auto; }

/* WhatsApp butonu */
.btn-whatsapp { background: var(--wa); color: #fff; border: 0; font-weight: 600; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: var(--wa-d); color: #fff; }
.product-card .btn-whatsapp.btn-sm { font-size: .75rem; line-height: 1.2; padding: .45rem .4rem; }

/* Cart / checkout */
.package-card { border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.package-card .card-header { border: 0; }
.pkg-special .card-header { background: var(--navy); color: #fff; }
.pkg-general .card-header { background: #fff; border-bottom: 3px solid var(--red); }
.cart-row { display: flex; gap: .75rem; align-items: center; }
.cart-thumb { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 8px; flex: 0 0 auto; }
.cart-qty { width: 5rem; flex: 0 0 auto; }
.cart-sub { width: 7.5rem; flex: 0 0 auto; }
.min-w-0 { min-width: 0; }
.summary-card { border: 0; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
@media (min-width: 992px) { .summary-card.sticky-lg-top { top: 90px; } }
.pay-option { display: flex; gap: .75rem; align-items: center; padding: .9rem; border-radius: 10px; }
.iban-box { background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 10px; padding: .75rem; }
.iban-line { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .35rem 0; }
.iban-line + .iban-line { border-top: 1px solid #e5e7eb; }
.iban-text { letter-spacing: .02em; word-break: break-all; }

/* Orders */
.order-list .list-group-item { padding: .9rem 1rem; }
.order-steps { display: flex; gap: .5rem; }
.order-steps .step { flex: 1; background: #fff; border-radius: 10px; padding: .6rem; text-align: center; font-size: .8rem; color: #9ca3af; border: 1px solid #e5e7eb; }
.order-steps .step span { display: inline-flex; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #e5e7eb; color: #6b7280; align-items: center; justify-content: center; margin-right: .35rem; font-weight: 700; font-size: .75rem; }
.order-steps .step.done { color: #111827; border-color: #bbf7d0; background: #f0fdf4; }
.order-steps .step.done span { background: #16a34a; color: #fff; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: inline-flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* Stat cards */
.stat-card { background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: #111827; height: 100%; }
.stat-card .label { font-size: .8rem; color: #6b7280; }
.stat-card .value { font-size: 1.4rem; font-weight: 800; }
.stat-card .hint { font-size: .75rem; color: #6b7280; }
.stat-debt { border-left: 4px solid var(--red); }
.stat-ok { border-left: 4px solid #16a34a; }

.empty-state { text-align: center; padding: 3rem 1rem; color: #6b7280; }
.empty-state > i { font-size: 3rem; display: block; margin-bottom: .5rem; color: #cbd5e1; }

/* Auth */
.auth-wrap { display: flex; justify-content: center; padding: 1rem 0 2rem; }
.auth-card { width: 100%; max-width: 420px; border: 0; border-radius: 16px; }
.auth-card-wide { max-width: 720px; }

/* Mobil alt menü */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid #e5e7eb; display: flex; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: .45rem 0 .35rem; color: #6b7280; text-decoration: none; font-size: .68rem; position: relative; }
.bottom-nav a i { font-size: 1.3rem; line-height: 1.1; }
.bottom-nav a.active { color: var(--red); }
.bn-badge { position: absolute; top: .2rem; left: 55%; background: var(--red); color: #fff; font-size: .62rem; border-radius: 999px; padding: 0 .35rem; min-width: 1.1rem; text-align: center; }
@media (max-width: 991.98px) {
  body.has-bottom-nav main { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)) !important; }
  .product-detail-img { border-radius: var(--radius) var(--radius) 0 0; }
}
@media (max-width: 575.98px) {
  .cart-row { flex-wrap: wrap; }
  .cart-row .cart-thumb { width: 48px; height: 48px; }
  .cart-row > .flex-grow-1 { flex-basis: calc(100% - 60px); }
  .cart-qty { margin-left: 60px; }
  .cart-sub { margin-left: auto; }
  .product-card .add-to-cart-form .qty-input { width: 3rem; padding-left: .25rem; padding-right: .25rem; }
  .product-card .add-to-cart-form .btn { font-size: .75rem; padding-left: .25rem; padding-right: .25rem; }
  .order-steps .step { font-size: .7rem; padding: .45rem .25rem; }
}

/* Toast */
.app-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(5rem + env(safe-area-inset-bottom)); z-index: 2000; background: #111827; color: #fff; padding: .6rem 1rem; border-radius: 999px; font-size: .875rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 92vw; }
.app-toast.show { opacity: 1; }
.app-toast.error { background: var(--red-d); }
@media (min-width: 992px) { .app-toast { bottom: 2rem; } }

/* Standalone (PWA) modunda */
@media (display-mode: standalone) { [data-install-app] { display: none !important; } }

/* ===== B2B hızlı sipariş listesi (ana sayfa) ===== */
.qo-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: stretch; margin-bottom: .75rem; }
.qo-filter-btn, .qo-search, .qo-cartbox { background: #fff; border: 1px solid #d9dce1; border-radius: 6px; min-height: 54px; }
.qo-filter-btn { display: flex; align-items: center; gap: .9rem; padding: 0 1.1rem; font-weight: 500; color: #111827; font-size: 1.05rem; }
.qo-filter-btn .bi { font-size: 1.25rem; }
.qo-filter-btn[aria-expanded="true"] { border-color: #111827; }
.qo-search { position: relative; display: flex; align-items: center; }
.qo-search input { border: 0; outline: 0; flex: 1; height: 100%; padding: 0 3rem 0 1.1rem; font-size: 1.05rem; background: transparent; min-width: 0; }
.qo-search input::-webkit-search-cancel-button { display: none; }
.qo-search:focus-within { border-color: #111827; box-shadow: 0 0 0 3px rgba(15,23,42,.08); }
.qo-search-icon, .qo-spinner, .qo-clear { position: absolute; right: 1rem; color: #6b7280; }
.qo-search-icon { font-size: 1.2rem; pointer-events: none; }
.qo-clear { border: 0; background: none; padding: 0; font-size: 1.35rem; color: #6b7280; right: 2.6rem; }
.qo-cartbox { display: flex; align-items: center; gap: .4rem; padding: 0 1rem; text-decoration: none; color: #111827; white-space: nowrap; }
.qo-cartbox b { font-size: 1.2rem; }
.qo-cartbox small { color: #6b7280; }
.qo-filters { grid-column: 1 / -1; }
.qo-filters-inner { background: #fff; border: 1px solid #d9dce1; border-radius: 6px; padding: 1rem; display: grid; gap: 1rem; }
.qo-filter-label { font-size: .8rem; color: #6b7280; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }
.qo-filters .chip { cursor: pointer; user-select: none; }
.qo-meta { font-size: .85rem; color: #6b7280; margin: 0 0 .5rem .1rem; }

.qo-table { background: #fff; border-top: 1px solid #d9dce1; }
.qo-head, .qo-row { display: grid; grid-template-columns: minmax(0, 2.6fr) 1fr 1fr 1.1fr 1.05fr; align-items: center; gap: 1rem; padding: 0 1.6rem; }
.qo-head { background: #f3f4f6; color: #4b5563; font-size: 1.05rem; min-height: 64px; border-bottom: 1px solid #d9dce1; position: sticky; top: 64px; z-index: 5; }
.qo-head > div:not(:first-child) { text-align: center; }
.qo-head > div:last-child { text-align: right; padding-right: 3.5rem; }
.qo-row { min-height: 110px; border-bottom: 1px solid #e5e7eb; transition: background .15s; }
.qo-row:hover { background: #fafafa; }
.qo-product { display: flex; align-items: center; gap: 1.5rem; text-decoration: none; color: #111827; min-width: 0; }
.qo-thumb { width: 62px; height: 62px; object-fit: cover; border-radius: 3px; background: #f3f4f6; flex: 0 0 auto; }
.qo-name { font-size: 1.05rem; line-height: 1.45; text-transform: uppercase; overflow-wrap: anywhere; }
.qo-sku { white-space: nowrap; }
.qo-brand { display: inline-block; margin-left: .35rem; font-size: .65rem; font-weight: 700; letter-spacing: .03em; padding: .1rem .45rem; border-radius: 999px; background: #eef0f3; color: #4b5563; vertical-align: middle; text-transform: none; }
.qo-brand.special { background: var(--navy); color: #fff; }
.qo-stock, .qo-qty, .qo-total { text-align: center; }
.qo-stock { font-size: 1rem; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #d9dce1; border-radius: 4px; height: 46px; background: #fff; }
.qs-btn { border: 0; background: none; width: 40px; height: 100%; font-size: 1.2rem; color: #9ca3af; line-height: 1; }
.qs-btn:hover { color: #111827; }
.qs-input { width: 44px; border: 0; text-align: center; font-size: 1rem; outline: 0; -moz-appearance: textfield; background: transparent; }
.qs-input::-webkit-outer-spin-button, .qs-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qo-line-total { font-weight: 700; font-size: 1.1rem; color: #111827; }
.qo-login { color: #111827; text-decoration: none; font-size: 1.05rem; line-height: 1.4; display: inline-block; }
.qo-login:hover { color: var(--red); }
.qo-cart { text-align: right; }
.qo-btn { min-width: 100%; height: 58px; font-size: 1.15rem; font-weight: 600; letter-spacing: .08em; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.qo-cart .btn-dark { background: #000; border-color: #000; }
.qo-cart .btn-dark:hover { background: #222; }
.qo-cart .btn-dark.added { background: #16a34a; border-color: #16a34a; }
.qo-cart .btn-whatsapp { font-size: .95rem; letter-spacing: 0; line-height: 1.15; }
.qo-empty { text-align: center; padding: 3rem 1rem; color: #6b7280; }
.qo-empty > i { font-size: 2.5rem; display: block; color: #cbd5e1; margin-bottom: .5rem; }

@media (max-width: 1199.98px) {
  .qo-head, .qo-row { padding: 0 1rem; gap: .75rem; }
  .qo-name { font-size: .95rem; }
  .qo-btn { height: 50px; font-size: 1rem; letter-spacing: .04em; }
  .qo-head > div:last-child { padding-right: 2rem; }
}
/* Mobil: her satır bir kart */
@media (max-width: 767.98px) {
  .qo-toolbar { grid-template-columns: auto 1fr; }
  .qo-filter-btn { padding: 0 .8rem; gap: .5rem; font-size: .95rem; }
  .qo-filter-btn span { display: none; }
  .qo-cartbox { grid-column: 1 / -1; grid-row: 2; min-height: 44px; justify-content: center; }
  .qo-filters { grid-row: 3; }
  .qo-search input { font-size: 1rem; }
  .qo-table { border-top: 0; background: transparent; }
  .qo-head { display: none; }
  .qo-row { grid-template-columns: 1fr auto; grid-template-areas: "product product" "stock total" "qty cart"; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: .85rem; margin-bottom: .6rem; min-height: 0; row-gap: .6rem; }
  .qo-product { grid-area: product; gap: .8rem; }
  .qo-thumb { width: 56px; height: 56px; }
  .qo-name { font-size: .9rem; }
  .qo-stock { grid-area: stock; text-align: left; font-size: .85rem; }
  .qo-total { grid-area: total; text-align: right; }
  .qo-qty { grid-area: qty; text-align: left; }
  .qo-cart { grid-area: cart; }
  .qo-btn { height: 46px; min-width: 9.5rem; font-size: .95rem; }
  .qo-login { font-size: .85rem; }
  .qty-stepper { height: 46px; }
}
.qo-search:has(.qo-clear:not(.d-none)) .qo-search-icon { display: none; }
.qo-search:has(.qo-clear:not(.d-none)) .qo-clear { right: 1rem; }

/* Ana menü */
.main-menu .nav-link { font-weight: 500; padding-left: .9rem !important; padding-right: .9rem !important; }
.main-menu .nav-link.active { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.main-menu .dropdown-menu { border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.15); border-radius: 10px; padding: .4rem; min-width: 230px; }
.main-menu .dropdown-item { border-radius: 6px; padding: .5rem .75rem; }
.main-menu .dropdown-item i { width: 1.25rem; display: inline-block; color: #6b7280; }
.main-menu .dropdown-menu { max-height: 70vh; overflow-y: auto; }
.nav-icon { color: rgba(255,255,255,.85); font-size: 1.25rem; padding: .35rem .55rem; text-decoration: none; }
.nav-icon:hover { color: #fff; }
.cart-badge-icon { position: absolute; top: -2px; right: -4px; font-size: .6rem; }
@media (max-width: 991.98px) {
  .main-menu { padding: .5rem 0; }
  .main-menu .nav-link.active { box-shadow: none; color: #fff; }
  .main-menu .dropdown-menu { box-shadow: none; background: rgba(255,255,255,.06); }
  .main-menu .dropdown-item { color: rgba(255,255,255,.85); }
  .main-menu .dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
  .main-menu .dropdown-header { color: rgba(255,255,255,.5); }
  .main-menu .dropdown-divider { border-color: rgba(255,255,255,.15); }
}

/* Hakkımızda / İletişim */
.page-hero { background: linear-gradient(120deg, var(--navy), #1e3a5f); color: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; }
.about-text p { font-size: 1.05rem; line-height: 1.75; color: #374151; }
.about-text p:last-child { margin-bottom: 0; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: #111827; text-decoration: none; }
.contact-card > i { font-size: 1.4rem; color: var(--red); line-height: 1.2; }
.contact-card.wa > i { color: var(--wa-d); }
.contact-card .label { font-size: .78rem; color: #6b7280; }
a.contact-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e5e7eb; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Beyaz üst menü + logo (eski siteyle aynı görünüm) */
.app-navbar { background: #fff; box-shadow: 0 1px 0 #e5e7eb, 0 4px 14px rgba(15,23,42,.05); }
.app-navbar .nav-link { color: #092558; }
.app-navbar .nav-link:hover, .app-navbar .nav-link.active { color: var(--red); }
.app-navbar .main-menu .nav-link.active { color: #092558; }
.app-navbar .navbar-brand { padding: 0; }
.site-logo { height: 48px; width: auto; display: block; }
.b2b-tag { font-size: .65rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--red); border-radius: 4px; padding: .1rem .35rem; align-self: flex-end; margin-bottom: .2rem; }
.nav-icon { color: #092558; }
.nav-icon:hover { color: var(--red); }
@media (max-width: 991.98px) {
  .site-logo { height: 40px; }
  .main-menu .nav-link, .main-menu .nav-link.active { color: #092558; }
  .main-menu .dropdown-menu { background: #f6f7f9; }
  .main-menu .dropdown-item { color: #1f2937; }
  .main-menu .dropdown-item:hover { background: #eceef2; color: #111827; }
  .main-menu .dropdown-header { color: #6b7280; }
  .main-menu .dropdown-divider { border-color: #e5e7eb; }
}
.mv-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-top: 3px solid var(--red); }
.mv-card > i { font-size: 1.6rem; color: var(--red); display: block; margin-bottom: .4rem; }
.mv-card p { color: #374151; line-height: 1.65; }
.video-wrap { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Sade cari kartı (Toplam Borç / Yapılan Tahsilatlar / Kalan Bakiye) ---- */
.cari-alert { display: flex; gap: .75rem; align-items: center; background: #fef2f2; border: 2px solid #dc2626; color: #991b1b; border-radius: 12px; padding: .85rem 1rem; margin-bottom: .75rem; }
.cari-alert > .bi { font-size: 1.8rem; color: #dc2626; }
.cari-alert .title { font-size: 1.15rem; font-weight: 800; color: #dc2626; text-transform: uppercase; letter-spacing: .3px; }
.cari-ok { background: #f0fdf4; border: 1px solid #86efac; color: #166534; border-radius: 12px; padding: .65rem 1rem; margin-bottom: .75rem; font-weight: 600; }
.cari-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.cari-totals .ct { background: #fff; border-radius: 12px; padding: .9rem 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.07); border-top: 4px solid #334155; }
.cari-totals .ct .lbl { font-size: .8rem; color: #64748b; font-weight: 600; }
.cari-totals .ct .val { font-size: 1.45rem; font-weight: 800; color: #0f172a; white-space: nowrap; }
.cari-totals .ct.paid { border-top-color: #16a34a; } .cari-totals .ct.paid .val { color: #15803d; }
.cari-totals .ct.due { border-top-color: #dc2626; background: #fef2f2; } .cari-totals .ct.due .val { color: #dc2626; }
.cari-totals .ct.clear { border-top-color: #16a34a; } .cari-totals .ct.clear .val { color: #15803d; }
@media (max-width: 575.98px) {
  .cari-totals { grid-template-columns: 1fr 1fr; }
  .cari-totals .ct.due, .cari-totals .ct.clear { grid-column: 1 / -1; }
  .cari-totals .ct .val { font-size: 1.2rem; }
}
.debt-row { border-left: 4px solid transparent; }
.debt-row.st-open, .debt-row.st-partial { border-left-color: #dc2626; }
.debt-row.st-paid { border-left-color: #16a34a; background: #fbfefc; }
.debt-row.st-cancelled { opacity: .6; }
.debt-main { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.debt-desc { flex: 1 1 220px; min-width: 0; }
.debt-nums { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.debt-nums > div { display: flex; flex-direction: column; text-align: right; white-space: nowrap; }
.debt-nums .k { font-size: .7rem; color: #64748b; text-transform: uppercase; }
.debt-nums .rem { min-width: 170px; }
.badge-due { display: inline-block; background: #dc2626; color: #fff; font-weight: 700; border-radius: 8px; padding: .35rem .6rem; font-size: .85rem; }
.badge-paid { display: inline-block; background: #16a34a; color: #fff; font-weight: 700; border-radius: 8px; padding: .35rem .6rem; font-size: .85rem; }
.pay-form { margin-top: .75rem; padding: .75rem; background: #f0fdf4; border: 1px dashed #86efac; border-radius: 10px; }
.pay-history summary { cursor: pointer; }
@media (max-width: 575.98px) {
  .debt-nums { width: 100%; justify-content: space-between; }
  .debt-nums .rem { min-width: 0; }
  .debt-act { width: 100%; } .debt-act .btn { width: 100%; }
}
.row-debt td:first-child { box-shadow: inset 4px 0 0 #dc2626; }
.row-paid td:first-child { box-shadow: inset 4px 0 0 #16a34a; }

/* Tasarım / yazılım imzası */
.dev-credit { border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); text-align: center; }
.dev-credit a { color: rgba(255,255,255,.65); text-decoration: none; }
.dev-credit a:hover { color: #fff; }
@media (max-width: 991.98px) { .app-footer .container.py-4 { padding-top: 1rem !important; padding-bottom: .5rem !important; } }
@media (max-width: 991.98px) { body.has-bottom-nav .app-footer { padding-bottom: calc(3.8rem + env(safe-area-inset-bottom)); } body.has-bottom-nav main { padding-bottom: 1rem !important; } }

/* Header: Giriş Yap / Üye Ol */
.btn-nav-login { color: #092558; border: 1px solid #c7cfdd; background: #fff; font-weight: 600; white-space: nowrap; }
.btn-nav-login:hover { color: var(--red); border-color: var(--red); background: #fff; }
.btn-nav-register { font-weight: 600; white-space: nowrap; }
