/* Yalnız yerleşim. Buton, kart rengi ve biçim Vuexy'de kalır. */
html body .content.app-content,
html body .content .content-wrapper,
html body.blank-page .content-wrapper,
html body.navbar-static .app-content .content-wrapper,
html body.navbar-hidden .app-content .content-wrapper,
html body.navbar-sticky .app-content .content-wrapper,
html body.navbar-floating .app-content .content-wrapper,
html body .content.app-content .content-wrapper,
html body .content-wrapper,
html body .content-body {
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}
html body .header-navbar,
html body .main-menu,
html body .header-navbar-shadow {
  display: none !important;
}

html body #dashboard-analytics {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 0.4rem 1.15rem 0 !important;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
}
html body #dashboard-analytics .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
}
html body #dashboard-analytics [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body #dashboard-analytics .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
html body #dashboard-analytics .card,
html body #dashboard-analytics .card.shadow {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.65rem !important;
}
html body #dashboard-analytics .modal .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
}
html body #dashboard-analytics .modal [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
@media (min-width: 992px) {
  html body #dashboard-analytics .row > [class*="col-lg-7"],
  html body #dashboard-analytics .row > [class*="col-xl-8"] {
    padding-right: 0.45rem !important;
  }
  html body #dashboard-analytics .row > [class*="col-lg-5"],
  html body #dashboard-analytics .row > [class*="col-xl-4"] {
    padding-left: 0.45rem !important;
  }
}

/* Alt WhatsApp ve Çıkış: kartların dış kenarıyla aynı genişlik */
html body #dashboard-analytics .card-body.p-1.text-center,
html body #dashboard-analytics .card-body.p-2.text-center {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body #dashboard-analytics a.oim-cikis-ust {
  position: absolute !important;
  right: 0.35rem !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.15rem 0.45rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
html body #dashboard-analytics a[href="cikis"]:not(.oim-cikis-ust),
html body #dashboard-analytics a[href="cikishizli"]:not(.oim-cikis-ust),
html body #dashboard-analytics a[href*="wa.me"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
html body #dashboard-analytics a[href*="wa.me"] .btn {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  justify-content: center;
  box-sizing: border-box !important;
}
html body #dashboard-analytics .card h5:has(> a[href*="wa.me"]) {
  width: calc(100% + 6rem + 20px) !important;
  max-width: none !important;
  margin-left: calc(-3rem - 10px) !important;
  margin-right: calc(-3rem - 10px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Kart hata kutusu: sağ ve sol dış kenar alttaki kartla aynı */
html body #dashboard-analytics #odemeKrediKarti #kart-odeme-hata-alani {
  margin-left: 15px !important;
  margin-right: 15px !important;
  width: auto !important;
  box-sizing: border-box !important;
}

/* Kart popup: Ödeme Yap dış kenarı üstteki kartlarla aynı; arada biraz boşluk.
   .modal .row eksi kenar payını ezer. */
html body #dashboard-analytics #odemeKrediKarti .odeme-yap-wrap.row {
  margin-top: 1.15rem !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 15px !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body #dashboard-analytics #odemeKrediKarti .odeme-yap-wrap > [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body #dashboard-analytics #odemeKrediKarti #odeme-yap {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Listele ve Ödeme Yap / Paket Uzat aynı yükseklik */
html body #dashboard-analytics #odeme-paket-uzat-button,
html body #dashboard-analytics #diger-abonelik-listele:not(.d-none) {
  box-sizing: border-box !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  padding: 0 0.85rem !important;
  line-height: 1.15 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Listele butonu başlıktan önce, normal görünümde sağ üst köşede */
html body #dashboard-analytics .dashboard-odenmemis-fatura-table > .container-fluid > .card > .card-header.fatura-liste-baslik {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
html body #dashboard-analytics .dashboard-odenmemis-fatura-table .fatura-liste-baslik #diger-abonelik-listele {
  order: -1 !important;
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}
html body #dashboard-analytics .dashboard-odenmemis-fatura-table .fatura-liste-baslik #diger-liste-yukleniyor {
  order: -1 !important;
  align-self: center !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: center !important;
  text-align: center !important;
}
html body #dashboard-analytics .dashboard-odenmemis-fatura-table .fatura-liste-baslik #diger-abonelik-listele:not(.d-none) {
  width: auto !important;
  max-width: 100% !important;
}

