:root {
  --service-bg: #eef1f5;
  --service-surface: #ffffff;
  --service-dark: #111827;
  --service-dark-2: #1f2937;
  --service-muted: #6b7280;
  --service-border: #d9dee7;
  --service-border-soft: #edf0f5;
  --service-primary: #1f4ed8;
  --service-primary-dark: #173b9f;
  --service-success: #0f766e;
  --service-warning: #b45309;
  --service-danger: #b91c1c;
  --service-info: #0369a1;
  --service-radius: 14px;
  --service-radius-lg: 18px;
  --service-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--service-bg);
  color: var(--service-dark);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.service-page {
  min-height: 100vh;
}

.service-topbar {
  background: #111827;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
}

.service-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.service-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f4ed8;
  color: #fff;
  font-size: 1.35rem;
}

.service-brand-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-brand-subtitle {
  color: #aeb7c5;
  font-size: 0.78rem;
}

.service-global-search {
  width: min(420px, 100%);
}

.service-global-search .form-control,
.service-global-search .input-group-text {
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.service-global-search .form-control::placeholder {
  color: #aeb7c5;
}

.service-global-search .form-control:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.service-user-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 270px;
}

.service-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.service-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.service-nav-container {
  background: #fff;
  border-bottom: 1px solid var(--service-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.service-nav-inner {
  padding: 0 28px;
  overflow-x: auto;
}

.service-mini-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-mini-stat span {
  color: var(--service-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-mini-stat strong {
  font-size: 1.5rem;
  line-height: 1;
}

.portal-list {
  display: grid;
  gap: 10px;
}

.portal-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--service-border);
  border-radius: 12px;
  background: #fff;
}

.service-inline-select {
  min-width: 88px;
  max-width: 112px;
}

.service-inline-input {
  min-width: 112px;
  max-width: 150px;
}

.service-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.service-media-tile {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--service-border);
  border-radius: 8px;
  background: #fff;
  color: var(--service-text);
  text-decoration: none;
}

.service-media-tile a {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.service-media-tile i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 1.25rem;
}

.service-media-tile span {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.service-media-tile small {
  color: var(--service-muted);
}

.service-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  min-width: max-content;
}

.service-tabs .nav-link {
  border: 0;
  border-radius: 0;
  color: #4b5563;
  font-weight: 800;
  padding: 18px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  white-space: nowrap;
}

.service-tabs .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.service-tabs .nav-link:hover {
  color: var(--service-primary);
  background: #f8fafc;
}

.service-tabs .nav-link.active {
  color: var(--service-primary);
  background: #fff;
}

.service-tabs .nav-link.active::after {
  background: var(--service-primary);
}

.service-content {
  padding: 24px 28px 42px;
}

.service-workspace {
  max-width: 1880px;
  margin: 0 auto;
}

.service-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.service-page-kicker {
  color: var(--service-primary);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 6px;
}

.service-page-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.service-page-description {
  color: var(--service-muted);
  max-width: 880px;
  margin: 8px 0 0;
  font-size: 0.96rem;
}

.service-action-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.service-card {
  background: var(--service-surface);
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  box-shadow: var(--service-shadow);
}

.service-card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--service-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card-body {
  padding: 20px;
}

.service-period-lock-card .service-card-body {
  padding: 22px;
}

.service-period-lock-table th,
.service-period-lock-table td {
  padding: 0.9rem 1rem;
  vertical-align: top;
}

.service-period-lock-table code {
  display: inline-block;
  max-width: 26rem;
  padding: 0.25rem 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  white-space: normal;
  overflow-wrap: anywhere;
}

.service-correction-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 10px;
}

.service-correction-link {
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 13px 14px;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.service-correction-link i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--service-primary);
}

.service-correction-link span {
  min-width: 0;
  font-weight: 900;
  line-height: 1.15;
}

.service-correction-link small {
  color: var(--service-muted);
  font-weight: 750;
  line-height: 1.2;
}

.service-correction-link:hover,
.service-correction-link:focus,
.service-correction-link.active {
  border-color: #b9c8f6;
  background: #f8fbff;
  color: var(--service-primary);
}

.service-correction-stat {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px;
}

.service-correction-stat span,
.service-correction-stat small {
  color: var(--service-muted);
  font-weight: 800;
}

.service-correction-stat strong {
  font-size: 1.7rem;
  line-height: 1;
}

.service-correction-table th,
.service-correction-table td {
  padding: 0.9rem 1rem;
  vertical-align: top;
}

.service-source-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.25rem 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.service-cell-note {
  max-width: 34rem;
  color: #334155;
  overflow-wrap: anywhere;
}

.service-empty-state {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 16px;
  color: var(--service-muted);
  text-align: center;
}

.service-empty-state i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--service-primary);
  font-size: 1.3rem;
}

.service-empty-state strong {
  color: #172033;
  font-size: 1rem;
}

@media (max-width: 1399.98px) {
  .service-correction-nav {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-correction-nav {
    grid-template-columns: 1fr;
  }

  .service-correction-link {
    min-height: 64px;
  }

  .service-correction-table th,
  .service-correction-table td {
    padding: 0.75rem 0.85rem;
  }
}

.service-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.service-section-text {
  color: var(--service-muted);
  margin: 4px 0 0;
  font-size: 0.86rem;
}

.service-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.service-metric-card {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 18px;
  min-height: 128px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

/* Bildirim Merkezi üst özet kartları */
.service-stat-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 132px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.service-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--service-primary);
  border-radius: var(--service-radius-lg) 0 0 var(--service-radius-lg);
}

.service-stat-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(31, 78, 216, 0.08);
  pointer-events: none;
}

.service-stat-label {
  position: relative;
  z-index: 1;
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-stat-value {
  position: relative;
  z-index: 1;
  color: var(--service-dark);
  font-size: clamp(1.9rem, 2.4vw, 2.55rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.service-stat-text {
  position: relative;
  z-index: 1;
  color: var(--service-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.row > [class*="col-"]:nth-child(2) .service-stat-card::before {
  background: var(--service-success);
}
.row > [class*="col-"]:nth-child(3) .service-stat-card::before {
  background: var(--service-info);
}
.row > [class*="col-"]:nth-child(4) .service-stat-card::before {
  background: var(--service-danger);
}

@media (max-width: 767.98px) {
  .service-stat-card {
    min-height: 110px;
    padding: 16px;
  }
}

.service-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.service-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--service-dark-2);
}

.service-metric-value {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.service-metric-label {
  color: var(--service-muted);
  font-weight: 700;
  margin-top: 5px;
  font-size: 0.83rem;
}

.service-metric-change {
  color: var(--service-success);
  font-weight: 900;
  font-size: 0.78rem;
}

.service-form-label {
  font-weight: 800;
  color: #374151;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.form-control,
.form-select,
.input-group-text {
  border-color: var(--service-border);
  border-radius: 12px;
  font-size: 0.9rem;
  min-height: 42px;
}

textarea.form-control {
  min-height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 78, 216, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(31, 78, 216, 0.1);
}

.btn {
  border-radius: 12px;
  font-weight: 800;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.btn-primary {
  background: var(--service-primary);
  border-color: var(--service-primary);
}

.btn-primary:hover {
  background: var(--service-primary-dark);
  border-color: var(--service-primary-dark);
}

.btn-dark {
  background: var(--service-dark);
  border-color: var(--service-dark);
}

.service-split-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(720px, 1.7fr) minmax(
      320px,
      0.8fr
    );
  gap: 18px;
  align-items: start;
}

.service-two-column-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(760px, 1.6fr);
  gap: 18px;
  align-items: start;
}

.service-filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.service-table {
  margin: 0;
  vertical-align: middle;
}

.service-table thead th {
  color: #5b6472;
  background: #f8fafc;
  border-top: 1px solid var(--service-border-soft);
  border-bottom: 1px solid var(--service-border);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  white-space: nowrap;
  padding: 12px 14px;
}

.service-table tbody td {
  border-bottom: 1px solid var(--service-border-soft);
  color: #263244;
  padding: 13px 14px;
  white-space: nowrap;
}

.service-table tbody tr:hover {
  background: #f9fbff;
}

.service-table .service-row-active {
  background: #eef4ff;
  box-shadow: inset 3px 0 0 var(--service-primary);
}

.service-id {
  font-weight: 900;
  color: var(--service-primary);
  letter-spacing: -0.01em;
}

.service-plate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #111827;
  border-left: 8px solid var(--service-primary);
  background: #fff;
  border-radius: 8px;
  padding: 4px 9px;
  color: #111827;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.service-badge-primary {
  background: #e8efff;
  color: var(--service-primary);
}
.service-badge-success {
  background: #e7f6f3;
  color: var(--service-success);
}
.service-badge-warning {
  background: #fff4df;
  color: var(--service-warning);
}
.service-badge-danger {
  background: #feecec;
  color: var(--service-danger);
}
.service-badge-info {
  background: #e8f6fc;
  color: var(--service-info);
}
.service-badge-muted {
  background: #f3f4f6;
  color: #4b5563;
}

.service-order-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-summary-item {
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  border-radius: 12px;
  padding: 12px;
}

.service-summary-label {
  color: var(--service-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-summary-value {
  color: var(--service-dark);
  font-weight: 900;
  margin-top: 4px;
}

.service-process-list {
  display: grid;
  gap: 10px;
}

.service-process-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 12px;
  background: #fff;
}

.service-process-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 900;
  color: #fff;
  background: var(--service-primary);
}

.service-process-step-muted {
  background: #9ca3af;
}

.service-mini-list {
  display: grid;
  gap: 10px;
}

.service-mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  border-radius: 12px;
}

.service-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--service-primary);
  font-weight: 900;
  flex: 0 0 auto;
}

.service-stacked-title {
  font-weight: 900;
  color: #172033;
  line-height: 1.2;
}

.service-stacked-subtitle {
  color: var(--service-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.service-priority-high {
  border-left: 4px solid var(--service-danger);
}

.service-priority-medium {
  border-left: 4px solid var(--service-warning);
}

.service-priority-low {
  border-left: 4px solid var(--service-success);
}

.service-detail-header {
  padding: 18px 20px;
  background: #111827;
  color: #fff;
  border-radius: var(--service-radius-lg) var(--service-radius-lg) 0 0;
}

.service-detail-title {
  margin: 0;
  font-weight: 900;
  font-size: 1.12rem;
}

.service-detail-subtitle {
  color: #b8c1cf;
  font-size: 0.82rem;
  margin-top: 4px;
}

.service-progress-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.service-progress-step {
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
}

.service-progress-step.is-complete {
  background: var(--service-success);
}

.service-progress-step.is-current {
  background: var(--service-primary);
}

.service-form-section {
  border: 1px solid var(--service-border-soft);
  border-radius: 14px;
  padding: 16px;
  background: #fbfcff;
  margin-bottom: 14px;
}

.service-form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #1f2937;
}

.service-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-check-card {
  border: 1px solid var(--service-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}

.service-check-card .form-check-label {
  font-weight: 800;
  color: #374151;
  font-size: 0.83rem;
}

.service-report-card {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 18px;
  height: 100%;
}

.service-report-value {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 10px 0 4px;
}

.service-timeline {
  position: relative;
  display: grid;
  gap: 12px;
}

.service-timeline-item {
  position: relative;
  padding-left: 28px;
}

.service-timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--service-primary);
  box-shadow: 0 0 0 5px #e8efff;
}

.service-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: -16px;
  width: 2px;
  background: var(--service-border);
}

.service-empty-state {
  border: 1px dashed #c5ccd8;
  border-radius: var(--service-radius-lg);
  padding: 26px;
  text-align: center;
  background: #fbfcff;
  color: var(--service-muted);
}

.service-w-110 {
  width: 110px;
}
.service-w-130 {
  width: 130px;
}
.service-w-150 {
  width: 150px;
}
.service-w-180 {
  width: 180px;
}

@media (max-width: 1440px) {
  .service-split-layout {
    grid-template-columns: minmax(390px, 0.9fr) minmax(650px, 1.5fr);
  }

  .service-split-layout > .service-side-panel {
    grid-column: 1 / -1;
  }

  .service-metric-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .service-topbar-inner {
    flex-wrap: wrap;
  }

  .service-brand,
  .service-user-panel,
  .service-global-search {
    min-width: 0;
    width: 100%;
  }

  .service-user-panel {
    justify-content: flex-start;
  }

  .service-split-layout,
  .service-two-column-layout {
    grid-template-columns: 1fr;
  }

  .service-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-topbar-inner,
  .service-nav-inner,
  .service-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .service-page-header {
    flex-direction: column;
  }

  .service-action-group {
    width: 100%;
    justify-content: stretch;
  }

  .service-action-group .btn {
    flex: 1 1 auto;
  }

  .service-metric-grid,
  .service-filter-panel,
  .service-order-summary,
  .service-check-grid {
    grid-template-columns: 1fr;
  }
}

/* MVC uygulama yardımcıları */
.service-app-shell {
  min-height: 100vh;
}
.service-sidebar-link {
  color: #4b5563;
  text-decoration: none;
}
.service-sidebar-link:hover {
  color: var(--service-primary);
}
.service-form-required::after {
  content: " *";
  color: var(--service-danger);
}
.service-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #111827 0%, #1f4ed8 100%);
}
.service-login-card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.service-login-head {
  padding: 28px;
  color: #fff;
  background: #111827;
}
.service-login-body {
  padding: 28px;
}
.service-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.service-actions-cell {
  width: 1%;
  white-space: nowrap;
}
.service-help-text {
  color: var(--service-muted);
  font-size: 0.78rem;
  margin-top: 5px;
}
.service-alert {
  border-radius: 14px;
  font-weight: 700;
}
.service-soft-box {
  background: #fbfcff;
  border: 1px solid var(--service-border-soft);
  border-radius: 14px;
  padding: 16px;
}
.service-navbar-link {
  text-decoration: none;
}
@media print {
  .service-topbar,
  .service-nav-container,
  .service-action-group,
  .btn {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .service-card {
    box-shadow: none;
  }
}

.service-metric-grid-five {
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.service-metric-grid-three {
  grid-template-columns: repeat(3, minmax(190px, 1fr));
}

.service-metric-money {
  font-size: 1.35rem;
}

.service-invoice-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: var(--service-radius-lg);
  background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #1f4ed8 100%);
  color: #fff;
  box-shadow: var(--service-shadow);
}

.service-invoice-hero h3 {
  margin: 14px 0 6px;
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.service-invoice-hero p {
  margin: 0;
  color: #d1d5db;
}

.service-invoice-hero-total {
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 4px;
}

.service-invoice-hero-total span,
.service-invoice-hero-total small {
  color: #cbd5e1;
  font-weight: 800;
}

.service-invoice-hero-total strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.service-invoice-total-box {
  width: min(420px, 100%);
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.service-invoice-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 12px;
  background: #f8fafc;
}

.service-invoice-total-box span {
  color: var(--service-muted);
  font-weight: 800;
}

.service-invoice-total-box strong {
  color: var(--service-dark);
  font-weight: 900;
}

.service-invoice-total-box .is-grand {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.service-invoice-total-box .is-grand span,
.service-invoice-total-box .is-grand strong {
  color: #fff;
}

.service-print-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.service-print-invoice {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  box-shadow: var(--service-shadow);
  padding: 34px;
  color: #111827;
}

.service-print-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid #111827;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.service-print-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-print-head h1 {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-print-head p,
.service-print-grid p,
.service-print-note p {
  margin: 0 0 5px;
  color: #4b5563;
}

.service-print-title {
  min-width: 260px;
  text-align: right;
  display: grid;
  align-content: start;
  gap: 6px;
}

.service-print-title span {
  color: #1f4ed8;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-print-title strong {
  font-size: 1.8rem;
  font-weight: 900;
}

.service-print-title small {
  color: #6b7280;
  font-weight: 800;
}

.service-print-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}

.service-print-grid > div,
.service-print-note {
  border: 1px solid var(--service-border-soft);
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
}

.service-print-grid h3,
.service-print-note h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #374151;
}

.service-print-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.service-print-table th {
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.service-print-table th,
.service-print-table td {
  border: 1px solid #d9dee7;
  padding: 10px;
  vertical-align: top;
}

.service-print-bottom {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}

.service-print-totals {
  display: grid;
  gap: 8px;
}

.service-print-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

.service-print-totals .is-grand {
  border: 0;
  background: #111827;
  color: #fff;
  border-radius: 12px;
  padding: 12px;
}

.service-print-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 54px;
}

.service-print-signatures div {
  border-top: 1px solid #111827;
  padding-top: 10px;
  text-align: center;
  font-weight: 900;
  color: #374151;
}

@media (max-width: 1440px) {
  .service-metric-grid-five {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .service-invoice-hero,
  .service-print-head,
  .service-print-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .service-print-grid,
  .service-print-signatures {
    grid-template-columns: 1fr;
  }

  .service-print-title {
    text-align: left;
  }
}

@media print {
  body {
    background: #fff;
  }
  .service-topbar,
  .service-nav-container,
  .service-print-actions,
  .service-alert {
    display: none !important;
  }
  .service-content {
    padding: 0;
  }
  .service-workspace {
    max-width: none;
  }
  .service-print-invoice {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* Plaka merkezli araç & müşteri yönetimi */
.service-filter-panel > div:first-child {
  grid-column: span 4;
}
.service-plate-input {
  font-weight: 900;
  letter-spacing: 0.04em;
}
@media (max-width: 1199.98px) {
  .service-filter-panel > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Geliştirilmiş müşteri/araç liste filtreleri */
.service-filter-panel-advanced {
  grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(160px, 1fr)) auto;
}
.service-filter-panel-advanced > div:first-child {
  grid-column: auto;
}
.service-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}
@media (max-width: 1199.98px) {
  .service-filter-panel-advanced > div:first-child {
    grid-column: 1 / -1;
  }
  .service-filter-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 767.98px) {
  .service-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Randevu / Araç Kabul profesyonel takvim ekranı */
.service-randevu-header {
  align-items: center;
}

.service-randevu-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) minmax(360px, 1.4fr);
  gap: 14px;
  margin-bottom: 18px;
}

.service-randevu-stat-card,
.service-randevu-legend-card {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  padding: 16px;
}

.service-randevu-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-randevu-stat-card strong {
  display: block;
  color: var(--service-dark);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.service-randevu-stat-card small {
  display: block;
  margin-top: 5px;
  color: var(--service-muted);
  font-weight: 800;
}

.service-randevu-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--service-primary);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.service-randevu-stat-icon-alt {
  background: #e8f6fc;
  color: var(--service-info);
}

.service-randevu-stat-icon-warn {
  background: #fff4df;
  color: var(--service-warning);
}

.service-randevu-legend-card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-calendar-legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--service-border-soft);
  border-radius: 999px;
  color: #4b5563;
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 900;
}

.service-calendar-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--service-primary);
}

.service-calendar-legend b {
  color: #111827;
}

.service-calendar-legend-planlandi i {
  background: var(--service-info);
}
.service-calendar-legend-geldi i {
  background: var(--service-warning);
}
.service-calendar-legend-kabul-edildi i {
  background: var(--service-success);
}
.service-calendar-legend-iptal i {
  background: var(--service-danger);
}
.service-calendar-legend-gelmedi i {
  background: #6b7280;
}

.service-randevu-layout {
  display: grid;
  grid-template-columns: minmax(720px, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.service-randevu-calendar-card {
  min-width: 0;
}

.service-calendar-shell {
  min-height: 680px;
}

.service-calendar-shell .fc {
  color: var(--service-dark);
  font-family: inherit;
}

.service-calendar-shell .fc .fc-toolbar-title {
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--service-dark);
}

.service-calendar-shell .fc .fc-button {
  border: 1px solid var(--service-border);
  border-radius: 12px;
  background: #fff;
  color: #374151;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
  text-transform: capitalize;
}

.service-calendar-shell .fc .fc-button:hover,
.service-calendar-shell .fc .fc-button:focus,
.service-calendar-shell .fc .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--service-primary);
  border-color: var(--service-primary);
  color: #fff;
  box-shadow: none;
}

.service-calendar-shell .fc .fc-daygrid-day.fc-day-today,
.service-calendar-shell .fc .fc-timegrid-col.fc-day-today {
  background: #f3f7ff;
}

.service-calendar-shell .fc .fc-scrollgrid,
.service-calendar-shell .fc-theme-standard td,
.service-calendar-shell .fc-theme-standard th {
  border-color: var(--service-border-soft);
}

.service-calendar-shell .fc .fc-col-header-cell-cushion,
.service-calendar-shell .fc .fc-daygrid-day-number {
  color: #4b5563;
  font-weight: 900;
  text-decoration: none;
}

.service-calendar-shell .fc .fc-daygrid-day-frame {
  min-height: 112px;
}

