/* ===== Desktop-first: varsayılan PC, mobilde @media ===== */
:root {
  --bg: #eef1f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --primary: #0f766e;
  --primary-hover: #0d9488;
  --primary-soft: #ccfbf1;
  --primary-text: #0f766e;
  --success: #059669;
  --success-soft: #d1fae5;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --icra: #7c3aed;
  --icra-soft: #ede9fe;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --sidebar-w: 260px;
  --content-max: 1100px;
  --nav-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

/* ===== App shell (PC) ===== */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* Sidebar — sadece PC */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 28px 20px 24px;
  z-index: 50;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding: 0 8px;
}

.sidebar__logo {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.sidebar__brand h1 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sidebar__brand p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.sidebar__link:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.sidebar__link--active {
  background: var(--primary-soft);
  color: var(--primary-text);
}

.sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* Content area */
.content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Mobil üst bar — PC'de gizli */
.topbar {
  display: none;
}

/* PC üst başlık */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px 0;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
}

.page-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header__sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.page-header__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Main */
.main {
  flex: 1;
  padding: 24px 40px 40px;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Overview: hero + stats yan yana (PC) */
.overview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card__label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-card__amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 20px;
  line-height: 1.1;
}

.hero-card__progress {
  height: 12px;
  background: var(--border-light);
  border-radius: 999px;
  overflow: hidden;
}

.hero-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-radius: 999px;
  transition: width 0.5s ease;
}

.hero-card__meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-card__dot {
  color: var(--text-light);
}

.stat-row {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.stat-box__value {
  font-size: 1.375rem;
  font-weight: 700;
}

.stat-box--muted .stat-box__value {
  color: var(--text-secondary);
}

.stat-box--highlight {
  background: var(--primary-soft);
  border-color: #99f6e4;
}

.stat-box--highlight .stat-box__value {
  color: var(--primary-text);
}

/* Dashboard grid: plan | borçlar */
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 380px) 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel--wide {
  min-width: 0;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.panel__head--split {
  margin-bottom: 16px;
}

.panel__head h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.panel__hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--primary-soft);
  color: var(--primary-text);
  border-radius: 999px;
  white-space: nowrap;
}

/* Plan */
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: box-shadow 0.15s;
}

.plan-row:hover {
  box-shadow: var(--shadow-sm);
}

.plan-row--icra {
  background: var(--icra-soft);
  border-color: #ddd6fe;
}

.plan-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  background: var(--surface);
}

.plan-row--icra .plan-row__icon {
  background: rgba(255, 255, 255, 0.8);
}

