:root {
  --service-bg: #f4f7fb;
  --service-primary: #2563eb;
  --service-primary-dark: #1e40af;
  --service-primary-soft: #eff6ff;
  --service-text: #172033;
  --service-muted: #667085;
  --service-card: #ffffff;
  --service-border: #e6eaf2;
  --service-success: #16a34a;
  --service-danger: #dc2626;
  --service-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

/* v2 sadeleştirilmiş kullanım akışı */
.service-v2-shell {
  background: #f6f8fb;
}
.service-v2-topbar .service-brand-title {
  letter-spacing: 0;
}
.service-v2-search {
  max-width: 520px;
}
.service-v2-nav .service-tabs .nav-link {
  min-height: 46px;
}
.service-v2-home,
.service-v2-finance {
  max-width: 1480px;
  margin: 0 auto;
}
.service-v2-hero,
.service-v2-page-head {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}
.service-v2-hero h2,
.service-v2-page-head h2 {
  margin: .25rem 0 .35rem;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0;
}
.service-v2-hero p,
.service-v2-page-head p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
}
.service-v2-page-head {
  align-items: center;
}
.service-v2-hero-status {
  min-width: 260px;
  padding: 1rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}
.service-v2-hero-status span,
.service-v2-hero-status small,
.service-v2-summary-card span,
.service-v2-summary-card small {
  display: block;
  color: #64748b;
}
.service-v2-hero-status strong {
  display: block;
  margin: .35rem 0;
  font-size: 1.65rem;
}
.service-v2-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.service-v2-action-card,
.service-v2-money-type {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 148px;
  padding: 1.15rem;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.service-v2-action-card:hover,
.service-v2-money-type:hover,
.service-v2-money-type.active {
  color: #0f172a;
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, .32);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .09);
}
.service-v2-action-card span {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef4ff;
  color: #0d6efd;
  font-size: 1.25rem;
}
.service-v2-action-card strong,
.service-v2-money-type strong {
  font-size: 1.05rem;
}
.service-v2-action-card small,
.service-v2-money-type small {
  color: #64748b;
  line-height: 1.35;
}
.service-v2-action-success span { background: #eaf8ef; color: #198754; }
.service-v2-action-info span { background: #eaf7fb; color: #0aa2c0; }
.service-v2-action-warning span { background: #fff6df; color: #b7791f; }
.service-v2-action-secondary span { background: #f1f5f9; color: #475569; }
.service-v2-summary-card,
.service-v2-panel {
  padding: 1.15rem;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}
.service-v2-summary-card {
  min-height: 126px;
}
.service-v2-summary-card strong {
  display: block;
  margin: .35rem 0;
  font-size: 1.45rem;
  color: #0f172a;
}
.service-v2-summary-card.is-danger {
  border-left: 4px solid #dc3545;
}
.service-v2-summary-card.is-warning {
  border-left: 4px solid #f59f00;
}
.service-v2-summary-card.is-feed {
  border-left: 4px solid #0f766e;
}
.service-v2-steps {
  display: grid;
  gap: .85rem;
}
.service-v2-steps div {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: .35rem .75rem;
  align-items: start;
  padding: .85rem;
  border-radius: 8px;
  background: #f8fafc;
}
.service-v2-steps span {
  grid-row: span 2;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0d6efd;
  color: #ffffff;
  font-weight: 800;
}
.service-v2-steps small {
  color: #64748b;
}
.service-v2-alert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.service-v2-alert-list a {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .95rem;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, .06);
}
.service-v2-alert-list i {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  color: #0d6efd;
}
.service-v2-alert-list small {
  display: block;
  color: #64748b;
}
.service-v2-alert-list a.is-danger {
  background: #fff5f5;
}
.service-v2-alert-list a.is-warning {
  background: #fff8e8;
}
.service-v2-money-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-v2-money-type {
  border: 1px solid rgba(15, 23, 42, .08);
  text-align: left;
  cursor: pointer;
}
.service-v2-money-type i {
  font-size: 1.5rem;
}
.service-v2-money-type.active {
  outline: 3px solid rgba(13, 110, 253, .12);
}
.service-v2-advanced-box {
  padding: 1rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}
@media (max-width: 992px) {
  .service-v2-hero,
  .service-v2-page-head {
    flex-direction: column;
  }
  .service-v2-hero-status {
    min-width: 0;
  }
  .service-v2-alert-list,
  .service-v2-money-type-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .service-v2-hero,
  .service-v2-page-head,
  .service-v2-panel,
  .service-v2-summary-card {
    padding: 1rem;
  }
  .service-v2-action-card,
  .service-v2-money-type {
    min-height: auto;
  }
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  background: var(--service-bg);
  color: var(--service-text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
.service-page {
  min-height: 100vh;
}
.service-topbar {
  background: linear-gradient(
    135deg,
    var(--service-primary-dark),
    var(--service-primary)
  );
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}
.service-topbar-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
}
.service-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 260px;
}
.service-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  flex: 0 0 auto;
}
.service-brand-title {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 700;
}
.service-brand-subtitle {
  font-size: 0.82rem;
  opacity: 0.84;
}
.service-global-search {
  width: min(360px, 100%);
  max-width: 360px;
  flex: 0 1 360px;
}
.service-global-search .input-group-text,
.service-global-search .form-control,
.service-global-search .btn {
  border: 0;
}
.service-global-search .form-control {
  min-width: 0;
}
.service-user-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.service-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  white-space: nowrap;
}
.service-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}
.service-nav-container {
  background: #fff;
  border-bottom: 1px solid var(--service-border);
  position: sticky;
  top: 0;
  z-index: 1040;
  overflow: visible;
}
.service-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  overflow: visible;
}
.service-tabs {
  flex-wrap: nowrap;
  gap: 0.35rem;
}
.service-tabs .nav-link {
  color: #475467;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
}
.service-tabs .nav-link.active,
.service-tabs .nav-link:hover {
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
}
.service-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem;
}
.service-workspace {
  width: 100%;
}
.service-section-title {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.card {
  border-radius: 0.75rem;
}
.card-header:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}
.table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--service-muted);
  letter-spacing: 0.03em;
  background: #f8fafc;
}
.table td,
.table th {
  vertical-align: middle;
}
.service-alert {
  border-radius: 0.9rem;
  border: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.select2-container .select2-selection--single {
  height: 38px;
  border-color: #dee2e6;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 36px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 36px;
}
.form-select-sm + .select2-container .select2-selection--single {
  height: 31px;
  min-height: 31px;
  font-size: 0.875rem;
}
.form-select-sm
  + .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 29px;
  padding-left: 0.5rem;
}
.form-select-sm
  + .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 29px;
}
.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  border-color: #dee2e6;
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.service-summary-card {
  min-height: 122px;
}
.service-detail-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 1rem;
  row-gap: 0.7rem;
}
.service-detail-list dt {
  color: var(--service-muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.service-detail-list dd {
  margin: 0;
  min-width: 0;
}
.service-form-section {
  border: 1px solid var(--service-border);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fbfdff;
}
.service-form-section-title {
  font-weight: 750;
  margin-bottom: 0.85rem;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.service-settings-menu {
  z-index: 1080;
  border: 0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-radius: 0.75rem;
  padding: 0.45rem;
}
.service-settings-menu .dropdown-item {
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #344054;
}
.service-settings-menu .dropdown-item i {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
}
.service-settings-menu .dropdown-item.active,
.service-settings-menu .dropdown-item:active {
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
}
.service-chart {
  width: 100%;
  min-height: 230px;
}
.service-print-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.service-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-eyebrow {
  color: var(--service-primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.service-filter-strip {
  display: flex;
  gap: 0.5rem;
  min-width: min(460px, 100%);
}
.service-metric-card {
  min-height: 112px;
  border: 1px solid var(--service-border);
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-metric-card span {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-metric-card strong {
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
  color: #111827;
}
.service-metric-card small {
  color: var(--service-muted);
}
.service-day-close {
  border: 1px solid var(--service-border);
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.service-day-close-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.service-day-close-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.service-day-close-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #eff6ff;
  color: var(--service-primary-dark);
  font-size: 1.2rem;
}
.service-day-close h3 {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
}
.service-day-close-date {
  text-align: right;
  color: var(--service-muted);
  font-size: 0.82rem;
}
.service-day-close-date span,
.service-day-close-date small {
  display: block;
}
.service-day-close-date span {
  color: #111827;
  font-weight: 850;
}
.service-day-close-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.service-day-close-item {
  min-height: 118px;
  border: 1px solid #edf2f7;
  border-left-width: 4px;
  border-radius: 0.75rem;
  background: #fbfdff;
  padding: 0.85rem;
}
.service-day-close-item span,
.service-day-close-item small {
  display: block;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 760;
}
.service-day-close-item span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-day-close-item strong {
  display: block;
  margin: 0.28rem 0;
  color: #111827;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: 0;
}
.service-day-close-item small b {
  color: #334155;
}
.service-day-close-income { border-left-color: var(--service-success); }
.service-day-close-expense { border-left-color: var(--service-danger); }
.service-day-close-net { border-left-color: var(--service-primary); }
.service-day-close-cash { border-left-color: #d97706; }
.service-side-card {
  position: sticky;
  top: 82px;
}
.service-filter-panel {
  border: 1px solid var(--service-border);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.service-report-page {
  display: block;
}
.service-report-hero,
.service-report-board,
.service-report-panel {
  border: 1px solid var(--service-border);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.service-report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
}
.service-report-hero h2 {
  margin: 0.18rem 0 0.3rem;
  color: #111827;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: 0;
}
.service-report-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--service-muted);
}
.service-report-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.service-report-filter .btn {
  min-height: 38px;
}
.service-report-board {
  padding: 1rem;
}
.service-report-board-head,
.service-report-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.service-report-board-head h3,
.service-report-panel-head h3 {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 850;
}
.service-report-board-head span {
  color: var(--service-muted);
  font-size: 0.9rem;
}
.service-report-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.service-report-action {
  position: relative;
  min-height: 138px;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-radius: 0.8rem;
  background: #fbfdff;
  color: #111827;
  padding: 0.85rem;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.service-report-action:hover,
.service-report-action[aria-pressed="true"] {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.service-report-action i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: #eef2ff;
  color: #1e40af;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.service-report-action span,
.service-report-action small {
  display: block;
}
.service-report-action span {
  color: #334155;
  font-size: 0.83rem;
  font-weight: 800;
}
.service-report-action strong {
  display: block;
  margin: 0.18rem 0;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.service-report-action small {
  color: var(--service-muted);
  font-size: 0.78rem;
}
.service-report-action-success { border-left-color: #16a34a; }
.service-report-action-danger { border-left-color: #dc2626; }
.service-report-action-warning { border-left-color: #d97706; }
.service-report-action-primary { border-left-color: #2563eb; }
.service-report-action-teal { border-left-color: #0f766e; }
.service-report-action-brown { border-left-color: #92400e; }
.service-report-action-dark { border-left-color: #334155; }
.service-report-panel {
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 1rem;
  scroll-margin-top: 96px;
}
.service-report-panel[hidden] {
  display: none !important;
}
.service-report-panel .table {
  min-width: 760px;
}
.service-report-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.service-report-summary-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 112px;
  border: 1px solid #edf2f7;
  border-radius: 0.8rem;
  background: #fbfdff;
  padding: 0.85rem;
}
.service-report-summary-item i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #edf2f7;
  font-size: 1.05rem;
}
.service-report-summary-item span,
.service-report-summary-item small {
  display: block;
  color: var(--service-muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.service-report-summary-item strong {
  display: block;
  margin: 0.16rem 0;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.1;
}
.service-report-chart-box {
  border: 1px solid #edf2f7;
  border-radius: 0.8rem;
  background: #fbfdff;
  padding: 0.9rem;
}
.service-report-chart-box strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #111827;
}
.service-filter-panel .form-label {
  font-size: 0.78rem;
  font-weight: 750;
  color: #475467;
  margin-bottom: 0.25rem;
}
.service-data-table tbody tr:hover,
.service-market-table tbody tr:hover {
  background: #fbfdff;
}
.service-address-cell {
  max-width: 220px;
}
.service-actions {
  white-space: nowrap;
}
.service-actions .btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.service-product-actions,
.service-cari-actions {
  min-width: 230px;
  white-space: normal;
}
.service-product-actions { min-width: 520px; }
.service-cari-actions { min-width: 430px; }
.service-product-action-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}
.service-product-action-row:last-child {
  margin-bottom: 0;
}
.service-product-action-row .service-action-form {
  display: inline-flex;
  margin: 0;
}
.service-product-actions > .btn,
.service-product-actions > .service-action-form,
.service-product-actions > .dropdown > .btn,
.service-cari-actions > .btn,
.service-cari-actions > .service-action-form,
.service-cari-actions > .dropdown > .btn {
  display: inline-flex;
  margin: 0 0 0.25rem 0.35rem;
  vertical-align: top;
}
.service-product-actions > .btn,
.service-product-actions > .service-action-form > .btn,
.service-product-actions > .dropdown > .btn,
.service-cari-actions > .btn,
.service-cari-actions > .service-action-form > .btn,
.service-cari-actions > .dropdown > .btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 32px;
}
.service-product-actions > .btn:first-child,
.service-cari-actions > .btn:first-child {
  margin-left: 0;
}
.service-action-row-break {
  display: block;
  content: "";
}
.service-action-row-break + .btn,
.service-action-row-break + .service-action-form {
  margin-left: 0;
}
.service-product-table {
  min-width: 1260px;
}
.service-action-menu {
  min-width: 220px;
  padding: .4rem;
}
.service-action-menu form {
  margin: 0;
}
.service-action-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  border-radius: .4rem;
}
.service-action-menu .dropdown-item i {
  width: 1rem;
  text-align: center;
}
.service-urun-header,
.service-cari-header {
  flex-wrap: nowrap;
}
.service-urun-header > div:first-child,
.service-cari-header > div:first-child {
  min-width: 220px;
}
.service-urun-toolbar,
.service-cari-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.service-urun-toolbar .btn,
.service-cari-toolbar .btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-left: .62rem;
  padding-right: .62rem;
  min-height: 36px;
}
.service-urun-toolbar .btn i,
.service-cari-toolbar .btn i {
  font-size: .95rem;
}
@media (max-width: 1199.98px) {
  .service-urun-header,
  .service-cari-header {
    flex-wrap: wrap;
  }
  .service-urun-toolbar,
  .service-cari-toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }
}
.service-empty-inline {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  color: var(--service-muted);
  text-align: center;
}
.service-empty-inline strong {
  color: #1f2937;
}
.service-empty-state {
  min-height: 280px;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem;
  color: var(--service-muted);
}
.service-empty-state i {
  font-size: 2rem;
  color: var(--service-primary);
}
.service-empty-state h3 {
  color: #1f2937;
  font-size: 1.2rem;
  margin: 0;
}
.service-empty-state p {
  max-width: 520px;
  margin: 0;
}
.service-result-item {
  min-height: 72px;
}

/* POS / market satış ekranı */
.service-pos-page {
  position: relative;
}
.service-pos-header {
  align-items: center;
}
.service-pos-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.service-pos-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--service-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  font-weight: 700;
  color: #344054;
}
.service-pos-filter .card {
  border-radius: 1rem;
}
.service-pos-grid {
  align-items: flex-start;
}
.service-pos-card {
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: var(--service-shadow) !important;
}
.service-pos-card-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--service-border);
}
.service-pos-mini-label {
  display: block;
  color: var(--service-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.12rem;
}
.service-pos-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #ecfdf3;
  color: #067647;
  font-size: 0.78rem;
  font-weight: 800;
}
.service-pos-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.15);
}
.service-pos-block {
  border: 1px solid var(--service-border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fbfdff;
  margin-bottom: 0.9rem;
}
.service-pos-block-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  color: #1f2937;
  font-weight: 800;
}
.service-pos-select + .select2-container .select2-selection--single {
  border-radius: 0.8rem;
  min-height: 44px;
}
.service-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.service-product-tile {
  position: relative;
  min-height: 94px;
  border: 1px solid #dbe4f0;
  background: #fff;
  border-radius: 1rem;
  padding: 0.75rem;
  text-align: left;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas: "icon name" "icon meta";
  column-gap: 0.65rem;
  align-items: center;
  color: #1f2937;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.service-product-tile:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.1);
}
.service-product-tile.active {
  border-color: var(--service-primary);
  background: linear-gradient(180deg, #eff6ff, #fff);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.16);
}
.service-product-tile.active::after {
  content: "\F26A";
  font-family: bootstrap-icons;
  position: absolute;
  right: 0.65rem;
  top: 0.5rem;
  color: var(--service-primary);
  font-size: 1rem;
}
.service-product-icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
  font-size: 1.15rem;
}
.service-product-name {
  grid-area: name;
  padding-right: 1.1rem;
  font-weight: 850;
  line-height: 1.15;
}
.service-product-meta {
  grid-area: meta;
  color: var(--service-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}
.service-pos-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--service-border);
  padding: 0.3rem 0.55rem;
  color: var(--service-muted);
  font-size: 0.78rem;
}
.service-pos-chip strong {
  color: #1f2937;
}
.service-qty-control {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 0.35rem;
}
.service-qty-control .btn,
.service-qty-control .form-control {
  min-height: 44px;
  border-radius: 0.85rem !important;
}
.service-quick-qty {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}
.service-quick-qty button {
  border: 1px solid var(--service-border);
  background: #fff;
  border-radius: 999px;
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475467;
}
.service-quick-qty button:hover {
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
}
.service-pos-receipt-box {
  border: 1px dashed #b8c4d6;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.9rem;
}
.service-receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  color: var(--service-muted);
  border-bottom: 1px solid #edf2f7;
}
.service-receipt-line strong {
  color: #1f2937;
  text-align: right;
}
.service-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.8rem;
  font-weight: 900;
  color: #111827;
}
.service-receipt-total span {
  font-size: 1.05rem;
}
.service-inline-readonly {
  border: 0;
  background: transparent;
  padding: 0;
  width: 130px;
  max-width: 100%;
  text-align: right;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  outline: 0;
}
.service-total-readonly {
  font-size: 1.35rem;
  color: var(--service-primary-dark);
}
.service-payment-balance {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--service-muted);
}
.service-payment-balance strong {
  color: #111827;
}
.service-pos-submitbar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 35%);
}
.service-pos-submitbar .btn {
  min-height: 48px;
  border-radius: 0.9rem;
  font-weight: 800;
}
.service-market-list .table {
  min-width: 880px;
}
.service-market-actions .btn-group .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.service-date-pill {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--service-border);
  font-weight: 700;
  color: #344054;
  font-size: 0.82rem;
}