.service-calendar-shell .fc .fc-event {
  border: 0;
  border-radius: 11px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.service-calendar-event-inner {
  display: grid;
  gap: 1px;
  padding: 8px 10px;
  line-height: 1.15;
}

.service-calendar-event-inner strong,
.service-calendar-event-inner span,
.service-calendar-event-inner small {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-calendar-event-inner strong {
  font-size: 0.72rem;
  opacity: 0.92;
}

.service-calendar-event-inner span {
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.service-calendar-event-inner small {
  font-size: 0.72rem;
  opacity: 0.86;
}

.service-calendar-event-planlandi {
  background: var(--service-info) !important;
}
.service-calendar-event-geldi {
  background: var(--service-warning) !important;
}
.service-calendar-event-kabul-edildi {
  background: var(--service-success) !important;
}
.service-calendar-event-iptal {
  background: var(--service-danger) !important;
  opacity: 0.78;
}
.service-calendar-event-gelmedi {
  background: #6b7280 !important;
}

.service-randevu-side-card {
  position: sticky;
  top: 94px;
}

.service-randevu-flow {
  display: grid;
  gap: 12px;
}

.service-randevu-flow > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 3px 12px;
  padding: 13px;
  border: 1px solid var(--service-border-soft);
  border-radius: 14px;
  background: #f8fafc;
}

.service-randevu-flow span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--service-dark);
  color: #fff;
  font-weight: 950;
}

.service-randevu-flow strong {
  color: var(--service-dark);
  font-weight: 950;
}

.service-randevu-flow small,
.service-randevu-hint,
.service-randevu-modal-note {
  color: var(--service-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.service-randevu-hint,
.service-randevu-modal-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-randevu-form-group {
  height: 100%;
  border: 1px solid var(--service-border-soft);
  border-radius: 16px;
  padding: 16px;
  background: #fbfcff;
}

.service-randevu-form-group h6 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  color: var(--service-dark);
  font-weight: 950;
}

.service-randevu-modal .modal-content {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
}

.service-randevu-modal .modal-header,
.service-randevu-modal .modal-footer {
  border-color: var(--service-border-soft);
  padding: 18px 22px;
}

.service-randevu-modal .modal-body {
  padding: 22px;
}

.service-randevu-table .service-row-actions {
  white-space: nowrap;
}

.service-randevu-table .btn-sm {
  min-height: 34px;
  min-width: 34px;
  padding: 5px 9px;
  border-radius: 10px;
}

@media (max-width: 1400px) {
  .service-randevu-summary-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }

  .service-randevu-legend-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .service-randevu-layout {
    grid-template-columns: 1fr;
  }

  .service-randevu-side-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .service-randevu-summary-grid {
    grid-template-columns: 1fr;
  }

  .service-calendar-shell {
    min-height: 560px;
  }

  .service-calendar-shell .fc .fc-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .service-randevu-modal-note {
    display: none;
  }
}

/* İş emri profesyonel görünüm iyileştirmeleri */
.service-hero-header {
  padding: 22px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #edf4ff 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.service-inline-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-icon-success {
  background: var(--service-success);
}
.service-icon-warning {
  background: var(--service-warning);
}
.service-icon-info {
  background: var(--service-info);
}

.service-metric-grid-compact {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.service-metric-grid-detail {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.service-filter-panel-wide {
  grid-template-columns: minmax(250px, 1.7fr) repeat(
      6,
      minmax(135px, 1fr)
    ) minmax(150px, 0.85fr);
}

.service-filter-actions {
  display: grid;
  gap: 8px;
}

.service-checkbox-card {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--service-border);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
  color: #374151;
  font-weight: 800;
  cursor: pointer;
}

.service-checkbox-card input {
  width: 16px;
  height: 16px;
}

.service-status-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.service-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--service-border);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.service-status-chip:hover,
.service-status-chip.is-active {
  color: var(--service-primary);
  border-color: rgba(31, 78, 216, 0.35);
  background: #f8fbff;
}

.service-table-spacious tbody td {
  padding-top: 16px;
  padding-bottom: 16px;
}

.service-row-danger {
  background: #fff8f7;
  box-shadow: inset 3px 0 0 var(--service-danger);
}

.service-row-actions {
  white-space: nowrap;
}

/* İş emri kayıtları: yatay kaydırma yerine kontrollü kolon ve dar ekranda kart düzeni. */
.service-work-orders-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.service-work-orders-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}

.service-work-orders-table .service-work-orders-col-order {
  width: 11%;
}

.service-work-orders-table .service-work-orders-col-vehicle {
  width: 11%;
}

.service-work-orders-table .service-work-orders-col-customer {
  width: 15%;
}

.service-work-orders-table .service-work-orders-col-assignment {
  width: 14%;
}

.service-work-orders-table .service-work-orders-col-status {
  width: 12%;
}

.service-work-orders-table .service-work-orders-col-priority {
  width: 8%;
}

.service-work-orders-table .service-work-orders-col-delivery {
  width: 10%;
}

.service-work-orders-table .service-work-orders-col-total {
  width: 8%;
}

.service-work-orders-table .service-work-orders-col-actions {
  width: 11%;
}

.service-work-orders-table thead th,
.service-work-orders-table tbody td {
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-work-orders-table .service-stacked-title,
.service-work-orders-table .service-stacked-subtitle {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.service-work-orders-table .service-badge {
  max-width: 100%;
  white-space: normal;
  line-height: 1.2;
  text-align: left;
}

.service-work-orders-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.service-work-orders-actions form {
  margin: 0;
}

@media (max-width: 991.98px) {
  .service-work-orders-table-wrap {
    overflow: visible;
    padding: 12px;
    background: #f8fafc;
  }

  .service-work-orders-table,
  .service-work-orders-table tbody {
    display: block;
    width: 100%;
  }

  .service-work-orders-table colgroup {
    display: none;
  }

  .service-work-orders-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .service-work-orders-table tbody {
    display: grid;
    gap: 12px;
  }

  .service-work-orders-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--service-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    overflow: hidden;
  }

  .service-work-orders-table tbody td {
    display: block;
    width: auto;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--service-border-soft);
    text-align: left !important;
  }

  .service-work-orders-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .service-work-orders-table tbody td:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .service-work-orders-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .service-work-orders-table-wrap {
    padding: 10px;
  }

  .service-work-orders-table tbody tr {
    grid-template-columns: 1fr;
  }

  .service-work-orders-table tbody td:nth-last-child(2) {
    border-bottom: 1px solid var(--service-border-soft);
  }
}

/* Muhasebe kuyruğu: uzun hata ve aksiyon metinleri ekranı yana itmeden okunabilir kalır. */
.service-accounting-queue-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.service-accounting-queue-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}

.service-accounting-queue-table .service-accounting-queue-col-id {
  width: 5%;
}

.service-accounting-queue-table .service-accounting-queue-col-source {
  width: 11%;
}

.service-accounting-queue-table .service-accounting-queue-col-operation {
  width: 10%;
}

.service-accounting-queue-table .service-accounting-queue-col-status {
  width: 8%;
}

.service-accounting-queue-table .service-accounting-queue-col-class {
  width: 18%;
}

.service-accounting-queue-table .service-accounting-queue-col-error {
  width: 23%;
}

.service-accounting-queue-table .service-accounting-queue-col-attempt {
  width: 6%;
}

.service-accounting-queue-table .service-accounting-queue-col-actions {
  width: 19%;
}

.service-accounting-queue-table thead th,
.service-accounting-queue-table tbody td {
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  vertical-align: top;
}

.service-accounting-queue-table .badge {
  max-width: 100%;
  white-space: normal;
  line-height: 1.2;
}

.service-accounting-queue-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.service-accounting-queue-actions form {
  min-width: 0;
  margin: 0;
}

.service-accounting-queue-actions .btn {
  width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 0.72rem;
  line-height: 1.15;
  white-space: normal;
}

@media (max-width: 991.98px) {
  .service-accounting-queue-table-wrap {
    overflow: visible;
    padding: 12px;
    background: #f8fafc;
  }

  .service-accounting-queue-table,
  .service-accounting-queue-table tbody {
    display: block;
    width: 100%;
  }

  .service-accounting-queue-table colgroup {
    display: none;
  }

  .service-accounting-queue-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .service-accounting-queue-table tbody {
    display: grid;
    gap: 12px;
  }

  .service-accounting-queue-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--service-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    overflow: hidden;
  }

  .service-accounting-queue-table tbody td {
    display: block;
    width: auto;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--service-border-soft);
    text-align: left !important;
  }

  .service-accounting-queue-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .service-accounting-queue-table tbody td:nth-child(5),
  .service-accounting-queue-table tbody td:nth-child(6),
  .service-accounting-queue-table tbody td:nth-child(8) {
    grid-column: 1 / -1;
  }

  .service-accounting-queue-table tbody td:last-child {
    border-bottom: 0;
  }

  .service-accounting-queue-table .service-accounting-queue-empty-row {
    display: block;
  }

  .service-accounting-queue-table .service-accounting-queue-empty-row td {
    display: block;
    border-bottom: 0;
  }

  .service-accounting-queue-table .service-accounting-queue-empty-row td::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .service-accounting-queue-table-wrap {
    padding: 10px;
  }

  .service-accounting-queue-table tbody tr {
    grid-template-columns: 1fr;
  }

  .service-accounting-queue-table tbody td:nth-child(5),
  .service-accounting-queue-table tbody td:nth-child(6),
  .service-accounting-queue-table tbody td:nth-child(8) {
    grid-column: auto;
  }
}

.service-detail-grid,
.service-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.service-detail-main,
.service-form-main {
  min-width: 0;
}

.service-detail-side,
.service-form-side {
  min-width: 0;
}

.service-form-stack {
  display: grid;
  gap: 18px;
}

.service-action-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  padding-top: .25rem;
}

.service-detail-list {
  display: grid;
  gap: .75rem;
}

.service-detail-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.service-detail-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-detail-list span {
  color: #64748b;
  font-size: .85rem;
}

.service-detail-list strong {
  text-align: right;
  font-weight: 700;
}

.service-sticky-card {
  position: sticky;
  top: 88px;
}

.service-stage-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.service-stage {
  min-width: 120px;
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: #9ca3af;
  font-weight: 900;
}

.service-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  top: 17px;
  height: 3px;
  background: var(--service-border);
}

.service-stage.is-complete:not(:last-child)::after {
  background: var(--service-success);
}

.service-stage-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #9ca3af;
  z-index: 1;
}

.service-stage.is-complete .service-stage-dot {
  background: var(--service-success);
  color: #fff;
}

.service-stage.is-current .service-stage-dot {
  background: var(--service-primary);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(31, 78, 216, 0.1);
}

.service-stage.is-current,
.service-stage.is-complete {
  color: #111827;
}

.service-stage.is-disabled {
  opacity: 0.55;
}

.service-stage-label {
  font-size: 0.76rem;
}

.service-order-summary-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-note-box {
  line-height: 1.65;
  color: #273449;
}

.service-timeline-title {
  font-weight: 900;
  color: #172033;
}

.service-timeline-text {
  color: #4b5563;
  margin-top: 4px;
  line-height: 1.45;
}

.service-timeline-meta,
.service-timeline-status {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 5px;
}

.service-timeline-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.service-form-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.service-form-progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.service-form-progress-step span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--service-primary);
  font-weight: 900;
}

.service-form-progress-step strong {
  display: block;
  line-height: 1.1;
}

.service-form-progress-step small {
  color: var(--service-muted);
  font-weight: 700;
}

.service-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--service-primary);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.service-section-divider::before,
.service-section-divider::after {
  content: "";
  height: 1px;
  background: var(--service-border-soft);
  flex: 1;
}

.service-plate-input {
  font-weight: 900;
  letter-spacing: 0.06em;
}

.service-large-textarea {
  min-height: 140px;
  line-height: 1.55;
}

.service-kalem-table th,
.service-kalem-table td {
  min-width: 0;
}

.service-kalem-table .service-kalem-name-cell {
  min-width: 0;
}

.service-help-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  color: #1e3a8a;
  background: #eff6ff;
  font-weight: 700;
}

.service-total-panel {
  border: 1px solid var(--service-border);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
}

.service-total-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-total-panel span,
.service-total-panel small {
  color: #cbd5e1;
  font-weight: 800;
}

.service-total-panel strong {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

@media (max-width: 1399.98px) {
  .service-filter-panel-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-stage-track {
    grid-template-columns: repeat(8, 138px);
  }
}

@media (max-width: 1199.98px) {
  .service-detail-grid,
  .service-form-grid {
    grid-template-columns: 1fr;
  }

  .service-sticky-card {
    position: static;
  }

  .service-metric-grid-compact,
  .service-metric-grid-detail,
  .service-order-summary-4,
  .service-form-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-hero-header {
    padding: 16px;
  }

  .service-filter-panel-wide,
  .service-metric-grid-compact,
  .service-metric-grid-detail,
  .service-order-summary-4,
  .service-info-grid,
  .service-form-progress {
    grid-template-columns: 1fr;
  }
}

@media print {
  .service-stage-track,
  .service-detail-grid {
    display: block;
  }

  .service-detail-side {
    margin-top: 18px;
  }
}

/* İş emirleri: hızlı kayıt, durum butonları ve temiz detay düzeni */
.service-detail-hero-clean {
  align-items: flex-start;
}

.service-stage-card {
  overflow: hidden;
}

.service-detail-grid-clean {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.service-metric-grid-four {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.service-detail-header-compact {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-info-grid-clean .service-soft-box {
  min-height: 122px;
}

.service-note-panel {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  overflow: hidden;
}

.service-note-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5edff;
}

.service-note-panel-head > i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--service-primary);
  font-size: 1.1rem;
}

.service-note-panel-body {
  padding: 18px;
  color: #273449;
  line-height: 1.65;
  font-weight: 650;
}

.service-status-note-form textarea {
  min-height: 96px;
}

.service-status-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-status-action-btn {
  width: 100%;
  border: 1px solid var(--service-border);
  border-radius: 15px;
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #243044;
  font-weight: 900;
  text-align: left;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.service-status-action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 78, 216, 0.35);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.service-status-action-btn.is-active {
  border-color: rgba(31, 78, 216, 0.45);
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(31, 78, 216, 0.1);
}

.service-status-action-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-quick-order-modal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.25);
}

.service-quick-order-modal .modal-header,
.service-quick-order-modal .modal-footer {
  background: #f8fbff;
  border-color: var(--service-border-soft);
}

.service-quick-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-quick-section {
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.service-quick-section-wide {
  grid-column: 1 / -1;
}

.service-form-required::after {
  content: " *";
  color: var(--service-danger);
  font-weight: 900;
}

@media (max-width: 1399.98px) {
  .service-detail-grid-clean {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

@media (max-width: 1199.98px) {
  .service-detail-grid-clean,
  .service-quick-order-grid {
    grid-template-columns: 1fr;
  }

  .service-metric-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .service-status-action-grid,
  .service-metric-grid-four {
    grid-template-columns: 1fr;
  }
}

/* İş emri mevcut kayıt seçimi */
.service-existing-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.95),
    rgba(255, 255, 255, 0.9)
  );
}
.service-existing-picker {
  padding: 0.9rem;
  border: 1px dashed rgba(59, 130, 246, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}
.service-existing-picker .form-select {
  font-weight: 600;
}
.service-field-hint {
  display: block;
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}
.is-optional-source {
  background-color: #f8fafc;
}

/* İş emri detay operasyon merkezi */
.service-operation-hub {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 0.9fr) minmax(
      280px,
      1fr
    );
  gap: 1rem;
  align-items: stretch;
}
.service-operation-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  padding: 1.15rem;
  min-width: 0;
}
.service-operation-panel-note {
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.service-operation-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.service-operation-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.25rem;
  flex: 0 0 auto;
}
.service-inline-note-form textarea {
  resize: vertical;
  min-height: 92px;
}
.service-empty-state-compact {
  padding: 1rem;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.service-compact-file-list,
.service-compact-timeline {
  display: grid;
  gap: 0.65rem;
}
.service-compact-file-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.service-compact-file-item > span {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #4f46e5;
  flex: 0 0 auto;
}
.service-compact-file-item strong,
.service-compact-timeline-item strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.3;
  word-break: break-word;
}
.service-compact-file-item small,
.service-compact-timeline-item small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.76rem;
}
.service-compact-timeline-item {
  position: relative;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-left: 3px solid #dbeafe;
  border-radius: 0.75rem;
  background: #f8fafc;
}
.service-compact-timeline-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.76rem;
  color: #475569;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

@media (max-width: 1199.98px) {
  .service-operation-hub {
    grid-template-columns: 1fr 1fr;
  }
  .service-operation-panel-note {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767.98px) {
  .service-existing-card-grid,
  .service-operation-hub {
    grid-template-columns: 1fr;
  }
  .service-operation-panel {
    padding: 1rem;
  }
}
.service-compact-file-list,
.service-compact-timeline {
  max-height: 315px;
  overflow: auto;
  padding-right: 0.15rem;
}

/* Payment page fixes */
.service-payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.service-payment-summary-card {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 18px;
  min-height: 126px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
}

.service-payment-summary-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--service-muted);
}

.service-payment-summary-top span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--service-dark-2);
  flex: 0 0 auto;
}

.service-payment-summary-top em {
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.service-payment-summary-card strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--service-dark);
  word-break: break-word;
}

.service-payment-summary-card small {
  display: block;
  color: var(--service-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.service-payment-summary-income .service-payment-summary-top span,
.service-payment-summary-receivable .service-payment-summary-top span {
  background: var(--service-success);
}

.service-payment-summary-expense .service-payment-summary-top span,
.service-payment-summary-payable .service-payment-summary-top span {
  background: var(--service-warning);
}

.service-edit-mode-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 78, 216, 0.18);
  background: #f5f8ff;
  border-radius: 14px;
  color: #1f3f8f;
}

.service-edit-mode-alert > i {
  font-size: 1.15rem;
  margin-top: 1px;
}

.service-edit-mode-alert strong,
.service-edit-mode-alert span {
  display: block;
}

.service-edit-mode-alert span {
  color: var(--service-muted);
  margin-top: 2px;
  font-size: 0.82rem;
}

.service-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.service-payment-table .service-row-actions {
  min-width: 132px;
}

.service-payment-table .service-row-actions .btn-sm {
  min-height: 34px;
  width: 34px;
  padding: 0;
}

.service-payment-description {
  max-width: 280px;
  white-space: normal !important;
}

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

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

  .service-payment-summary-card {
    min-height: 112px;
  }
}

/* Payment summary cards - hardened for Bootstrap/public asset deployments */
.service-payment-summary-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch;
  margin-top: 0;
}
.service-payment-summary-grid > [class*="col-"] {
  display: flex;
  min-width: 0;
}
.service-payment-summary-grid .service-payment-summary-card {
  width: 100%;
  background: #fff !important;
  border: 1px solid var(--service-border) !important;
  border-radius: var(--service-radius-lg) !important;
  padding: 18px !important;
  min-height: 126px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
}
.service-payment-summary-grid .service-payment-summary-top {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 0 !important;
  color: var(--service-muted);
}
.service-payment-summary-grid .service-payment-summary-top span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--service-dark-2);
  flex: 0 0 auto;
}
.service-payment-summary-grid .service-payment-summary-top em {
  display: inline-block;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}