.plan-row__icon--telekom { background: var(--warning-soft); }
.plan-row__icon--bank { background: #dbeafe; }
.plan-row__icon--home { background: #fce7f3; }
.plan-row__icon--license { background: var(--success-soft); }

.plan-row__text {
  flex: 1;
  min-width: 0;
}

.plan-row__title {
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-row__desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.plan-row__amount {
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-row--icra .plan-row__amount {
  color: var(--icra);
}

.tag--icra-pay {
  background: var(--icra-soft);
  color: var(--icra);
}

.plan-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: right;
}

.plan-total strong {
  color: var(--text);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.tab--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Debts — PC: 2 sütun grid */
.debt-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.debt-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.debt-card--done {
  opacity: 0.7;
}

.debt-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.debt-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.debt-card__bank {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.debt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag--icra { background: var(--icra-soft); color: var(--icra); }
.tag--auto { background: #e0f2fe; color: #0369a1; }
.tag--manual { background: var(--warning-soft); color: var(--warning); }
.tag--done { background: var(--success-soft); color: var(--success); }

.debt-card__remaining {
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: right;
}

.debt-card__was {
  font-size: 0.75rem;
  color: var(--text-light);
  text-decoration: line-through;
  text-align: right;
}

.debt-card__bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.debt-card__bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.debt-card__bar-fill--icra {
  background: var(--icra);
}

.debt-card__info {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.debt-card__note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.45;
}

.debt-card__actions .btn {
  width: 100%;
}

/* History — PC: tablo benzeri liste */
.history-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.history-item__delete {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.history-item__delete:hover {
  background: var(--danger-soft);
  border-color: #fecaca;
  color: var(--danger);
}

.history-item__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.history-item__mark--auto {
  background: var(--icra-soft);
  color: var(--icra);
}

.history-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.history-item__date {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 2px;
}

.history-item__amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--success);
}

.empty-msg {
  text-align: center;
  padding: 32px;
  color: var(--text-light);
  font-size: 0.875rem;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  list-style: none;
}

.link-btn {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 11px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--main {
  background: var(--primary);
  color: #fff;
}

.btn--main:hover {
  background: var(--primary-hover);
}

.btn--light {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--light:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.btn--block {
  width: 100%;
}

.btn--danger-outline {
  width: 100%;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #fecaca;
  font-size: 0.875rem;
  padding: 12px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom nav — PC'de gizli */
.bottom-nav {
  display: none;
}

/* Modal */
.modal {
  border: none;
  padding: 20px;
  background: transparent;
  max-width: 480px;
  width: 100%;
  margin: auto;
}

.modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.modal__box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

.modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
}

.modal__top h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.modal__x {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal__content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__content--scroll {
  max-height: 55vh;
  overflow-y: auto;
}

.modal__actions {
  display: flex;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border-light);
  background: var(--surface-soft);
}

.modal__actions .btn {
  flex: 1;
  min-height: 46px;
}

.pay-target {
  background: var(--surface-soft);
  border-radius: 10px;
  padding: 14px;
}

.pay-target__name {
  font-weight: 700;
}

.pay-target__balance {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.pay-target__hint {
  font-size: 0.8125rem;
  color: var(--primary-text);
  margin-top: 8px;
  line-height: 1.45;
}

.chip-row__empty {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-group input {
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row button {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.chip-row button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.settings-block {
  margin-bottom: 20px;
}

.settings-block h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.settings-block .input-group + .input-group {
  margin-top: 12px;
}

.info-box {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--primary-soft);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

/* PWA install */
.settings-block--install {
  padding-top: 4px;
}

.install-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.install-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.install-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.install-card__text strong {
  font-size: 1rem;
  color: var(--text);
}

.install-card__text span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.btn--install {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3);
}

.btn--install:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn--install-done {
  background: var(--success-soft);
  color: var(--success);
  box-shadow: none;
  border: 1px solid #a7f3d0;
}

.btn-install__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.install-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
}

.install-hint[hidden] {
  display: none;
}

.modal__box--ios .modal__content {
  align-items: center;
  text-align: center;
}

.ios-install__icon {
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

.ios-install__steps {
  text-align: left;
  margin: 16px 0 0;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
}

.ios-install__steps li {
  margin-bottom: 8px;
}

.quick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.quick-item:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.quick-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 300;
  box-shadow: var(--shadow);
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Geniş ekran: borç kartları 2x2 kalır, overview daha geniş */
@media (min-width: 1280px) {
  :root {
    --content-max: 1200px;
    --sidebar-w: 280px;
  }

  .hero-card__amount {
    font-size: 3rem;
  }

  .dashboard-grid {
    grid-template-columns: 400px 1fr;
  }
}

/* ===== MOBİL: 768px altı responsive ===== */
@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }

  .app {
    display: block;
    padding-bottom: calc(var(--nav-h) + var(--safe-b) + 12px);
  }

  /* Sidebar gizle */
  .sidebar {
    display: none;
  }

  /* PC header gizle */
  .page-header {
    display: none;
  }

  /* Mobil topbar göster */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 8px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .topbar h1 {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .topbar p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 2px;
  }

  .main {
    padding: 8px 16px 24px;
    gap: 20px;
    max-width: 100%;
  }

  /* Tek sütun */
  .overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card__amount {
    font-size: 2rem;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 8px;
  }

  .stat-box {
    padding: 12px 10px;
    text-align: center;
  }

  .stat-box__label {
    font-size: 0.625rem;
  }

  .stat-box__value {
    font-size: 0.875rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .panel {
    padding: 18px;
  }

  .debt-list {
    grid-template-columns: 1fr;
  }

  .history-item {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px 12px;
    padding: 12px 14px;
  }

  .history-item__title {
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Alt menü */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    align-items: flex-end;
    padding: 8px 12px calc(8px + var(--safe-b));
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    z-index: 100;
  }

  .bottom-nav__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
  }

  .bottom-nav__btn--active {
    color: var(--primary);
  }

  .bottom-nav__btn--active svg {
    stroke: var(--primary);
  }

  .bottom-nav__btn--pay {
    color: var(--primary);
    margin-top: -16px;
  }

  .bottom-nav__pay-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    font-weight: 300;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
  }

  .toast {
    bottom: calc(var(--nav-h) + var(--safe-b) + 12px);
  }

  .modal {
    padding: 12px;
    max-width: 100%;
  }

  .btn {
    min-height: 48px;
  }
}

/* Çok dar telefon */
@media (max-width: 380px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