@media (max-width: 1200px) {
  .service-global-search {
    width: min(320px, 100%);
    max-width: 320px;
    flex-basis: 320px;
  }
  .service-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .service-topbar-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .service-brand {
    min-width: 0;
  }
  .service-global-search {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
  .service-user-panel {
    justify-content: flex-start;
  }
  .service-page-header {
    flex-direction: column;
  }
  .service-filter-strip {
    width: 100%;
  }
  .service-side-card {
    position: static;
  }
  .service-report-hero {
    grid-template-columns: 1fr;
  }
  .service-report-actions,
  .service-report-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-day-close-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-nav-inner {
    overflow-x: auto;
  }
  .service-tabs .dropdown-menu {
    position: fixed !important;
    inset: auto 1rem auto auto !important;
    transform: none !important;
    top: 112px !important;
    max-width: calc(100vw - 2rem);
  }
  .service-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    background: #eef4ff;
    -webkit-tap-highlight-color: transparent;
  }
  .service-page {
    min-height: 100dvh;
  }
  .service-topbar {
    position: sticky;
    top: 0;
    z-index: 1060;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.2);
  }
  .service-topbar-inner {
    gap: 0.75rem;
    padding: 0.85rem 0.9rem 0.95rem;
  }
  .service-brand {
    gap: 0.65rem;
  }
  .service-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }
  .service-brand-title {
    font-size: 0.98rem;
    line-height: 1.15;
  }
  .service-brand-subtitle,
  .service-status-pill {
    display: none;
  }
  .service-global-search {
    order: 3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    overflow: hidden;
  }
  .service-global-search .input-group-text,
  .service-global-search .form-control,
  .service-global-search .btn {
    min-height: 44px;
  }
  .service-user-panel {
    display: none;
  }
  .service-nav-container {
    position: fixed;
    inset: auto 0 0 0;
    top: auto;
    border-top: 1px solid rgba(230, 234, 242, 0.95);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.12);
    z-index: 1090;
  }
  .service-nav-inner {
    padding: 0.5rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom));
    overflow-x: auto;
  }
  .service-tabs {
    gap: 0.25rem;
    min-width: max-content;
  }
  .service-tabs .nav-item {
    flex: 0 0 auto;
  }
  .service-tabs .nav-link {
    min-width: 76px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    border-radius: 16px;
    padding: 0.4rem 0.35rem;
    font-size: 0.68rem;
    line-height: 1.05;
  }
  .service-tabs .nav-link i {
    font-size: 1.1rem;
  }
  .service-tabs .nav-link.active {
    background: #dbeafe;
    color: var(--service-primary-dark);
  }
  .service-tabs .dropdown-menu {
    position: fixed !important;
    inset: auto 0.75rem calc(5.1rem + env(safe-area-inset-bottom)) auto !important;
    top: auto !important;
    transform: none !important;
    max-width: calc(100vw - 1.5rem);
  }
  .service-content {
    padding: 0.85rem 0.85rem calc(6.7rem + env(safe-area-inset-bottom));
  }
  .service-workspace {
    animation: serviceAppEnter 0.18s ease-out;
  }
  .service-alert,
  .card,
  .service-pos-card,
  .service-metric-card,
  .service-filter-panel,
  .service-form-section {
    border-radius: 20px;
  }
  .service-page-header {
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .service-report-hero,
  .service-report-board,
  .service-report-panel {
    border-radius: 20px;
  }
  .service-report-filter,
  .service-report-actions,
  .service-report-summary-grid {
    grid-template-columns: 1fr;
  }
  .service-report-board-head,
  .service-report-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-report-board-head .btn,
  .service-report-panel-head .btn {
    width: 100%;
  }
  .service-report-action {
    min-height: 118px;
  }
  .service-day-close {
    border-radius: 20px;
  }
  .service-day-close-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-day-close-date {
    text-align: left;
  }
  .service-day-close-grid {
    grid-template-columns: 1fr;
  }
  .service-page-header .btn,
  .service-page-header a.btn {
    min-height: 44px;
    border-radius: 14px;
  }
  .service-pos-header {
    padding: 0.25rem 0.1rem 0;
  }
  .service-pos-header-actions {
    width: 100%;
  }
  .service-pos-header-actions .btn {
    flex: 1;
  }
  .service-pos-counter {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
  }
  .service-pos-grid {
    gap: 1rem;
  }
  .service-pos-card-header {
    min-height: 58px;
    padding: 0.85rem 1rem;
  }
  .service-pos-block {
    padding: 0.85rem;
    border-radius: 18px;
  }
  .service-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .service-product-tile {
    min-height: 86px;
    grid-template-columns: 34px 1fr;
    padding: 0.65rem;
    border-radius: 16px;
  }
  .service-product-icon {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }
  .service-product-name {
    font-size: 0.9rem;
  }
  .service-product-meta {
    font-size: 0.72rem;
  }
  .service-qty-control {
    grid-template-columns: 46px 1fr 46px;
  }
  .service-qty-control .btn,
  .service-qty-control .form-control,
  .form-control,
  .form-select {
    min-height: 44px;
    border-radius: 14px;
  }
  .service-pos-submitbar {
    position: sticky;
    bottom: calc(5.6rem + env(safe-area-inset-bottom));
    margin-left: -0.85rem;
    margin-right: -0.85rem;
    padding: 0.75rem 0.85rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--service-border);
  }
  .service-pos-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-market-list .table {
    min-width: 0;
  }
  .service-market-table thead {
    display: none;
  }
  .service-market-table,
  .service-market-table tbody,
  .service-market-table tr,
  .service-market-table td {
    display: block;
    width: 100%;
  }
  .service-market-table tbody {
    padding: 0.65rem;
    display: grid;
    gap: 0.7rem;
  }
  .service-market-table tr {
    border: 1px solid var(--service-border);
    border-radius: 18px;
    background: #fff;
    padding: 0.75rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  }
  .service-market-table td {
    border: 0;
    padding: 0.25rem 0;
    text-align: left !important;
  }
  .service-market-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--service-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.12rem;
  }
  .service-market-table td:first-child::before {
    display: none;
  }
  .service-market-actions {
    padding-top: 0.55rem !important;
  }
  .service-market-actions .btn-group.btn-group-sm {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.35rem;
  }
  .service-market-actions .btn-group.btn-group-sm .btn {
    border-radius: 12px !important;
    justify-content: center;
    min-height: 38px;
  }
  .service-market-actions form {
    display: block !important;
    margin: 0.4rem 0 0 !important;
  }
  .service-market-actions form .btn {
    width: 100%;
    min-height: 38px;
    border-radius: 12px;
  }
  .service-date-pill {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    min-height: 36px;
  }
  .table-responsive {
    border-radius: 20px;
  }
  .service-summary-card,
  .service-metric-card {
    min-height: auto;
  }
  .service-detail-list {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
  }
  .service-detail-list dd {
    margin-bottom: 0.65rem;
  }
}