.service-payment-summary-grid .service-payment-summary-card strong {
  display: block !important;
  margin-top: 0.2rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--service-dark);
  word-break: break-word;
}
.service-payment-summary-grid .service-payment-summary-card small {
  display: block !important;
  margin-top: 0.25rem;
  color: var(--service-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}
.service-payment-summary-grid
  .service-payment-summary-income
  .service-payment-summary-top
  span,
.service-payment-summary-grid
  .service-payment-summary-receivable
  .service-payment-summary-top
  span {
  background: var(--service-success);
}
.service-payment-summary-grid
  .service-payment-summary-expense
  .service-payment-summary-top
  span,
.service-payment-summary-grid
  .service-payment-summary-payable
  .service-payment-summary-top
  span {
  background: var(--service-warning);
}
@media (max-width: 575.98px) {
  .service-payment-summary-grid .service-payment-summary-card {
    min-height: 112px;
  }
}

/* B2B professional order / cart interface */
.service-b2b-order-hero {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(15, 23, 42, 0.04)
  );
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.service-b2b-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.service-b2b-summary-row > [class*="col-"] {
  display: flex;
}
.service-b2b-summary-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  display: grid;
  gap: 6px;
}
.service-b2b-summary-card span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--service-dark-2);
  color: #fff;
}
.service-b2b-summary-card small {
  color: var(--service-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}
.service-b2b-summary-card strong {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--service-dark);
}
.service-b2b-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: start;
}
.service-b2b-catalog-card,
.service-b2b-cart-card {
  overflow: hidden;
}
.service-b2b-cart-card {
  position: sticky;
  top: 18px;
}
.service-b2b-pill-light {
  background: #f8fafc;
  color: var(--service-dark);
  border: 1px solid var(--service-border);
}
.service-b2b-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
}
.service-b2b-search-box,
.service-b2b-barcode-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-b2b-search-box > i,
.service-b2b-barcode-input > i {
  position: absolute;
  left: 14px;
  color: var(--service-muted);
  z-index: 2;
}
.service-b2b-search-box .form-control,
.service-b2b-barcode-input .form-control {
  padding-left: 42px;
}
.service-b2b-search-box .btn {
  position: absolute;
  right: 7px;
  z-index: 3;
}
.service-b2b-barcode-panel {
  background: #f8fafc;
  border: 1px dashed var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 14px;
}
.service-b2b-barcode-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.service-b2b-barcode-input > i {
  top: 12px;
}
.service-b2b-barcode-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.service-b2b-scanner {
  margin-top: 12px;
  position: relative;
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
}
.service-b2b-scanner video {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.service-b2b-scanner-frame {
  position: absolute;
  inset: 25% 12%;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(2, 6, 23, 0.36);
}
.service-b2b-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.service-b2b-chip {
  border: 1px solid var(--service-border);
  background: #fff;
  color: var(--service-muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 0.82rem;
}
.service-b2b-chip.is-active {
  background: var(--service-dark);
  border-color: var(--service-dark);
  color: #fff;
}
.service-b2b-product-list {
  display: grid;
  gap: 12px;
  max-height: 740px;
  overflow: auto;
  padding-right: 4px;
}
.service-b2b-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.service-b2b-product:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.075);
}
.service-b2b-product-main {
  display: flex;
  gap: 12px;
  min-width: 0;
}
.service-b2b-product-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #eff6ff;
  color: var(--service-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.service-b2b-product h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--service-dark);
}
.service-b2b-product p {
  margin: 7px 0 0;
  color: var(--service-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.service-b2b-product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-b2b-product-codes span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #475569;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.74rem;
  font-weight: 800;
}
.service-b2b-product-side {
  display: grid;
  gap: 5px;
  justify-items: end;
  align-content: start;
}
.service-b2b-product-side > strong {
  color: var(--service-dark);
  font-size: 1.08rem;
}
.service-b2b-product-side > small {
  color: var(--service-muted);
}
.service-b2b-stock {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 900;
}
.service-b2b-stock.is-available {
  background: #e7f6f3;
  color: var(--service-success);
}
.service-b2b-stock.is-empty {
  background: #feecec;
  color: var(--service-danger);
}
.service-b2b-add-row {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 8px;
}
.service-b2b-add-row .form-control {
  width: 82px;
}
.service-b2b-cart-list {
  display: grid;
  gap: 10px;
  max-height: 390px;
  overflow: auto;
  padding-right: 4px;
}
.service-b2b-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border: 1px solid var(--service-border);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}
.service-b2b-cart-item-main {
  min-width: 0;
}
.service-b2b-cart-item-main strong {
  display: block;
  color: var(--service-dark);
  font-size: 0.95rem;
  line-height: 1.25;
}
.service-b2b-cart-item-main small {
  display: block;
  color: var(--service-muted);
  margin-top: 3px;
}
.service-b2b-cart-item-main span {
  display: block;
  margin-top: 5px;
  font-weight: 900;
  color: var(--service-dark);
}
.service-b2b-cart-item-main em {
  font-style: normal;
  color: var(--service-warning);
  font-size: 0.75rem;
  margin-left: 6px;
}
.service-b2b-cart-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.service-b2b-cart-controls .form-control {
  width: 82px;
}
.service-b2b-custom-line {
  border-top: 1px solid var(--service-border);
  padding-top: 14px;
}
.service-b2b-cart-totals {
  display: grid;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--service-border);
  border-radius: 18px;
  padding: 14px;
}
.service-b2b-cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--service-muted);
}
.service-b2b-cart-totals strong {
  color: var(--service-dark);
}
.service-b2b-grand-total {
  border-top: 1px solid var(--service-border);
  padding-top: 10px;
  font-size: 1.05rem;
}
.service-b2b-submit {
  min-height: 46px;
  font-weight: 900;
}
.service-b2b-order-history {
  display: grid;
  gap: 14px;
}
.service-b2b-order-card {
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}
.service-b2b-order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.service-b2b-order-card-top h4 {
  margin: 8px 0 0;
  color: var(--service-muted);
  font-size: 0.86rem;
  font-weight: 800;
}
.service-b2b-order-total {
  display: block;
  margin-top: 8px;
  color: var(--service-dark);
  font-size: 1.15rem;
}
.service-b2b-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
  position: relative;
}
.service-b2b-timeline-step {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--service-muted);
  position: relative;
}
.service-b2b-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 19px);
  right: calc(-50% + 19px);
  height: 3px;
  border-radius: 99px;
  background: #e5e7eb;
}
.service-b2b-timeline-step.is-active:not(:last-child)::after {
  background: var(--service-success);
}
.service-b2b-timeline-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.service-b2b-timeline-step.is-active span {
  background: var(--service-success);
  border-color: var(--service-success);
  color: #fff;
}
.service-b2b-timeline-step small {
  font-weight: 900;
  font-size: 0.76rem;
}
.service-b2b-timeline-cancelled .service-b2b-timeline-step span {
  background: #feecec;
  border-color: #fecaca;
  color: var(--service-danger);
}
.service-b2b-line-items {
  display: grid;
  gap: 8px;
}
.service-b2b-line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #eef2f7;
  background: #fbfdff;
  border-radius: 14px;
  padding: 10px;
}
.service-b2b-line-item strong {
  color: var(--service-dark);
}
.service-b2b-line-item small {
  display: block;
  color: var(--service-muted);
  margin-top: 3px;
}
.service-b2b-order-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.service-b2b-order-meta > div {
  border: 1px solid #eef2f7;
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px;
  min-width: 0;
}
.service-b2b-order-meta span {
  display: block;
  color: var(--service-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-b2b-order-meta strong {
  display: block;
  color: var(--service-dark);
  margin-top: 4px;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
@media (max-width: 1199.98px) {
  .service-b2b-order-grid {
    grid-template-columns: 1fr;
  }
  .service-b2b-cart-card {
    position: static;
  }
}
@media (max-width: 767.98px) {
  .service-b2b-order-hero {
    padding: 16px;
  }
  .service-b2b-search-shell,
  .service-b2b-product,
  .service-b2b-order-meta {
    grid-template-columns: 1fr;
  }
  .service-b2b-product-side {
    justify-items: start;
  }
  .service-b2b-line-item {
    grid-template-columns: 1fr;
  }
  .service-b2b-order-card-top {
    display: grid;
  }
  .service-b2b-order-card-top .text-end {
    text-align: left !important;
  }
  .service-b2b-timeline-step small {
    font-size: 0.66rem;
  }
}

.service-compact-timeline-note {
  margin-top: 0.45rem;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}
.service-compact-upload-form {
  display: grid;
  gap: 0.65rem;
}
.service-compact-upload-form .form-control {
  font-size: 0.86rem;
}

/* İş emri detay not/dosya yönetimi */
.service-operation-hub {
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  align-items: start;
}
.service-note-list {
  display: grid;
  gap: 0.75rem;
  max-height: 315px;
  overflow: auto;
  padding-right: 0.15rem;
}
.service-note-list-item {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 1rem;
  background: #f8fafc;
  padding: 0.8rem;
}
.service-note-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.service-note-list-head strong {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.3;
  word-break: break-word;
}
.service-note-list-head small {
  display: block;
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.76rem;
}
.service-note-list-body {
  margin-top: 0.55rem;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}
.service-note-edit summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.8rem;
  list-style: none;
}
.service-note-edit summary::-webkit-details-marker {
  display: none;
}
.service-compact-file-body {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}
.service-file-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  color: #2563eb;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.82rem;
}
.service-file-download-link:hover {
  text-decoration: underline;
}
.service-upload-process {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 0.9rem;
  background: #f8fbff;
  padding: 0.75rem;
}
.service-upload-process-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}
.service-upload-process-track {
  height: 0.55rem;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
}
.service-upload-process-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #2563eb;
  transition: width 0.18s ease;
}
.service-detail-grid-clean .service-sticky-card {
  position: static;
  top: auto;
}
@media (max-width: 1399.98px) {
  .service-operation-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .service-operation-hub {
    grid-template-columns: 1fr;
  }
}
.service-file-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.service-file-copy-link {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.service-file-copy-link:hover {
  color: #2563eb;
  text-decoration: underline;
}
.service-file-url {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-all;
  background: #f8fafc;
  border: 1px dashed rgba(100, 116, 139, 0.25);
  border-radius: 0.65rem;
  padding: 0.35rem 0.45rem;
}
.service-upload-result {
  border-radius: 0.8rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}
.service-upload-result.is-success {
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #047857;
}
.service-upload-result.is-danger {
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.service-file-url a {
  color: #475569;
  text-decoration: none;
  word-break: break-all;
}
.service-file-url a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.service-upload-result:not(.d-none) {
  display: block;
  margin: 0.55rem 0;
}
.service-detail-grid-clean .service-sticky-card {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}
#b2b-destek-listesi {
  scroll-margin-top: 96px;
}
#b2b-destek-listesi .service-table td {
  vertical-align: middle;
}
#b2b-destek-listesi .service-table td:nth-child(3) {
  max-width: 260px;
  white-space: normal;
  word-break: break-word;
}

.service-file-delete-form {
  display: inline-flex;
  margin: 0;
}
.service-file-delete-link {
  border: 0;
  background: #fff1f2;
  color: #be123c;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.service-file-delete-link:hover {
  background: #ffe4e6;
  color: #9f1239;
}
.service-file-delete-link:disabled {
  opacity: 0.7;
  cursor: progress;
}
.service-upload-process.is-processing {
  position: relative;
  overflow: hidden;
}
.service-upload-process.is-processing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(37, 99, 235, 0.08) 45%,
    transparent 70%
  );
  animation: service-upload-processing 1.1s linear infinite;
  pointer-events: none;
}
@keyframes service-upload-processing {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Tek sayfa ana sayfa */
.service-home-body {
  background: #0f172a;
  color: #0f172a;
}

.service-home-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(59, 130, 246, 0.34),
      transparent 32rem
    ),
    radial-gradient(
      circle at 85% 6%,
      rgba(20, 184, 166, 0.26),
      transparent 28rem
    ),
    linear-gradient(135deg, #111827 0%, #172554 46%, #0f172a 100%);
}

.service-home-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
  pointer-events: none;
}

.service-home-nav,
.service-home-hero,
.service-home-login-cards,
.service-home-section,
.service-home-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.service-home-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.service-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.service-home-brand:hover {
  color: #fff;
}

.service-home-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
  font-size: 1.35rem;
}

.service-home-brand strong,
.service-home-brand small {
  display: block;
  line-height: 1.25;
}

.service-home-brand strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-home-brand small {
  color: #cbd5e1;
  font-weight: 700;
}

.service-home-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.service-home-nav-link {
  color: #dbeafe;
  text-decoration: none;
  font-weight: 800;
  padding: 8px 10px;
}

.service-home-nav-link:hover {
  color: #fff;
}

.service-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 40px;
  padding: 76px 0 36px;
}

.service-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #bfdbfe;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.service-home-kicker.dark {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #dbeafe;
}

.service-home-hero h1 {
  margin: 22px 0 18px;
  max-width: 780px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.075em;
}

.service-home-hero p {
  max-width: 680px;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.72;
  margin: 0;
}

.service-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.service-home-main-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 16px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.service-home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: #dbeafe;
}

.service-home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
  font-size: 0.82rem;
}

.service-home-hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.service-home-panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 900;
  margin-bottom: 16px;
}

.service-home-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.16);
}

.service-home-dashboard-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.16);
}

.service-home-dashboard-card i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.55rem;
}

.service-home-dashboard-card strong,
.service-home-dashboard-card small {
  display: block;
}

.service-home-dashboard-card strong {
  font-size: 1.12rem;
  font-weight: 950;
}
.service-home-dashboard-card small {
  color: #64748b;
  margin-top: 2px;
  font-weight: 700;
}

.service-home-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-home-dashboard-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  padding: 14px;
}

.service-home-dashboard-grid strong,
.service-home-dashboard-grid small {
  display: block;
}

.service-home-dashboard-grid strong {
  font-weight: 950;
}
.service-home-dashboard-grid small {
  color: #64748b;
  font-weight: 800;
}

.service-home-progress-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-home-progress-list > div {
  display: grid;
  gap: 8px;
  color: #dbeafe;
  font-weight: 900;
  font-size: 0.82rem;
}

.service-home-progress-list b {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2dd4bf);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.service-home-login-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.service-home-login-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 156px;
  color: #0f172a;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-home-login-card:hover {
  color: #0f172a;
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: 0 30px 78px rgba(15, 23, 42, 0.3);
}

.service-home-login-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.75rem;
}

.service-home-login-icon.is-b2b {
  background: #ecfdf5;
  color: #0f766e;
}

.service-home-login-card small,
.service-home-login-card strong,
.service-home-login-card em {
  display: block;
}

.service-home-login-card small {
  color: #2563eb;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.service-home-login-card strong {
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.service-home-login-card em {
  margin-top: 7px;
  color: #64748b;
  font-style: normal;
  line-height: 1.55;
  font-weight: 700;
}

.service-home-login-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #fff;
}

.service-home-section {
  margin-top: 92px;
  margin-bottom: 34px;
  border-radius: 32px;
  background: #f8fafc;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.service-home-section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 26px;
}

.service-home-section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.service-home-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

.service-home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-home-feature-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.service-home-feature-card i {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
}

.service-home-feature-card strong {
  color: #0f172a;
  font-size: 1.04rem;
  font-weight: 950;
}

.service-home-feature-card span {
  color: #64748b;
  line-height: 1.6;
  font-weight: 700;
}

.service-home-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #cbd5e1;
  padding: 24px 0 34px;
  font-weight: 800;
}

.service-home-footer a {
  color: #fff;
  text-decoration: none;
}

.service-home-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .service-home-hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .service-home-hero-panel {
    max-width: 620px;
  }
  .service-home-login-cards,
  .service-home-feature-grid {
    grid-template-columns: 1fr;
  }
  .service-home-feature-card {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .service-home-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
  .service-home-nav-actions {
    justify-content: flex-start;
  }
  .service-home-nav-link {
    display: none;
  }
  .service-home-hero {
    padding-top: 28px;
  }
  .service-home-hero-actions .btn {
    width: 100%;
  }
  .service-home-login-card {
    grid-template-columns: 1fr;
  }
  .service-home-login-arrow {
    display: none;
  }
  .service-home-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* B2B gelişmiş modüller */
.service-card-soft {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
}
.service-b2b-product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: space-between;
}
.service-b2b-product-title-row h4 {
  margin: 0;
}
.service-b2b-fav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #b45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.service-b2b-fav-btn:hover,
.service-b2b-fav-btn.is-active {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
}
.service-b2b-product.is-favorite {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.12);
}
.service-b2b-order-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}
.service-b2b-order-log {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1rem;
}
.service-b2b-order-log > div {
  display: grid;
  grid-template-columns: 22px 110px minmax(80px, 120px) 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.84rem;
  color: #64748b;
}
.service-b2b-order-log i {
  color: #2563eb;
}

/* Tanıtım ve eğitim merkezi */
.training-hero {
  padding: 22px;
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: #fff;
  box-shadow: var(--service-shadow);
}

.training-hero-academy {
  background:
    linear-gradient(90deg, rgba(31, 78, 216, 0.08), rgba(15, 118, 110, 0.08)),
    #fff;
}

.training-search {
  min-width: 280px;
  max-width: 460px;
  width: 100%;
}

.training-flow-grid,
.training-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.training-flow-card,
.training-path-card,
.training-module-card,
.training-scenario,
.training-side-box,
.training-shortcut,
.training-library-card,
.training-library-when {
  border: 1px solid var(--service-border);
  border-radius: 8px;
  background: #fff;
}

.training-flow-card,
.training-path-card,
.training-module-card {
  padding: 16px;
  min-height: 100%;
}

.training-flow-card > i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ecfdf5;
  color: var(--service-success);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.training-flow-card h4,
.training-path-card h4,
.training-module-card h5,
.training-scenario h4,
.training-group-title h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0;
}

.training-flow-card p,
.training-path-card p,
.training-module-card p,
.training-group-title p,
.training-detail-main p,
.training-module-meta {
  color: var(--service-muted);
  line-height: 1.45;
}

.training-flow-card p,
.training-path-card p,
.training-module-card p {
  margin: 10px 0 14px;
}

.training-path-head,
.training-module-head,
.training-module-footer,
.training-group-title,
.training-accordion-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.training-path-head i,
.training-module-icon,
.training-group-icon,
.training-shortcut-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  font-size: 1.15rem;
}

.training-path-head span,
.training-module-meta,
.training-shortcut small,
.training-accordion-title small,
.training-detail-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--service-muted);
}

.training-path-card ol,
.training-scenario ol,
.training-detail-main ol,
.training-side-box ul,
.training-check-accordion ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.training-path-card li,
.training-scenario li,
.training-detail-main li,
.training-side-box li,
.training-check-accordion li {
  margin-bottom: 0.45rem;
}

.training-scenario-list {
  display: grid;
  gap: 12px;
}

.training-scenario {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px;
}

.training-scenario-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--service-dark);
  color: #fff;
  font-weight: 900;
}

.training-module-group + .training-module-group {
  margin-top: 24px;
}

.training-group-title {
  align-items: center;
  margin-bottom: 14px;
}

.training-group-title > div:nth-child(2) {
  flex: 1 1 auto;
}

.training-group-title p {
  margin: 4px 0 0;
}

.training-module-card {
  display: flex;
  flex-direction: column;
}

.training-module-card p {
  flex: 1 1 auto;
}

.training-module-footer {
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--service-border-soft);
  padding-top: 12px;
  margin-top: auto;
}

.training-module-footer span {
  color: var(--service-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.training-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.training-library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.training-result-count {
  color: var(--service-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.training-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.training-library-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  min-height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.training-library-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.training-library-head > div {
  min-width: 0;
}

.training-library-head h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--service-dark);
}

.training-library-head p {
  margin: 4px 0 0;
  color: var(--service-muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.training-library-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  font-size: 1.25rem;
}

.training-library-when {
  padding: 12px;
  background: #f8fafc;
}

.training-library-when h5,
.training-library-steps h5 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 900;
}

.training-library-when p {
  margin: 0;
  color: var(--service-muted);
  line-height: 1.45;
}

.training-library-steps ol,
.training-library-bottom ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.training-library-steps li,
.training-library-bottom li {
  margin-bottom: 0.45rem;
}

.training-library-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.training-library-link {
  align-self: flex-start;
}

.training-library-empty {
  margin-top: 16px;
}

.training-shortcut {
  min-height: 116px;
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--service-dark);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.training-shortcut:hover {
  border-color: rgba(31, 78, 216, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.training-module-accordion .accordion-item,
.training-check-accordion .accordion-item {
  border-color: var(--service-border);
}

.training-accordion-title {
  align-items: center;
  flex-wrap: wrap;
}

.training-module-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
}

.training-detail-kicker {
  color: var(--service-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.training-detail-purpose {
  font-weight: 700;
}

.training-detail-main h5,
.training-side-box h5 {
  margin: 18px 0 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

.training-detail-main h5:first-of-type,
.training-side-box h5:first-child {
  margin-top: 0;
}

.training-detail-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.training-side-box {
  padding: 14px;
  background: #f8fafc;
}

.training-side-box-warning {
  background: #fff7ed;
  border-color: rgba(180, 83, 9, 0.25);
}

@media (max-width: 1199.98px) {
  .training-flow-grid,
  .training-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .training-module-detail,
  .training-library-grid,
  .training-library-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .training-hero {
    padding: 16px;
  }
  .training-search {
    min-width: 0;
  }
  .training-flow-grid,
  .training-path-grid {
    grid-template-columns: 1fr;
  }
  .training-module-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .training-module-footer .btn {
    width: 100%;
  }
}
.service-b2b-order-log strong {
  color: #0f172a;
}
.service-b2b-order-log small {
  color: #64748b;
}
.service-b2b-admin-detail {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: none;
}
.service-b2b-notification-list {
  display: grid;
  gap: 0.7rem;
}
.service-b2b-notification {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.service-b2b-notification:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}
.service-b2b-notification.is-unread {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.22);
}
.service-b2b-notification > span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-b2b-notification strong,
.service-b2b-notification small,
.service-b2b-notification em {
  display: block;
}
.service-b2b-notification small {
  color: #475569;
  margin: 0.15rem 0;
}
.service-b2b-notification em {
  color: #94a3b8;
  font-style: normal;
  font-size: 0.78rem;
}
@media (max-width: 768px) {
  .service-b2b-order-log > div {
    grid-template-columns: 22px 1fr;
  }
  .service-b2b-order-log small {
    grid-column: 2;
  }
  .service-b2b-order-actions {
    justify-content: flex-start;
  }
}

/* B2B destek ve stok düzenleme iyileştirmeleri */
.service-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 1.25rem;
  align-items: start;
}
.service-support-sidebar {
  display: grid;
  gap: 1rem;
}
.service-support-thread {
  display: grid;
  gap: 1rem;
}
.service-support-message {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 100%;
}
.service-support-message.is-staff {
  flex-direction: row-reverse;
}
.service-support-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #e0edff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex: 0 0 auto;
}
.service-support-message.is-staff .service-support-avatar {
  background: #dcfce7;
  color: #15803d;
}
.service-support-bubble {
  min-width: 0;
  max-width: 78%;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.service-support-message.is-staff .service-support-bubble {
  background: #f0fdf4;
  border-color: rgba(34, 197, 94, 0.2);
}
.service-support-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}
.service-support-meta strong {
  color: #0f172a;
}
.service-support-meta span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}
.service-support-text {
  color: #334155;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
}
.service-empty-message {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 800;
}
.service-stock-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 1.25rem;
  align-items: start;
}
.service-stock-editor-card {
  min-width: 0;
}
.service-stock-movement-card {
  position: sticky;
  top: 18px;
}
.service-form-section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
}
.service-form-section-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.service-form-section-head > span {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.service-form-section-head strong {
  display: block;
  color: #0f172a;
  font-weight: 900;
}
.service-form-section-head small {
  display: block;
  color: #64748b;
  margin-top: 0.1rem;
}
.service-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding-top: 0.35rem;
}
.service-stock-availability {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
  color: #475569;
}
.service-stock-availability strong {
  color: #0f172a;
}
.service-b2b-admin-actions {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 420px;
}
.service-b2b-admin-actions form {
  margin: 0;
}
.service-b2b-detail-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.service-b2b-flow-panel .service-card-header {
  background: transparent;
}