@media (max-width: 767.98px) {
  html body .content.app-content,
  html body.navbar-static .app-content .content-wrapper,
  html body.navbar-hidden .app-content .content-wrapper,
  html body.navbar-floating .app-content .content-wrapper,
  html body .content-wrapper,
  html body .content-body {
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body #dashboard-analytics {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.35rem 0 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
  }
  html body #dashboard-analytics .card,
  html body #dashboard-analytics .card.shadow {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.55rem !important;
  }
  html body #dashboard-analytics #odeme-paket-uzat-button,
  html body #dashboard-analytics #diger-abonelik-listele:not(.d-none) {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  html body #dashboard-analytics #odeme-paket-uzat-button,
  html body #dashboard-analytics #diger-abonelik-listele {
    height: 3rem !important;
    min-height: 3rem !important;
    max-height: 3rem !important;
    padding: 0 0.35rem !important;
  }
  html body #dashboard-analytics #diger-abonelik-listele {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table .fatura-liste-baslik #diger-abonelik-listele:not(.d-none) {
    align-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* WhatsApp ve Çıkış Yap, Paket Uzat ile aynı dış kenar */
  html body #dashboard-analytics .card:has(a[href*="wa.me"]) > .card-content > .card-body,
  html body #dashboard-analytics .card-body.p-1.text-center,
  html body #dashboard-analytics .card-body.p-2.text-center {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
  html body #dashboard-analytics .card:has(a[href*="wa.me"]) > .card-content > .card-body > .card-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body #dashboard-analytics .card h5:has(> a[href*="wa.me"]) {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Fatura tablosu, Ödenmemiş Faturalar / abone no ile aynı yan boşluk */
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table > .container-fluid > .card > .card-header.fatura-liste-baslik,
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table > .container-fluid > .card > .card-body.mevcut-fatura-alan,
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table > .container-fluid > .card > #diger-abonelik-wrap {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table .fatura-tablo-kutu,
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table .dataTables_wrapper,
  html body #dashboard-analytics .dashboard-odenmemis-fatura-table .odenmemis-fatura-table {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Başlıklar İşlem/Hizmet ile aynı satırda, yalnızca biraz büyük ve satıra sığar */
  html body #dashboard-analytics table.odenmemis-fatura-table thead th:nth-child(4),
  html body #dashboard-analytics table.odenmemis-fatura-table thead th:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table thead th:nth-child(6),
  html body #dashboard-analytics table.odenmemis-fatura-table thead th:nth-child(7),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable thead th:nth-child(4),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable thead th:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable thead th:nth-child(6),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable thead th:nth-child(7),
  html body #dashboard-analytics table.diger-abonelik-tablo thead th:nth-child(4),
  html body #dashboard-analytics table.diger-abonelik-tablo thead th:nth-child(5),
  html body #dashboard-analytics table.diger-abonelik-tablo thead th:nth-child(6),
  html body #dashboard-analytics table.diger-abonelik-tablo thead th:nth-child(7) {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    height: 2.4rem !important;
    min-height: 0 !important;
    padding: 0.1rem 0.02rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow: hidden !important;
  }
  /* Tutar, Toplam, tarih değerleri sağa yaslı; hücre kenarında biraz boşluk */
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(4),
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(6),
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(7),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(4),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(6),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(7),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(4),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(5),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(6),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(7) {
    font-size: clamp(0.66rem, 2.75vw, 0.82rem) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow: hidden !important;
    padding-left: 0.18rem !important;
    padding-right: 0.22rem !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(4) .fatura-kalem,
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(5) .fatura-kalem,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(4) .fatura-kalem,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(5) .fatura-kalem {
    text-align: right !important;
    justify-content: flex-end !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(5),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(5),
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(7),
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td:nth-child(7),
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(7) {
    font-weight: 700 !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(4) strong,
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(6) strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(4) strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(6) strong {
    font-size: inherit !important;
    font-weight: 400 !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(5) strong,
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td:nth-child(7) strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(5) strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td:nth-child(7) strong {
    font-size: inherit !important;
    font-weight: 700 !important;
  }
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table tbody td:nth-child(6),
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table.dataTable tbody td:nth-child(6),
  html body #dashboard-analytics .kolon-son-once table.diger-abonelik-tablo tbody td:nth-child(6),
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table tbody td:nth-child(6) strong,
  html body #dashboard-analytics .kolon-son-once table.diger-abonelik-tablo tbody td:nth-child(6) strong {
    font-weight: 700 !important;
  }
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table tbody td:nth-child(7),
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table.dataTable tbody td:nth-child(7),
  html body #dashboard-analytics .kolon-son-once table.diger-abonelik-tablo tbody td:nth-child(7),
  html body #dashboard-analytics .kolon-son-once table.odenmemis-fatura-table tbody td:nth-child(7) strong,
  html body #dashboard-analytics .kolon-son-once table.diger-abonelik-tablo tbody td:nth-child(7) strong {
    font-weight: 400 !important;
  }
  html body #dashboard-analytics .fatura-col-sec,
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(1),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(1),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(1),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(1) {
    width: 8% !important;
  }
  html body #dashboard-analytics .fatura-col-ode,
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(2),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(2),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(2),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(2) {
    width: 15% !important;
  }
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(3),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(3),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(3),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(3) {
    width: 14% !important;
  }
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(4),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(4),
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(5),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(5),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(4),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(4),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(5),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(5) {
    width: 15% !important;
  }
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(6),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(6),
  html body #dashboard-analytics .odenmemis-fatura-table th:nth-child(7),
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(7),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(6),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(6),
  html body #dashboard-analytics .diger-abonelik-tablo th:nth-child(7),
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(7) {
    width: 16.5% !important;
  }
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(1) .fatura-sec-cb,
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(1) input[type="checkbox"],
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(1) input[type="checkbox"] {
    width: 1.2rem !important;
    height: 1.2rem !important;
    min-width: 1.2rem !important;
    min-height: 1.2rem !important;
  }
  html body #dashboard-analytics .odenmemis-fatura-table td:nth-child(2) .btn,
  html body #dashboard-analytics .diger-abonelik-tablo td:nth-child(2) .btn {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    padding: 0.32rem 0.08rem !important;
    min-height: 1.9rem !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td.fatura-normal,
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td.fatura-normal,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td.fatura-normal,
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td.fatura-normal strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td.fatura-normal strong {
    font-weight: 400 !important;
  }
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td.fatura-kalin,
  html body #dashboard-analytics table.odenmemis-fatura-table.dataTable tbody td.fatura-kalin,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td.fatura-kalin,
  html body #dashboard-analytics table.odenmemis-fatura-table tbody td.fatura-kalin strong,
  html body #dashboard-analytics table.diger-abonelik-tablo tbody td.fatura-kalin strong {
    font-weight: 700 !important;
  }
}

/* d-none, yukarıdaki display kurallarından daha güçlü kalsın */
html body #dashboard-analytics #diger-abonelik-listele.d-none {
  display: none !important;
}