@media (max-width: 576px) {
  .service-content {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .service-filter-panel .btn,
  .card-body form .btn {
    min-height: 42px;
  }
  .btn-group.btn-group-sm {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .btn-group.btn-group-sm .btn {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .service-product-grid {
    grid-template-columns: 1fr;
  }
  .service-pos-submitbar {
    margin-left: -0.7rem;
    margin-right: -0.7rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .service-inline-readonly {
    width: 108px;
  }
  .service-total-readonly {
    font-size: 1.18rem;
  }
}

@keyframes serviceAppEnter {
  from {
    transform: translateY(8px);
    opacity: 0.65;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 2026-05-08 v2: yaratıcı ana menü + telefon satış kasası */
.service-global-search {
  width: min(300px, 100%);
  max-width: 300px;
  flex: 0 1 300px;
}
.service-nav-inner {
  overflow: visible;
}
.service-tabs {
  flex-wrap: wrap;
  gap: 0.45rem;
}
.service-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 42px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.service-tabs .nav-link i {
  font-size: 1rem;
}
.service-tabs .nav-link.active,
.service-tabs .nav-link:hover {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
}
.service-tabs .nav-link.dropdown-toggle::after {
  margin-left: 0.15rem;
}
.service-hidden-product-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
}
.service-hidden-product-select + .select2-container {
  display: none !important;
}
.service-product-choice-row {
  margin: 0 0 0.75rem;
}
.service-product-choice-row .form-label {
  margin-bottom: 0.35rem;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-product-choice-select {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 800;
  background-color: #fff;
}
.service-cashier-body {
  padding: 1rem;
}
.service-pos-step {
  position: relative;
}
.service-pos-step-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}
.service-pos-step-head small {
  display: block;
  color: var(--service-muted);
  line-height: 1.2;
}
.service-step-number {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
  font-size: 0.82rem;
  font-weight: 900;
}
.service-product-grid-minimal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.service-product-grid-minimal .service-product-tile {
  min-height: 58px;
  grid-template-columns: 24px 1fr;
  grid-template-areas: "check name" "check meta";
  column-gap: 0.5rem;
  align-items: center;
  border-radius: 15px;
  padding: 0.55rem 0.65rem;
  box-shadow: none;
}
.service-product-grid-minimal .service-product-tile:hover {
  transform: none;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}
.service-product-grid-minimal .service-product-tile.active::after {
  display: none;
}
.service-product-check {
  grid-area: check;
  width: 22px;
  height: 22px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: transparent;
  background: #fff;
}
.service-product-tile.active .service-product-check {
  border-color: var(--service-primary);
  background: var(--service-primary);
  color: #fff;
}
.service-product-grid-minimal .service-product-name {
  grid-area: name;
  padding-right: 0;
  font-size: 0.9rem;
}
.service-product-grid-minimal .service-product-meta {
  grid-area: meta;
  font-size: 0.72rem;
}
.service-mobile-sale-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.75fr);
  gap: 0.75rem;
  align-items: start;
}
.service-amount-field .form-label,
.service-price-field .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
.service-amount-field .form-label span {
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.service-qty-control-large {
  grid-template-columns: 52px 1fr 52px;
}
.service-qty-control-large .btn,
.service-qty-control-large .form-control {
  min-height: 56px;
  font-size: 1.12rem;
  font-weight: 850;
}
.service-price-input {
  min-height: 56px;
  font-weight: 850;
  font-size: 1.08rem;
}
.service-quick-qty-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
}
.service-quick-qty-grid button {
  min-height: 36px;
  padding: 0.2rem 0.25rem;
}
.service-payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(130px, 0.8fr);
  gap: 2rem;
}
.service-payment-input-group .form-control,
.service-payment-input-group .btn {
  min-height: 48px;
}
.service-submit-total {
  display: none;
  min-width: 104px;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--service-border);
  border-radius: 14px;
  background: #fff;
}
.service-submit-total span {
  display: block;
  color: var(--service-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-submit-total .service-inline-readonly {
  width: 86px;
  text-align: left;
  font-size: 0.95rem;
}
.service-sales-mobile-first .select2-container {
  max-width: 100%;
}

@media (max-width: 1200px) {
  .service-product-grid-minimal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .service-global-search {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
  .service-tabs {
    flex-wrap: wrap;
  }
  .service-nav-inner {
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .service-topbar-inner {
    padding-bottom: 0.75rem;
  }
  .service-global-search {
    display: none;
  }
  .service-nav-container {
    border-radius: 24px 24px 0 0;
    background: rgba(255, 255, 255, 0.98);
  }
  .service-nav-inner {
    padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .service-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
  }
  .service-tabs .nav-item {
    min-width: 0;
    width: 100%;
  }
  .service-tabs .nav-link {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    padding: 0.3rem 0.2rem;
    gap: 0.16rem;
    background: transparent;
    box-shadow: none;
    border-color: transparent;
  }
  .service-tabs .nav-link span {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }
  .service-tabs .nav-link.dropdown-toggle::after {
    display: none;
  }
  .service-tabs .nav-link.active {
    background: linear-gradient(180deg, #dbeafe, #eff6ff);
    border-color: #bfdbfe;
    box-shadow: inset 0 -2px 0 rgba(37, 99, 235, 0.2);
  }
  .service-tabs .dropdown-menu {
    position: fixed !important;
    inset: auto 0.75rem calc(7.65rem + env(safe-area-inset-bottom)) auto !important;
    top: auto !important;
    transform: none !important;
    max-width: calc(100vw - 1.5rem);
  }
  .service-content {
    padding: 0.75rem 0.75rem calc(8.9rem + env(safe-area-inset-bottom));
  }
  .service-pos-header {
    display: none;
  }
  .service-pos-filter {
    margin-top: 0;
  }
  .service-pos-grid {
    margin-left: 0;
    margin-right: 0;
    gap: 0.75rem;
  }
  .service-sale-entry-column,
  .service-sale-history-column {
    padding-left: 0;
    padding-right: 0;
  }
  .service-pos-cashier {
    min-height: calc(100dvh - 9.8rem);
    border-radius: 24px !important;
  }
  .service-pos-cashier > .card-header {
    position: sticky;
    top: 0.55rem;
    z-index: 4;
    border-radius: 22px 22px 0 0 !important;
  }
  .service-cashier-body {
    padding: 0.75rem;
  }
  .service-pos-block {
    padding: 0.72rem;
    margin-bottom: 0.65rem;
    background: #fff;
    border-radius: 20px;
  }
  .service-pos-step-head {
    margin-bottom: 0.55rem;
    gap: 0.5rem;
  }
  .service-pos-step-head small {
    display: none;
  }
  .service-step-number {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    font-size: 0.75rem;
  }
  .service-pos-customer-block .select2-container .select2-selection--single,
  .service-pos-customer-block .form-select {
    min-height: 50px;
    border-radius: 16px;
  }
  .service-product-grid-minimal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .service-product-grid-minimal .service-product-tile {
    min-height: 48px;
    border-radius: 14px;
    padding: 0.48rem 0.52rem;
  }
  .service-product-grid-minimal .service-product-name {
    font-size: 0.82rem;
    line-height: 1.05;
  }
  .service-product-grid-minimal .service-product-meta {
    font-size: 0.66rem;
  }
  .service-product-check {
    width: 20px;
    height: 20px;
    border-radius: 7px;
  }
  .service-pos-chip {
    padding: 0.24rem 0.45rem;
    font-size: 0.7rem;
  }
  .service-mobile-sale-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .service-qty-control-large {
    grid-template-columns: 50px 1fr 50px;
  }
  .service-qty-control-large .btn,
  .service-qty-control-large .form-control,
  .service-price-input {
    min-height: 54px;
    border-radius: 17px !important;
  }
  .service-quick-qty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-quick-qty-grid button {
    min-height: 40px;
    border-radius: 14px;
  }
  .service-date-row {
    display: none;
  }
  .service-mobile-receipt {
    margin-bottom: 0.65rem;
    padding: 0.8rem;
    border-radius: 20px;
  }
  .service-mobile-receipt .service-receipt-line:nth-child(2),
  .service-mobile-receipt .service-receipt-line:nth-child(3),
  .service-mobile-receipt .service-receipt-line:nth-child(4) {
    display: none;
  }
  .service-mobile-receipt .service-receipt-total {
    padding-top: 0.45rem;
  }
  .service-mobile-receipt .service-total-readonly {
    font-size: 1.48rem;
    width: 150px;
  }
  .service-payment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-payment-note,
  .service-sale-note-block {
    display: none;
  }
  .service-pos-submitbar {
    bottom: calc(7.9rem + env(safe-area-inset-bottom));
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 0.6rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
  }
  .service-submit-total {
    display: block;
  }
  .service-pos-submitbar .btn {
    min-height: 50px;
    border-radius: 16px;
  }
  .service-pos-metrics {
    display: none;
  }
  .service-market-list {
    margin-top: 0.75rem;
  }
  .service-market-list .card-header {
    min-height: 52px;
  }
}

@media (max-width: 430px) {
  .service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-tabs .nav-link {
    min-height: 44px;
    font-size: 0.62rem;
  }
  .service-content {
    padding-bottom: calc(12.5rem + env(safe-area-inset-bottom));
  }
  .service-pos-submitbar {
    bottom: calc(11.4rem + env(safe-area-inset-bottom));
  }
  .service-tabs .dropdown-menu {
    inset: auto 0.75rem calc(11.2rem + env(safe-area-inset-bottom)) auto !important;
  }
}

/* 20260508 mobile polish: tahsilat alanı, ürün adı ve alt menü */
.service-product-name,
.service-product-grid-minimal .service-product-name {
  font-weight: 400;
}

@media (max-width: 768px) {
  .service-payment-step {
    scroll-margin-bottom: calc(10.75rem + env(safe-area-inset-bottom));
  }

  .service-payment-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(104px, 0.65fr);
    align-items: end;
    gap: 1.5rem;
  }

  .service-payment-grid .form-label {
    margin-bottom: 0.28rem;
    font-size: 0.82rem;
  }

  .service-payment-input-group .form-control,
  .service-payment-input-group .btn,
  .service-payment-grid .form-select {
    min-height: 46px;
    border-radius: 14px;
  }

  .service-payment-input-group .btn {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-size: 0.82rem;
  }

  .service-payment-balance {
    justify-content: flex-start;
    margin-top: 0.45rem !important;
  }
}

@media (max-width: 430px) {
  .service-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.24rem;
  }

  .service-tabs .nav-link {
    min-height: 40px;
    border-radius: 13px;
    padding: 0.22rem 0.12rem;
    font-size: 0.57rem;
  }

  .service-tabs .nav-link i {
    font-size: 0.92rem;
  }

  .service-nav-inner {
    padding: 0.45rem 0.45rem calc(0.48rem + env(safe-area-inset-bottom));
  }

  .service-content {
    padding-bottom: calc(10.8rem + env(safe-area-inset-bottom));
  }

  .service-pos-submitbar {
    bottom: calc(9.55rem + env(safe-area-inset-bottom));
  }

  .service-tabs .dropdown-menu {
    inset: auto 0.75rem calc(9.35rem + env(safe-area-inset-bottom)) auto !important;
  }
}

@media (max-width: 360px) {
  .service-payment-grid {
    grid-template-columns: 1fr;
  }
}

/* 20260508 stok hareketleri: ürünne göre stok görünümü */
.service-stock-header {
  align-items: center;
}
.service-stock-quickbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.service-stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--service-border);
  background: #fff;
  color: #344054;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 750;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}
.service-stock-chip:hover,
.service-stock-chip.active {
  background: var(--service-primary-soft);
  border-color: #bfdbfe;
  color: var(--service-primary-dark);
}
.service-stock-card {
  display: block;
  min-height: 100%;
  border: 1px solid var(--service-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 1rem;
  text-decoration: none;
  color: var(--service-text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.service-stock-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}
.service-stock-card.active {
  border-color: var(--service-primary);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, #eff6ff, #fff);
}
.service-stock-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.service-stock-card-title {
  font-weight: 850;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.service-stock-card-value {
  font-size: 1.65rem;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0.8rem;
}
.service-stock-card-value small {
  font-size: 0.9rem;
  color: var(--service-muted);
  font-weight: 700;
}
.service-stock-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.service-stock-card-grid div {
  border: 1px solid #edf2f7;
  border-radius: 0.75rem;
  padding: 0.45rem 0.5rem;
  background: rgba(255, 255, 255, 0.76);
}
.service-stock-card-grid span {
  display: block;
  color: var(--service-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-stock-card-grid strong {
  display: block;
  color: #1f2937;
  font-size: 0.84rem;
  margin-top: 0.08rem;
}
.service-stock-summary-table {
  min-width: 920px;
}
.service-stock-summary-table .table-primary td {
  background: #eff6ff;
}

/* Tedarikçi ödeme listesi: detay/makbuz/düzenle butonları çakışmasın */
.service-payment-actions {
  min-width: 236px;
}
.service-payment-actions .service-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: nowrap;
}
.service-payment-actions .service-action-row .btn {
  width: auto;
  min-width: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0 0.58rem;
  line-height: 1;
}
.service-payment-actions .service-action-row form .btn {
  width: 32px;
  padding: 0;
}

@media (max-width: 768px) {
  .service-stock-header {
    align-items: flex-start;
  }
  .service-stock-header .btn {
    width: 100%;
  }
  .service-stock-chip {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
  }
  .service-payment-actions {
    min-width: 210px;
  }
  .service-payment-actions .service-action-row {
    flex-wrap: wrap;
  }
  .service-payment-actions .service-action-row .btn {
    min-height: 32px;
  }
}

@media (max-width: 430px) {
  .service-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
  }
  .service-tabs .nav-link {
    min-height: 40px;
    font-size: 0.7rem;
    padding: 0.2rem 0.08rem;
  }
  .service-tabs .nav-link i {
    font-size: 0.86rem;
  }
  .service-stock-chip {
    flex-basis: 100%;
  }
  .service-stock-card {
    padding: 0.85rem;
  }
  .service-stock-card-grid {
    grid-template-columns: 1fr;
  }
  .service-payment-actions .service-action-row .btn span:not(.visually-hidden) {
    display: none;
  }
  .service-payment-actions {
    min-width: 152px;
  }
  .service-payment-actions .service-action-row {
    flex-wrap: nowrap;
  }
  .service-payment-actions .service-action-row .btn {
    width: 32px;
    padding: 0;
  }
}

/* 2026-05-08 mobile table/action standardization */
.service-mobile-action-list,
.service-action-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.service-action-cell {
  white-space: normal;
  min-width: 132px;
}
.service-action-cell form {
  margin: 0;
}
.service-action-cell .btn {
  min-height: 32px;
  border-radius: 10px;
}
.service-action-cell .btn i {
  pointer-events: none;
}
.service-action-cell .btn-group {
  gap: 0.35rem;
}
.service-action-cell .btn-group > .btn {
  border-radius: 10px !important;
}
.service-action-cell .btn-group > .btn:not(:first-child) {
  margin-left: 0;
}
.service-data-table td,
.service-mobile-card-table td {
  min-width: 0;
}

@media (max-width: 768px) {
  .table-responsive {
    overflow: visible;
    border-radius: 20px;
  }
  .table-responsive .table.service-mobile-card-table,
  .table-responsive .table.service-market-table {
    min-width: 0 !important;
    margin-bottom: 0;
  }
  .table.service-mobile-card-table thead,
  .table.service-market-table thead {
    display: none;
  }
  .table.service-mobile-card-table,
  .table.service-mobile-card-table tbody,
  .table.service-mobile-card-table tr,
  .table.service-mobile-card-table td,
  .table.service-market-table,
  .table.service-market-table tbody,
  .table.service-market-table tr,
  .table.service-market-table td {
    display: block;
    width: 100%;
  }
  .table.service-mobile-card-table tbody,
  .table.service-market-table tbody {
    display: grid;
    gap: 0.75rem;
    padding: 0.65rem;
    background: #f8fafc;
  }
  .table.service-mobile-card-table tbody tr,
  .table.service-market-table tbody tr {
    border: 1px solid var(--service-border);
    border-radius: 18px;
    background: #fff;
    padding: 0.75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }
  .table.service-mobile-card-table tbody tr:hover,
  .table.service-market-table tbody tr:hover {
    background: #fff;
  }
  .table.service-mobile-card-table td,
  .table.service-market-table td {
    border: 0;
    padding: 0.42rem 0;
    text-align: left !important;
    display: grid;
    grid-template-columns: minmax(92px, 38%) 1fr;
    gap: 0.65rem;
    align-items: start;
    font-size: 0.92rem;
  }
  .table.service-mobile-card-table td + td,
  .table.service-market-table td + td {
    border-top: 1px dashed #e6eaf2;
  }
  .table.service-mobile-card-table td::before,
  .table.service-market-table td::before {
    content: attr(data-label);
    color: var(--service-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
    padding-top: 0.1rem;
  }
  .table.service-mobile-card-table td[data-label=""]::before,
  .table.service-market-table td[data-label=""]::before {
    content: none;
  }
  .table.service-mobile-card-table td[colspan],
  .table.service-market-table td[colspan] {
    display: block;
  }
  .table.service-mobile-card-table td[colspan]::before,
  .table.service-market-table td[colspan]::before {
    content: none;
  }
  .service-action-cell {
    min-width: 0;
    display: block !important;
    padding-top: 0.65rem !important;
  }
  .service-action-cell::before {
    display: block !important;
    margin-bottom: 0.45rem;
  }
  .service-mobile-action-list,
  .service-action-row,
  .service-action-cell .btn-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
  }
  .service-action-cell .btn,
  .service-action-cell form,
  .service-action-cell form .btn {
    width: 100% !important;
  }
  .service-action-cell .btn {
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.45rem 0.55rem !important;
    border-radius: 13px !important;
    font-size: 0.82rem;
    line-height: 1.1;
  }
  .service-action-cell .btn span:not(.visually-hidden) {
    display: inline;
  }
  .service-actions .btn {
    width: auto;
    height: auto;
  }
  .service-action-cell .btn i:only-child::after {
    content: '';
  }
}

@media (max-width: 430px) {
  .table.service-mobile-card-table tbody,
  .table.service-market-table tbody {
    padding: 0.5rem;
    gap: 0.6rem;
  }
  .table.service-mobile-card-table tbody tr,
  .table.service-market-table tbody tr {
    padding: 0.65rem;
    border-radius: 16px;
  }
  .table.service-mobile-card-table td,
  .table.service-market-table td {
    grid-template-columns: 1fr;
    gap: 0.18rem;
    padding: 0.38rem 0;
  }
  .service-mobile-action-list,
  .service-action-row,
  .service-action-cell .btn-group {
    grid-template-columns: 1fr 1fr;
  }
  .service-action-cell .btn {
    min-height: 38px;
    font-size: 0.78rem;
  }
}
.service-action-label {
  display: none;
}
@media (max-width: 768px) {
  .service-action-cell .service-action-label {
    display: inline;
  }
}

/* Kiosk market POS - fullscreen, panelden bagimsiz */
body.service-kiosk-body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 30vw),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.16), transparent 32vw),
    #eef4ff;
  overscroll-behavior: none;
}
body.service-kiosk-body .select2-container {
  display: none !important;
}

html.service-kiosk-root-fullscreen,
html.service-kiosk-root-fullscreen body.service-kiosk-body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/* Fullscreen aktifken Bootstrap modal katmanları ayrı tutulmalı.
   Backdrop ile modal aynı z-index'te kalırsa backdrop modalın üstüne çıkıp ekranı kilitler. */
html.service-kiosk-root-fullscreen .modal-backdrop {
  z-index: 200000 !important;
}
html.service-kiosk-root-fullscreen .modal {
  z-index: 200010 !important;
}
html.service-kiosk-root-fullscreen .modal.show {
  display: block;
}
.service-kiosk-pos {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(0.45rem, 1vw, 0.85rem);
  overflow: hidden;
}
.service-kiosk-pos > form {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.service-kiosk-hero,
.service-kiosk-subtitle,
.service-kiosk-hero-actions,
.service-kiosk-pill,
.service-kiosk-icon-btn {
  display: none !important;
}
.service-kiosk-alert {
  position: fixed;
  top: 0.7rem;
  left: 50%;
  z-index: 1080;
  width: min(680px, calc(100vw - 1.5rem));
  margin: 0;
  transform: translateX(-50%);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  font-weight: 850;
}
.service-kiosk-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 430px);
  gap: clamp(0.45rem, 0.9vw, 0.75rem);
  align-items: stretch;
}
.service-kiosk-products,
.service-kiosk-side {
  min-height: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: clamp(0.9rem, 1.5vw, 1.25rem);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}
.service-kiosk-products {
  padding: clamp(0.55rem, 1vw, 0.9rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.service-kiosk-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.45rem, 1vw, 0.85rem);
  margin-bottom: clamp(0.45rem, 1vw, 0.75rem);
  flex: 0 0 auto;
}
.service-kiosk-panel-head h3 {
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 950;
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.service-kiosk-panel-kicker {
  color: var(--service-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-kiosk-product-search-wrap {
  position: relative;
  width: min(340px, 38vw);
  flex: 0 1 340px;
}
.service-kiosk-product-search-wrap i {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--service-muted);
  pointer-events: none;
}
.service-kiosk-product-search-wrap .form-control {
  min-height: 44px;
  border-radius: 999px;
  padding-left: 2.25rem;
  font-weight: 800;
}
.service-kiosk-product-grid {
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: minmax(112px, auto);
  align-content: start;
  gap: clamp(0.45rem, 0.8vw, 0.7rem);
  padding: 0.05rem 0.15rem 0.2rem 0;
  scrollbar-gutter: stable;
}
.service-kiosk-product {
  min-height: 112px;
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  background: #fbfdff;
  padding: clamp(0.65rem, 1vw, 0.82rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  color: #1f2937;
  touch-action: manipulation;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.service-kiosk-product:hover,
.service-kiosk-product.active {
  border-color: var(--service-primary);
  background: #eff6ff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}
.service-kiosk-product-name {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  font-weight: 950;
  line-height: 1.12;
  color: #0f172a;
}
.service-kiosk-product-meta {
  color: var(--service-muted);
  font-size: clamp(0.7rem, 0.85vw, 0.78rem);
  display: grid;
  gap: 0.18rem;
}
.service-kiosk-product strong {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1;
  color: var(--service-primary-dark);
}
.service-kiosk-side {
  padding: clamp(0.55rem, 1vw, 0.85rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(0.45rem, 0.75vw, 0.65rem);
  position: static;
  overflow: hidden;
}
.service-kiosk-display {
  border-radius: 1.05rem;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, .32), transparent 38%), #111827;
  color: #fff;
  padding: clamp(0.75rem, 1.1vw, 1rem);
  min-height: clamp(112px, 17dvh, 155px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.service-kiosk-display-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.55rem;
}
.service-kiosk-display span {
  color: #cbd5e1;
  font-weight: 850;
}
.service-kiosk-display strong {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.service-kiosk-display small {
  color: #e5e7eb;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 750;
}
.service-kiosk-customer,
.service-kiosk-entry {
  min-height: 0;
  border: 1px solid var(--service-border);
  border-radius: 1rem;
  padding: clamp(0.55rem, 0.9vw, 0.78rem);
  background: #fbfdff;
}
.service-kiosk-customer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-kiosk-entry {
  flex: 0 0 auto;
}
.service-kiosk-panel-title {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 950;
  margin-bottom: 0.5rem;
  color: #111827;
  line-height: 1.1;
}
.service-kiosk-selected-customer {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 0.85rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
  display: grid;
  gap: 0.08rem;
  flex: 0 0 auto;
}
.service-kiosk-selected-customer strong {
  color: var(--service-primary-dark);
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-kiosk-selected-customer small {
  color: var(--service-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-kiosk-search {
  min-height: 42px;
  border-radius: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.service-kiosk-customer-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding-right: 0.12rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.service-kiosk-customer-btn {
  border: 1px solid var(--service-border);
  border-radius: 0.82rem;
  background: #fff;
  min-height: 46px;
  padding: 0.5rem 0.62rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  text-align: left;
  touch-action: manipulation;
}
.service-kiosk-customer-btn.active {
  border-color: var(--service-primary);
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}
.service-kiosk-customer-btn span {
  min-width: 0;
  font-weight: 850;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-kiosk-customer-btn small {
  color: var(--service-muted);
  white-space: nowrap;
}
.service-kiosk-qty-row {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 0.42rem;
  margin-bottom: 0.48rem;
}
.service-kiosk-qty-row .btn,
.service-kiosk-qty-row .form-control {
  min-height: 52px;
  border-radius: 0.95rem;
  font-size: 1.08rem;
  font-weight: 950;
  text-align: center;
}
.service-kiosk-quick-qty {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.service-kiosk-quick-qty button {
  border: 1px solid var(--service-border);
  background: #fff;
  border-radius: 0.72rem;
  min-height: 36px;
  font-weight: 950;
  touch-action: manipulation;
}
.service-kiosk-input-grid .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--service-muted);
}
.service-kiosk-input-grid .form-control,
.service-kiosk-input-grid .form-select {
  min-height: 42px;
  border-radius: 0.82rem;
  font-weight: 850;
}
.service-kiosk-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.service-kiosk-submit,
.service-kiosk-reset {
  min-height: 56px;
  border-radius: 0.95rem;
  font-weight: 950;
}
.service-kiosk-reset {
  min-width: 104px;
}
.service-kiosk-receipt-modal .modal-content {
  border: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}
.service-kiosk-receipt-success {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.service-kiosk-receipt-success strong,
.service-kiosk-receipt-success span {
  display: block;
}
.service-kiosk-receipt-success strong {
  color: #166534;
  font-size: 1.15rem;
  font-weight: 950;
}
.service-kiosk-receipt-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex: 0 0 auto;
}
.service-kiosk-receipt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.service-kiosk-receipt-grid > div {
  border: 1px solid var(--service-border);
  background: #fbfdff;
  border-radius: 0.9rem;
  padding: 0.75rem;
  display: grid;
  gap: 0.15rem;
}
.service-kiosk-receipt-grid small {
  color: var(--service-muted);
  font-weight: 800;
}
.service-kiosk-receipt-grid strong {
  color: #111827;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.service-kiosk-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.service-kiosk-receipt-actions .btn {
  min-height: 46px;
  border-radius: 0.85rem;
  font-weight: 850;
}
@media (max-width: 1180px) {
  .service-kiosk-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(250px, 39dvh);
  }
  .service-kiosk-side {
    grid-template-columns: minmax(210px, 0.85fr) minmax(250px, 1fr) minmax(260px, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .service-kiosk-display {
    min-height: 0;
    height: 100%;
  }
  .service-kiosk-customer {
    grid-row: 1 / 3;
  }
  .service-kiosk-entry {
    grid-column: 3;
  }
  .service-kiosk-actions {
    grid-column: 1 / span 1;
    grid-template-columns: 1fr;
  }
  .service-kiosk-reset {
    min-width: 0;
  }
}
@media (max-width: 820px) {
  .service-kiosk-pos {
    padding: 0.4rem;
  }
  .service-kiosk-shell {
    grid-template-rows: minmax(0, 0.94fr) minmax(300px, 1.06fr);
    gap: 0.4rem;
  }
  .service-kiosk-products,
  .service-kiosk-side {
    border-radius: 0.9rem;
  }
  .service-kiosk-products,
  .service-kiosk-side,
  .service-kiosk-customer,
  .service-kiosk-entry {
    padding: 0.5rem;
  }
  .service-kiosk-panel-head {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.25fr);
    margin-bottom: 0.45rem;
  }
  .service-kiosk-product-search-wrap {
    width: 100%;
  }
  .service-kiosk-product-search-wrap .form-control,
  .service-kiosk-search {
    min-height: 38px;
  }
  .service-kiosk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(92px, auto);
    gap: 0.42rem;
  }
  .service-kiosk-product {
    min-height: 92px;
    border-radius: 0.82rem;
    padding: 0.55rem;
  }
  .service-kiosk-product-meta {
    font-size: 0.68rem;
  }
  .service-kiosk-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
  }
  .service-kiosk-display {
    grid-column: 1 / -1;
    min-height: 82px;
    padding: 0.62rem;
  }
  .service-kiosk-display strong {
    font-size: clamp(1.9rem, 7vw, 2.55rem);
  }
  .service-kiosk-customer {
    grid-column: 1;
    grid-row: 2;
  }
  .service-kiosk-entry {
    grid-column: 2;
    grid-row: 2;
  }
  .service-kiosk-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
  }
  .service-kiosk-qty-row {
    grid-template-columns: 44px 1fr 44px;
  }
  .service-kiosk-qty-row .btn,
  .service-kiosk-qty-row .form-control {
    min-height: 44px;
    border-radius: 0.78rem;
  }
  .service-kiosk-quick-qty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }
  .service-kiosk-quick-qty button {
    min-height: 32px;
  }
  .service-kiosk-input-grid .form-control,
  .service-kiosk-input-grid .form-select {
    min-height: 38px;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 50px;
  }
  .service-kiosk-receipt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-kiosk-receipt-actions .btn {
    flex: 1 1 100%;
  }
}
@media (max-width: 520px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(0, 0.9fr) minmax(328px, 1.1fr);
  }
  .service-kiosk-panel-head {
    grid-template-columns: 1fr;
  }
  .service-kiosk-panel-kicker {
    display: none;
  }
  .service-kiosk-panel-head h3 {
    font-size: 0.95rem;
  }
  .service-kiosk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(86px, auto);
  }
  .service-kiosk-product-name {
    font-size: 0.84rem;
  }
  .service-kiosk-product strong {
    font-size: 0.98rem;
  }
  .service-kiosk-side {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(78px, 0.75fr) auto auto;
  }
  .service-kiosk-display-top {
    display: grid;
    gap: 0.15rem;
  }
  .service-kiosk-customer,
  .service-kiosk-entry,
  .service-kiosk-actions {
    grid-column: 1;
    grid-row: auto;
  }
  .service-kiosk-customer-list {
    min-height: 0;
  }
  .service-kiosk-entry .service-kiosk-panel-title {
    display: none;
  }
  .service-kiosk-input-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-kiosk-input-grid > [class*="col-"] {
    width: 100%;
  }
  .service-kiosk-actions {
    grid-template-columns: 1fr;
  }
  .service-kiosk-reset {
    min-width: 0;
  }
  .service-kiosk-receipt-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-height: 720px) and (min-width: 821px) {
  .service-kiosk-display {
    min-height: 96px;
  }
  .service-kiosk-display strong {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
  .service-kiosk-customer-btn {
    min-height: 42px;
  }
  .service-kiosk-qty-row .btn,
  .service-kiosk-qty-row .form-control {
    min-height: 46px;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 50px;
  }
}

@media (max-width: 768px) {
  .service-payment-actions.service-action-cell {
    min-width: 0 !important;
  }
  .service-payment-actions.service-action-cell .service-action-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
  }
  .service-payment-actions.service-action-cell .service-action-row .btn {
    width: 100% !important;
    min-height: 40px !important;
    padding: 0.45rem 0.55rem !important;
  }
  .service-payment-actions.service-action-cell .service-action-row .btn span:not(.visually-hidden) {
    display: inline !important;
  }
}

/* Kiosk POS - satış tipi, hızlı müşteri ve panel linkleri */

.service-delete-modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 1.35rem;
}
.service-cari-delete-modal .modal-content {
  border-radius: 1.2rem;
  overflow: hidden;
}
.service-kiosk-pos {
  position: relative;
}
.service-kiosk-toolbar {
  position: fixed;
  top: clamp(0.5rem, 1vw, 0.85rem);
  right: clamp(0.5rem, 1vw, 0.85rem);
  z-index: 1040;
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(14px);
}
.service-kiosk-toolbar a,
.service-kiosk-toolbar button {
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}
.service-kiosk-toolbar a:hover,
.service-kiosk-toolbar button:hover:not(:disabled) {
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
}
.service-kiosk-toolbar button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.service-kiosk-toolbar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.service-kiosk-sale-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  flex: 0 0 auto;
}
.service-kiosk-mode-btn {
  min-height: 46px;
  border: 1px solid var(--service-border);
  border-radius: 0.9rem;
  background: #fff;
  color: #475569;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  touch-action: manipulation;
}
.service-kiosk-mode-btn.active {
  border-color: var(--service-primary);
  background: linear-gradient(135deg, var(--service-primary), var(--service-primary-dark));
  color: #fff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
}
.service-kiosk-customer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.service-kiosk-customer-header .service-kiosk-panel-title {
  margin-bottom: 0.45rem;
}
.service-kiosk-add-customer {
  min-height: 34px;
  border-radius: 999px;
  font-weight: 950;
  padding-inline: 0.65rem;
  margin-bottom: 0.45rem;
  white-space: nowrap;
}
.service-kiosk-customer-body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  transition: opacity .15s ease, filter .15s ease;
}
.service-kiosk-customer-body.is-disabled {
  opacity: 0.54;
  filter: saturate(0.65);
}
.service-kiosk-customer-body.is-disabled .service-kiosk-search,
.service-kiosk-customer-body.is-disabled .service-kiosk-customer-list {
  pointer-events: none;
}
.service-kiosk-selected-customer.is-guest {
  border-color: #fed7aa;
  background: #fff7ed;
}
.service-kiosk-selected-customer.is-guest strong {
  color: #9a3412;
}
.service-kiosk-customer-modal .modal-content,
.service-kiosk-receipt-modal .modal-content {
  border: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}
.service-kiosk-customer-modal .form-control,
.service-kiosk-customer-modal .form-select {
  border-radius: 0.85rem;
  font-weight: 800;
}
.service-kiosk-customer-modal .form-label {
  font-weight: 900;
  color: #334155;
}
@media (max-width: 1180px) {
  .service-kiosk-toolbar {
    top: auto;
    right: clamp(0.45rem, 1vw, 0.75rem);
    bottom: clamp(0.45rem, 1vw, 0.75rem);
  }
  .service-kiosk-toolbar a,
  .service-kiosk-toolbar button {
    min-height: 36px;
    padding-inline: 0.62rem;
  }
}
@media (max-width: 820px) {
  .service-kiosk-toolbar {
    left: 0.4rem;
    right: 0.4rem;
    bottom: 0.4rem;
    justify-content: center;
    border-radius: 0.95rem;
  }
  .service-kiosk-toolbar a,
  .service-kiosk-toolbar button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 34px;
    padding: 0.4rem 0.35rem;
    font-size: 0.76rem;
  }
  .service-kiosk-actions {
    padding-bottom: 44px;
  }
  .service-kiosk-sale-mode {
    gap: 0.28rem;
    margin-bottom: 0.42rem;
  }
  .service-kiosk-mode-btn {
    min-height: 38px;
    border-radius: 0.78rem;
    font-size: 0.78rem;
  }
  .service-kiosk-add-customer {
    min-height: 30px;
    font-size: 0.76rem;
    padding-inline: 0.55rem;
  }
}
@media (max-width: 520px) {
  .service-kiosk-toolbar span {
    display: none;
  }
  .service-kiosk-toolbar a,
  .service-kiosk-toolbar button {
    flex: 0 1 58px;
    font-size: 1rem;
  }
  .service-kiosk-customer-header .service-kiosk-panel-title {
    font-size: 0.85rem;
  }
  .service-kiosk-add-customer {
    width: auto;
  }
  .service-kiosk-add-customer .bi {
    margin: 0;
  }
  .service-kiosk-add-customer {
    font-size: 0;
  }
  .service-kiosk-add-customer i {
    font-size: 0.95rem;
  }
}


/* Kiosk POS - mobil sade kullanım güncellemesi */
@media (max-width: 640px) {
  body.service-kiosk-body {
    background: #f8fafc;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
  }
  .service-kiosk-pos {
    padding: 0;
    background: #f8fafc;
  }
  .service-kiosk-alert {
    top: 0.45rem;
    width: calc(100vw - 1rem);
    border-radius: 0.85rem;
    font-size: 0.86rem;
    padding: 0.65rem 0.8rem;
  }
  .service-kiosk-toolbar {
    top: 0.45rem;
    right: 0.45rem;
    left: auto;
    bottom: auto;
    width: auto;
    z-index: 1055;
    gap: 0.22rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  }
  .service-kiosk-toolbar a,
  .service-kiosk-toolbar button {
    flex: 0 0 auto;
    width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0.95rem;
  }
  .service-kiosk-toolbar span {
    display: none !important;
  }
  .service-kiosk-shell {
    height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, calc(100dvh - 348px)) 348px;
    gap: 0;
  }
  .service-kiosk-products,
  .service-kiosk-side {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }
  .service-kiosk-products {
    padding: 0.52rem 0.52rem 0.4rem;
    background: #f8fafc;
  }
  .service-kiosk-panel-head {
    grid-template-columns: minmax(86px, auto) 1fr;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.42rem;
    padding-right: 7rem;
  }
  .service-kiosk-panel-kicker {
    display: none !important;
  }
  .service-kiosk-panel-head h3 {
    font-size: 0.98rem;
    line-height: 1;
    margin: 0;
  }
  .service-kiosk-product-search-wrap .form-control {
    min-height: 38px;
    border-radius: 0.8rem;
    padding-left: 2rem;
    font-size: 0.88rem;
    background: #fff;
  }
  .service-kiosk-product-search-wrap i {
    left: 0.72rem;
    font-size: 0.9rem;
  }
  .service-kiosk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(74px, auto);
    gap: 0.42rem;
    padding: 0 0.06rem 0.35rem 0;
    scrollbar-gutter: auto;
  }
  .service-kiosk-product {
    min-height: 74px;
    border-radius: 0.82rem;
    padding: 0.56rem 0.62rem;
    gap: 0.25rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  }
  .service-kiosk-product:hover,
  .service-kiosk-product.active {
    transform: none;
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.22), 0 8px 22px rgba(37, 99, 235, 0.12);
  }
  .service-kiosk-product-name {
    font-size: 0.86rem;
    line-height: 1.12;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-kiosk-product-meta {
    font-size: 0.67rem;
    line-height: 1.05;
  }
  .service-kiosk-product-meta > span:first-child {
    display: none;
  }
  .service-kiosk-product strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
  }
  .service-kiosk-side {
    padding: 0.52rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 0.42rem;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-radius: 1.1rem 1.1rem 0 0;
    box-shadow: 0 -14px 32px rgba(15, 23, 42, 0.08);
  }
  .service-kiosk-display {
    min-height: 58px;
    padding: 0.6rem 0.72rem;
    border-radius: 0.95rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.1rem 0.6rem;
    background: #111827;
  }
  .service-kiosk-display-top {
    display: grid;
    gap: 0.04rem;
    min-width: 0;
  }
  .service-kiosk-display-top > span,
  .service-kiosk-display-top > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .service-kiosk-display span {
    font-size: 0.78rem;
  }
  .service-kiosk-display small {
    font-size: 0.72rem;
  }
  .service-kiosk-display > strong {
    grid-row: 1 / 3;
    grid-column: 2;
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    letter-spacing: -0.045em;
  }
  .service-kiosk-display > small:last-child {
    grid-column: 1 / -1;
    display: none;
  }
  .service-kiosk-customer,
  .service-kiosk-entry {
    border-radius: 0.95rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-color: #e2e8f0;
  }
  .service-kiosk-customer {
    overflow: visible;
  }
  .service-kiosk-sale-mode {
    gap: 0.32rem;
    margin-bottom: 0.38rem;
  }
  .service-kiosk-mode-btn {
    min-height: 36px;
    border-radius: 0.78rem;
    font-size: 0.8rem;
  }
  .service-kiosk-customer-header {
    margin-bottom: 0.36rem;
  }
  .service-kiosk-customer-header .service-kiosk-panel-title {
    display: none;
  }
  .service-kiosk-add-customer {
    min-height: 32px;
    margin: 0;
    margin-left: auto;
    font-size: 0.78rem;
    padding-inline: 0.65rem;
    border-radius: 0.78rem;
  }
  .service-kiosk-add-customer i {
    font-size: 0.9rem;
  }
  .service-kiosk-customer-body {
    gap: 0.34rem;
  }
  .service-kiosk-selected-customer {
    margin: 0;
    padding: 0.46rem 0.56rem;
    border-radius: 0.78rem;
    cursor: pointer;
  }
  .service-kiosk-selected-customer strong {
    font-size: 0.86rem;
  }
  .service-kiosk-selected-customer small {
    font-size: 0.72rem;
  }
  .service-kiosk-search {
    min-height: 36px;
    margin: 0;
    border-radius: 0.78rem;
    font-size: 0.84rem;
  }
  .service-kiosk-customer-list {
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    gap: 0.36rem;
    padding: 0;
    transition: max-height .16s ease, opacity .16s ease;
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-list {
    max-height: 46px;
    overflow-x: auto;
    overflow-y: hidden;
    opacity: 1;
    padding-bottom: 0.04rem;
    -webkit-overflow-scrolling: touch;
  }
  .service-kiosk-customer-btn {
    flex: 0 0 142px;
    min-height: 40px;
    border-radius: 0.76rem;
    padding: 0.42rem 0.52rem;
  }
  .service-kiosk-customer-btn span {
    font-size: 0.8rem;
  }
  .service-kiosk-customer-btn small {
    display: none;
  }
  .service-kiosk-customer-body.is-disabled .service-kiosk-search,
  .service-kiosk-customer-body.is-disabled .service-kiosk-customer-list {
    display: none;
  }
  .service-kiosk-entry {
    min-height: 0;
    overflow: hidden;
  }
  .service-kiosk-entry .service-kiosk-panel-title {
    display: none;
  }
  .service-kiosk-qty-row {
    grid-template-columns: 42px 1fr 42px;
    gap: 0.34rem;
    margin-bottom: 0.36rem;
  }
  .service-kiosk-qty-row .btn,
  .service-kiosk-qty-row .form-control {
    min-height: 42px;
    border-radius: 0.78rem;
    font-size: 1rem;
  }
  .service-kiosk-quick-qty {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
    margin-bottom: 0.42rem;
  }
  .service-kiosk-quick-qty button {
    min-height: 32px;
    border-radius: 0.7rem;
    font-size: 0.85rem;
  }
  .service-kiosk-quick-qty button:nth-child(n+5) {
    display: none;
  }
  .service-kiosk-input-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem !important;
  }
  .service-kiosk-input-grid + .service-kiosk-input-grid {
    margin-top: 0.34rem !important;
  }
  .service-kiosk-input-grid > [class*="col-"] {
    width: 100%;
    padding: 0;
  }
  .service-kiosk-input-grid .form-label {
    margin-bottom: 0.14rem;
    font-size: 0.68rem;
  }
  .service-kiosk-input-grid .form-control,
  .service-kiosk-input-grid .form-select {
    min-height: 36px;
    border-radius: 0.74rem;
    font-size: 0.84rem;
  }
  .service-kiosk-actions {
    grid-template-columns: 1fr 50px;
    gap: 0.38rem;
    padding-bottom: 0;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 50px;
    border-radius: 0.9rem;
  }
  .service-kiosk-submit {
    font-size: 0.98rem;
  }
  .service-kiosk-reset {
    min-width: 0;
    width: 50px;
    padding-inline: 0;
    font-size: 0;
  }
  .service-kiosk-reset i {
    font-size: 1.08rem;
  }
}