.service-b2b-admin-detail .service-card-soft {
  border-radius: 12px;
  box-shadow: none;
}

.service-b2b-admin-detail .service-b2b-order-meta {
  gap: 8px;
}

.service-b2b-admin-detail .service-b2b-order-meta > div {
  border-radius: 10px;
  padding: 8px 10px;
}

.service-b2b-admin-detail .service-b2b-line-item {
  border-radius: 10px;
  padding: 8px 10px;
}

.service-b2b-admin-detail .service-b2b-order-log {
  margin-top: 0.6rem;
  padding-top: 0.7rem;
}
@media (max-width: 1199.98px) {
  .service-support-layout,
  .service-stock-editor-layout {
    grid-template-columns: 1fr;
  }
  .service-stock-movement-card {
    position: static;
  }
  .service-support-bubble {
    max-width: 100%;
  }
  .service-b2b-admin-actions {
    min-width: 0;
    justify-content: flex-start;
  }
}
@media (max-width: 575.98px) {
  .service-support-message,
  .service-support-message.is-staff {
    flex-direction: row;
  }
  .service-support-bubble {
    max-width: calc(100% - 52px);
  }
  .service-form-actions {
    justify-content: stretch;
  }
  .service-form-actions .btn {
    width: 100%;
  }
  .service-b2b-admin-actions .btn {
    width: 100%;
  }
}

.service-status-light {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

/* Destek listelerine hash ile gelindiğinde başlık sabit menü altında kalmasın. */
#destek-yazisma-listesi,
#yazisma-listesi,
#b2b-destek-listesi {
  scroll-margin-top: 96px;
}

/* Profesyonel B2B destek sistemi */
.service-row-highlight {
  background: #fff7ed !important;
}
.service-badge-dark {
  background: #111827;
  color: #fff;
}
.service-support-message.is-internal-note .service-support-bubble {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.35);
}
.service-support-message.is-internal-note .service-support-avatar {
  background: #fef3c7;
  color: #b45309;
}
.service-support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}
.service-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #fff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}
.service-attachment-link:hover {
  background: #eff6ff;
  color: #1e40af;
}
.service-attachment-link small {
  color: #64748b;
  font-weight: 700;
}
#yeni-destek-talebi {
  scroll-margin-top: 96px;
}

/* Admin destek yanıtı düzenleme / silme */
.service-support-message-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}
.service-support-edit-details {
  min-width: 260px;
  max-width: 100%;
}
.service-support-edit-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: #fff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 900;
  list-style: none;
}
.service-support-edit-details summary::-webkit-details-marker {
  display: none;
}
.service-support-edit-details[open] {
  width: 100%;
}
.service-support-edit-details[open] summary {
  margin-bottom: 0.65rem;
}
.service-support-edit-form {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0.8rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.service-support-edit-form textarea {
  font-size: 0.92rem;
  line-height: 1.55;
}
@media (max-width: 575.98px) {
  .service-support-message-actions {
    justify-content: stretch;
  }
  .service-support-message-actions .btn,
  .service-support-edit-details,
  .service-support-edit-details summary {
    width: 100%;
    justify-content: center;
  }
  .service-support-edit-details[open] {
    width: 100%;
  }
}

/* İş emri operasyon geliştirmeleri */
.service-kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: start;
}
.service-kanban-column {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 0.85rem;
  min-height: 220px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.service-kanban-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0.25rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0.75rem;
}
.service-kanban-column-head strong {
  color: #0f172a;
  font-weight: 900;
}
.service-kanban-cards {
  display: grid;
  gap: 0.75rem;
}
.service-kanban-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 0.9rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  transition: 0.2s ease;
}
.service-kanban-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.09);
  transform: translateY(-1px);
}
.service-kanban-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.service-kanban-card-top strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
}
.service-kanban-card-meta {
  display: grid;
  gap: 0.28rem;
  color: #64748b;
  font-size: 0.82rem;
}
.service-kanban-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}
.service-kanban-actions form {
  margin: 0;
}
.service-technician-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.service-tech-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.service-tech-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.service-tech-card-head strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
}
.service-tech-complaint {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 0.8rem;
  color: #334155;
  line-height: 1.55;
  min-height: 72px;
}
.service-tech-actions,
.service-tech-action-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.service-tech-action-form {
  margin: 0;
  width: 100%;
}
.service-tech-action-form textarea {
  min-width: 100%;
}
.service-public-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #ecfdf5 100%);
  padding: 2rem 1rem;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #0f172a;
}
.service-public-approval {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.service-public-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.service-public-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.service-public-summary > div {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  padding: 0.8rem;
}
.service-public-summary span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-public-summary strong {
  display: block;
  color: #0f172a;
  margin-top: 0.2rem;
}
.service-public-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}
.service-public-actions .btn {
  min-width: 180px;
}
.service-copy-link-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.service-copy-link-box a {
  word-break: break-all;
  font-size: 0.9rem;
  color: #1d4ed8;
}
.service-previous-orders {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.service-previous-order {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
}
.service-previous-order:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.2);
}
.service-checklist-form {
  display: grid;
  gap: 0.35rem;
}
.service-checklist-options {
  display: grid;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 0.75rem;
  margin: 0.25rem 0;
}
.service-checklist-options label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
}
.service-b2b-inline-create-order {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}
.service-b2b-inline-create-order .form-select {
  min-width: 220px;
  max-width: 320px;
}
.service-linked-workorder-card {
  border-color: rgba(37, 99, 235, 0.16);
  background: #eff6ff;
}
@media (max-width: 575.98px) {
  .service-public-body {
    padding: 1rem 0.65rem;
  }
  .service-public-card {
    border-radius: 20px;
    padding: 1rem;
  }
  .service-public-actions .btn,
  .service-b2b-inline-create-order,
  .service-b2b-inline-create-order .form-select,
  .service-b2b-inline-create-order .btn {
    width: 100%;
    max-width: none;
  }
  .service-kanban-board,
  .service-technician-grid {
    grid-template-columns: 1fr;
  }
  .service-copy-link-box {
    align-items: stretch;
  }
  .service-copy-link-box .btn {
    width: 100%;
  }
}

/* Technician / master mobile panel */
.service-technician-header {
  align-items: stretch;
}
.service-tech-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.service-tech-summary-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.35rem;
}
.service-tech-summary-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--service-primary);
  font-size: 1.1rem;
}
.service-tech-summary-card strong {
  font-size: 1.65rem;
  line-height: 1;
  color: #0f172a;
}
.service-tech-summary-card small {
  color: #64748b;
  font-weight: 700;
}
.service-tech-summary-card.is-danger span {
  background: rgba(239, 68, 68, 0.1);
  color: var(--service-danger);
}
.service-tech-filter-card {
  margin-bottom: 1rem;
}
.service-tech-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
}
.service-tech-id {
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  font-size: 1.05rem;
}
.service-tech-id:hover {
  color: var(--service-primary);
}
.service-tech-vehicle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: #334155;
  font-weight: 700;
}
.service-tech-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}
.service-tech-primary-form,
.service-tech-mini-form {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}
.service-tech-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.service-tech-action-buttons .btn,
.service-tech-secondary-actions .btn,
.service-tech-mini-form .btn {
  min-height: 44px;
  font-weight: 800;
}
.service-tech-secondary-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.service-tech-collapse {
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
  padding-top: 0.85rem;
}
.service-tech-duration-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.service-tech-empty {
  grid-column: 1 / -1;
}
.service-home-login-icon.is-tech {
  background: rgba(14, 165, 233, 0.14);
  color: #0284c7;
}
@media (max-width: 991.98px) {
  .service-tech-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-tech-filter-form {
    grid-template-columns: 1fr 1fr;
  }
  .service-tech-filter-form .input-group {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575.98px) {
  .service-tech-summary-grid,
  .service-tech-filter-form,
  .service-tech-action-buttons,
  .service-tech-secondary-actions,
  .service-tech-duration-row {
    grid-template-columns: 1fr;
  }
  .service-tech-card {
    border-radius: 20px;
    padding: 0.9rem;
  }
  .service-tech-card-head {
    flex-direction: column;
  }
  .service-tech-action-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

.service-total-panel-stacked {
  display: grid;
  gap: 10px;
}

.service-total-panel-stacked div:not(:last-of-type) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}
.service-share-actions .btn-success,
.service-share-actions .btn-success:visited {
  background: #198754;
  border-color: #198754;
  color: #fff;
}
.service-share-actions .btn-success:hover,
.service-share-actions .btn-success:focus {
  background: #157347;
  border-color: #146c43;
  color: #fff;
}
.service-share-actions .btn-success i {
  color: inherit;
}
.service-share-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-approval-message-preview {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0.85rem;
}
.service-approval-message-preview pre {
  white-space: pre-wrap;
  margin: 0;
  font: inherit;
  color: #0f172a;
}
.service-public-approval-hero {
  position: relative;
  overflow: hidden;
}
.service-public-title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.service-public-title-row h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
  margin: 0 0 0.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.service-public-total-box {
  background: #0f172a;
  color: #fff;
  border-radius: 22px;
  padding: 1rem 1.15rem;
  min-width: 210px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}
.service-public-total-box span,
.service-public-totals span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  opacity: 0.72;
}
.service-public-total-box strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 0.25rem;
}
.service-public-status {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-weight: 800;
  margin: 0.75rem 0;
}
.service-public-status-warning {
  background: #fff7ed;
  color: #9a3412;
}
.service-public-status-success {
  background: #ecfdf5;
  color: #166534;
}
.service-public-status-danger {
  background: #fef2f2;
  color: #991b1b;
}
.service-public-status-muted {
  background: #f1f5f9;
  color: #475569;
}
.service-public-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-public-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
}
.service-public-pill {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 800;
  padding: 0.4rem 0.7rem;
}
.service-public-table td small {
  display: block;
  color: #64748b;
}
.service-public-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.service-public-totals > div {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #f8fafc;
  padding: 0.75rem;
}
.service-public-totals strong {
  font-size: 1.05rem;
}
.service-public-totals .service-public-total {
  background: #ecfdf5;
  border-color: rgba(22, 101, 52, 0.14);
}
.service-public-response-form {
  display: grid;
  gap: 0.75rem;
}
.service-public-fine-print {
  margin: 0.85rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}
.service-public-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  color: #475569;
  font-weight: 700;
}
.service-public-contact span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
@media (max-width: 575.98px) {
  .service-share-actions {
    width: 100%;
    justify-content: stretch;
  }
  .service-share-actions .btn {
    width: 100%;
  }
  .service-public-total-box {
    width: 100%;
  }
  .service-public-table-wrap {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
  }
  .service-public-table {
    min-width: 680px;
  }
  .service-public-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-public-actions {
    align-items: stretch;
  }
  .service-public-actions .btn {
    width: 100%;
  }
}

.service-staff-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.service-staff-picker {
  position: relative;
  margin-bottom: 12px;
}
.service-staff-picker-control {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: 16px;
  padding: 8px 42px 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  cursor: text;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.service-staff-picker.is-open .service-staff-picker-control,
.service-staff-picker-control:focus {
  border-color: var(--service-primary);
  box-shadow: 0 0 0 4px rgba(31, 78, 216, 0.12);
  outline: none;
}
.service-staff-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
.service-staff-placeholder {
  color: var(--service-muted);
  font-weight: 700;
  font-size: 0.86rem;
  padding-left: 4px;
}
.service-staff-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #243c8f;
  border-radius: 999px;
  padding: 5px 9px 5px 5px;
  font-size: 0.82rem;
  font-weight: 800;
}
.service-staff-chip span,
.service-staff-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--service-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  flex: 0 0 auto;
}
.service-staff-chip i {
  font-size: 0.68rem;
  opacity: 0.72;
}
.service-staff-search {
  flex: 1 1 150px;
  min-width: 120px;
  border: 0;
  outline: 0;
  font-weight: 700;
  color: var(--service-dark);
  padding: 6px 2px;
}
.service-staff-caret {
  position: absolute;
  right: 14px;
  top: 16px;
  color: var(--service-muted);
  pointer-events: none;
}
.service-staff-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.18);
  padding: 10px;
  display: none;
}
.service-staff-picker.is-open .service-staff-dropdown {
  display: block;
}
.service-staff-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid var(--service-border-soft);
  margin-bottom: 8px;
}
.service-staff-toolbar strong {
  font-size: 0.86rem;
  color: var(--service-dark);
}
.service-staff-options {
  max-height: 270px;
  overflow: auto;
  display: grid;
  gap: 6px;
}
.service-staff-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f9fafb;
  padding: 9px;
  text-align: left;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.service-staff-option:hover {
  background: #f3f6ff;
  border-color: #dbe4ff;
}
.service-staff-option.is-selected {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.service-staff-option-main {
  flex: 1 1 auto;
  min-width: 0;
}
.service-staff-option-main strong {
  display: block;
  color: var(--service-dark);
  font-size: 0.9rem;
  line-height: 1.15;
}
.service-staff-option-main small {
  display: block;
  color: var(--service-muted);
  font-size: 0.74rem;
  margin-top: 3px;
}
.service-staff-check {
  color: var(--service-primary);
  font-size: 1.1rem;
}
.service-staff-empty {
  color: var(--service-muted);
  text-align: center;
  padding: 16px;
  font-weight: 700;
}
.service-staff-summary {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 7px;
}

/* Usta atama v3 - aramali profesyonel coklu secim */
.service-staff-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}
.service-staff-picker-v3 {
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.service-staff-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.service-staff-picker-head strong {
  display: block;
  color: var(--service-dark);
  font-size: 0.96rem;
  line-height: 1.15;
}
.service-staff-eyebrow {
  display: block;
  color: var(--service-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.service-staff-count {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 7px 10px;
}
.service-staff-picker-v3 .service-staff-picker-control {
  min-height: 58px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 9px 44px 9px 10px;
}
.service-staff-picker-v3.is-open .service-staff-picker-control,
.service-staff-picker-v3 .service-staff-picker-control:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.service-staff-picker-v3 .service-staff-search {
  min-width: 190px;
  font-weight: 700;
}
.service-staff-picker-v3 .service-staff-dropdown {
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.service-staff-picker-v3 .service-staff-toolbar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.service-staff-picker-v3 .service-staff-options {
  padding: 8px;
  background: #fff;
}
.service-staff-picker-v3 .service-staff-option {
  border-radius: 14px;
  padding: 10px;
  border: 1px solid transparent;
}
.service-staff-picker-v3 .service-staff-option.is-selected {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.service-staff-picker-v3 .service-staff-avatar,
.service-staff-picker-v3 .service-staff-chip span {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}
.service-staff-picker-v3 .service-staff-chip {
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #312e81;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.12);
}
.service-staff-picker-v3.has-selection .service-staff-count {
  background: #dcfce7;
  color: #15803d;
}

/* Personel atama v4 - hizli, filtreli, kolay coklu secim */
.service-staff-picker-v4 {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.service-staff-picker-v4 .service-staff-picker-head {
  margin-bottom: 10px;
}
.service-staff-picker-v4 .service-staff-picker-control {
  min-height: 62px;
  border-radius: 16px;
  border-color: rgba(37, 99, 235, 0.22);
  background: #f8fafc;
}
.service-staff-picker-v4.is-open .service-staff-picker-control,
.service-staff-picker-v4 .service-staff-picker-control:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.service-staff-picker-v4 .service-staff-dropdown {
  border-radius: 16px;
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.service-staff-picker-v4 .service-staff-toolbar {
  background: #f8fafc;
}
.service-staff-picker-v4 .service-staff-options {
  max-height: 320px;
}
.service-staff-picker-v4 .service-staff-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.service-staff-picker-v4 .service-staff-option:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.18);
}
.service-staff-picker-v4 .service-staff-option.is-selected {
  background: #ecfdf5;
  border-color: rgba(22, 163, 74, 0.28);
}
.service-staff-picker-v4 .service-staff-chip {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.22);
  color: #1e3a8a;
}
.service-staff-picker-v4 .service-staff-chip span,
.service-staff-picker-v4 .service-staff-avatar,
.service-staff-picker-v4 .service-staff-check {
  display: none !important;
}
.service-staff-picker-v4 .service-staff-chip em {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.service-staff-selected-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.74rem;
  font-weight: 900;
}
.service-staff-picker-v4
  .service-staff-option.is-selected
  .service-staff-selected-text {
  background: #bbf7d0;
  color: #15803d;
}
.service-staff-picker-v4.has-selection .service-staff-count {
  background: #dcfce7;
  color: #15803d;
}
@media (max-width: 575.98px) {
  .service-staff-picker-v4 {
    padding: 10px;
    border-radius: 16px;
  }
  .service-staff-picker-v4 .service-staff-search {
    min-width: 130px;
  }
}

/* Is emri profesyonel operasyon paneli */
.service-ops-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}
.service-ops-command-main {
  min-width: 0;
}
.service-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.service-ops-tile {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.12rem;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
  background: #f8fafc;
  transition: 0.18s ease;
}
.service-ops-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.24);
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}
.service-ops-tile span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0edff;
  color: #2563eb;
  font-size: 1.1rem;
}
.service-ops-tile strong {
  display: block;
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
}
.service-ops-tile small {
  color: #64748b;
  font-weight: 800;
}
.service-ops-tile.is-danger span {
  background: #fee2e2;
  color: #dc2626;
}
.service-ops-tile.is-warning span {
  background: #fef3c7;
  color: #b45309;
}
.service-ops-tile.is-info span {
  background: #e0f2fe;
  color: #0284c7;
}
.service-ops-tile.is-dark span {
  background: #e5e7eb;
  color: #111827;
}
.service-risk-list {
  display: grid;
  gap: 0.65rem;
  max-height: 430px;
  overflow: auto;
}
.service-risk-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.service-risk-item:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.2);
}
.service-risk-score {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 900;
}
.service-risk-item strong,
.service-risk-item small,
.service-risk-item span {
  display: block;
}
.service-risk-item small,
.service-risk-item span {
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.14rem;
}
.service-risk-item em {
  font-style: normal;
  white-space: nowrap;
}
.service-workload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.service-workload-card {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 0.9rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: 0.18s ease;
}
.service-workload-card:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.service-workload-head,
.service-workload-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
.service-workload-head strong {
  color: #0f172a;
}
.service-workload-head span {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  padding: 0.24rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 900;
}
.service-workload-card small,
.service-workload-meta {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}
.service-workload-bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.service-workload-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
}
@media (max-width: 1199.98px) {
  .service-ops-command-grid {
    grid-template-columns: 1fr;
  }
  .service-workload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .service-ops-grid,
  .service-workload-grid {
    grid-template-columns: 1fr;
  }
  .service-risk-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .service-risk-item em {
    grid-column: 2;
    justify-self: start;
  }
}

/* Professional work order line-item editor */
.service-kalem-header,
.service-kalem-detail-header {
  align-items: flex-start;
  gap: 18px;
}

.service-form-grid > .service-kalem-full-card {
  grid-column: 1 / -1;
}

.service-kalem-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.service-kalem-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
}

.service-kalem-scan-card,
.service-kalem-quick-card,
.service-kalem-stats {
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 16px;
}

.service-kalem-scan-row,
.service-kalem-quick-row {
  display: flex;
  gap: 10px;
}

.service-kalem-scan-row .form-control,
.service-kalem-quick-row .form-select {
  flex: 1 1 0;
  min-width: 0;
}

.service-kalem-scan-row .btn,
.service-kalem-quick-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.service-kalem-quick-row .select2-container {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
}

.service-kalem-quick-row .service-kalem-stock-search {
  flex: 1 1 420px;
  min-width: 260px;
}

.service-kalem-quick-row .service-kalem-stock-search .form-control {
  min-height: 48px;
}

.service-kalem-status {
  margin-top: 10px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.service-kalem-status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.service-kalem-status.is-danger {
  background: #fef2f2;
  color: #b91c1c;
}

.service-kalem-status.is-warning {
  background: #fffbeb;
  color: #92400e;
}

.service-kalem-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: 10px;
  min-width: 250px;
}

.service-kalem-stats div {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--service-border-soft);
  padding: 12px;
}

.service-kalem-stats span {
  display: block;
  color: var(--service-muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-kalem-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--service-dark);
}

.service-kalem-table-wrap {
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  overflow: visible;
}

.service-kalem-table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 0;
}

.service-kalem-table th,
.service-kalem-table td {
  padding: 0.55rem 0.45rem;
  vertical-align: middle;
}

.service-kalem-table .form-control,
.service-kalem-table .form-select {
  min-width: 0;
  width: 100%;
  padding-right: 0.45rem;
  padding-left: 0.45rem;
}

.service-kalem-table .service-w-110,
.service-kalem-table .service-w-160 {
  width: 100% !important;
}

.service-kalem-table th:nth-child(1),
.service-kalem-table td:nth-child(1) {
  width: 21%;
}

.service-kalem-table th:nth-child(2),
.service-kalem-table td:nth-child(2) {
  width: 8%;
}

.service-kalem-table th:nth-child(3),
.service-kalem-table td:nth-child(3) {
  width: 8%;
}

.service-kalem-table th:nth-child(4),
.service-kalem-table td:nth-child(4),
.service-kalem-table th:nth-child(5),
.service-kalem-table td:nth-child(5),
.service-kalem-table th:nth-child(8),
.service-kalem-table td:nth-child(8) {
  width: 6%;
}

.service-kalem-table th:nth-child(6),
.service-kalem-table td:nth-child(6),
.service-kalem-table th:nth-child(7),
.service-kalem-table td:nth-child(7) {
  width: 8%;
}

.service-kalem-table th:nth-child(9),
.service-kalem-table td:nth-child(9) {
  width: 8%;
}

.service-kalem-table th:nth-child(10),
.service-kalem-table td:nth-child(10) {
  width: 8%;
}

.service-kalem-table th:nth-child(11),
.service-kalem-table td:nth-child(11) {
  width: 7%;
}

.service-kalem-table th:nth-child(12),
.service-kalem-table td:nth-child(12) {
  width: 6%;
}

.service-kalem-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #334155;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-kalem-row.is-new {
  animation: serviceKalemPulse 1.1s ease-out;
}

@keyframes serviceKalemPulse {
  0% {
    box-shadow: inset 4px 0 0 #2563eb;
    background: #eff6ff;
  }
  100% {
    box-shadow: inset 0 0 0 transparent;
    background: transparent;
  }
}

.service-kalem-row-meta {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-kalem-row-actions {
  display: flex;
  gap: 4px;
  white-space: normal;
}

.service-kalem-row-actions .btn + .btn {
  margin-left: 0;
}

.service-kalem-row-actions .btn {
  padding: 0.25rem 0.38rem;
}

@media (max-width: 1200px) {
  .service-kalem-workbench {
    grid-template-columns: 1fr;
  }

  .service-kalem-stats {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .service-kalem-scan-row,
  .service-kalem-quick-row {
    flex-direction: column;
  }

  .service-kalem-quick-row .select2-container {
    width: 100% !important;
  }

  .service-kalem-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-drawer-open {
  overflow: hidden;
}

.service-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.service-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1090;
  width: min(80vw, 1320px);
  max-width: 100%;
  height: 100vh;
  background: #f8fafc;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.24);
  transform: translateX(104%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.service-drawer.is-open {
  transform: translateX(0);
}

.service-drawer.is-attention {
  animation: serviceDrawerAttention 0.24s ease;
}

@keyframes serviceDrawerAttention {
  0%,
  100% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(10px);
  }
}

.service-drawer > form {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-drawer-header,
.service-drawer-footer {
  background: #fff;
  border-color: #e2e8f0;
  border-style: solid;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-drawer-header {
  border-width: 0 0 1px;
}

.service-drawer-footer {
  border-width: 1px 0 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.service-drawer-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 22px;
}

.service-kalem-drawer .service-kalem-panel-card {
  margin-bottom: 0;
}

.service-kalem-drawer .service-kalem-table-wrap {
  max-height: calc(100vh - 420px);
}

.service-total-panel-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-total-panel-inline > div {
  min-width: 150px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.service-kalem-row.is-invalid-soft {
  box-shadow: inset 4px 0 0 #dc2626;
  background: #fef2f2;
}

@media (max-width: 992px) {
  .service-drawer {
    width: 100vw;
  }

  .service-drawer-header,
  .service-drawer-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .service-drawer-footer .service-action-group {
    width: 100%;
  }

  .service-drawer-footer .service-action-group .btn {
    flex: 1;
  }
}

/* Kalem paneli v3: Select2 arama ve duzenleme yan paneli */
.service-stock-search-select + .select2 {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  display: flex;
  align-items: center;
  background: #fff;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #0f172a;
  line-height: 40px;
  padding-left: 14px;
  font-weight: 700;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px;
  right: 8px;
}

.select2-dropdown {
  border-color: #dbe3ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.select2-search--dropdown {
  padding: 10px;
  background: #f8fafc;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  outline: none;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background: #1f4ed8;
}

.service-kalem-quick-card
  .select2-container--default
  .select2-selection--single {
  min-height: 48px;
  border-radius: 14px;
}

.service-kalem-quick-card
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 46px;
}

.service-edit-summary-card {
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(31, 78, 216, 0.16),
      transparent 36%
    ),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(31, 78, 216, 0.13);
}

.service-side-kicker {
  color: #1f4ed8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-side-title {
  margin: 6px 0 4px;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 950;
}

.service-side-text {
  color: #64748b;
  font-weight: 700;
}

.service-side-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-side-chip {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 74px;
  padding: 10px 8px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-side-chip i {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #eef4ff;
  color: #1f4ed8;
  font-size: 1rem;
}

.service-side-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 78, 216, 0.32);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  color: #1f4ed8;
}

@media (max-width: 1180px) {
  .service-side-chip-grid {
    grid-template-columns: 1fr;
  }
}

/* Personel ERP modülü */
.personel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 14px;
}
.personel-kpi-card {
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  min-height: 112px;
}
.personel-kpi-card span {
  display: block;
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.personel-kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.personel-kpi-card small {
  display: block;
  margin-top: 6px;
  color: #7b8492;
  font-weight: 650;
}
.personel-form-card .service-card-body {
  max-height: none;
}
.personel-form-section-title {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--service-border);
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.personel-table td {
  vertical-align: middle;
}
.personel-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #fff, #f7f9ff);
  border: 1px solid var(--service-border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--service-shadow);
}
.personel-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--service-primary);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(31, 78, 216, 0.22);
}
.personel-profile-main h3 {
  font-weight: 900;
  letter-spacing: -0.04em;
}
.personel-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #4b5563;
  font-weight: 700;
  font-size: 0.86rem;
}
.personel-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.personel-status-form {
  background: #fff;
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  padding: 14px;
}
.personel-detail-tabs {
  gap: 8px;
  background: #fff;
  border: 1px solid var(--service-border);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}
.personel-detail-tabs .nav-link {
  border-radius: 13px;
  color: #4b5563;
  font-weight: 900;
}
.personel-detail-tabs .nav-link.active {
  background: var(--service-primary);
}
.personel-info-list {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: 12px 18px;
  margin: 0;
}
.personel-info-list dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.personel-info-list dd {
  margin: 0;
  color: #172033;
  font-weight: 750;
  min-width: 0;
  word-break: break-word;
}
.personel-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
}
.personel-report-grid > div {
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  border-radius: 16px;
  padding: 16px;
}
.personel-report-grid span {
  display: block;
  color: #64748b;
  font-weight: 800;
  font-size: 0.8rem;
}
.personel-report-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.personel-mini-alert {
  border: 1px solid var(--service-border-soft);
  border-radius: 16px;
  padding: 14px 15px;
  margin-bottom: 12px;
  background: #f8fafc;
}
.personel-mini-alert strong,
.personel-mini-alert span {
  display: block;
}
.personel-mini-alert strong {
  font-weight: 900;
  margin-bottom: 4px;
}
.personel-mini-alert span {
  color: #64748b;
  font-weight: 700;
  font-size: 0.85rem;
}
.personel-mini-alert.is-ok {
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.06);
}
.personel-mini-alert.is-warning {
  border-color: rgba(180, 83, 9, 0.22);
  background: rgba(180, 83, 9, 0.07);
}
.personel-mini-alert.is-danger {
  border-color: rgba(185, 28, 28, 0.22);
  background: rgba(185, 28, 28, 0.07);
}
.personel-balance-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--service-border-soft);
}
.personel-balance-line:last-child {
  border-bottom: 0;
}
.personel-balance-line span {
  color: #64748b;
  font-weight: 800;
}
.personel-balance-line strong {
  font-weight: 900;
}
@media (max-width: 1400px) {
  .personel-kpi-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}
@media (max-width: 992px) {
  .personel-kpi-grid,
  .personel-report-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .personel-profile-hero {
    grid-template-columns: 1fr;
  }
  .personel-status-form {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .personel-kpi-grid,
  .personel-report-grid {
    grid-template-columns: 1fr;
  }
  .personel-info-list {
    grid-template-columns: 1fr;
  }
  .personel-detail-tabs .nav-link {
    width: 100%;
  }
}
@media print {
  .personel-detail-tabs,
  .personel-status-form,
  .service-action-group {
    display: none !important;
  }
  .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
  .personel-profile-hero,
  .personel-kpi-card,
  .service-card {
    box-shadow: none !important;
  }
}

/* Ayarlar açılır menü */
.service-settings-menu {
  border: 0;
  border-radius: 18px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}
.service-settings-menu .dropdown-item {
  border-radius: 12px;
  font-weight: 800;
  color: #334155;
  padding: 0.65rem 0.75rem;
}
.service-settings-menu .dropdown-item.active,
.service-settings-menu .dropdown-item:active {
  color: #fff;
}

/* Ayarlar dropdown düzeltmesi: menü main alanının altında kalmasın / taşmasın */
.service-nav-container {
  position: sticky;
  top: 0;
  z-index: 1045 !important;
  overflow: visible !important;
}

.service-nav-inner,
.service-tabs,
.service-tabs .nav-item,
.service-tabs .dropdown {
  overflow: visible !important;
}

.service-tabs .dropdown {
  position: relative;
}

.service-tabs .dropdown-menu.service-settings-menu {
  z-index: 2050 !important;
  min-width: 245px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

.service-tabs .dropdown-menu.service-settings-menu .dropdown-item {
  border-radius: 11px;
  font-weight: 800;
  padding: 10px 12px;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-randevu-action-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}
.service-randevu-action-summary > div {
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  padding: 16px;
  background: #f8fafc;
}
.service-randevu-action-summary strong,
.service-randevu-action-summary small {
  display: block;
}
.service-randevu-action-summary strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  margin-top: 5px;
}
.service-randevu-action-summary small {
  margin-top: 4px;
  color: #64748b;
  font-weight: 700;
}
.service-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-stock-movement-modal .modal-content,
.service-randevu-action-modal .modal-content {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
}
.service-stock-movement-modal .modal-header,
.service-stock-movement-modal .modal-footer,
.service-randevu-action-modal .modal-header,
.service-randevu-action-modal .modal-footer {
  border-color: var(--service-border-soft);
  padding: 18px 22px;
}
.service-stock-movement-modal .modal-body,
.service-randevu-action-modal .modal-body {
  padding: 22px;
}
.service-filter-action-stack {
  min-width: max-content;
}
.service-stock-editor-card .service-form-section {
  border: 1px solid var(--service-border-soft);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
  background: #fff;
}
.service-form-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.service-form-section-head > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.15rem;
}
.service-form-section-head strong,
.service-form-section-head small {
  display: block;
}
.service-form-section-head strong {
  font-weight: 900;
  color: #0f172a;
}
.service-form-section-head small {
  color: #64748b;
  font-weight: 700;
}
.service-stock-availability {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 800;
}
.service-stock-availability strong {
  color: #0f172a;
}
.service-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.service-branch-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
}
.service-branch-kpi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 20px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}
.service-branch-kpi-card > span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.15rem;
}
.service-branch-kpi-card strong,
.service-branch-kpi-card small {
  display: block;
}
.service-branch-kpi-card strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}
.service-branch-kpi-card small {
  color: #64748b;
  font-weight: 800;
}
.service-empty-state {
  border: 1px dashed var(--service-border-soft);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  gap: 8px;
  justify-items: start;
  background: #f8fafc;
}
.service-empty-state i {
  font-size: 1.8rem;
  color: #64748b;
}
.service-empty-state strong {
  font-weight: 900;
  color: #0f172a;
}
.service-empty-state span {
  color: #64748b;
  font-weight: 700;
}

.service-correction-table .service-empty-state {
  justify-items: center;
  text-align: center;
}

.service-correction-table .service-empty-state i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--service-primary);
  font-size: 1.3rem;
}
@media (max-width: 1400px) {
  .service-branch-kpi-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}
@media (max-width: 768px) {
  .service-randevu-action-summary,
  .service-branch-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Global modal katman düzeltmesi
   Modal HTML'i sayfa içindeki z-index/overflow oluşturan alanlarda kalsa bile JS tarafı
   açılışta body altına taşır. Bu z-index seti de backdrop'un modalın üstüne çıkmasını engeller. */
:root {
  --service-backdrop-z: 6990;
  --service-modal-z: 7000;
}
.modal-backdrop {
  z-index: var(--service-backdrop-z) !important;
}
.modal {
  z-index: var(--service-modal-z) !important;
}
.modal.show {
  pointer-events: auto;
}
.modal .modal-dialog {
  pointer-events: none;
}
.modal .modal-content {
  pointer-events: auto;
}
body.modal-open .service-nav-container,
body.modal-open .service-tabs .dropdown-menu.show {
  z-index: 1040 !important;
}
body.modal-open .service-drawer,
body.modal-open .service-drawer-backdrop {
  z-index: 1039 !important;
}

/* Ana menü gruplama: menü kalabalığını azaltır ve dropdownların içerik altında kalmasını engeller. */
.service-nav-grouped .service-nav-inner {
  overflow: visible !important;
}
.service-nav-grouped .service-tabs {
  min-width: 0 !important;
  flex-wrap: wrap;
  row-gap: 2px;
}
.service-nav-grouped .service-tabs .nav-link {
  padding: 15px 14px;
}
.service-nav-grouped .service-nav-dropdown {
  max-height: calc(100vh - 135px);
  overflow-y: auto;
}
@media (max-width: 992px) {
  .service-nav-grouped .service-tabs .nav-link {
    padding: 12px 10px;
    font-size: 0.88rem;
  }
  .service-nav-grouped .service-settings-menu {
    min-width: 220px;
  }
}

/* Menü yönetimi: sürükle-bırak sıralama */
.service-menu-sort-card .service-card-body {
  padding-top: 12px;
}
.service-menu-sort-pill {
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
}
.service-menu-sort-status {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}
.service-menu-sort-status-muted {
  background: #f8fafc;
  border: 1px solid var(--service-border-soft);
  color: #64748b;
}
.service-menu-sort-status-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.service-menu-sort-status-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
}
.service-menu-sort-status-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.service-menu-sort-area {
  display: grid;
  gap: 6px;
}
.service-menu-sort-list {
  display: grid;
  gap: 6px;
  min-height: 12px;
}
.service-menu-sort-list-child {
  gap: 6px;
}
.service-menu-sort-item {
  border: 1px solid var(--service-border-soft);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  transition:
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    opacity 0.16s ease;
}
.service-menu-sort-item:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.service-menu-sort-item.is-dragging {
  opacity: 0.55;
  transform: scale(0.995);
  border-style: dashed;
}
.service-menu-sort-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
}
.service-menu-sort-child .service-menu-sort-row {
  padding: 6px 8px;
}
.service-menu-drag-handle {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--service-border-soft);
  border-radius: 7px;
  background: #f8fafc;
  color: #64748b;
  cursor: grab;
}
.service-menu-drag-handle:active {
  cursor: grabbing;
}
.service-menu-sort-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.9rem;
}
.service-menu-sort-main {
  min-width: 0;
}
.service-menu-sort-title {
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  font-size: 0.9rem;
}
.service-menu-sort-meta {
  margin-top: 1px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-menu-sort-meta code {
  color: #334155;
}
.service-menu-sort-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-menu-sort-actions .btn {
  --bs-btn-padding-y: 0.18rem;
  --bs-btn-padding-x: 0.34rem;
  --bs-btn-font-size: 0.78rem;
}
.service-menu-sort-children {
  margin: 0 0 4px 36px;
  padding: 0 0 0 10px;
  border-left: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}
.service-menu-sort-child-label {
  display: none;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.service-menu-sort-child {
  box-shadow: none;
}
.service-menu-sort-child .service-menu-sort-children {
  margin-left: 24px;
}
@media (max-width: 768px) {
  .service-menu-sort-row {
    grid-template-columns: auto auto minmax(0, 1fr);
  }
  .service-menu-sort-row > .badge,
  .service-menu-sort-row > .service-badge,
  .service-menu-sort-actions {
    grid-column: 3 / 4;
    justify-self: start;
  }
  .service-menu-sort-children {
    margin-left: 16px;
  }
}
/* Menü yönetimi: sürükle-bırak taşıma geliştirmeleri */
.service-menu-sort-empty {
  display: block;
  min-height: 4px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font-size: 0;
  font-weight: 800;
  text-align: center;
  transition:
    min-height 0.14s ease,
    background-color 0.14s ease,
    border-color 0.14s ease;
}
.service-menu-sort-empty[hidden] {
  display: none !important;
}
.service-menu-sort-list-child {
  min-height: 6px;
  padding: 0;
  border-radius: 8px;
  transition:
    background-color 0.16s ease,
    outline-color 0.16s ease;
}
.service-menu-sort-children.is-empty {
  margin-bottom: 0;
  border-left-color: transparent;
}
.service-menu-sort-child-label {
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.service-menu-sort-child-label span {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.service-menu-sort-children.is-empty .service-menu-sort-child-label {
  display: none;
}
.service-menu-sort-area.is-dragging-active .service-menu-sort-children.is-empty {
  border-left-color: #bfdbfe;
}
.service-menu-sort-area.is-dragging-active .service-menu-sort-children.is-empty .service-menu-sort-list-child {
  min-height: 24px;
}
.service-menu-sort-area.is-dragging-active .service-menu-sort-empty {
  min-height: 22px;
  border: 1px dashed #bfdbfe;
  background: #eff6ff;
}
.service-menu-sort-placeholder {
  min-height: 32px;
  border: 1px dashed #93c5fd;
  border-radius: 8px;
  background: #eff6ff;
}
.service-menu-sort-source-hidden {
  display: none !important;
}
.service-menu-sort-drag-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6000;
  pointer-events: none;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  opacity: 0.96;
}
.service-menu-sort-item:hover > .service-menu-sort-children.is-empty .service-menu-sort-empty {
  min-height: 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}
.service-menu-sort-item[draggable="true"] {
  cursor: grab;
}
.service-menu-sort-item[draggable="true"]:active {
  cursor: grabbing;
}
.service-menu-sort-item.is-dragging {
  cursor: grabbing;
  pointer-events: none;
}
.service-menu-sort-list:has(.is-dragging) {
  outline: 1px dashed rgba(37, 99, 235, 0.16);
  outline-offset: 4px;
}

/* İş emri kalem/stok yönetimi ayrı sayfa düzeni */
.service-kalem-page-card .service-card-body {
  padding-bottom: 1.25rem;
}
.service-sticky-card {
  position: sticky;
  top: 1rem;
  z-index: 2;
}
.service-linked-doc-list {
  display: grid;
  gap: 0.75rem;
}
.service-linked-doc-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(91, 103, 113, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}
@media (max-width: 768px) {
  .service-linked-doc-item {
    display: block;
  }
  .service-linked-doc-item .text-end {
    text-align: left !important;
    margin-top: 0.5rem;
  }
  .service-sticky-card {
    position: static;
  }
}

.service-kalem-page-card--wide .service-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.service-kalem-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.service-kalem-summary-card {
  border: 1px solid rgba(91, 103, 113, 0.14);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.1rem;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
}

.service-kalem-summary-card.is-primary {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.18);
}

.service-kalem-summary-card.is-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.16);
}

.service-kalem-summary-card.is-warning {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border-color: rgba(249, 115, 22, 0.18);
}

.service-kalem-summary-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-kalem-summary-card strong {
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1.1;
}

.service-kalem-summary-card small {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.45;
}

.service-kalem-save-card {
  border-style: dashed;
}

.service-kalem-save-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 1rem 1.25rem;
  align-items: start;
}

.service-kalem-save-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.service-kalem-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.service-kalem-secondary-grid > .service-card:not(.service-kalem-wide-card) {
  height: 100%;
}

.service-kalem-wide-card {
  grid-column: 1 / -1;
}

.service-linked-doc-list--airy {
  gap: 0.95rem;
}

.service-linked-doc-list--airy .service-linked-doc-item {
  padding: 1rem 1.1rem;
  border-radius: 1.05rem;
}

.service-kalem-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
}