@media (max-width: 390px), (max-height: 700px) and (max-width: 640px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(0, calc(100dvh - 326px)) 326px;
  }
  .service-kiosk-products {
    padding: 0.44rem 0.44rem 0.3rem;
  }
  .service-kiosk-panel-head {
    margin-bottom: 0.34rem;
  }
  .service-kiosk-product-grid {
    grid-auto-rows: minmax(66px, auto);
    gap: 0.34rem;
  }
  .service-kiosk-product {
    min-height: 66px;
    padding: 0.46rem 0.52rem;
  }
  .service-kiosk-product-meta {
    display: none;
  }
  .service-kiosk-product-name {
    font-size: 0.8rem;
  }
  .service-kiosk-product strong {
    font-size: 0.94rem;
  }
  .service-kiosk-side {
    padding: 0.44rem;
    gap: 0.34rem;
  }
  .service-kiosk-display {
    min-height: 52px;
    padding: 0.5rem 0.62rem;
  }
  .service-kiosk-display > strong {
    font-size: clamp(1.42rem, 7.2vw, 1.85rem);
  }
  .service-kiosk-customer,
  .service-kiosk-entry {
    padding: 0.42rem;
  }
  .service-kiosk-sale-mode {
    margin-bottom: 0.3rem;
  }
  .service-kiosk-mode-btn,
  .service-kiosk-search,
  .service-kiosk-input-grid .form-control,
  .service-kiosk-input-grid .form-select {
    min-height: 34px;
  }
  .service-kiosk-qty-row .btn,
  .service-kiosk-qty-row .form-control {
    min-height: 38px;
  }
  .service-kiosk-quick-qty button {
    min-height: 29px;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 46px;
  }
}

/* Kiosk POS - mobil akışı tek ekrana sığdıran son düzen */
@media (max-width: 640px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(0, calc(100dvh - 418px)) 418px;
  }
  .service-kiosk-customer {
    position: relative;
    z-index: 2;
  }
  .service-kiosk-customer-header {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    margin: 0;
    z-index: 3;
  }
  .service-kiosk-add-customer {
    min-width: 38px;
    min-height: 32px;
    padding-inline: 0.55rem;
    background: #fff;
  }
  .service-kiosk-sale-mode {
    padding-right: 3.05rem;
  }
  .service-kiosk-customer-body {
    position: static;
  }
  .service-kiosk-selected-customer {
    min-height: 38px;
  }
  .service-kiosk-selected-customer::after {
    content: "Dokun ve müşteri seç";
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
  }
  .service-kiosk-selected-customer.is-guest::after {
    content: "Müşterisiz hızlı satış";
  }
  .service-kiosk-customer-body > .service-kiosk-search,
  .service-kiosk-customer-list {
    display: none;
  }
  .service-kiosk-customer-body.is-picker-open > .service-kiosk-search {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 0.42rem);
    z-index: 6;
    min-height: 40px;
    background: #fff;
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-list {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 3.12rem);
    z-index: 6;
    max-height: 132px;
    overflow: auto;
    opacity: 1;
    gap: 0.32rem;
    padding: 0.38rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-btn {
    flex: initial;
    width: 100%;
  }
  .service-kiosk-input-grid .form-label {
    display: none;
  }
  .service-kiosk-input-grid .form-control,
  .service-kiosk-input-grid .form-select {
    min-height: 38px;
  }
}
@media (max-width: 390px), (max-height: 700px) and (max-width: 640px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(0, calc(100dvh - 392px)) 392px;
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-list {
    max-height: 112px;
  }
}

/* Kiosk POS - mobil müşteri seçim paneli tam ekran düzeltmesi */
@media (max-width: 640px) {
  body.service-kiosk-customer-picker-open .service-kiosk-pos::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1088;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
  }
  .service-kiosk-customer-body.is-picker-open > .service-kiosk-search {
    display: block !important;
    position: fixed !important;
    top: max(0.72rem, env(safe-area-inset-top));
    left: 0.65rem;
    right: 0.65rem;
    bottom: auto !important;
    z-index: 1091;
    width: auto;
    min-height: 46px;
    margin: 0;
    border-radius: 0.95rem;
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-list {
    display: grid !important;
    grid-template-columns: 1fr;
    align-content: start;
    position: fixed !important;
    top: calc(max(0.72rem, env(safe-area-inset-top)) + 3.35rem);
    left: 0.65rem;
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    z-index: 1090;
    max-height: none !important;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    gap: 0.42rem;
    padding: 0.55rem;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
    -webkit-overflow-scrolling: touch;
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-btn {
    width: 100%;
    flex: initial;
    min-height: 48px;
    border-radius: 0.82rem;
    padding: 0.56rem 0.68rem;
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-btn span {
    font-size: 0.88rem;
  }
  .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-btn small {
    display: inline;
    font-size: 0.72rem;
  }
}

/* 2026-05-09 kiosk mobile customer picker: keep picker above blur overlay */
@media (max-width: 640px) {
  body.service-kiosk-customer-picker-open .service-kiosk-customer {
    position: relative;
    z-index: 1092;
  }
  body.service-kiosk-customer-picker-open .service-kiosk-customer-body.is-picker-open {
    position: relative;
    z-index: 1093;
  }
  body.service-kiosk-customer-picker-open .service-kiosk-customer-body.is-picker-open > .service-kiosk-search {
    z-index: 1095;
  }
  body.service-kiosk-customer-picker-open .service-kiosk-customer-body.is-picker-open .service-kiosk-customer-list {
    z-index: 1094;
  }
}

/* 2026-05-09 kiosk desktop toolbar: panel/satış listesi linkleri sol alt */
@media (min-width: 821px) {
  .service-kiosk-toolbar {
    top: auto;
    right: auto;
    bottom: clamp(0.5rem, 1vw, 0.85rem);
    left: clamp(0.5rem, 1vw, 0.85rem);
    z-index: 1055;
  }
}

/* Ürün yönetimi geniş işlem panelleri */
.service-offcanvas-wide {
  width: 90vw !important;
  max-width: 1360px;
}
.service-offcanvas-wide .offcanvas-body {
  background: #f8fafc;
}
.service-panel-form {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}
.service-panel-form .form-label {
  font-weight: 600;
  color: #334155;
}
@media (max-width: 991.98px) {
  .service-offcanvas-wide {
    width: 100vw !important;
  }
  .service-panel-form {
    padding: 16px;
    border-radius: 14px;
  }
}

/* Alış/satış ekranları: POS giriş + son 10 özet, ayrı tam liste sayfaları */
.service-pos-split-page .service-pos-grid {
  align-items: flex-start;
}
.service-pos-summary-column {
  position: sticky;
  top: 1rem;
}
.service-pos-summary-card {
  overflow: hidden;
}
.service-summary-list {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.service-summary-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.78rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-summary-row:hover {
  color: #0f172a;
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}
.service-summary-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.1rem;
}
.service-summary-main {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}
.service-summary-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
}
.service-summary-main small {
  color: #64748b;
  line-height: 1.35;
}
.service-summary-amount {
  font-weight: 800;
  white-space: nowrap;
  color: #0f172a;
}
.service-due-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.36rem 0.6rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.service-icon-actions {
  white-space: nowrap;
}
.service-action-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
}
.service-row-action-cell {
  vertical-align: middle;
}
.service-row-action-dropdown {
  display: inline-flex;
  justify-content: flex-end;
}
.service-row-action-toggle {
  min-width: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.service-row-action-menu {
  min-width: 220px;
  padding: 0.4rem;
  border-radius: 0.8rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}
.service-row-action-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  border-radius: 0.55rem;
  font-weight: 700;
}
.service-row-action-menu .dropdown-item i {
  width: 1.1rem;
  text-align: center;
}
.service-row-action-menu form {
  margin: 0 !important;
}
.service-row-action-menu form .dropdown-item {
  width: 100%;
}
.service-list-page .service-pos-filter {
  border-radius: 1rem;
}
.service-market-list .service-compact-ledger-table {
  min-width: 980px;
}
.service-compact-ledger-table th:first-child,
.service-compact-ledger-table td:first-child {
  min-width: 230px;
}
.service-compact-ledger-table th:nth-child(2),
.service-compact-ledger-table td:nth-child(2) {
  min-width: 230px;
}
.service-list-party-cell,
.service-list-product-cell {
  line-height: 1.25;
}
.service-list-party-name {
  margin-top: 0.42rem;
  font-size: 0.94rem;
}
.service-list-product-name {
  margin-bottom: 0.45rem;
}
.service-list-product-name .badge {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}
.service-list-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.16rem 0;
  color: #667085;
  font-size: 0.82rem;
}
.service-list-pair strong {
  color: #0f172a;
  font-size: 0.88rem;
  white-space: nowrap;
}
.service-list-pair-total {
  margin-top: 0.12rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--service-border);
}
.service-list-pair-total strong {
  color: var(--service-primary);
  font-size: 0.96rem;
}
.service-visible-action-cell {
  min-width: 300px;
  vertical-align: middle;
}
.service-visible-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 0.35rem;
  justify-content: end;
}
.service-action-chip,
.service-visible-actions .service-action-chip {
  min-height: 34px;
  padding: 0.36rem 0.42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.service-action-chip i {
  font-size: 0.9rem;
  line-height: 1;
}
.service-action-chip-form {
  display: block;
  margin: 0;
}
.service-action-chip-form .service-action-chip {
  width: 100%;
}
.service-list-table th:last-child,
.service-list-table td:last-child {
  min-width: 300px;
}
@media (max-width: 1199.98px) {
  .service-pos-summary-column {
    position: static;
  }
}
@media (max-width: 767.98px) {
  .service-summary-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .service-summary-amount {
    grid-column: 2;
  }
  .service-icon-actions {
    display: flex !important;
    gap: 0.4rem;
    flex-wrap: wrap;
  }
  .service-icon-actions form {
    display: inline-block !important;
    margin: 0 !important;
  }
  .service-icon-actions .service-action-icon {
    width: 40px;
    min-height: 40px;
  }
  .service-row-action-cell {
    text-align: left !important;
  }
  .service-row-action-dropdown,
  .service-row-action-toggle {
    width: 100%;
  }
  .service-market-list .service-compact-ledger-table {
    min-width: 0;
  }
  .service-visible-action-cell {
    min-width: 0;
  }
  .service-visible-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .service-action-chip,
  .service-visible-actions .service-action-chip {
    min-height: 40px;
    font-size: 0.82rem;
  }
}

/* 20260509 alış ekranı: yem ile ödeme ürün hesabı */
.service-feed-payment-grid {
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: 1rem;
  align-items: start;
}
.service-feed-payment-card,
.service-payment-cash-card {
  border: 1px solid var(--service-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  padding: 0.85rem;
}
.service-feed-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  max-height: 186px;
  overflow: auto;
  padding-right: 0.15rem;
}
.service-feed-product-tile {
  border: 1px solid var(--service-border);
  background: #fff;
  border-radius: 14px;
  min-height: 58px;
  padding: 0.52rem 0.6rem;
  text-align: left;
  display: grid;
  gap: 0.15rem;
  transition: 0.16s ease;
}
.service-feed-product-tile span {
  font-weight: 800;
  color: #1f2937;
  line-height: 1.05;
}
.service-feed-product-tile small {
  color: var(--service-muted);
  font-size: 0.7rem;
  line-height: 1.1;
}
.service-feed-product-tile.active,
.service-feed-product-tile:hover {
  border-color: var(--service-primary);
  background: var(--service-primary-soft);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}
.service-feed-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.55rem;
}
.service-feed-calc-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.service-feed-calc-box > div {
  border: 1px solid var(--service-border);
  border-radius: 14px;
  background: #fff;
  padding: 0.5rem 0.58rem;
  min-width: 0;
}
.service-feed-calc-box span {
  display: block;
  color: var(--service-muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-feed-calc-box strong {
  display: block;
  color: #111827;
  font-size: 0.86rem;
  line-height: 1.15;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .service-feed-payment-grid,
  .service-payment-grid.service-feed-payment-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .service-feed-product-grid {
    grid-template-columns: 1fr;
    max-height: 148px;
  }
  .service-feed-entry-row,
  .service-feed-calc-box {
    grid-template-columns: 1fr;
  }
  .service-feed-payment-card,
  .service-payment-cash-card {
    padding: 0.7rem;
    border-radius: 16px;
  }
}

/* Alış/Satış liste ekranları: özet > sade filtre > tablo hızlı seçenekleri */
.service-list-page .service-filter-compact .card-body {
  padding: 1rem;
}
.service-list-page .service-filter-compact .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475467;
}
.service-filter-actions .btn {
  min-height: 42px;
}
.service-filter-advanced {
  border: 1px dashed var(--service-border);
  border-radius: 0.9rem;
  padding: 0.7rem 0.85rem;
  background: #f8fafc;
}
.service-filter-advanced summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #344054;
  font-weight: 800;
  list-style: none;
}
.service-filter-advanced summary::-webkit-details-marker {
  display: none;
}
.service-filter-advanced summary span {
  margin-left: auto;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.service-list-toolbar {
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.service-list-toolbar-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 180px;
}
.service-list-toolbar-title .badge {
  width: max-content;
}
.service-quick-filter-form {
  flex: 1 1 650px;
}
.service-quick-filter-grid {
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) minmax(120px, 1fr) minmax(90px, 0.75fr) minmax(145px, 1.1fr) auto;
  gap: 0.55rem;
  align-items: end;
}
.service-quick-filter-grid label {
  display: grid;
  gap: 0.22rem;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-quick-filter-grid .form-select,
.service-quick-filter-grid .btn {
  min-height: 34px;
}
.service-quick-filter-grid .btn {
  white-space: nowrap;
}
@media (max-width: 1199.98px) {
  .service-quick-filter-form {
    flex-basis: 100%;
  }
}
@media (max-width: 767.98px) {
  .service-filter-actions {
    flex-direction: column;
  }
  .service-filter-advanced summary {
    align-items: flex-start;
  }
  .service-filter-advanced summary span {
    display: block;
    margin-left: 0;
  }
  .service-quick-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-quick-filter-grid .btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 430px) {
  .service-quick-filter-grid {
    grid-template-columns: 1fr;
  }
}

/* 20260509 hızlı ödeme/tahsilat aksiyonları */
.service-summary-detail-link {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-summary-detail-link:hover {
  color: var(--service-primary);
}
.service-summary-actions {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.service-summary-actions form {
  display: inline-flex;
  margin: 0;
}
.service-summary-actions .btn {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 0.65rem;
}
@media (max-width: 767.98px) {
  .service-summary-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .service-summary-actions .btn,
  .service-summary-actions form {
    flex: 1 1 auto;
  }
  .service-summary-actions form .btn {
    width: 100%;
  }
}
.service-list-table th:last-child,
.service-list-table td:last-child {
  min-width: 300px;
}

.service-due-select-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}
.service-due-select-wrap > select,
.service-due-select-wrap > .select2-container {
  flex: 1 1 auto;
  min-width: 0;
}
.service-cari-due-restore {
  flex: 0 0 38px;
  width: 38px;
  padding-left: 0;
  padding-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-cari-due-restore[hidden] {
  display: none !important;
}

/* 2026-05-09 cari yönetimi genişletme */
.service-cari-table {
  min-width: 1180px;
}
.service-cari-table td,
.service-cari-table th {
  white-space: nowrap;
}
.service-cari-table td:first-child,
.service-cari-table th:first-child {
  min-width: 220px;
}
.service-cari-table .service-sort-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
}
.service-cari-table .service-sort-link i {
  color: #94a3b8;
  font-size: .9rem;
}
.service-cari-table .service-sort-link:hover,
.service-cari-table .service-sort-link.is-active {
  color: #0d6efd;
}
.service-cari-table .service-sort-link.is-active i {
  color: currentColor;
}
.service-detail-list dt {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.service-detail-list dd {
  color: #0f172a;
  margin-bottom: .72rem;
  word-break: break-word;
}
#cariDetailTabs .nav-link {
  font-weight: 700;
  color: #475569;
}
#cariDetailTabs .nav-link.active {
  color: #0f172a;
}

/* 2026-05-09 cari detay bilgi kartı ve tablo filtreleri düzeltmesi */
.service-cari-ledger-shell {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}
.service-cari-ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem .85rem;
  border-bottom: 1px solid #edf2f7;
}
.service-cari-ledger-head h3 {
  margin: .12rem 0 .18rem;
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0;
}
.service-cari-ledger-head p {
  margin: 0;
  color: #64748b;
}
.service-cari-ledger-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}
.service-cari-ledger-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid #edf2f7;
  background: #fbfdff;
}
.service-cari-ledger-tabs .nav-item {
  min-width: 0;
}
.service-cari-ledger-tabs .nav-link {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  text-align: left;
  padding: .72rem .78rem;
}
.service-cari-ledger-tabs .nav-link i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.08rem;
}
.service-cari-ledger-tabs .nav-link strong,
.service-cari-ledger-tabs .nav-link small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-cari-ledger-tabs .nav-link strong {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 850;
}
.service-cari-ledger-tabs .nav-link small {
  color: #64748b;
  font-size: .76rem;
  margin-top: .12rem;
}
.service-cari-ledger-tabs .nav-link.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.service-cari-ledger-tabs .nav-link.active i {
  background: #2563eb;
  color: #ffffff;
}
.service-cari-ledger-content {
  background: #ffffff;
}
.service-cari-info-card .card-body {
  min-width: 0;
}
.service-cari-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: .75rem;
}
.service-cari-info-item {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: .9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: .75rem .85rem;
}
.service-cari-info-item span,
.service-cari-info-note span {
  display: block;
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .32rem;
}
.service-cari-info-item strong {
  display: block;
  color: #0f172a;
  font-size: .94rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.service-cari-info-item a {
  color: inherit;
  text-decoration: none;
}
.service-cari-info-item a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.service-cari-info-note {
  border: 1px dashed #cbd5e1;
  border-radius: .9rem;
  background: #f8fafc;
  padding: .85rem .95rem;
}
.service-cari-info-note p {
  margin: 0;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.service-cari-table-filter {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 1rem;
}
.service-cari-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.service-cari-filter-head strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
}
.service-cari-filter-head small {
  display: block;
  color: #64748b;
  font-size: .78rem;
  margin-top: .1rem;
}
.service-cari-table-filter .form-label {
  color: #64748b;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.service-cari-movement-table th {
  color: #475569;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #ffffff;
}
.service-cari-movement-table td {
  vertical-align: middle;
}
.service-cari-ledger-table {
  min-width: 920px;
}
.service-cari-ledger-table td {
  min-width: 0;
}
.service-cari-ledger-main {
  display: block;
  color: #0f172a;
  font-size: .94rem;
  line-height: 1.25;
}
.service-cari-ledger-note {
  max-width: 380px;
  color: #64748b;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.service-cari-ledger-table .service-action-cell {
  white-space: nowrap;
}
[data-cari-filter-row][hidden] {
  display: none !important;
}
[data-cari-filter-empty][hidden] {
  display: none !important;
}
@media (max-width: 767.98px) {
  .service-cari-ledger-head {
    align-items: stretch;
    flex-direction: column;
  }
  .service-cari-ledger-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .service-cari-ledger-tabs {
    display: flex;
    overflow-x: auto;
    padding: .75rem;
    scroll-snap-type: x proximity;
  }
  .service-cari-ledger-tabs .nav-item {
    flex: 0 0 245px;
    scroll-snap-align: start;
  }
  .service-cari-filter-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-cari-filter-head .btn {
    width: 100%;
  }
  .service-cari-ledger-table.service-mobile-card-table {
    min-width: 0;
  }
  .service-cari-ledger-note {
    max-width: none;
  }
  .service-cari-ledger-table .service-action-cell {
    white-space: normal;
  }
}

/* 2026-05-09 cari makbuz listesi */
.service-receipt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  padding: .9rem 1rem;
}
.service-receipt-toolbar strong,
.service-receipt-toolbar span {
  display: block;
}
.service-receipt-toolbar span {
  color: #64748b;
  font-size: .86rem;
  margin-top: .15rem;
}
.service-receipt-list {
  display: grid;
  gap: 1rem;
}
.service-receipt-date-group {
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  background: #f8fafc;
  overflow: hidden;
}
.service-receipt-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}
.service-receipt-date-head span {
  color: #64748b;
  font-size: .84rem;
  font-weight: 700;
}
.service-receipt-stack {
  display: grid;
  gap: .75rem;
  padding: .85rem;
}
.service-receipt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  gap: 1rem;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-left-width: 5px;
  border-radius: 1rem;
  background: #ffffff;
  padding: .9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.service-receipt-card-satis { border-left-color: #0d6efd; }
.service-receipt-card-alim { border-left-color: #f59e0b; }
.service-receipt-card-finans { border-left-color: #198754; }
.service-receipt-main {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: .95rem;
  min-width: 0;
}
.service-receipt-badge-wrap {
  border: 1px dashed #cbd5e1;
  border-radius: .9rem;
  background: #f8fafc;
  padding: .75rem;
  align-self: start;
}
.service-receipt-type {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: .75rem;
  font-weight: 800;
  padding: .18rem .55rem;
  margin-bottom: .45rem;
}
.service-receipt-badge-wrap strong {
  display: block;
  color: #0f172a;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.service-receipt-content {
  min-width: 0;
}
.service-receipt-content h3 {
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0 0 .35rem;
}
.service-receipt-content p {
  color: #475569;
  font-size: .9rem;
  margin: .5rem 0 0;
  overflow-wrap: anywhere;
}
.service-receipt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: #64748b;
  font-size: .82rem;
}
.service-receipt-side {
  display: grid;
  gap: .55rem;
  align-content: start;
  border-left: 1px solid #e2e8f0;
  padding-left: 1rem;
}
.service-receipt-amount span,
.service-receipt-mini span {
  display: block;
  color: #64748b;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.service-receipt-amount strong {
  display: block;
  color: #0f172a;
  font-size: 1.15rem;
}
.service-receipt-mini strong {
  display: block;
  font-size: .93rem;
}
.service-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .1rem;
}
@media (max-width: 991.98px) {
  .service-receipt-card {
    grid-template-columns: 1fr;
  }
  .service-receipt-side {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: .75rem;
  }
}
@media (max-width: 575.98px) {
  .service-receipt-toolbar,
  .service-receipt-date-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-receipt-main {
    grid-template-columns: 1fr;
  }
  .service-receipt-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .service-receipt-actions .btn {
    flex: 1 1 auto;
  }
}

/* Kullanıcı yönetimi düzenlemeleri */
.service-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  background: linear-gradient(135deg, var(--service-primary-soft), #fff);
  color: var(--service-primary-dark);
  border: 1px solid var(--service-border);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.service-role-accordion .accordion-button {
  gap: 0.4rem;
  box-shadow: none;
}
.service-role-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #111827;
}
.service-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.service-permission-check {
  border: 1px solid var(--service-border);
  border-radius: 0.85rem;
  padding: 0.7rem 0.75rem 0.7rem 2.25rem;
  background: #fff;
  margin: 0;
  min-height: 62px;
}
.service-permission-check strong,
.service-permission-check small {
  display: block;
}
.service-permission-check strong {
  font-size: 0.9rem;
  color: #111827;
}
.service-permission-check small {
  color: var(--service-muted);
  word-break: break-word;
}
@media (max-width: 768px) {
  .service-permission-grid {
    grid-template-columns: 1fr;
  }
}

/* Kullanıcı sayfası revize tasarım */
.service-user-editor-card {
  overflow: hidden;
}
.service-user-editor-card .card-header {
  border-bottom: 1px solid var(--service-border);
}
.service-editing-user-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--service-border);
  border-radius: 999px;
  background: #f8fafc;
  padding: .45rem .8rem .45rem .45rem;
  min-width: 0;
}
.service-editing-user-pill strong,
.service-editing-user-pill small {
  display: block;
  line-height: 1.15;
}
.service-editing-user-pill small {
  color: var(--service-muted);
  word-break: break-word;
}
.service-user-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  flex-basis: 34px;
  font-size: .9rem;
}
.service-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .65rem;
  border-top: 1px solid var(--service-border);
  margin-top: 1.25rem;
  padding-top: 1rem;
}
.service-selected-row {
  --bs-table-bg: #eff6ff;
}
.service-role-create-card {
  position: relative;
  z-index: 1;
}
@media (max-width: 576px) {
  .service-editing-user-pill {
    width: 100%;
    border-radius: 1rem;
  }
  .service-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .service-form-actions .btn {
    width: 100%;
  }
}