.service-kalem-timeline-card {
  border: 1px solid rgba(91, 103, 113, 0.14);
  border-radius: 1rem;
  background: #fff;
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-kalem-timeline-card strong {
  color: #0f172a;
  font-size: 0.96rem;
}

.service-kalem-timeline-card span {
  color: #334155;
  font-size: 0.85rem;
  font-weight: 800;
}

.service-kalem-timeline-card small {
  color: #64748b;
  font-size: 0.78rem;
}

@media (max-width: 1400px) {
  .service-kalem-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .service-kalem-save-grid,
  .service-kalem-secondary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .service-kalem-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .service-kalem-summary-strip {
    grid-template-columns: 1fr;
  }

  .service-kalem-page-card--wide .service-card-body {
    padding: 1rem;
  }
}

/* Stok sayım modülü */
.service-checkbox-card {
  border: 1px solid var(--service-border, #e5e7eb);
  border-radius: 16px;
  padding: 14px 16px 14px 42px;
  background: #fff;
}
.service-checkbox-card .form-check-input {
  margin-left: -26px;
  margin-top: 4px;
}

/* Randevu -> Araç Kabul -> İş Emri akışı */
.service-acceptance-header {
  align-items: flex-start;
}
.service-acceptance-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-acceptance-flow > div {
  position: relative;
  border: 1px solid var(--service-border-soft);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  min-height: 112px;
}
.service-acceptance-flow > div.active {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  border-color: rgba(34, 197, 94, 0.35);
}
.service-acceptance-flow span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 900;
  margin-bottom: 10px;
}
.service-acceptance-flow .active span {
  background: #16a34a;
  color: #fff;
}
.service-acceptance-flow strong,
.service-acceptance-flow small {
  display: block;
}
.service-acceptance-flow strong {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 900;
}
.service-acceptance-flow small {
  margin-top: 3px;
  color: #64748b;
  font-weight: 700;
}
.service-acceptance-summary {
  display: grid;
  gap: 12px;
}
.service-acceptance-summary > div {
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  padding: 15px;
  background: #f8fafc;
}
.service-acceptance-summary span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 900;
}
.service-acceptance-summary strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 900;
}
.service-acceptance-summary small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-weight: 700;
}
.service-acceptance-note {
  display: flex;
  gap: 10px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 14px;
  font-weight: 700;
}
.service-acceptance-note i {
  font-size: 1.1rem;
  line-height: 1.4;
}
.service-acceptance-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.service-acceptance-check-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--service-border-soft);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  color: #334155;
}
.service-acceptance-check-grid input {
  width: 16px;
  height: 16px;
}
.service-acceptance-final {
  border-color: rgba(34, 197, 94, 0.28);
  background: linear-gradient(135deg, #ffffff, #f0fdf4);
}
.service-calendar-legend-is-emrine-donustu i {
  background: #111827;
}
.service-calendar-event-is-emrine-donustu {
  opacity: 0.82;
}
.service-calendar-event-is-emrine-donustu .fc-event-main {
  background: #111827 !important;
  border-color: #111827 !important;
}
@media (max-width: 992px) {
  .service-acceptance-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-acceptance-check-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .service-acceptance-flow {
    grid-template-columns: 1fr;
  }
}

/* Fatura detay ekranı */
.service-invoice-summary-row .service-card-body.service-mini-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-invoice-summary-row .service-mini-item {
  display: grid;
  align-content: start;
  gap: 6px;
}

.service-invoice-summary-row .service-mini-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-invoice-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-invoice-info-grid .service-mini-item,
.service-invoice-lines-table td {
  min-width: 0;
}

.service-invoice-info-grid .service-mini-item {
  align-items: flex-start;
}

.service-invoice-info-grid .service-mini-item strong {
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
}

.service-invoice-lines-table tbody td {
  white-space: normal;
  vertical-align: top;
}

.service-invoice-lines-table tbody td:not(:first-child) {
  white-space: nowrap;
}

.service-invoice-lines-table .service-stacked-subtitle {
  white-space: normal;
}

@media (max-width: 1399.98px) {
  .service-invoice-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .service-invoice-summary-row .service-card-body.service-mini-list {
    grid-template-columns: 1fr;
  }

  .service-invoice-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-invoice-lines-table tbody td:not(:first-child) {
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .service-invoice-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Operasyon paneli */
.service-panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  color: #fff;
}

.service-panel-hero-copy,
.service-panel-live {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--service-radius-lg);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.service-panel-hero-copy {
  min-height: 285px;
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(115deg, rgba(10, 18, 34, 0.98) 0%, rgba(17, 24, 39, 0.82) 56%, rgba(15, 118, 110, 0.76) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px);
}

.service-panel-hero-copy::before {
  content: "";
  position: absolute;
  inset: 18px 20px auto auto;
  width: min(38vw, 420px);
  height: 108px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 0;
  border-radius: 20px 0 0 20px;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, 0.12) 16% 17%, transparent 17% 34%, rgba(255, 255, 255, 0.12) 34% 35%, transparent 35% 52%, rgba(255, 255, 255, 0.12) 52% 53%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.service-panel-hero-copy .service-page-kicker,
.service-panel-hero-copy .service-page-description {
  color: rgba(255, 255, 255, 0.78);
}

.service-panel-hero-copy .service-page-title {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.94;
}

.service-panel-hero-copy .service-page-description {
  max-width: 680px;
  font-size: 1rem;
}

.service-panel-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-panel-hero-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.service-panel-live {
  min-height: 285px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(145deg, #0f172a 0%, #172554 58%, #0f766e 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
}

.service-panel-live-gridline {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.22;
  pointer-events: none;
}

.service-panel-live-gridline span {
  border-left: 1px solid #fff;
}

.service-panel-live-gridline span:last-child {
  border-right: 1px solid #fff;
}

.service-panel-live-main,
.service-panel-live-strip {
  position: relative;
  z-index: 1;
}

.service-panel-live-main span,
.service-panel-live-main small,
.service-panel-live-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.service-panel-live-main span,
.service-panel-live-strip span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-panel-live-main strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.84;
  font-weight: 950;
  letter-spacing: 0;
}

.service-panel-live-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-panel-live-strip div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.service-panel-live-strip strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.service-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.service-panel-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-panel-metric-card,
.service-panel-command,
.service-panel-flow > div {
  border: 1px solid var(--service-border);
  border-radius: var(--service-radius-lg);
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.service-panel-metric-card {
  min-height: 158px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.service-panel-metric-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--service-primary);
}

.service-panel-metric-card.is-success::after {
  background: var(--service-success);
}

.service-panel-metric-card.is-warning::after {
  background: var(--service-warning);
}

.service-panel-metric-card.is-danger::after {
  background: var(--service-danger);
}

.service-panel-metric-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--service-primary);
  background: #eef4ff;
  font-size: 1.2rem;
}

.service-panel-metric-card.is-success .service-panel-metric-icon {
  color: var(--service-success);
  background: #e7f6f3;
}

.service-panel-metric-card.is-warning .service-panel-metric-icon {
  color: var(--service-warning);
  background: #fff4df;
}

.service-panel-metric-card.is-danger .service-panel-metric-icon {
  color: var(--service-danger);
  background: #feecec;
}

.service-panel-metric-card span,
.service-panel-metric-card small {
  display: block;
  color: var(--service-muted);
  font-weight: 800;
}

.service-panel-metric-card span {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.service-panel-metric-card strong {
  display: block;
  margin: 4px 0;
  color: #0f172a;
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.service-panel-command {
  padding: 18px;
}

.service-panel-command-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.service-panel-command-head > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #111827;
}

.service-panel-actions {
  display: grid;
  gap: 10px;
}

.service-panel-actions a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 14px;
  color: #0f172a;
  background: #f8fafc;
  text-decoration: none;
}

.service-panel-actions a:hover {
  border-color: rgba(31, 78, 216, 0.28);
  background: #fff;
  color: var(--service-primary);
}

.service-panel-actions span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--service-primary);
  background: #e8efff;
}

.service-panel-actions strong,
.service-panel-actions small {
  display: block;
  min-width: 0;
}

.service-panel-actions strong {
  font-weight: 900;
}