/* 2026-05-09 dashboard visual refresh */
.service-dashboard {
  display: block;
}
.service-dashboard-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  border-radius: 1.35rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.30), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(34, 197, 94, 0.22), transparent 30%),
    linear-gradient(135deg, #1e3a8a 0%, #2563eb 58%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.22);
}
.service-dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.service-hero-content,
.service-hero-summary {
  position: relative;
  z-index: 1;
}
.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-dashboard-hero h2 {
  margin: 0.8rem 0 0.35rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}
.service-dashboard-hero p {
  max-width: 650px;
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1rem;
}
.service-hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.service-hero-actions .btn {
  border-radius: 999px;
  font-weight: 750;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}
.service-hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}
.service-hero-summary {
  display: grid;
  gap: 0.75rem;
  align-content: stretch;
}
.service-hero-summary-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}
.service-hero-summary-item span,
.service-hero-summary-item small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}
.service-hero-summary-item strong {
  display: block;
  margin: 0.15rem 0;
  font-size: 1.28rem;
  line-height: 1.1;
}
.service-dashboard-metric,
.service-dashboard-card {
  border: 1px solid rgba(230, 234, 242, 0.92);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}
.service-dashboard-metric {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-dashboard-metric::after {
  content: "";
  position: absolute;
  top: -52px;
  right: -52px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.12;
  background: currentColor;
}
.service-metric-primary { color: #2563eb; }
.service-metric-success { color: #16a34a; }
.service-metric-warning { color: #d97706; }
.service-metric-danger { color: #dc2626; }
.service-metric-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: color-mix(in srgb, currentColor 13%, #fff);
  color: currentColor;
  font-size: 1.18rem;
}
.service-dashboard-metric strong {
  position: relative;
  z-index: 1;
  color: #111827;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.service-dashboard-metric small {
  color: var(--service-muted);
  font-weight: 650;
}
.service-progress-track,
.service-mini-progress {
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}
.service-progress-track {
  height: 8px;
  margin: 0.35rem 0;
}
.service-progress-track span,
.service-mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}
.service-dashboard-card {
  padding: 1rem;
}
.service-chart-card {
  padding-bottom: 0.6rem;
}
.service-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.service-card-heading h3 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.service-card-heading .btn {
  border-radius: 999px;
  font-weight: 750;
}
.service-dashboard-chart {
  min-height: 300px;
}
.service-chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--service-muted);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}
.service-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 0.25rem;
}
.service-legend-buy { background: #ef4444; }
.service-legend-sell { background: #16a34a; }
.service-insight-list,
.service-list-stack {
  display: grid;
  gap: 0.75rem;
}
.service-insight-item,
.service-list-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #eef2f7;
  border-radius: 0.95rem;
  background: #fbfdff;
}
.service-insight-item {
  justify-content: space-between;
  padding: 0.82rem 0.9rem;
}
.service-insight-item span,
.service-list-main small {
  display: block;
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.service-insight-item strong {
  display: block;
  margin-top: 0.08rem;
  color: #111827;
  font-size: 1rem;
}
.service-insight-item > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.85rem;
  background: var(--service-primary-soft);
  color: var(--service-primary-dark);
}
.service-list-row {
  padding: 0.72rem;
}
.service-list-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.85rem;
  font-size: 1rem;
}
.service-list-main {
  min-width: 0;
  flex: 1 1 auto;
}
.service-list-main strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-list-value {
  flex: 0 0 auto;
  font-weight: 850;
  white-space: nowrap;
}
.service-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 72px;
  border: 1px dashed #d8e0ec;
  border-radius: 0.95rem;
  color: var(--service-muted);
  font-weight: 700;
  background: #fbfdff;
}
.service-modern-table {
  --bs-table-bg: transparent;
}
.service-modern-table thead th {
  border-bottom: 1px solid #eef2f7;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-modern-table tbody td {
  border-color: #f0f4f8;
  padding-top: 0.78rem;
  padding-bottom: 0.78rem;
}
.service-modern-table tbody tr:hover {
  background: #f8fbff;
}
.service-finance-table {
  min-width: 1180px;
  table-layout: fixed;
}
.service-finance-col-date { width: 96px; }
.service-finance-col-type { width: 118px; }
.service-finance-col-customer { width: 20%; }
.service-finance-col-cashbox { width: 150px; }
.service-finance-col-note { width: 20%; }
.service-finance-col-amount { width: 132px; }
.service-finance-col-actions { width: 330px; }
.service-finance-table td {
  min-width: 0;
}
.service-finance-table td:not(.service-actions):not(.text-end) {
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-finance-note-cell span {
  display: -webkit-box;
  overflow: hidden;
  color: #475569;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.service-finance-actions {
  white-space: normal;
}
.service-finance-actions form {
  display: inline-flex !important;
  margin: 0 0 0.25rem 0.35rem;
  vertical-align: top;
}
.service-actions.service-finance-actions .btn {
  width: auto;
  min-width: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.25rem 0.52rem;
  line-height: 1.1;
  margin: 0 0 0.25rem 0.35rem;
}
.service-actions.service-finance-actions > .btn:first-child {
  margin-left: 0;
}
.service-mini-progress {
  display: inline-block;
  width: 120px;
  height: 8px;
  color: var(--service-primary);
  vertical-align: middle;
}
@media (max-width: 991.98px) {
  .service-dashboard-hero {
    grid-template-columns: 1fr;
  }
  .service-hero-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .service-dashboard-hero {
    padding: 1rem;
    border-radius: 1rem;
  }
  .service-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .service-hero-summary {
    grid-template-columns: 1fr;
  }
  .service-card-heading {
    flex-direction: column;
  }
  .service-dashboard-chart {
    min-height: 240px;
  }
  .service-list-row {
    align-items: flex-start;
  }
  .service-list-value {
    margin-left: auto;
  }
}

/* 2026-05-09 kullanıcı ve rol yetki pratik filtreleri */
.service-users-hero {
  position: relative;
  overflow: hidden;
}
.service-users-hero::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  bottom: -2.25rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, .10), transparent 68%);
  pointer-events: none;
}
.service-user-stat-card strong {
  letter-spacing: -0.03em;
}
.service-user-list-card {
  overflow: hidden;
}
.service-filter-panel {
  padding: .9rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.service-user-filter-table tbody tr[hidden],
.service-permission-group[hidden],
.service-permission-check[hidden],
.service-role-accordion [data-role-item][hidden] {
  display: none !important;
}
.service-role-tools,
.service-permission-toolbar,
.service-permission-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .5rem;
}
.service-role-search {
  min-width: min(100%, 260px);
}
.service-permission-card {
  overflow: hidden;
}
.service-role-title,
.service-role-summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}
.service-role-summary {
  padding-right: .5rem;
}
.service-permission-toolbar {
  justify-content: space-between;
  border: 1px solid var(--service-border);
  border-radius: 1rem;
  background: #f8fafc;
  padding: .7rem;
  margin-bottom: .85rem;
}
.service-permission-search {
  flex: 1 1 280px;
  min-width: min(100%, 240px);
}
.service-permission-group {
  border: 1px solid var(--service-border);
  border-radius: 1rem;
  padding: .8rem;
  margin-bottom: .8rem;
  background: #fff;
}
.service-permission-group-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .65rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--service-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.service-permission-check {
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.service-permission-check:has(.form-check-input:checked) {
  border-color: rgba(37, 99, 235, .45);
  background: #eff6ff;
}
.service-permission-check:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .28);
}
.service-permission-empty,
.service-role-empty {
  border: 1px dashed var(--service-border);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  color: var(--service-muted);
  background: #f8fafc;
}
.service-permission-actions {
  justify-content: space-between;
  border-top: 1px solid var(--service-border);
  padding-top: .9rem;
  margin-top: .9rem;
}
.service-auth-refresh-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 5000;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-width: min(92vw, 390px);
  border: 1px solid rgba(37, 99, 235, .20);
  border-radius: 1rem;
  background: #fff;
  color: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
  padding: .85rem 1rem;
  font-weight: 700;
}
.service-auth-refresh-notice i {
  color: var(--service-primary);
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .service-role-tools,
  .service-permission-toolbar,
  .service-permission-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .service-role-tools > *,
  .service-permission-toolbar > *,
  .service-permission-actions > * {
    width: 100%;
  }
  .service-role-summary {
    margin-left: 0 !important;
    margin-top: .45rem;
    width: 100%;
  }
}

/* 2026-05-10 project-wide mobile hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
svg,
canvas,
video,
iframe {
  max-width: 100%;
}
.row > [class*="col"],
.card,
.card-body,
.modal-body,
.service-workspace,
.service-dashboard-card,
.service-report-panel,
.service-panel-form {
  min-width: 0;
}
.form-control,
.form-select,
.select2-container,
.select2-selection,
.dropdown-menu,
.badge,
.alert,
.btn,
.card-title,
.modal-title,
.service-section-title,
.service-brand-title,
.service-list-main,
.service-summary-main,
.service-report-action,
.service-receipt-content,
.service-kiosk-product,
.service-kiosk-customer-btn {
  overflow-wrap: anywhere;
}
.select2-container {
  max-width: 100%;
}
.select2-dropdown {
  max-width: calc(100vw - 1rem);
}
.table td,
.table th {
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .service-dashboard-hero,
  .service-report-hero,
  .service-feed-payment-grid,
  .service-payment-grid {
    grid-template-columns: 1fr !important;
  }
  .service-card-heading,
  .card-header,
  .card-footer,
  .modal-footer,
  .service-list-toolbar,
  .service-receipt-toolbar,
  .service-page-header {
    flex-wrap: wrap;
  }
  .service-card-heading > *,
  .service-page-header > *,
  .service-list-toolbar > * {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .service-app-shell {
    min-width: 0;
  }
  .service-topbar-inner {
    min-width: 0;
  }
  .service-brand {
    width: 100%;
    min-width: 0;
  }
  .service-brand > div:last-child {
    min-width: 0;
  }
  .service-brand-title {
    white-space: normal;
  }
  .service-global-search .btn {
    flex: 0 0 auto;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .service-page-header > div,
  .service-page-header form,
  .service-filter-strip,
  .service-pos-header-actions,
  .service-print-actions,
  .service-hero-actions,
  .service-report-filter,
  .service-filter-actions,
  .service-form-actions,
  .receipt-toolbar-actions {
    width: 100%;
  }
  .service-page-header .btn,
  .service-page-header a.btn,
  .service-print-actions .btn,
  .service-filter-actions .btn,
  .service-form-actions .btn {
    justify-content: center;
  }
  .service-filter-strip,
  .service-print-actions,
  .service-form-actions,
  .receipt-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .service-filter-strip > *,
  .service-print-actions > *,
  .service-form-actions > *,
  .receipt-toolbar-actions > *,
  .service-page-header form .btn,
  .service-page-header form .form-control,
  .service-page-header form .form-select {
    width: 100%;
  }
  .service-dashboard-hero,
  .service-dashboard-card,
  .service-report-hero,
  .service-report-board,
  .service-report-panel,
  .service-day-close,
  .service-panel-form,
  .service-filter-panel,
  .service-user-editor-card,
  .service-user-list-card {
    border-radius: 18px;
  }
  .service-dashboard-hero h2,
  .service-report-hero h2,
  .service-section-title {
    letter-spacing: 0;
  }
  .service-dashboard-metric strong,
  .service-metric-card strong,
  .service-day-close-item strong,
  .service-hero-summary-item strong,
  .service-report-summary-item strong {
    font-size: 1.16rem;
    letter-spacing: 0;
  }
  .service-dashboard-chart,
  .service-chart {
    min-height: 220px;
  }
  .service-chart-legend {
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }
  .service-list-row,
  .service-insight-item {
    align-items: flex-start;
  }
  .service-list-value,
  .service-summary-amount,
  .service-receipt-amount strong {
    white-space: normal;
    text-align: left;
  }
  .service-receipt-card,
  .service-receipt-main,
  .service-cari-hero-grid,
  .service-cari-info-grid,
  .service-receipt-grid {
    grid-template-columns: 1fr !important;
  }
  .modal-dialog {
    margin: 0.5rem;
  }
  .modal-content,
  .offcanvas {
    max-height: calc(100dvh - 1rem);
  }
  .modal-body,
  .offcanvas-body {
    overflow-x: hidden;
  }
  .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
  }
  .pagination .page-link {
    border-radius: 0.7rem;
  }
  .service-auth-refresh-notice {
    right: 0.75rem;
    left: 0.75rem;
    bottom: calc(5.8rem + env(safe-area-inset-bottom));
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .service-content {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .card-body,
  .card-header,
  .card-footer,
  .service-dashboard-card,
  .service-report-board,
  .service-report-panel,
  .service-filter-panel,
  .service-form-section,
  .service-panel-form {
    padding: 0.85rem;
  }
  .service-tabs .nav-link {
    min-width: 68px;
  }
  .service-topbar {
    border-radius: 0 0 18px 18px;
  }
  .service-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  .service-brand-title {
    font-size: 0.92rem;
  }
  .service-global-search .form-control {
    font-size: 0.9rem;
  }
  .service-global-search .btn {
    font-size: 0.86rem;
  }
  .service-dashboard-hero,
  .service-report-hero {
    padding: 0.85rem;
  }
  .service-hero-eyebrow,
  .service-eyebrow,
  .service-report-action span,
  .service-metric-top {
    letter-spacing: 0;
  }
  .service-report-action {
    min-height: auto;
  }
  .service-day-close-item,
  .service-dashboard-metric,
  .service-metric-card {
    min-height: auto;
  }
  .service-action-cell .btn,
  .service-mobile-action-list .btn {
    min-width: 0;
  }
  .service-mobile-action-list,
  .service-action-row,
  .service-action-cell .btn-group {
    grid-template-columns: 1fr !important;
  }
  .service-kiosk-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .service-content {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }
  .service-tabs .nav-link {
    min-width: 62px;
    font-size: 0.64rem;
  }
  .service-global-search .input-group-text {
    display: none;
  }
  .service-product-tile,
  .service-summary-row,
  .service-list-row {
    grid-template-columns: 1fr !important;
  }
  .service-product-icon,
  .service-summary-icon,
  .service-list-avatar {
    display: none;
  }
}

/* 2026-05-10 Kiosk POS tablet düzeni: sabit alt menü çakışmasını kaldırır ve küçük tabletlerde blokların üst üste binmesini engeller */
@media (min-width: 641px) and (max-width: 1180px) {
  .service-kiosk-pos {
    display: flex;
    flex-direction: column;
    gap: clamp(0.4rem, 0.8vw, 0.6rem);
  }
  .service-kiosk-pos > form {
    order: 1;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }
  .service-kiosk-toolbar {
    position: static !important;
    inset: auto !important;
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 1rem;
  }
  .service-kiosk-toolbar a,
  .service-kiosk-toolbar button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0.45rem 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .service-kiosk-shell {
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(165px, 38%) minmax(0, 1fr);
    gap: clamp(0.4rem, 0.75vw, 0.6rem);
  }
  .service-kiosk-products,
  .service-kiosk-side {
    min-width: 0;
    min-height: 0;
  }
  .service-kiosk-products {
    padding: clamp(0.5rem, 0.85vw, 0.7rem);
  }
  .service-kiosk-product-grid {
    grid-auto-rows: minmax(86px, auto);
    gap: clamp(0.36rem, 0.7vw, 0.5rem);
    scrollbar-gutter: stable;
  }
  .service-kiosk-product {
    min-height: 86px;
    padding: clamp(0.5rem, 0.8vw, 0.65rem);
    gap: 0.28rem;
  }
  .service-kiosk-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-kiosk-side {
    gap: clamp(0.38rem, 0.7vw, 0.52rem);
    overflow: hidden;
  }
  .service-kiosk-display {
    min-height: 78px;
    padding: clamp(0.58rem, 0.9vw, 0.78rem);
  }
  .service-kiosk-display-top {
    min-width: 0;
  }
  .service-kiosk-display-top > span,
  .service-kiosk-display-top > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .service-kiosk-display strong {
    font-size: clamp(1.9rem, 5.2vw, 3rem);
  }
  .service-kiosk-customer,
  .service-kiosk-entry {
    min-width: 0;
    min-height: 0;
    padding: clamp(0.48rem, 0.8vw, 0.65rem);
    overflow: hidden;
  }
  .service-kiosk-panel-title {
    margin-bottom: 0.38rem;
    font-size: clamp(0.9rem, 1.35vw, 1rem);
  }
  .service-kiosk-sale-mode {
    margin-bottom: 0.42rem;
  }
  .service-kiosk-mode-btn {
    min-height: 38px;
    border-radius: 0.78rem;
    font-size: 0.82rem;
  }
  .service-kiosk-selected-customer {
    margin-bottom: 0.38rem;
    padding: 0.45rem 0.55rem;
  }
  .service-kiosk-search {
    min-height: 36px;
    margin-bottom: 0.38rem;
  }
  .service-kiosk-customer-list {
    min-height: 0;
    overflow: auto;
  }
  .service-kiosk-customer-btn {
    min-height: 38px;
    padding: 0.42rem 0.55rem;
  }
  .service-kiosk-qty-row {
    grid-template-columns: 42px 1fr 42px;
    gap: 0.34rem;
    margin-bottom: 0.36rem;
  }
  .service-kiosk-qty-row .btn,
  .service-kiosk-qty-row .form-control {
    min-height: 40px;
    border-radius: 0.78rem;
    font-size: 1rem;
  }
  .service-kiosk-quick-qty {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.28rem;
    margin-bottom: 0.4rem;
  }
  .service-kiosk-quick-qty button {
    min-height: 30px;
    border-radius: 0.65rem;
    font-size: 0.84rem;
  }
  .service-kiosk-input-grid {
    gap: 0.35rem !important;
  }
  .service-kiosk-input-grid + .service-kiosk-input-grid {
    margin-top: 0.35rem !important;
  }
  .service-kiosk-input-grid .form-label {
    display: none;
  }
  .service-kiosk-input-grid .form-control,
  .service-kiosk-input-grid .form-select {
    min-height: 38px;
    border-radius: 0.72rem;
    font-size: 0.88rem;
  }
  .service-kiosk-actions {
    padding-bottom: 0 !important;
    gap: 0.38rem;
    position: relative;
    z-index: 1;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 48px;
    border-radius: 0.85rem;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .service-kiosk-side {
    grid-template-columns: minmax(190px, 0.78fr) minmax(230px, 1fr) minmax(245px, 1.05fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .service-kiosk-display {
    grid-column: 1;
    grid-row: 1;
    height: 100%;
  }
  .service-kiosk-customer {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .service-kiosk-entry {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }
  .service-kiosk-actions {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
  }
  .service-kiosk-reset {
    min-width: 0;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(150px, 37%) minmax(0, 1fr);
  }
  .service-kiosk-panel-head {
    grid-template-columns: minmax(105px, auto) minmax(0, 1fr);
  }
  .service-kiosk-side {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
  }
  .service-kiosk-display {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 72px;
  }
  .service-kiosk-display-top {
    display: grid;
    gap: 0.08rem;
  }
  .service-kiosk-display strong {
    font-size: clamp(1.8rem, 6vw, 2.55rem);
  }
  .service-kiosk-customer {
    grid-column: 1;
    grid-row: 2;
  }
  .service-kiosk-entry {
    grid-column: 2;
    grid-row: 2;
  }
  .service-kiosk-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .service-kiosk-reset {
    min-width: 0;
  }
  .service-kiosk-toolbar span {
    display: inline;
  }
}

@media (min-width: 641px) and (max-width: 1180px) and (max-height: 720px) {
  .service-kiosk-shell {
    grid-template-rows: minmax(130px, 34%) minmax(0, 1fr);
  }
  .service-kiosk-product-grid {
    grid-auto-rows: minmax(74px, auto);
  }
  .service-kiosk-product {
    min-height: 74px;
  }
  .service-kiosk-product-meta > span:first-child {
    display: none;
  }
  .service-kiosk-display {
    min-height: 64px;
  }
  .service-kiosk-display strong {
    font-size: clamp(1.65rem, 4.7vw, 2.45rem);
  }
  .service-kiosk-selected-customer small,
  .service-kiosk-customer-btn small {
    display: none;
  }
  .service-kiosk-submit,
  .service-kiosk-reset {
    min-height: 44px;
  }
}


/* 2026-05-10 finans detay modal makbuz tasarimi */
.finance-receipt-modal-preview {
  display: grid;
  justify-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 1rem;
  padding: .25rem;
}
.finance-receipt-sheet {
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .09);
}
.finance-receipt-cover {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #ffffff;
  padding: 1.85rem 2rem;
}
.finance-receipt-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}
.finance-receipt-logo {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .14);
  font-size: 1.65rem;
}
.finance-receipt-company {
  min-width: 0;
}
.finance-receipt-company h2 {
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 850;
  margin: 0 0 .55rem;
}
.finance-receipt-company p {
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}
.finance-receipt-title {
  flex: 0 0 auto;
  text-align: right;
}
.finance-receipt-title strong {
  display: block;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.finance-receipt-title span {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  margin-top: .25rem;
}
.finance-receipt-body {
  padding: 1.8rem 2rem 2rem;
}
.finance-receipt-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.finance-receipt-info-card {
  min-height: 9rem;
  border: 1px solid #e5eaf3;
  border-radius: 1.1rem;
  background: #f8fafc;
  padding: 1rem;
}
.finance-receipt-info-card h3 {
  color: #64748b;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}
.finance-receipt-info-main {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: .45rem;
}
.finance-receipt-info-line {
  display: flex;
  gap: .5rem;
  color: #475569;
  font-size: .84rem;
  line-height: 1.45;
  margin-top: .28rem;
}
.finance-receipt-info-line i {
  min-width: 1rem;
  color: #2563eb;
  margin-top: .12rem;
}
.finance-receipt-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.finance-receipt-meta-item {
  border: 1px solid #e5eaf3;
  border-radius: 1rem;
  background: #ffffff;
  padding: .82rem .95rem;
}
.finance-receipt-meta-item small {
  display: block;
  color: #64748b;
  font-size: .75rem;
  margin-bottom: .2rem;
}
.finance-receipt-meta-item strong {
  display: block;
  color: #0f172a;
  font-size: .94rem;
}
.finance-receipt-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #0f172a;
  font-size: .96rem;
  font-weight: 850;
  margin: 1.25rem 0 .65rem;
}
.finance-receipt-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5eaf3;
}
.finance-receipt-table {
  width: 100%;
  border: 1px solid #e5eaf3;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.finance-receipt-table th {
  color: #475569;
  background: #f1f5f9;
  border-bottom: 1px solid #e5eaf3;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem;
}
.finance-receipt-table td {
  color: #334155;
  border-bottom: 1px solid #eef2f7;
  padding: .75rem;
  vertical-align: top;
}
.finance-receipt-table tbody tr:last-child td {
  border-bottom: 0;
}
.finance-receipt-total-panel {
  max-width: 360px;
  margin: 1rem 0 0 auto;
  border: 1px solid #dbe3ef;
  border-radius: 1.05rem;
  overflow: hidden;
  background: #ffffff;
}
.finance-receipt-total-row {
  display: flex;
  justify-content: space-between;
  gap: .9rem;
  padding: .75rem 1rem;
}
.finance-receipt-total-row-grand {
  background: #0f172a;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}
.finance-receipt-note {
  color: #475569;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
  margin-top: 1rem;
  padding: .85rem;
}
.finance-receipt-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.8rem;
}
.finance-receipt-signature {
  color: #64748b;
  border-top: 1px solid #0f172a;
  padding-top: .6rem;
  text-align: center;
  font-weight: 750;
}
@media (max-width: 768px) {
  .finance-receipt-cover {
    display: block;
    padding: 1.35rem;
  }
  .finance-receipt-title {
    text-align: left;
    margin-top: 1rem;
  }
  .finance-receipt-body {
    padding: 1.25rem;
  }
  .finance-receipt-info-grid,
  .finance-receipt-meta-strip,
  .finance-receipt-signatures {
    grid-template-columns: 1fr;
  }
  .finance-receipt-total-panel {
    max-width: none;
  }
}


.service-whatsapp-phone-panel {
  position: fixed;
  inset: 0;
  z-index: 250000;
  display: flex;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, .58);
}
.service-whatsapp-phone-panel.d-none {
  display: none !important;
}
.service-whatsapp-phone-card {
  width: min(100%, 460px);
  position: relative;
  z-index: 1;
  pointer-events: auto;
  border: 0;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .35);
  padding: 1.25rem;
}
.service-whatsapp-phone-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.service-whatsapp-phone-head span {
  display: block;
  color: #16a34a;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-whatsapp-phone-head strong {
  display: block;
  color: #0f172a;
  font-size: 1.22rem;
  line-height: 1.2;
}
.service-whatsapp-phone-card p {
  color: #64748b;
  margin: 0 0 1rem;
}
.service-whatsapp-phone-card input,
.service-whatsapp-phone-card button {
  pointer-events: auto;
}
.service-whatsapp-phone-actions {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: 1rem;
}
@media (max-width: 576px) {
  .service-whatsapp-phone-card {
    border-radius: 1rem;
    padding: 1rem;
  }
  .service-whatsapp-phone-actions {
    flex-direction: column-reverse;
  }
  .service-whatsapp-phone-actions .btn {
    width: 100%;
  }
}

/* 2026-05-13 global mobile bottom navigation safe area fix */
@media (max-width: 768px) {
  :root {
    --service-mobile-nav-safe-height: 112px;
  }
  body:not(.service-kiosk-body) {
    padding-bottom: calc(var(--service-mobile-nav-safe-height) + env(safe-area-inset-bottom)) !important;
  }
  .service-content {
    padding-bottom: calc(var(--service-mobile-nav-safe-height) + env(safe-area-inset-bottom)) !important;
    min-height: calc(100dvh - var(--service-mobile-nav-safe-height));
  }
  .service-workspace > *:last-child {
    margin-bottom: calc(var(--service-mobile-nav-safe-height) / 2) !important;
  }
  .service-nav-container {
    z-index: 1030 !important;
  }
  .service-page-header,
  .service-filter-panel,
  .service-toolbar,
  .service-action-row,
  .service-action-cell,
  .service-mobile-action-list,
  .card,
  .table-responsive {
    position: relative;
    z-index: 1;
  }
  .service-whatsapp-phone-panel,
  .swal2-container,
  .select2-container--open {
    z-index: 250000 !important;
  }
}

.service-public-receipt-body {
  background: #f6f8fb;
  min-height: 100vh;
}
.service-public-receipt-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 1rem;
}
@media (max-width: 576px) {
  .service-public-receipt-shell {
    padding: .65rem;
  }
}