.service-panel-actions small {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-panel-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.service-panel-flow > div {
  min-height: 118px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.service-panel-flow > div.is-current {
  border-color: rgba(15, 118, 110, 0.25);
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.service-panel-flow span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0369a1;
  background: #e8f6fc;
}

.service-panel-flow .is-current span {
  color: #fff;
  background: var(--service-success);
}

.service-panel-flow strong,
.service-panel-flow small {
  display: block;
}

.service-panel-flow strong {
  color: #0f172a;
  font-weight: 900;
}

.service-panel-flow small {
  color: var(--service-muted);
  font-weight: 700;
}

.service-panel-orders {
  overflow: hidden;
}

.service-panel-table tbody td {
  vertical-align: middle;
}

.service-panel-table td strong {
  color: #172033;
}

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

@media (max-width: 1199.98px) {
  .service-panel-hero,
  .service-panel-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 767.98px) {
  .service-panel-hero-copy,
  .service-panel-live,
  .service-panel-command {
    border-radius: 16px;
  }

  .service-panel-hero-copy {
    min-height: 340px;
  }

  .service-panel-hero-actions .btn {
    width: 100%;
  }

  .service-panel-live-strip,
  .service-panel-metric-grid,
  .service-panel-flow {
    grid-template-columns: 1fr;
  }
}

/* ERP panel revizyonu */
.service-erp-panel {
  display: grid;
  gap: 14px;
}

.service-erp-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.service-erp-toolbar .service-page-title {
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0;
}

.service-erp-toolbar .service-page-description {
  max-width: 820px;
  margin-top: 5px;
}

.service-erp-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.service-erp-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-erp-kpi {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.service-erp-kpi-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--service-primary);
  background: #e8efff;
  font-size: 1.12rem;
}

.service-erp-kpi.is-success .service-erp-kpi-icon {
  color: var(--service-success);
  background: #e7f6f3;
}

.service-erp-kpi.is-warning .service-erp-kpi-icon {
  color: var(--service-warning);
  background: #fff4df;
}

.service-erp-kpi.is-danger .service-erp-kpi-icon {
  color: var(--service-danger);
  background: #feecec;
}

.service-erp-kpi small,
.service-erp-kpi em {
  display: block;
  color: var(--service-muted);
  font-style: normal;
  font-weight: 800;
}

.service-erp-kpi small {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-erp-kpi strong {
  display: block;
  margin: 2px 0;
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.service-erp-kpi em {
  font-size: 0.82rem;
}

.service-erp-command-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(250px, 1.2fr) minmax(250px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.service-erp-strip-summary,
.service-erp-actions,
.service-erp-flow {
  min-height: 78px;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.service-erp-strip-summary {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 13px 15px;
}

.service-erp-strip-summary span,
.service-erp-strip-summary small {
  color: var(--service-muted);
  font-weight: 800;
}

.service-erp-strip-summary span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-erp-strip-summary strong {
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 950;
}

.service-erp-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.service-erp-actions a {
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 8px;
  border-right: 1px solid var(--service-border-soft);
  color: #334155;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.service-erp-actions a:last-child {
  border-right: 0;
}

.service-erp-actions a:hover {
  color: var(--service-primary);
  background: #f8fbff;
}

.service-erp-actions i {
  font-size: 1.1rem;
}

.service-erp-actions span {
  max-width: 100%;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-erp-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.service-erp-flow span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 10px 6px;
  border-right: 1px solid var(--service-border-soft);
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-erp-flow span:last-child {
  border-right: 0;
}

.service-erp-flow i {
  font-size: 1.05rem;
}

.service-erp-flow .is-active {
  color: var(--service-success);
  background: #ecfdf5;
}

.service-erp-orders {
  overflow: hidden;
  border-radius: 10px;
}

.service-erp-table tbody td {
  vertical-align: middle;
}

.service-erp-table td strong {
  color: #172033;
}

@media (max-width: 1399.98px) {
  .service-erp-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-erp-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .service-erp-toolbar-actions,
  .service-erp-toolbar-actions .btn {
    width: 100%;
  }

  .service-erp-kpi-row,
  .service-erp-actions,
  .service-erp-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-erp-command-strip {
    grid-template-columns: 1fr;
  }
}

/* ERP kabuk sıkılaştırma */
.service-nav-grouped .service-nav-inner {
  overflow: visible !important;
  display: flex;
  justify-content: center;
}

.service-nav-grouped .service-tabs {
  min-width: 0 !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 0;
}

.service-nav-grouped .service-tabs .nav-item {
  flex: 0 0 auto;
  min-width: 0;
}

.service-nav-grouped .service-tabs .nav-link {
  min-height: 38px;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.service-nav-grouped .service-tabs .nav-link i {
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.service-nav-grouped .service-nav-label {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.service-nav-grouped .service-tabs .nav-link::after {
  display: none;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .service-topbar-inner {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) minmax(260px, 1.2fr) auto;
    gap: 12px;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .service-brand,
  .service-global-search,
  .service-user-panel {
    width: auto;
    min-width: 0;
  }

  .service-brand {
    gap: 10px;
  }

  .service-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.15rem;
  }

  .service-brand-title {
    font-size: 0.96rem;
  }

  .service-brand-subtitle {
    display: none;
  }

  .service-global-search .form-control,
  .service-global-search .input-group-text {
    height: 38px;
  }

  .service-user-panel {
    justify-content: flex-end;
    gap: 6px;
  }

  .service-user-panel .service-status-pill {
    display: none;
  }

  .service-user-panel .service-status-pill:first-child {
    display: inline-flex;
    padding: 7px 10px;
  }
}

/* Ana menü dropdown katmanı: dosyanın altındaki ERP sıkılaştırma kuralları
   önceki z-index/overflow ayarını ezmesin. */
.service-app-shell .service-topbar {
  position: relative;
  z-index: 3060;
}

.service-app-shell .service-nav-container {
  position: sticky;
  top: 0;
  z-index: 3050 !important;
  overflow: visible !important;
}

.service-app-shell .service-nav-grouped,
.service-app-shell .service-nav-grouped .service-nav-inner,
.service-app-shell .service-nav-grouped .service-tabs,
.service-app-shell .service-nav-grouped .service-tabs .nav-item,
.service-app-shell .service-nav-grouped .service-tabs .dropdown {
  overflow: visible !important;
}

.service-app-shell .service-tabs .dropdown-menu.show,
.service-app-shell .service-nav-grouped .service-nav-dropdown {
  z-index: 3065 !important;
  max-width: min(320px, calc(100vw - 24px));
}

.service-app-shell .service-content {
  position: relative;
  z-index: 0;
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .service-nav-grouped .service-tabs {
    gap: 5px;
  }

  .service-nav-grouped .service-tabs .nav-link {
    padding: 7px 7px;
    font-size: 0.76rem;
  }

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

@media (min-width: 992px) and (max-width: 1399.98px) {
  .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }

  .service-nav-grouped .service-tabs .nav-item {
    flex: 0 0 auto;
  }

  .service-nav-grouped .service-tabs .nav-link {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 0.72rem;
  }

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

@media (min-width: 768px) and (max-width: 991.98px) {
  .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    gap: 5px;
  }

  .service-nav-grouped .service-tabs .nav-item {
    flex: 0 0 auto;
  }

  .service-nav-grouped .service-tabs .nav-link {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

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

@media (max-width: 767.98px) {
  .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
  }

  .service-nav-grouped .service-tabs .nav-item {
    flex: 1 1 calc(50% - 5px);
  }

  .service-nav-grouped .service-tabs .nav-link {
    width: 100%;
    min-height: 36px;
    justify-content: flex-start;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .service-app-shell .service-nav-grouped .service-nav-dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 6px;
  }
}

@media (max-width: 380px) {
  .service-nav-grouped .service-tabs {
    gap: 4px;
  }

  .service-nav-grouped .service-tabs .nav-link {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 0.66rem;
  }
}

/* Admin ana menu nihai yerlesim: basliklar masaustunde tam gorunur, dar ekranda kirpilmak yerine satir kirar. */
.service-app-shell .service-nav-container {
  position: sticky;
  top: 0;
  z-index: 3050 !important;
  overflow: visible !important;
}

.service-app-shell .service-nav-grouped {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.service-app-shell .service-nav-grouped .service-nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 22px;
  overflow: visible !important;
}

.service-app-shell .service-nav-grouped .service-tabs {
  width: 100%;
  min-width: 0 !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  overflow: visible !important;
}

.service-app-shell .service-nav-grouped .service-tabs .nav-item {
  flex: 0 0 auto;
  min-width: max-content;
  overflow: visible !important;
}

.service-app-shell .service-nav-grouped .service-tabs .nav-link {
  width: auto;
  max-width: none;
  min-width: max-content;
  min-height: 38px;
  justify-content: center;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.08;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip;
}

.service-app-shell .service-nav-grouped .service-tabs .nav-link i {
  flex: 0 0 auto;
  font-size: 0.9rem;
}

.service-app-shell .service-nav-grouped .service-nav-label {
  display: inline;
  max-width: none;
  min-width: max-content;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip;
}

.service-app-shell .service-nav-grouped .service-tabs .nav-link::after {
  display: none;
}

.service-app-shell .service-nav-grouped .service-nav-dropdown,
.service-app-shell .service-tabs .dropdown-menu.show {
  z-index: 3065 !important;
  max-width: min(320px, calc(100vw - 24px));
}

@media (min-width: 1600px) {
  .service-app-shell .service-nav-grouped .service-nav-inner {
    padding: 0 28px;
  }

  .service-app-shell .service-nav-grouped .service-tabs {
    gap: 10px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .service-app-shell .service-nav-grouped .service-nav-inner {
    padding: 0 14px;
  }

  .service-app-shell .service-nav-grouped .service-tabs {
    gap: 5px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    min-height: 36px;
    padding: 7px 5px;
    font-size: 0.7rem;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link i {
    font-size: 0.82rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .service-app-shell .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .service-app-shell .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-item {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }
}

@media (max-width: 767.98px) {
  .service-app-shell .service-nav-grouped .service-nav-inner {
    padding: 0 10px;
  }

  .service-app-shell .service-nav-grouped .service-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-item {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    justify-content: flex-start;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .service-app-shell .service-nav-grouped .service-nav-label {
    min-width: 0;
    white-space: normal;
  }

  .service-app-shell .service-nav-grouped .service-nav-dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 6px;
  }
}

@media (max-width: 380px) {
  .service-app-shell .service-nav-grouped .service-tabs {
    gap: 4px;
  }

  .service-app-shell .service-nav-grouped .service-tabs .nav-link {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 0.66rem;
  }
}

/* Mobil ust bar: kullanici paneli viewport'u yana itmesin. */
@media (max-width: 767.98px) {
  .service-app-shell .service-topbar,
  .service-app-shell .service-topbar-inner {
    max-width: 100%;
    overflow-x: clip;
  }

  .service-app-shell .service-topbar-inner {
    gap: 10px;
  }

  .service-app-shell .service-user-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-app-shell .service-user-panel .service-status-pill {
    display: none;
  }

  .service-app-shell .service-user-panel .service-status-pill:first-child {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 7px 10px;
    overflow: hidden;
  }

  .service-app-shell .service-user-panel form,
  .service-app-shell .service-user-panel .btn {
    width: auto;
    min-width: 42px;
  }
}

.service-stock-compact-table {
  table-layout: fixed;
  min-width: 1320px;
}

.service-stock-compact-table th,
.service-stock-compact-table td,
.service-supplier-history-table th,
.service-supplier-history-table td,
.service-invoice-list-card .service-table th,
.service-invoice-list-card .service-table td {
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
  vertical-align: middle;
}

.service-stock-compact-table tbody td,
.service-invoice-list-card .service-table tbody td {
  white-space: nowrap;
}

.service-stock-compact-table th,
.service-stock-compact-table td,
.service-supplier-history-table th,
.service-supplier-history-table td {
  overflow: hidden;
}

.service-stock-compact-table .service-stacked-title,
.service-stock-compact-table .service-stacked-subtitle,
.service-supplier-history-table .service-stacked-title,
.service-supplier-history-table .service-stacked-subtitle,
.service-invoice-list-card .service-stacked-title,
.service-invoice-list-card .service-stacked-subtitle {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-stock-compact-table .service-id {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-stock-compact-table th:first-child,
.service-stock-compact-table td:first-child { width: 150px; }
.service-stock-compact-table th:nth-child(2),
.service-stock-compact-table td:nth-child(2) { width: 310px; }
.service-stock-compact-table th:nth-child(7),
.service-stock-compact-table td:nth-child(7) { width: 230px; }
.service-stock-compact-table th:nth-child(13),
.service-stock-compact-table td:nth-child(13) {
  width: 124px;
  overflow: visible;
}

.service-stock-compact-table th:nth-child(4),
.service-stock-compact-table td:nth-child(4),
.service-stock-compact-table th:nth-child(5),
.service-stock-compact-table td:nth-child(5),
.service-stock-compact-table th:nth-child(6),
.service-stock-compact-table td:nth-child(6) {
  display: none;
}

.service-supplier-history-table {
  table-layout: fixed;
  min-width: 860px;
}

.service-supplier-history-table th:first-child,
.service-supplier-history-table td:first-child {
  width: 240px;
}

.service-supplier-history-table th:nth-child(2),
.service-supplier-history-table td:nth-child(2) {
  width: 82px;
}

.service-supplier-history-table th:nth-child(3),
.service-supplier-history-table td:nth-child(3) {
  width: 108px;
}

.service-supplier-history-table th:nth-child(4),
.service-supplier-history-table td:nth-child(4) {
  width: 126px;
}

.service-supplier-history-table th:nth-child(5),
.service-supplier-history-table td:nth-child(5) {
  width: 116px;
}

.service-supplier-history-table th:last-child,
.service-supplier-history-table td:last-child {
  width: 260px;
  overflow: visible;
}

.service-invoice-list-card .service-table {
  min-width: 1080px;
}

.service-invoice-line-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.service-invoice-line-palette,
.service-invoice-live-total {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-invoice-line-toolbar--workorder {
  padding: 16px;
  border: 1px solid var(--service-border-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-invoice-line-toolbar--workorder .service-invoice-line-palette {
  flex: 1 1 620px;
}

.service-invoice-line-toolbar--workorder .service-invoice-stock-search {
  flex: 1 1 520px;
  min-width: 280px;
}

.service-invoice-line-toolbar--workorder .service-invoice-stock-search .form-control {
  min-height: 48px;
}

.service-invoice-stock-search {
  position: relative;
  min-width: 340px;
  flex: 1 1 420px;
}

.service-invoice-stock-search > .bi {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 2;
  color: var(--service-muted);
  transform: translateY(-50%);
}

.service-invoice-stock-search .form-control {
  min-height: 38px;
  padding-left: 36px;
  border-color: #cbd5e1;
  border-radius: 10px;
  font-weight: 800;
}

.service-invoice-stock-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 40;
  display: none;
  max-height: 340px;
  overflow: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.service-invoice-stock-results.is-open {
  display: block;
}

.service-invoice-stock-result {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: var(--service-dark);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.service-invoice-stock-result:hover,
.service-invoice-stock-result.is-active {
  background: #eef4ff;
}

.service-invoice-stock-result span,
.service-invoice-stock-result small {
  display: block;
}

.service-invoice-stock-result strong {
  margin-right: 8px;
}

.service-invoice-stock-result small,
.service-invoice-stock-empty {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-invoice-stock-empty {
  padding: 10px;
}

.service-invoice-live-total {
  padding: 10px 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #fff;
}

.service-invoice-live-total span {
  color: var(--service-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-invoice-live-total strong {
  color: var(--service-dark);
  font-weight: 900;
  margin-right: 8px;
}

/* Panel widget/kart yapisi */
.service-panel-dashboard {
  display: grid;
  gap: 16px;
}

.service-panel-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 164px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(34, 197, 94, 0.18), transparent 28%),
    linear-gradient(100deg, #0f172a 0%, #162033 50%, #263244 100%);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.18);
  color: #fff;
}

.service-panel-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(255, 255, 255, 0.08) 22% 23%, transparent 23% 52%, rgba(255, 255, 255, 0.06) 52% 53%, transparent 53%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.service-panel-head > * {
  position: relative;
  z-index: 1;
}

.service-panel-head .service-page-title {
  color: #fff;
  letter-spacing: 0;
}

.service-panel-head .service-page-kicker {
  color: #38bdf8;
}

.service-panel-head .service-page-description {
  color: #cbd5e1;
  max-width: 680px;
}

.service-panel-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.service-panel-head-actions .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.74);
  color: #fff;
}

.service-panel-head-actions .btn-outline-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: #0f172a;
}

.service-panel-widget-section {
  overflow: hidden;
}

.service-panel-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.service-panel-section-title h3 {
  margin: 0;
  color: #172033;
  font-size: 0.95rem;
  font-weight: 900;
}

.service-panel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.service-panel-kpi-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--service-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.service-panel-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--service-primary);
}

.service-panel-kpi-card:hover,
.service-panel-mini-card:hover,
.service-panel-finance-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.service-panel-kpi-card,
.service-panel-mini-card,
.service-panel-action-card,
.service-panel-finance-item,
.service-panel-list-item,
.service-panel-quick-grid a,
.service-panel-stock-list a {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.service-panel-kpi-card > span,
.service-panel-mini-card > i,
.service-panel-action-card > i,
.service-panel-finance-item > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--service-primary);
  background: #e8efff;
  font-size: 1.12rem;
}

.service-panel-kpi-card small,
.service-panel-kpi-card em {
  display: block;
  color: var(--service-muted);
  font-style: normal;
  font-weight: 800;
}

.service-panel-kpi-card small {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-panel-kpi-card strong {
  display: block;
  margin: 2px 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.service-panel-kpi-card em {
  font-size: 0.8rem;
}

.service-panel-kpi-card.is-success > span,
.service-panel-mini-card.is-success > i,
.service-panel-action-card.is-success > i,
.service-panel-finance-item.is-success > i {
  color: var(--service-success);
  background: #e7f6f3;
}

.service-panel-kpi-card.is-success::before {
  background: var(--service-success);
}

.service-panel-kpi-card.is-warning > span,
.service-panel-mini-card.is-warning > i,
.service-panel-action-card.is-warning > i,
.service-panel-finance-item.is-warning > i {
  color: var(--service-warning);
  background: #fff4df;
}

.service-panel-kpi-card.is-warning::before {
  background: var(--service-warning);
}

.service-panel-kpi-card.is-danger > span,
.service-panel-mini-card.is-danger > i,
.service-panel-action-card.is-danger > i,
.service-panel-finance-item.is-danger > i {
  color: var(--service-danger);
  background: #feecec;
}

.service-panel-kpi-card.is-danger::before {
  background: var(--service-danger);
}

.service-panel-kpi-card.is-info > span,
.service-panel-mini-card.is-info > i,
.service-panel-action-card.is-info > i,
.service-panel-finance-item.is-info > i {
  color: var(--service-info);
  background: #e8f6fc;
}

.service-panel-kpi-card.is-info::before {
  background: var(--service-info);
}

.service-panel-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.service-panel-main-column,
.service-panel-side-column {
  display: grid;
  gap: 16px;
}

.service-panel-mini-grid,
.service-panel-action-grid,
.service-panel-finance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.service-panel-finance-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-panel-mini-card,
.service-panel-action-card,
.service-panel-finance-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 122px;
  padding: 14px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}

.service-panel-action-card:hover {
  border-color: rgba(31, 78, 216, 0.28);
  background: #fff;
  color: var(--service-primary);
}

.service-panel-mini-card span,
.service-panel-action-card span,
.service-panel-finance-item span {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.service-panel-mini-card strong,
.service-panel-action-card strong,
.service-panel-finance-item strong {
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.service-panel-finance-item {
  min-height: 116px;
}

.service-panel-tabbar {
  gap: 8px;
  padding: 14px 16px 0;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.service-panel-tabbar .nav-link {
  min-height: 36px;
  border-radius: 9px;
  color: #475569;
  font-weight: 900;
  padding: 8px 10px;
}

.service-panel-tabbar .nav-link.active {
  background: var(--service-primary);
}

.service-panel-activities-wide {
  width: 100%;
}

.service-panel-activities-wide .service-card-header {
  background:
    linear-gradient(90deg, #ffffff 0%, #f8fafc 48%, #eef6ff 100%);
}

.service-panel-activities-wide .tab-content {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.service-panel-tab-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 4px;
}

.service-panel-tab-actions a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.service-panel-tab-actions a:hover {
  border-color: rgba(31, 78, 216, 0.3);
  color: var(--service-primary);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.service-panel-tab-actions i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8efff;
  color: var(--service-primary);
  flex: 0 0 auto;
}

.service-panel-tab-actions span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-panel-compact-table {
  min-width: 1080px;
}

.service-panel-list {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.service-panel-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
}

.service-panel-list-item-link:hover {
  border-color: rgba(31, 78, 216, 0.28);
  background: #fff;
  color: var(--service-primary);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.service-panel-list-item > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--service-primary);
  background: #e8efff;
}

.service-panel-list-item strong,
.service-panel-list-item span {
  display: block;
  min-width: 0;
}

.service-panel-list-item strong {
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-panel-list-item span {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-panel-list-item b {
  color: #0f172a;
  font-weight: 950;
  white-space: nowrap;
}

.service-panel-row-action {
  width: 34px;
  height: 34px;
  display: grid !important;
  place-items: center;
  border-radius: 9px;
  background: #eef4ff;
  color: var(--service-primary) !important;
}

.service-panel-stock-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 14px 14px 0;
}

.service-panel-stock-summary > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #f8fafc;
}

.service-panel-stock-summary i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--service-primary);
  background: #e8efff;
}

.service-panel-stock-summary .is-warning i {
  color: var(--service-warning);
  background: #fff4df;
}

.service-panel-stock-summary .is-danger i {
  color: var(--service-danger);
  background: #feecec;
}

.service-panel-stock-summary span {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-panel-stock-summary strong {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 950;
}

.service-panel-stock-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.service-panel-stock-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
}

.service-panel-stock-list a:hover {
  border-color: rgba(185, 28, 28, 0.22);
  background: #fffbfb;
}

.service-panel-stock-list strong,
.service-panel-stock-list span {
  display: block;
  min-width: 0;
}

.service-panel-stock-list strong {
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-panel-stock-list span {
  color: var(--service-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-panel-stock-list b {
  color: var(--service-danger);
  font-weight: 950;
  white-space: nowrap;
}

.service-panel-quick-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
}

.service-panel-quick-grid a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--service-border-soft);
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.service-panel-quick-grid a:hover {
  border-color: rgba(31, 78, 216, 0.28);
  background: #fff;
  color: var(--service-primary);
}

.service-panel-quick-grid i {
  font-size: 1.2rem;
}

.service-panel-quick-grid span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1599.98px) {
  .service-panel-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-panel-finance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .service-panel-main-grid {
    grid-template-columns: 1fr;
  }

  .service-panel-mini-grid,
  .service-panel-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-panel-tab-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-panel-head {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .service-panel-head-actions,
  .service-panel-head-actions .btn {
    width: 100%;
  }

  .service-panel-kpi-grid,
  .service-panel-mini-grid,
  .service-panel-action-grid,
  .service-panel-finance-grid {
    grid-template-columns: 1fr;
  }

  .service-panel-quick-grid a {
    flex-basis: 140px;
    flex-shrink: 0;
  }

  .service-panel-list-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .service-panel-list-item b,
  .service-panel-list-item .service-badge,
  .service-panel-list-item .service-panel-row-action {
    justify-self: start;
    grid-column: 2;
  }

  .service-panel-tab-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1599.98px) {
  .service-stock-compact-table th:nth-child(4),
  .service-stock-compact-table td:nth-child(4),
  .service-stock-compact-table th:nth-child(5),
  .service-stock-compact-table td:nth-child(5),
  .service-stock-compact-table th:nth-child(6),
  .service-stock-compact-table td:nth-child(6),
  .service-invoice-list-card th:nth-child(8),
  .service-invoice-list-card td:nth-child(8),
  .service-invoice-list-card th:nth-child(9),
  .service-invoice-list-card td:nth-child(9),
  .service-invoice-list-card th:nth-child(10),
  .service-invoice-list-card td:nth-child(10) {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .service-stock-compact-table th:nth-child(3),
  .service-stock-compact-table td:nth-child(3),
  .service-stock-compact-table th:nth-child(6),
  .service-stock-compact-table td:nth-child(6),
  .service-invoice-list-card th:nth-child(2),
  .service-invoice-list-card td:nth-child(2),
  .service-invoice-list-card th:nth-child(3),
  .service-invoice-list-card td:nth-child(3),
  .service-invoice-list-card th:nth-child(4),
  .service-invoice-list-card td:nth-child(4) {
    display: none;
  }
}

/* Admin menu redesign */
.service-mobile-menu-toggle {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.service-mobile-menu-toggle:hover,
.service-mobile-menu-toggle:focus {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.service-mobile-menu-toggle i {
  font-size: 1.35rem;
  line-height: 1;
}

.service-admin-menu {
  position: sticky;
  top: 0;
  z-index: 3050;
  background: #fff;
  border-bottom: 1px solid #dbe3ef;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.service-admin-menu-inner {
  width: 100%;
  padding: 0 24px;
}

.service-admin-menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.service-admin-menu-item {
  position: relative;
  min-width: 0;
}

.service-admin-menu-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.service-admin-menu-link:hover,
.service-admin-menu-link:focus {
  border-color: #dbe7f5;
  background: #f8fafc;
  color: var(--service-primary);
}

.service-admin-menu-link.active {
  border-color: #c7d7fe;
  background: #e8efff;
  color: var(--service-primary);
}

.service-admin-menu-link i {
  flex: 0 0 auto;
  font-size: 0.96rem;
}

.service-admin-menu-link.dropdown-toggle::after {
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}

.service-admin-dropdown {
  min-width: 250px;
  max-width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.18);
  z-index: 3065;
}

.service-admin-menu-item > .service-admin-dropdown {
  max-height: none;
  overflow: visible;
}

.service-admin-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 32px;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #334155;
  font-size: 0.79rem;
  font-weight: 520;
  line-height: 1.18;
  white-space: normal;
}

.service-admin-dropdown-content {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 7px;
}

.service-admin-dropdown-icon {
  width: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1;
}

.service-admin-dropdown-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-admin-dropdown .dropdown-item:hover,
.service-admin-dropdown .dropdown-item:focus {
  background: #f1f5f9;
  color: var(--service-primary);
}

.service-admin-dropdown .dropdown-item.active,
.service-admin-dropdown .dropdown-item:active {
  background: var(--service-primary);
  color: #fff;
}

.service-admin-submenu {
  position: relative;
}

.service-admin-dropdown .service-admin-dropdown-parent {
  justify-content: space-between;
}

.service-admin-dropdown .service-admin-dropdown-parent > span {
  min-width: 0;
}

.service-admin-submenu-chevron {
  margin-left: auto;
  font-size: 0.74rem;
}

.service-admin-dropdown-nested {
  top: -6px;
  left: calc(100% - 1px);
  margin-left: 0;
  display: none;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}

.service-admin-dropdown-nested.is-left {
  right: calc(100% - 1px);
  left: auto;
}

.service-admin-submenu:hover > .service-admin-dropdown-nested,
.service-admin-submenu:focus-within > .service-admin-dropdown-nested,
.service-admin-submenu.is-open > .service-admin-dropdown-nested {
  display: block;
}

.service-admin-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 12px;
  height: 100%;
  pointer-events: none;
}

.service-admin-submenu.is-open::after,
.service-admin-submenu:hover::after,
.service-admin-submenu:focus-within::after {
  pointer-events: auto;
}

.service-admin-submenu.is-left::after {
  right: auto;
  left: -10px;
}

.service-admin-offcanvas {
  width: min(392px, 92vw);
  background: #f8fafc;
  border: 0;
  z-index: 4100;
}

.offcanvas-backdrop {
  z-index: 4090;
}

.service-app-shell .offcanvas {
  z-index: 4100;
}

.service-admin-offcanvas-header {
  align-items: flex-start;
  padding: 16px;
  background: #111827;
  color: #fff;
}

.service-admin-offcanvas-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.service-admin-offcanvas-title > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--service-primary);
}

.service-admin-offcanvas-title h2 {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.2;
}

.service-admin-offcanvas-title small {
  display: block;
  margin-top: 2px;
  color: #cbd5e1;
  font-weight: 750;
}

.service-admin-offcanvas-body {
  padding: 12px;
}

.service-admin-mobile-list {
  display: grid;
  gap: 8px;
}

.service-admin-mobile-group {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
}

.service-admin-mobile-group.is-active {
  border-color: #c7d7fe;
  box-shadow: 0 10px 24px rgba(31, 78, 216, 0.08);
}

.service-admin-mobile-trigger {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #172033;
  text-align: left;
  text-decoration: none;
  font-weight: 900;
}

.service-admin-mobile-trigger:hover,
.service-admin-mobile-trigger:focus {
  background: #f8fafc;
  color: var(--service-primary);
}

.service-admin-mobile-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8efff;
  color: var(--service-primary);
}

.service-admin-mobile-text {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.service-admin-mobile-chevron {
  justify-self: end;
  color: #64748b;
  transition: transform 0.18s ease;
}

.service-admin-mobile-trigger:not(.collapsed) .service-admin-mobile-chevron {
  transform: rotate(180deg);
}

.service-admin-mobile-direct .service-admin-mobile-chevron {
  transform: none;
  font-size: 1.35rem;
}

.service-admin-mobile-children {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px 60px;
}

.service-admin-mobile-child {
  min-height: 40px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.service-admin-mobile-child:hover,
.service-admin-mobile-child:focus {
  background: #f1f5f9;
  color: var(--service-primary);
}

.service-admin-mobile-child.active {
  background: #e8efff;
  color: var(--service-primary);
}

.service-admin-mobile-nested-group {
  display: grid;
  gap: 6px;
}

.service-admin-mobile-child-toggle {
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  border: 0;
  background: transparent;
  text-align: left;
}

.service-admin-mobile-child-chevron {
  justify-self: end;
  color: #64748b;
  transition: transform 0.18s ease;
}

.service-admin-mobile-child-toggle:not(.collapsed) .service-admin-mobile-child-chevron {
  transform: rotate(180deg);
}

.service-admin-mobile-children-nested {
  margin-left: 14px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid #e2e8f0;
}

@media (min-width: 1600px) {
  .service-admin-menu-list {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .service-admin-menu-link {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.84rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .service-admin-menu-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .service-admin-menu-list {
    gap: 5px;
  }

  .service-admin-menu-link {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .service-admin-menu-link i {
    font-size: 0.88rem;
  }
}

@media (max-width: 1199.98px) {
  .service-app-shell .service-topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
  }

  .service-app-shell .service-brand,
  .service-app-shell .service-user-panel,
  .service-app-shell .service-global-search {
    width: auto;
    min-width: 0;
  }

  .service-app-shell .service-brand > div {
    min-width: 0;
  }

  .service-app-shell .service-brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .service-app-shell .service-brand-subtitle {
    display: none;
  }

  .service-app-shell .service-global-search {
    grid-column: 1 / -1;
  }

  .service-app-shell .service-user-panel {
    justify-content: flex-end;
    gap: 8px;
  }

  .service-app-shell .service-user-panel .service-status-pill {
    display: none;
  }

  .service-app-shell .service-user-panel form,
  .service-app-shell .service-user-panel .btn {
    min-width: 42px;
  }
}

@media (max-width: 575.98px) {
  .service-app-shell .service-topbar-inner {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    padding: 10px;
  }

  .service-app-shell .service-brand {
    gap: 10px;
  }

  .service-app-shell .service-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 1.1rem;
  }

  .service-app-shell .service-brand-title {
    font-size: 0.94rem;
  }

  .service-admin-mobile-children {
    padding-left: 14px;
  }
}
/* Egitim Akademisi */
.training-academy-header {
  background: linear-gradient(135deg, rgba(31, 78, 216, .08), rgba(15, 118, 110, .06)), #fff;
  border: 1px solid var(--service-border, #e5e7eb);
  border-radius: 12px;
  padding: 22px;
}
.training-academy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.training-academy-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--service-border, #e5e7eb);
  border-radius: 999px;
  padding: 8px 12px;
  color: #344054;
  background: #fff;
  font-weight: 700;
  font-size: .88rem;
}
.training-academy-nav a.active,
.training-academy-nav a:hover {
  background: rgba(31, 78, 216, .09);
  border-color: rgba(31, 78, 216, .25);
  color: #1f4ed8;
}
.training-path-grid,
.training-library-grid,
.training-checklist-grid,
.training-glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.training-path-card,
.training-library-card,
.training-checklist-card,
.training-term,
.training-quiz-card {
  border: 1px solid var(--service-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}
.training-path-head,
.training-library-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.training-path-head i,
.training-library-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(31, 78, 216, .1);
  color: #1f4ed8;
  font-size: 1.18rem;
}
.training-path-card h4,
.training-library-card h4,
.training-scenario h4,
.training-checklist-card h4,
.training-quiz-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}
.training-path-card p,
.training-library-card p,
.training-scenario p,
.training-checklist-card p {
  color: #667085;
  line-height: 1.52;
}
.training-detail-kicker {
  color: #667085;
  font-size: .78rem;
  font-weight: 700;
}
.training-detail-purpose {
  min-height: 54px;
  margin-top: 12px;
}
.training-meta-list {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: .84rem;
}
.training-progress {
  height: 8px;
  border-radius: 999px;
}
.training-scenario-list {
  display: grid;
  gap: 12px;
}
.training-scenario {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  border: 1px solid var(--service-border, #e5e7eb);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}
.training-scenario-number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, .1);
  color: #0f766e;
  font-weight: 800;
}
.training-check-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--service-border, #eef0f3);
  color: #344054;
}
.training-check-row input {
  margin-top: 4px;
}
.training-term strong {
  display: block;
  margin-bottom: 6px;
}
.training-term span,
.training-term small {
  display: block;
  color: #667085;
  line-height: 1.5;
}
.training-question {
  border-top: 1px solid var(--service-border, #eef0f3);
  padding: 12px 0;
}
.training-question label {
  display: block;
  margin-top: 8px;
  color: #344054;
}
.training-content h4 {
  margin-top: 1.2rem;
  font-size: 1.02rem;
  font-weight: 800;
}
.training-content p,
.training-content li {
  color: #344054;
  line-height: 1.62;
}
@media (max-width: 575.98px) {
  .training-academy-header {
    padding: 16px;
  }
  .training-academy-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .training-academy-nav a {
    white-space: nowrap;
  }
}

/* Dijital Ekspertiz - pratik modul akisi */
.service-expert-quick-card,
.service-expert-create-card {
  overflow: hidden;
}

.service-expert-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-expert-flow > div {
  min-height: 140px;
  padding: 16px;
  border: 1px solid var(--service-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-expert-flow i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eef6ff;
  color: var(--service-primary);
  font-size: 1.25rem;
}

.service-expert-flow strong {
  color: var(--service-dark);
  font-weight: 900;
}

.service-expert-flow span {
  color: var(--service-muted);
  font-size: 0.9rem;
}

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

@media (max-width: 575.98px) {
  .service-expert-flow {
    grid-template-columns: 1fr;
  }
}

/* B2B pratik stok arama */
.service-b2b-stock-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.service-b2b-stock-breakdown span {
  border: 1px solid var(--service-border);
  border-radius: 999px;
  background: var(--service-light);
  color: var(--service-muted);
  font-size: 12px;
  padding: 4px 8px;
}

.service-b2b-product-side .form-select {
  min-width: 220px;
}

@media (max-width: 991.98px) {
  .service-b2b-product-side .form-select {
    min-width: 100%;
  }
}

/* B2B pratik esnaf siparis ekrani */
.b2b-pratik-mode {
  background: #f4f6f8;
}

.b2b-pratik-mode .service-topbar,
.b2b-pratik-mode .service-nav-container {
  display: none;
}

.b2b-pratik-mode .service-content,
.b2b-pratik-mode .service-workspace {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.b2b-pratik-app {
  --b2b-bg: #f4f6f8;
  --b2b-surface: #ffffff;
  --b2b-surface-2: #f9fafb;
  --b2b-text: #111827;
  --b2b-muted: #6b7280;
  --b2b-line: #e5e7eb;
  --b2b-primary: #0f766e;
  --b2b-primary-dark: #115e59;
  --b2b-primary-soft: #ccfbf1;
  --b2b-danger: #dc2626;
  --b2b-success: #16a34a;
  --b2b-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  --b2b-radius: 18px;
  min-height: 100vh;
  background: var(--b2b-bg);
  color: var(--b2b-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.b2b-pratik-embedded {
  min-height: auto;
  background: transparent;
  display: grid;
  gap: 18px;
}

.b2b-pratik-embedded .b2b-pratik-content-search {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.b2b-pratik-embedded .b2b-pratik-content-search .b2b-pratik-global-search {
  min-width: 0;
}

.b2b-pratik-app.is-dark {
  --b2b-bg: #0f172a;
  --b2b-surface: #111827;
  --b2b-surface-2: #1f2937;
  --b2b-text: #f9fafb;
  --b2b-muted: #9ca3af;
  --b2b-line: #334155;
  --b2b-primary: #2dd4bf;
  --b2b-primary-dark: #14b8a6;
  --b2b-primary-soft: #134e4a;
  --b2b-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.b2b-pratik-app *,
.b2b-pratik-app *::before,
.b2b-pratik-app *::after {
  box-sizing: border-box;
}

.b2b-pratik-app a {
  color: inherit;
  text-decoration: none;
}

.b2b-pratik-app button,
.b2b-pratik-app input,
.b2b-pratik-app select,
.b2b-pratik-app textarea {
  font: inherit;
}

.b2b-pratik-app button {
  cursor: pointer;
}

.b2b-pratik-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--b2b-surface);
  border-bottom: 1px solid var(--b2b-line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.b2b-pratik-topbar-inner {
  max-width: 1600px;
  margin: auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.b2b-pratik-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}

.b2b-pratik-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--b2b-primary), #0891b2);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.22);
}

.b2b-pratik-brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.b2b-pratik-brand-title strong {
  font-size: 15px;
}

.b2b-pratik-brand-title span {
  color: var(--b2b-muted);
  font-size: 12px;
}

.b2b-pratik-global-search {
  flex: 1;
  position: relative;
}

.b2b-pratik-global-search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--b2b-line);
  border-radius: 15px;
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  padding: 0 176px 0 44px;
  outline: none;
}

.b2b-pratik-global-search input:focus,
.b2b-pratik-input:focus,
.b2b-pratik-select:focus,
.b2b-pratik-textarea:focus {
  border-color: var(--b2b-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.b2b-pratik-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--b2b-muted);
  font-size: 18px;
}

.b2b-pratik-clear {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid var(--b2b-line);
  border-radius: 10px;
  background: var(--b2b-surface);
  color: var(--b2b-muted);
}

.b2b-pratik-shortcut {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}

.b2b-pratik-shortcut span {
  border: 1px solid var(--b2b-line);
  background: var(--b2b-surface);
  color: var(--b2b-muted);
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 11px;
}

.b2b-pratik-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-pratik-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  background: var(--b2b-surface-2);
  white-space: nowrap;
}

.b2b-pratik-chip strong {
  font-size: 13px;
}

.b2b-pratik-chip span {
  color: var(--b2b-muted);
  font-size: 12px;
}

.b2b-pratik-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  display: grid;
  place-items: center;
}

.b2b-pratik-layout {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 370px;
  gap: 18px;
}

.b2b-pratik-embedded .b2b-pratik-layout {
  width: 100%;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.b2b-pratik-panel {
  background: var(--b2b-surface);
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
}

.b2b-pratik-panel-head {
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--b2b-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.b2b-pratik-panel-head h2,
.b2b-pratik-panel-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.b2b-pratik-panel-head small {
  display: block;
  color: var(--b2b-muted);
  margin-top: 4px;
}

.b2b-pratik-panel-body {
  padding: 16px;
}

.b2b-pratik-sidebar,
.b2b-pratik-main,
.b2b-pratik-cart {
  min-width: 0;
}

.b2b-pratik-sidebar,
.b2b-pratik-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.b2b-pratik-embedded .b2b-pratik-sidebar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(340px, 1.08fr) minmax(380px, 1.24fr);
  gap: 14px;
}

.b2b-pratik-embedded .b2b-pratik-sidebar .b2b-pratik-panel {
  min-width: 0;
}

.b2b-pratik-embedded .b2b-pratik-quick-menu {
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  align-content: start;
}

.b2b-pratik-embedded .b2b-pratik-category-list {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  max-height: 164px;
  overflow-y: auto;
  overflow-x: hidden;
}

.b2b-pratik-account-card {
  padding: 16px;
  background: linear-gradient(135deg, var(--b2b-surface), var(--b2b-surface-2));
}

.b2b-pratik-account-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.b2b-pratik-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--b2b-primary-soft);
  color: var(--b2b-primary-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.b2b-pratik-account-top strong {
  display: block;
  font-size: 15px;
}

.b2b-pratik-account-top span {
  color: var(--b2b-muted);
  font-size: 12px;
}

.b2b-pratik-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.b2b-pratik-mini-stat {
  border: 1px solid var(--b2b-line);
  border-radius: 13px;
  padding: 10px;
  background: var(--b2b-surface);
}

.b2b-pratik-mini-stat span {
  color: var(--b2b-muted);
  font-size: 11px;
  display: block;
}

.b2b-pratik-mini-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.b2b-pratik-quick-menu,
.b2b-pratik-category-list {
  display: grid;
  gap: 8px;
}

.b2b-pratik-menu-btn,
.b2b-pratik-cat {
  width: 100%;
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.b2b-pratik-menu-btn.is-active,
.b2b-pratik-cat.is-active {
  background: var(--b2b-primary-soft);
  border-color: rgba(15, 118, 110, 0.28);
  color: var(--b2b-primary-dark);
}

.b2b-pratik-menu-btn small {
  color: var(--b2b-muted);
}

.b2b-pratik-hero {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.2), transparent 34%),
    linear-gradient(135deg, var(--b2b-surface), var(--b2b-surface-2));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}

.b2b-pratik-hero h1 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: 0;
}

.b2b-pratik-hero p {
  margin: 0;
  color: var(--b2b-muted);
  line-height: 1.5;
}

.b2b-pratik-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.b2b-pratik-btn {
  border: 0;
  border-radius: 14px;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.b2b-pratik-btn-primary {
  background: var(--b2b-primary);
  color: #fff;
}

.b2b-pratik-btn-primary:hover {
  background: var(--b2b-primary-dark);
  color: #fff;
}

.b2b-pratik-btn-soft {
  background: var(--b2b-surface);
  color: var(--b2b-text);
  border: 1px solid var(--b2b-line);
}

.b2b-pratik-btn-success {
  background: var(--b2b-success);
  color: #fff;
}

.b2b-pratik-btn-block {
  width: 100%;
}

.b2b-pratik-today-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.b2b-pratik-today-item {
  border: 1px solid var(--b2b-line);
  border-radius: 16px;
  padding: 14px;
  background: var(--b2b-surface);
}

.b2b-pratik-today-item span {
  color: var(--b2b-muted);
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}

.b2b-pratik-today-item strong {
  display: block;
  font-size: 20px;
}

.b2b-pratik-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.b2b-pratik-filter-bar .b2b-pratik-field:first-child {
  grid-column: span 2;
}

.b2b-pratik-filter-bar .b2b-pratik-btn {
  align-self: end;
}

.b2b-pratik-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.b2b-pratik-field label,
.b2b-pratik-custom-line label {
  color: var(--b2b-muted);
  font-size: 12px;
  font-weight: 650;
}

.b2b-pratik-input,
.b2b-pratik-select,
.b2b-pratik-textarea {
  width: 100%;
  border: 1px solid var(--b2b-line);
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  border-radius: 13px;
  min-height: 42px;
  padding: 0 12px;
  outline: none;
}

.b2b-pratik-textarea {
  min-height: 86px;
  padding: 11px 12px;
  resize: vertical;
}

.b2b-pratik-barcode-panel {
  border-top: 1px solid var(--b2b-line);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.b2b-pratik-barcode-input {
  position: relative;
}

.b2b-pratik-barcode-input i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--b2b-muted);
}

.b2b-pratik-barcode-input input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--b2b-line);
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  border-radius: 13px;
  padding: 0 110px 0 40px;
}

.b2b-pratik-barcode-input button {
  position: absolute;
  right: 4px;
  top: 4px;
  min-height: 34px;
}

#b2bBarcodeStatus {
  color: var(--b2b-muted);
  font-size: 12px;
  grid-column: 1 / -1;
}

#b2bBarcodeStatus.is-ok {
  color: var(--b2b-success);
}

#b2bBarcodeStatus.is-error {
  color: var(--b2b-danger);
}

.b2b-pratik-scanner {
  position: relative;
  margin: 0 14px 14px;
  overflow: hidden;
  border-radius: 16px;
  background: #020617;
  min-height: 220px;
}

.b2b-pratik-scanner video {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.b2b-pratik-scanner-frame {
  position: absolute;
  inset: 32px;
  border: 2px solid var(--b2b-primary);
  border-radius: 18px;
}

.b2b-pratik-table-wrap {
  overflow: auto;
  border-radius: 0 0 var(--b2b-radius) var(--b2b-radius);
}

.b2b-pratik-product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
}

.b2b-pratik-product-table th,
.b2b-pratik-product-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--b2b-line);
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}

.b2b-pratik-product-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--b2b-surface);
  color: var(--b2b-muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.b2b-pratik-product-table th:nth-child(1),
.b2b-pratik-product-table td:nth-child(1) {
  width: 26%;
}

.b2b-pratik-product-table th:nth-child(2),
.b2b-pratik-product-table td:nth-child(2) {
  width: 9%;
}

.b2b-pratik-product-table th:nth-child(3),
.b2b-pratik-product-table td:nth-child(3) {
  width: 20%;
}

.b2b-pratik-product-table th:nth-child(4),
.b2b-pratik-product-table td:nth-child(4) {
  width: 12%;
}

.b2b-pratik-product-table th:nth-child(5),
.b2b-pratik-product-table td:nth-child(5),
.b2b-pratik-product-table th:nth-child(6),
.b2b-pratik-product-table td:nth-child(6) {
  width: 9%;
}

.b2b-pratik-product-table th:nth-child(7),
.b2b-pratik-product-table td:nth-child(7) {
  width: 7%;
}

.b2b-pratik-product-table th:nth-child(8),
.b2b-pratik-product-table td:nth-child(8) {
  width: 8%;
}

.b2b-pratik-product-table tr:hover td {
  background: var(--b2b-surface-2);
}

.b2b-pratik-product-table tr.is-passive {
  opacity: 0.62;
}

.b2b-pratik-product-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: none;
}

.b2b-pratik-product-name strong {
  color: var(--b2b-text);
  font-size: 14px;
  white-space: normal;
}

.b2b-pratik-product-name span,
.b2b-pratik-product-name small,
.b2b-pratik-stock-total,
.b2b-pratik-discount,
.b2b-pratik-product-table td small {
  color: var(--b2b-muted);
  font-size: 12px;
  display: block;
}

.b2b-pratik-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 750;
  border: 1px solid transparent;
}

.b2b-pratik-badge-ok {
  background: #dcfce7;
  color: #166534;
}

.b2b-pratik-badge-low {
  background: #fef3c7;
  color: #92400e;
}

.b2b-pratik-badge-out {
  background: #fee2e2;
  color: #991b1b;
}

.b2b-pratik-qty {
  width: 56px;
  height: 36px;
  border: 1px solid var(--b2b-line);
  border-radius: 11px;
  background: var(--b2b-surface-2);
  color: var(--b2b-text);
  text-align: center;
}

.b2b-pratik-row-btn {
  height: 36px;
  border: 0;
  border-radius: 11px;
  padding: 0 8px;
  background: var(--b2b-primary);
  color: #fff;
  font-weight: 800;
  min-width: 48px;
  white-space: nowrap;
}

.b2b-pratik-row-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.b2b-pratik-depot-select {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  margin-top: 6px;
  font-size: 12px;
}

.b2b-pratik-app .service-b2b-stock-breakdown {
  display: grid;
  gap: 4px;
  max-width: 150px;
  margin-top: 0;
}

.b2b-pratik-app .service-b2b-stock-breakdown span {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--b2b-muted);
  font-size: 12px;
  padding: 0;
}

.b2b-pratik-app .service-b2b-stock-breakdown strong {
  color: var(--b2b-text);
}

.b2b-pratik-empty {
  padding: 24px;
  text-align: center;
  color: var(--b2b-muted);
}

.b2b-pratik-cart {
  position: sticky;
  top: 78px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 95px);
  overflow: auto;
}

.b2b-pratik-cart form {
  display: grid;
  gap: 14px;
}

.b2b-pratik-cart-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.b2b-pratik-cart-item {
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  padding: 10px;
  background: var(--b2b-surface-2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.b2b-pratik-cart-item strong,
.b2b-pratik-cart-item b {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.b2b-pratik-cart-item small,
.b2b-pratik-cart-item span,
.b2b-pratik-cart-item em {
  color: var(--b2b-muted);
  display: block;
  font-size: 12px;
  font-style: normal;
}

.b2b-pratik-cart-controls {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.b2b-pratik-cart-controls input {
  width: 76px;
  min-height: 34px;
  text-align: center;
}

.b2b-pratik-cart-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--b2b-line);
  border-radius: 9px;
  background: var(--b2b-surface);
  color: var(--b2b-danger);
}

.b2b-pratik-summary {
  display: grid;
  gap: 9px;
}

.b2b-pratik-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--b2b-muted);
}

.b2b-pratik-summary-row strong {
  color: var(--b2b-text);
}

.b2b-pratik-summary-row.is-total {
  padding-top: 10px;
  border-top: 1px dashed var(--b2b-line);
  color: var(--b2b-text);
  font-size: 17px;
  font-weight: 900;
}

.b2b-pratik-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.b2b-pratik-pay-option {
  border: 1px solid var(--b2b-line);
  border-radius: 13px;
  padding: 10px;
  background: var(--b2b-surface-2);
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.b2b-pratik-pay-option input {
  accent-color: var(--b2b-primary);
}

.b2b-pratik-custom-line {
  display: grid;
  gap: 6px;
}

.b2b-pratik-custom-line > div {
  display: grid;
  grid-template-columns: 1fr 82px auto;
  gap: 8px;
}

.b2b-pratik-order-note {
  background: var(--b2b-primary-soft);
  color: var(--b2b-primary-dark);
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 14px;
  padding: 12px;
  line-height: 1.45;
  font-size: 13px;
}

.b2b-pratik-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.b2b-pratik-list {
  display: grid;
  gap: 10px;
}

.b2b-pratik-list-row {
  border: 1px solid var(--b2b-line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--b2b-surface-2);
}

.b2b-pratik-list-row strong {
  display: block;
  margin-bottom: 4px;
}

.b2b-pratik-list-row span {
  color: var(--b2b-muted);
  font-size: 12px;
}

.b2b-pratik-amount {
  font-weight: 900;
  text-align: right;
}

.b2b-pratik-mobile-cart-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  background: var(--b2b-surface);
  border: 1px solid var(--b2b-line);
  border-radius: 18px;
  box-shadow: var(--b2b-shadow);
  padding: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.b2b-pratik-mobile-cart-bar strong {
  display: block;
}

.b2b-pratik-mobile-cart-bar span {
  color: var(--b2b-muted);
  font-size: 12px;
}

.b2b-pratik-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #111827;
  color: #fff;
  padding: 13px 16px;
  border-radius: 14px;
  box-shadow: var(--b2b-shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  z-index: 90;
}

.b2b-pratik-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.b2b-pratik-app.is-dark .b2b-pratik-badge-ok {
  background: #14532d;
  color: #bbf7d0;
}

.b2b-pratik-app.is-dark .b2b-pratik-badge-low {
  background: #78350f;
  color: #fde68a;
}

.b2b-pratik-app.is-dark .b2b-pratik-badge-out {
  background: #7f1d1d;
  color: #fecaca;
}

@media (max-width: 1250px) {
  .b2b-pratik-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .b2b-pratik-cart {
    grid-column: 1 / -1;
    position: static;
    max-height: none;
  }

  .b2b-pratik-filter-bar {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .b2b-pratik-filter-bar .b2b-pratik-field:first-child,
  .b2b-pratik-filter-bar .b2b-pratik-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .b2b-pratik-topbar-inner {
    flex-wrap: wrap;
  }

  .b2b-pratik-brand {
    min-width: 0;
  }

  .b2b-pratik-global-search {
    order: 3;
    flex-basis: 100%;
  }

  .b2b-pratik-top-actions .b2b-pratik-chip {
    display: none;
  }

  .b2b-pratik-layout {
    grid-template-columns: 1fr;
    padding: 12px;
    padding-bottom: 90px;
  }

  .b2b-pratik-sidebar {
    order: 2;
  }

  .b2b-pratik-hero,
  .b2b-pratik-section-grid {
    grid-template-columns: 1fr;
  }

  .b2b-pratik-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-pratik-filter-bar .b2b-pratik-field:first-child,
  .b2b-pratik-filter-bar .b2b-pratik-btn {
    grid-column: 1 / -1;
  }

  .b2b-pratik-cart {
    display: none;
  }

  .b2b-pratik-mobile-cart-bar {
    display: flex;
  }

  .b2b-pratik-today-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .b2b-pratik-filter-bar,
  .b2b-pratik-barcode-panel,
  .b2b-pratik-payment-grid,
  .b2b-pratik-custom-line > div {
    grid-template-columns: 1fr;
  }

  .b2b-pratik-hero h1 {
    font-size: 21px;
  }

  .b2b-pratik-topbar-inner {
    padding: 10px 12px;
  }

  .b2b-pratik-brand-title span,
  .b2b-pratik-shortcut {
    display: none;
  }

  .b2b-pratik-global-search input {
    padding-right: 48px;
  }

  .b2b-pratik-clear {
    right: 8px;
  }
}

@media print {
  .b2b-pratik-topbar,
  .b2b-pratik-sidebar,
  .b2b-pratik-hero,
  .b2b-pratik-filter-bar,
  .b2b-pratik-barcode-panel,
  .b2b-pratik-mobile-cart-bar,
  .b2b-pratik-toast,
  .b2b-pratik-btn,
  .b2b-pratik-row-btn {
    display: none !important;
  }

  .b2b-pratik-app {
    background: #fff;
    color: #000;
  }

  .b2b-pratik-layout {
    display: block;
    padding: 0;
  }

  .b2b-pratik-panel {
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 12px;
  }

  .b2b-pratik-cart {
    display: block;
    position: static;
    max-height: none;
  }
}

.service-b2b-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-b2b-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.service-b2b-footer-inner span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1250px) {
  .b2b-pratik-embedded .b2b-pratik-layout {
    grid-template-columns: 1fr;
  }

  .b2b-pratik-embedded .b2b-pratik-sidebar {
    grid-template-columns: 1fr;
  }

  .b2b-pratik-embedded .b2b-pratik-cart {
    grid-column: auto;
    position: static;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .b2b-pratik-embedded .b2b-pratik-sidebar {
    order: 0;
  }

  .b2b-pratik-embedded .b2b-pratik-content-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .b2b-pratik-embedded .b2b-pratik-quick-menu,
  .b2b-pratik-embedded .b2b-pratik-category-list {
    grid-template-columns: 1fr;
  }

  .service-b2b-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