.service-v2-inline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  justify-content: flex-end;
}
.service-v2-inline-filter .form-control,
.service-v2-inline-filter .form-select {
  width: auto;
  min-width: 160px;
}
.service-v2-date-control {
  display: grid;
  gap: .22rem;
  margin: 0;
}
.service-v2-date-control span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
.service-cari-sort-list {
  display: grid;
  gap: .35rem;
  max-height: min(66vh, 680px);
  overflow: auto;
  padding-right: .25rem;
  scrollbar-gutter: stable;
}
.service-cari-sort-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem;
  margin-bottom: .75rem;
}
.service-cari-sort-item {
  display: grid;
  grid-template-columns: 34px 38px minmax(0, 1fr) 112px;
  align-items: center;
  gap: .5rem;
  border: 1px solid #e2e8f0;
  border-radius: .55rem;
  background: #ffffff;
  padding: .42rem .5rem;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.service-cari-sort-item.is-dragging {
  opacity: .62;
  background: #eef6ff;
}
.service-cari-sort-item.is-moved {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.service-cari-sort-handle {
  width: 30px;
  height: 30px;
  border: 1px solid #dbe3ef;
  border-radius: .45rem;
  background: #f8fafc;
  color: #64748b;
  cursor: grab;
}
.service-cari-sort-order {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 850;
  font-size: .82rem;
}
.service-cari-sort-main {
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
}
.service-cari-sort-main strong,
.service-cari-sort-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-cari-sort-main small {
  color: #64748b;
}
.service-cari-sort-jump {
  grid-column: 4;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: .28rem;
}
.service-cari-sort-jump .form-control {
  min-height: 30px;
  padding: .18rem .4rem;
  text-align: center;
}
.service-cari-sort-jump .btn {
  min-height: 30px;
  padding: .18rem .35rem;
}
.service-cari-sort-item > .badge {
  display: none;
}
.service-cari-quick-table {
  min-width: 1180px;
}
.service-cari-quick-table .form-control,
.service-cari-quick-table .form-select {
  min-width: 0;
}
.service-cari-quick-table td:first-child {
  min-width: 220px;
}
.service-cari-quick-table td:nth-child(2) {
  min-width: 150px;
}
.service-cari-quick-table td:nth-child(3),
.service-cari-quick-table td:nth-child(4),
.service-cari-quick-table td:nth-child(5) {
  width: 120px;
}
.service-cari-quick-table td:last-child {
  width: 126px;
  white-space: nowrap;
}
.service-urun-quick-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.service-urun-quick-table .form-control,
.service-urun-quick-table .form-select {
  min-width: 0;
  width: 100%;
  padding-left: .42rem;
  padding-right: .42rem;
}
.service-urun-quick-table td:first-child {
  width: 30%;
}
.service-urun-quick-table td:nth-child(2) {
  width: 11%;
}
.service-urun-quick-table td:nth-child(3) {
  width: 13%;
}
.service-urun-quick-table td:nth-child(6),
.service-urun-quick-table td:nth-child(7) {
  width: 11%;
}
.service-urun-quick-table td:nth-child(4),
.service-urun-quick-table td:nth-child(5) {
  width: 12%;
}
.service-urun-quick-table td:last-child {
  width: 11%;
  white-space: nowrap;
}
.service-urun-quick-table th,
.service-urun-quick-table td {
  padding-left: .42rem;
  padding-right: .42rem;
}
.service-urun-quick-table [data-urun-quick-status] {
  display: block;
  margin-left: 0 !important;
  margin-top: .15rem;
  white-space: normal;
  line-height: 1.1;
}
.service-v2-feed-payment {
  border: 1px solid #dbeafe;
  border-radius: .5rem;
  background: #f8fbff;
  padding: 1rem;
}
.service-v2-calculated-total {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid #dbe3ef;
  border-radius: .5rem;
  background: #ffffff;
  padding: .45rem .75rem;
  color: #0f172a;
  font-weight: 800;
}
.service-v2-milk-count {
  display: flex;
  gap: .25rem;
  align-items: baseline;
  color: #64748b;
}
.service-v2-milk-count strong {
  color: #0f172a;
  font-size: 1.35rem;
}
.service-v2-milk-heading-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  min-width: 0;
}
.service-v2-producer-search {
  position: relative;
  width: min(320px, 34vw);
  min-width: 190px;
}
.service-v2-producer-search i {
  position: absolute;
  left: .72rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}
.service-v2-producer-search .form-control {
  min-height: 38px;
  padding-left: 2.1rem;
  padding-right: 2.1rem;
  border-radius: .72rem;
  font-weight: 750;
}
.service-v2-producer-search button {
  position: absolute;
  right: .3rem;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: .55rem;
  background: #eef2ff;
  color: #334155;
}
.service-v2-producer-rail-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.service-v2-rail-nav {
  width: 42px;
  min-height: 76px;
}
.service-v2-producer-rail {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: .15rem;
}
.service-v2-producer-chip {
  flex: 0 0 220px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .2rem .55rem;
  align-items: center;
  min-height: 76px;
  border: 1px solid #e2e8f0;
  border-radius: .8rem;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  padding: .65rem .75rem;
  scroll-snap-align: center;
}
.service-v2-producer-chip span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-weight: 850;
}
.service-v2-producer-chip strong,
.service-v2-producer-chip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-v2-producer-chip small {
  color: #64748b;
}
.service-v2-producer-chip.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.service-v2-producer-chip.is-saved {
  background: #eefaf3;
  border-color: #bfe8ce;
}
.service-v2-active-producer {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.service-v2-active-main,
.service-v2-producer-stats,
.service-v2-entry-block {
  border: 1px solid #e2e8f0;
  border-radius: .85rem;
  background: #fbfdff;
  padding: 1rem;
}
.service-v2-active-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.service-v2-active-title {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  min-width: 0;
}
.service-v2-active-title > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: .8rem;
  background: #0f172a;
  color: #ffffff;
  font-weight: 900;
}
.service-v2-active-title h4 {
  margin: 0 0 .25rem;
  color: #0f172a;
  font-weight: 850;
}
.service-v2-active-title p {
  margin: 0;
  color: #64748b;
}
.service-v2-producer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.service-v2-producer-stats div {
  min-width: 0;
}
.service-v2-producer-stats span {
  display: block;
  color: #64748b;
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
.service-v2-producer-stats strong {
  display: block;
  margin-top: .2rem;
  color: #0f172a;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.service-v2-milk-entry-form {
  margin: 0;
}
.service-v2-milk-records {
  border: 1px solid #e2e8f0;
  border-radius: .85rem;
  background: #ffffff;
  margin-bottom: 1rem;
  padding: .85rem;
}
.service-v2-milk-records-head,
.service-v2-milk-record,
.service-v2-milk-record-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.service-v2-milk-records-head {
  justify-content: space-between;
  margin-bottom: .55rem;
}
.service-v2-milk-records-head span,
.service-v2-milk-record-empty,
.service-v2-milk-record span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 750;
}
.service-v2-milk-records-head strong,
.service-v2-milk-record strong {
  display: block;
  color: #0f172a;
}
.service-v2-milk-record {
  justify-content: space-between;
  border-top: 1px solid #edf2f7;
  padding: .65rem 0 0;
  margin-top: .65rem;
}
.service-v2-milk-record > div > span {
  display: none;
}
.service-v2-milk-record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .35rem;
}
.service-v2-milk-record-tags span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  padding: .18rem .48rem;
  color: #475569;
}
.service-v2-milk-record-tags i {
  color: #2563eb;
}
.service-v2-milk-record-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-v2-milk-record-actions form {
  margin: 0;
}
.service-v2-milk-record-empty {
  border-top: 1px solid #edf2f7;
  margin-top: .65rem;
  padding-top: .65rem;
}
.service-v2-entry-grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.45fr) minmax(260px, .8fr);
  gap: 1rem;
  align-items: stretch;
}
.service-v2-entry-block-head {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  color: #0f172a;
}
.service-v2-entry-block-head i {
  color: #2563eb;
}
.service-v2-selected-product {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: .8rem;
  font-weight: 800;
  padding: .25rem .6rem;
  margin-bottom: .65rem;
}
.service-v2-liter-presets {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: .35rem;
  margin-top: .72rem;
}
.service-v2-liter-presets button {
  min-height: 36px;
  border: 1px solid #bfdbfe;
  border-radius: .62rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
  touch-action: manipulation;
}
.service-v2-liter-presets button:hover,
.service-v2-liter-presets button:focus {
  background: #dbeafe;
  border-color: #93c5fd;
}
.service-v2-entry-block .form-label,
.service-v2-milk-net label {
  display: block;
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: .25rem;
}
.service-v2-payment-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  gap: .75rem;
}
.service-v2-payment-section {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: .65rem;
  background: #ffffff;
  padding: .75rem;
}
.service-v2-payment-section.is-cash {
  background: #f8fbff;
}
.service-v2-payment-section-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #0f172a;
  font-size: .82rem;
  font-weight: 850;
  margin-bottom: .55rem;
}
.service-v2-payment-section-title i {
  color: #2563eb;
}
.service-v2-payment-section input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
}
.service-v2-payment-note {
  margin-top: .75rem;
}
.service-v2-milk-net-box {
  min-height: 132px;
  display: grid;
  align-content: stretch;
  gap: .18rem;
  border: 1px solid rgba(14, 165, 233, .36);
  border-radius: .85rem;
  background: linear-gradient(145deg, #082f49 0%, #0f172a 58%, #111827 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 30px rgba(15, 23, 42, .16);
  padding: .78rem .85rem;
  white-space: nowrap;
}
.service-v2-milk-net-box.is-positive {
  border-color: rgba(45, 212, 191, .52);
  background: linear-gradient(145deg, #064e3b 0%, #0f172a 58%, #111827 100%);
}
.service-v2-milk-net-box.is-negative {
  border-color: rgba(248, 113, 113, .62);
  background: linear-gradient(145deg, #7f1d1d 0%, #111827 58%, #0f172a 100%);
}
.service-v2-milk-net-box.is-zero {
  border-color: rgba(148, 163, 184, .48);
}
.service-v2-milk-net-box span,
.service-v2-milk-net-box strong {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  color: #dbeafe;
  font-size: .82rem;
  line-height: 1.2;
}
.service-v2-milk-net-box b {
  color: #ffffff;
  font-weight: 850;
}
.service-v2-milk-net-box strong {
  align-self: end;
  margin-top: .38rem;
  padding-top: .62rem;
  border-top: 1px solid rgba(191, 219, 254, .24);
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 950;
  letter-spacing: 0;
}
.service-v2-milk-net-box strong::before {
  content: "Net kalan";
  color: #bfdbfe;
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
  align-self: center;
}
.service-v2-slider-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
}
@media (max-width: 1200px) {
  .service-v2-active-producer,
  .service-v2-entry-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .service-v2-milk-heading-tools {
    width: 100%;
    justify-content: stretch;
    flex-wrap: wrap;
  }
  .service-v2-producer-search {
    flex: 1 1 260px;
    width: auto;
  }
  .service-v2-inline-filter {
    justify-content: stretch;
  }
  .service-v2-date-control {
    width: 100%;
  }
  .service-v2-inline-filter .form-control,
  .service-v2-inline-filter .form-select,
  .service-v2-inline-filter .btn {
    width: 100%;
  }
  .service-v2-producer-rail-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-v2-rail-nav {
    display: none;
  }
  .service-v2-producer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-v2-payment-sections {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .service-v2-producer-search {
    flex-basis: 100%;
    min-width: 0;
  }
  .service-cari-sort-tools {
    grid-template-columns: 1fr;
  }
  .service-cari-sort-item {
    grid-template-columns: 30px 34px minmax(0, 1fr);
  }
  .service-cari-sort-jump {
    grid-column: 3;
    grid-row: 2;
    max-width: 128px;
  }
  .service-v2-producer-chip {
    flex-basis: 190px;
  }
  .service-v2-active-main,
  .service-v2-milk-record,
  .service-v2-milk-records-head,
  .service-v2-slider-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-v2-milk-record-actions {
    justify-content: stretch;
  }
  .service-v2-milk-record-actions .btn,
  .service-v2-milk-record-actions form {
    width: 100%;
  }
}

/* Kiosk milk collection: compact tablet fit */
body.service-kiosk-milk-body {
  height: auto;
  min-height: 100dvh;
  overflow: auto;
  background: #eef4ff;
}
html.service-kiosk-root-fullscreen body.service-kiosk-milk-body {
  height: 100%;
  overflow: auto;
}
.service-kiosk-milk-pos {
  position: static;
  width: 100%;
  min-height: 0;
  padding: 0;
}
body.service-kiosk-milk-body .service-kiosk-toolbar {
  display: none;
}
body.service-kiosk-milk-body .service-v2-milk-collection {
  min-height: 100dvh;
  padding: clamp(0.5rem, 1vw, 0.8rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.42rem, 0.8vw, 0.65rem);
}
body.service-kiosk-milk-body .service-v2-page-head {
  margin-bottom: 0 !important;
  padding: clamp(0.55rem, 0.9vw, 0.75rem);
  align-items: center;
  gap: 0.65rem;
}
body.service-kiosk-milk-body .service-v2-page-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}
body.service-kiosk-milk-body .service-eyebrow {
  font-size: 0.72rem;
}
body.service-kiosk-milk-body .service-v2-inline-filter {
  gap: 0.4rem;
}
body.service-kiosk-milk-body .service-v2-inline-filter .form-control,
body.service-kiosk-milk-body .service-v2-inline-filter .form-select,
body.service-kiosk-milk-body .service-v2-inline-filter .btn {
  min-height: 38px;
  padding-top: 0.34rem;
  padding-bottom: 0.34rem;
}
body.service-kiosk-milk-body .service-v2-milk-slider {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: clamp(0.55rem, 0.9vw, 0.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 0.8vw, 0.6rem);
}
body.service-kiosk-milk-body .service-card-heading {
  margin: 0;
  gap: 0.55rem;
}
body.service-kiosk-milk-body .service-card-heading h3 {
  margin: 0;
  font-size: 1.05rem;
}
body.service-kiosk-milk-body .service-v2-producer-rail-wrap {
  order: 2;
  margin: 0;
  gap: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-rail-nav {
  min-height: 52px;
  width: 36px;
  padding: 0;
}
body.service-kiosk-milk-body .service-v2-producer-rail {
  gap: 0.42rem;
}
body.service-kiosk-milk-body .service-v2-producer-chip {
  flex-basis: 168px;
  min-height: 54px;
  padding: 0.46rem 0.55rem;
  grid-template-columns: 28px minmax(0, 1fr);
  border-radius: 0.65rem;
}
body.service-kiosk-milk-body .service-v2-producer-chip span {
  width: 26px;
  height: 26px;
  font-size: 0.78rem;
}
body.service-kiosk-milk-body .service-v2-producer-chip strong {
  font-size: 0.86rem;
}
body.service-kiosk-milk-body .service-v2-producer-chip small {
  font-size: 0.7rem;
}
body.service-kiosk-milk-body .service-v2-active-producer {
  order: 3;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 0.55rem;
  margin: 0;
}
body.service-kiosk-milk-body .service-v2-active-main,
body.service-kiosk-milk-body .service-v2-producer-stats,
body.service-kiosk-milk-body .service-v2-entry-block {
  padding: 0.58rem;
  border-radius: 0.65rem;
}
body.service-kiosk-milk-body .service-v2-active-title > span {
  width: 38px;
  height: 38px;
  border-radius: 0.62rem;
}
body.service-kiosk-milk-body .service-v2-active-title h4 {
  font-size: 1rem;
  margin-bottom: 0.12rem;
}
body.service-kiosk-milk-body .service-v2-active-title p {
  font-size: 0.78rem;
}
body.service-kiosk-milk-body .service-v2-producer-stats {
  gap: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-producer-stats strong {
  font-size: 0.9rem;
}
body.service-kiosk-milk-body .service-v2-milk-entry-form {
  order: 4;
}
body.service-kiosk-milk-body .service-v2-entry-grid {
  grid-template-columns: minmax(200px, 0.85fr) minmax(300px, 1.45fr) minmax(220px, 0.8fr);
  gap: 0.55rem;
}
body.service-kiosk-milk-body .service-v2-entry-block-head {
  margin-bottom: 0.42rem;
}
body.service-kiosk-milk-body .service-v2-selected-product {
  margin-bottom: 0.42rem;
  max-width: 100%;
}
body.service-kiosk-milk-body .service-v2-liter-presets {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
  margin-top: 0.5rem;
}
body.service-kiosk-milk-body .service-v2-liter-presets button {
  min-height: 32px;
  border-radius: 0.55rem;
  font-size: 0.82rem;
}
body.service-kiosk-milk-body .service-v2-entry-block .form-control-lg,
body.service-kiosk-milk-body .service-v2-entry-block .form-select-lg {
  min-height: 40px;
  padding-top: 0.34rem;
  padding-bottom: 0.34rem;
  font-size: 0.95rem;
}
body.service-kiosk-milk-body .service-v2-payment-sections {
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.75fr);
  gap: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-payment-section {
  padding: 0.5rem;
}
body.service-kiosk-milk-body .service-v2-payment-section-title {
  margin-bottom: 0.35rem;
}
body.service-kiosk-milk-body .service-v2-payment-note {
  margin-top: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-milk-net-box {
  min-height: 160px;
  padding: 0.72rem 0.78rem;
}
body.service-kiosk-milk-body .service-v2-milk-net-box span {
  font-size: 0.8rem;
}
body.service-kiosk-milk-body .service-v2-milk-net-box strong {
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}
body.service-kiosk-milk-body .service-v2-slider-actions {
  margin-top: 0.55rem;
  gap: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-slider-actions .btn {
  min-height: 40px;
  padding: 0.42rem 0.7rem;
}
body.service-kiosk-milk-body .service-v2-milk-records {
  order: 5;
  margin: 0;
  padding: 0.55rem;
  max-height: min(18dvh, 130px);
  overflow: auto;
}
body.service-kiosk-milk-body .service-v2-milk-records-head {
  margin-bottom: 0.3rem;
}
body.service-kiosk-milk-body .service-v2-milk-record {
  padding-top: 0.45rem;
  margin-top: 0.45rem;
}
body.service-kiosk-milk-body .service-v2-milk-record-tags {
  gap: 0.25rem;
  margin-top: 0.25rem;
}
body.service-kiosk-milk-body .service-v2-milk-record-tags span {
  padding: 0.12rem 0.38rem;
}
@media (max-width: 820px) {
  body.service-kiosk-milk-body .service-kiosk-toolbar {
    left: auto;
    right: 0.45rem;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    padding: 0.24rem;
    border-radius: 999px;
  }
  body.service-kiosk-milk-body .service-kiosk-toolbar a,
  body.service-kiosk-milk-body .service-kiosk-toolbar button {
    flex: 0 0 auto;
    width: 34px;
    min-height: 34px;
    padding: 0;
  }
  body.service-kiosk-milk-body .service-kiosk-toolbar span {
    display: none;
  }
  body.service-kiosk-milk-body .service-v2-milk-collection {
    padding-top: clamp(0.5rem, 1vw, 0.8rem);
  }
  body.service-kiosk-milk-body .service-v2-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body.service-kiosk-milk-body .service-v2-inline-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body.service-kiosk-milk-body .service-v2-inline-filter .form-control,
  body.service-kiosk-milk-body .service-v2-inline-filter .form-select,
  body.service-kiosk-milk-body .service-v2-inline-filter .btn {
    width: 100%;
    min-width: 0;
  }
  body.service-kiosk-milk-body .service-v2-date-control {
    width: 100%;
  }
  body.service-kiosk-milk-body .service-v2-producer-rail-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  body.service-kiosk-milk-body .service-v2-rail-nav {
    display: none;
  }
  body.service-kiosk-milk-body .service-v2-active-producer {
    grid-template-columns: 1fr;
  }
  body.service-kiosk-milk-body .service-v2-entry-grid {
    grid-template-columns: 1fr;
  }
  body.service-kiosk-milk-body .service-v2-payment-sections {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 700px) and (max-width: 820px) {
  body.service-kiosk-milk-body .service-v2-active-producer {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  }
  body.service-kiosk-milk-body .service-v2-entry-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body.service-kiosk-milk-body .service-v2-entry-block-note {
    grid-column: 1 / -1;
  }
  body.service-kiosk-milk-body .service-v2-payment-sections {
    grid-template-columns: 1fr;
  }
  body.service-kiosk-milk-body .service-v2-liter-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.service-kiosk-milk-body .service-v2-milk-records {
    max-height: 96px;
  }
}
@media (max-width: 640px) {
  body.service-kiosk-milk-body {
    position: static;
    height: auto;
    overflow: auto;
  }
  body.service-kiosk-milk-body .service-v2-milk-collection {
    min-height: 100dvh;
    padding: 0.45rem 0.45rem 0.55rem;
  }
  body.service-kiosk-milk-body .service-v2-page-head {
    padding: 0.5rem;
  }
  body.service-kiosk-milk-body .service-v2-page-head h2 {
    font-size: 1.05rem;
  }
  body.service-kiosk-milk-body .service-v2-milk-slider {
    padding: 0.5rem;
  }
  body.service-kiosk-milk-body .service-v2-producer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.service-kiosk-milk-body .service-v2-slider-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  body.service-kiosk-milk-body .service-v2-slider-actions [data-submit-record] {
    grid-column: 1 / -1;
    order: -1;
  }
  body.service-kiosk-milk-body .service-v2-milk-records {
    max-height: 180px;
  }
}

/* Kiosk milk collection: no page scroll, date inside collection header */
body.service-kiosk-milk-body {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}
html.service-kiosk-root-fullscreen body.service-kiosk-milk-body {
  height: 100%;
  overflow: hidden;
}
body.service-kiosk-milk-body .service-v2-milk-collection {
  height: 100dvh;
  min-height: 0;
  padding: clamp(0.38rem, 0.8vw, 0.65rem);
  gap: clamp(0.34rem, 0.7vw, 0.52rem);
  overflow: hidden;
}
body.service-kiosk-milk-body .service-v2-milk-slider {
  height: 100%;
  overflow: hidden;
  gap: clamp(0.35rem, 0.7vw, 0.5rem);
}
body.service-kiosk-milk-body .service-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
body.service-kiosk-milk-body .service-v2-milk-heading-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
}
body.service-kiosk-milk-body .service-v2-producer-search {
  width: min(260px, 28vw);
  min-width: 180px;
}
body.service-kiosk-milk-body .service-v2-producer-search .form-control {
  min-height: 34px;
  border-radius: 0.55rem;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  margin: 0;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter label {
  display: grid;
  gap: 0.12rem;
  margin: 0;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter label span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter .form-control,
body.service-kiosk-milk-body .service-v2-milk-date-filter .form-select {
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter input[type="date"] {
  width: 148px;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter .form-select {
  width: 140px;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter .btn {
  min-height: 34px;
  padding: 0.25rem 0.6rem;
  border-radius: 0.55rem;
}
body.service-kiosk-milk-body .service-v2-milk-date-filter .btn span {
  display: none;
}
body.service-kiosk-milk-body .service-v2-milk-count strong {
  font-size: 1.15rem;
}
body.service-kiosk-milk-body .service-v2-milk-records {
  flex: 0 0 auto;
  max-height: min(13dvh, 92px);
}
@media (max-width: 820px) {
  body.service-kiosk-milk-body {
    position: static;
    height: 100dvh;
    overflow: hidden;
  }
  body.service-kiosk-milk-body .service-card-heading {
    gap: 0.45rem;
  }
  body.service-kiosk-milk-body .service-v2-milk-heading-tools {
    gap: 0.38rem;
  }
  body.service-kiosk-milk-body .service-v2-milk-date-filter input[type="date"] {
    width: 136px;
  }
  body.service-kiosk-milk-body .service-v2-milk-date-filter .form-select {
    width: 112px;
  }
}
@media (max-width: 640px) {
  body.service-kiosk-milk-body .service-card-heading {
    align-items: stretch;
  }
  body.service-kiosk-milk-body .service-v2-milk-heading-tools {
    flex-wrap: wrap;
  }
  body.service-kiosk-milk-body .service-v2-milk-date-filter label span {
    display: none;
  }
  body.service-kiosk-milk-body .service-v2-milk-date-filter input[type="date"] {
    width: 132px;
  }
  body.service-kiosk-milk-body .service-v2-milk-records {
    display: none;
  }
}

/* Kiosk milk collection: multiple records may extend the page */
body.service-kiosk-milk-body {
  height: auto;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}
html.service-kiosk-root-fullscreen body.service-kiosk-milk-body {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
body.service-kiosk-milk-body .service-v2-milk-collection {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}
body.service-kiosk-milk-body .service-v2-milk-slider {
  height: auto;
  overflow: visible;
}
body.service-kiosk-milk-body .service-v2-milk-records {
  display: block;
  max-height: none;
  overflow: visible;
}
@media (max-width: 640px) {
  body.service-kiosk-milk-body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }
  body.service-kiosk-milk-body .service-v2-milk-records {
    display: block;
    max-height: none;
  }
}
