/**
 * themes/sneat/theme.css
 *
 * Sneat (ThemeSelection) görsel diline uyumlu white-label skin.
 * Mevcut admin HTML’ini dönüştürür; sayfa PHP’leri korunur.
 *
 * Referanslar:
 *   - Logistics Dashboard / Fleet
 *   - eCommerce Product List (tablolar)
 *
 * Aktifleştirme: companies.theme_key = 'sneat'
 */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --wl-primary: #696cff;
  --wl-primary-hover: #5f61e6;
  --wl-primary-soft: rgba(105, 108, 255, 0.16);
  --wl-primary-soft-strong: rgba(105, 108, 255, 0.24);
  --wl-body-bg: #f5f5f9;
  --wl-paper: #ffffff;
  --wl-text: #566a7f;
  --wl-heading: #384551;
  --wl-muted: #a1acb8;
  --wl-border: #e7e7ff;
  --wl-border-soft: #eceef1;
  --wl-radius: 0.5rem;
  --wl-radius-lg: 0.625rem;
  --wl-shadow: 0 0.25rem 1.125rem rgba(75, 70, 92, 0.1);
  --wl-shadow-sm: 0 0.125rem 0.5rem rgba(75, 70, 92, 0.08);
  --wl-font: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wl-transition: 0.2s ease;

  --primary-600: var(--wl-primary);
  --brand: var(--wl-primary);
  --white: var(--wl-paper);
}

/* ——— Temel ——— */
body.theme-sneat {
  font-family: var(--wl-font) !important;
  background: var(--wl-body-bg) !important;
  color: var(--wl-text);
  -webkit-font-smoothing: antialiased;
}

body.theme-sneat h1,
body.theme-sneat h2,
body.theme-sneat h3,
body.theme-sneat h4,
body.theme-sneat h5,
body.theme-sneat h6,
body.theme-sneat .fw-semibold {
  color: var(--wl-heading);
  font-family: var(--wl-font);
  letter-spacing: -0.01em;
}

body.theme-sneat .dashboard-main {
  background: var(--wl-body-bg);
}

body.theme-sneat .dashboard-main-body {
  padding-block: 1.5rem;
}

/* ——— Sidebar (Sneat soft active) ——— */
body.theme-sneat .sidebar {
  background: var(--wl-paper) !important;
  border-inline-end: 1px solid var(--wl-border-soft);
  box-shadow: none !important;
}

body.theme-sneat .sidebar-logo {
  border-bottom: 1px solid var(--wl-border-soft);
  padding-block: 1rem;
}

body.theme-sneat .sidebar-menu li.sidebar-menu-group-title {
  color: var(--wl-muted) !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block: 1rem 0.35rem;
  padding-inline: 0.75rem;
}

body.theme-sneat .sidebar-menu li a {
  color: var(--wl-text) !important;
  border-radius: var(--wl-radius) !important;
  margin-inline: 0.5rem;
  margin-block: 0.1rem;
  padding: 0.55rem 0.85rem !important;
  transition: background var(--wl-transition), color var(--wl-transition), transform var(--wl-transition);
}

body.theme-sneat .sidebar-menu li a:hover {
  background: rgba(105, 108, 255, 0.08) !important;
  color: var(--wl-primary) !important;
}

body.theme-sneat .sidebar-menu li > a.active-page,
body.theme-sneat .sidebar-menu li > a.active-page:hover {
  background: var(--wl-primary-soft) !important;
  color: var(--wl-primary) !important;
  box-shadow: none !important;
}

body.theme-sneat .sidebar-menu li > a.active-page .menu-icon,
body.theme-sneat .sidebar-menu li > a.active-page span,
body.theme-sneat .sidebar-menu li > a.active-page i {
  color: var(--wl-primary) !important;
}

body.theme-sneat .sidebar-menu li.dropdown.open > a,
body.theme-sneat .sidebar-menu li.dropdown.dropdown-open > a {
  color: var(--wl-primary) !important;
}

body.theme-sneat .sidebar-menu .sidebar-submenu li.active-page > a {
  background: transparent !important;
  color: var(--wl-primary) !important;
  font-weight: 600;
}

body.theme-sneat .sidebar-menu li a .menu-icon {
  opacity: 0.9;
}

/* ——— Navbar ——— */
body.theme-sneat .navbar-header,
body.theme-sneat .dashboard-navbar,
body.theme-sneat .navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wl-border-soft);
  box-shadow: none !important;
}

body.theme-sneat .navbar .form-control,
body.theme-sneat .navbar input[type='search'],
body.theme-sneat .navbar input[type='text'] {
  background: var(--wl-body-bg) !important;
  border: 1px solid transparent !important;
  border-radius: var(--wl-radius) !important;
  box-shadow: none !important;
}

body.theme-sneat .navbar .form-control:focus {
  border-color: var(--wl-primary) !important;
  box-shadow: 0 0 0 0.15rem var(--wl-primary-soft) !important;
}

/* ——— Cards ——— */
body.theme-sneat .card {
  background: var(--wl-paper);
  border: 0 !important;
  border-radius: var(--wl-radius-lg) !important;
  box-shadow: var(--wl-shadow) !important;
  transition: transform var(--wl-transition), box-shadow var(--wl-transition);
}

body.theme-sneat .card.radius-12 {
  border-radius: var(--wl-radius-lg) !important;
}

body.theme-sneat .card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--wl-border-soft) !important;
  padding: 1.125rem 1.375rem !important;
}

body.theme-sneat .card-body {
  padding: 1.375rem !important;
}

body.theme-sneat .card-body.p-0 {
  padding: 0 !important;
}

body.theme-sneat .row.g-3 > [class*='col-'] > .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(75, 70, 92, 0.14) !important;
}

/* Form kartlarında hover zıplamasın */
body.theme-sneat form.card:hover,
body.theme-sneat .card:has(form):hover,
body.theme-sneat form.card .card:hover {
  transform: none !important;
}

/* ——— Butonlar ——— */
/* ——— Buttons (Sneat UI) ——— */
body.theme-sneat .btn {
  font-family: var(--wl-font);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.25;
  padding: 0.565rem 1.25rem;
  border-radius: var(--wl-radius) !important;
  border-width: 1px;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all var(--wl-transition);
  min-height: 2.5rem;
}

body.theme-sneat .btn .icon,
body.theme-sneat .btn iconify-icon {
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
}

body.theme-sneat .btn-sm {
  font-size: 0.8125rem;
  padding: 0.375rem 0.875rem;
  min-height: calc(1.5em + 0.75rem + 2px);
}

body.theme-sneat .btn-lg {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

body.theme-sneat .btn-xs {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  min-height: auto;
}

body.theme-sneat .btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--wl-primary-soft) !important;
}

body.theme-sneat .btn-primary-600,
body.theme-sneat .btn-primary,
body.theme-sneat .bg-primary-600 {
  background: var(--wl-primary) !important;
  border-color: var(--wl-primary) !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(105, 108, 255, 0.4);
}

body.theme-sneat .btn-primary-600:hover,
body.theme-sneat .btn-primary:hover,
body.theme-sneat .btn-primary-600:focus,
body.theme-sneat .btn-primary:focus {
  background: var(--wl-primary-hover) !important;
  border-color: var(--wl-primary-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.65rem rgba(105, 108, 255, 0.35);
}

body.theme-sneat .btn-secondary {
  background: #8592a3 !important;
  border-color: #8592a3 !important;
  color: #fff !important;
}

body.theme-sneat .btn-success {
  background: #71dd37 !important;
  border-color: #71dd37 !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(113, 221, 55, 0.4);
}

body.theme-sneat .btn-danger {
  background: #ff3e1d !important;
  border-color: #ff3e1d !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(255, 62, 29, 0.4);
}

body.theme-sneat .btn-warning {
  background: #ffab00 !important;
  border-color: #ffab00 !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(255, 171, 0, 0.4);
}

body.theme-sneat .btn-info {
  background: #03c3ec !important;
  border-color: #03c3ec !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(3, 195, 236, 0.4);
}

body.theme-sneat .btn-dark {
  background: #233446 !important;
  border-color: #233446 !important;
  color: #fff !important;
}

/* Outline */
body.theme-sneat .btn-outline-primary,
body.theme-sneat .btn-outline-primary-600 {
  color: var(--wl-primary) !important;
  border-color: var(--wl-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-sneat .btn-outline-primary:hover,
body.theme-sneat .btn-outline-primary-600:hover,
body.theme-sneat .btn-outline-primary:focus,
body.theme-sneat .btn-outline-primary-600:focus {
  background: var(--wl-primary) !important;
  border-color: var(--wl-primary) !important;
  color: #fff !important;
  box-shadow: 0 0.125rem 0.375rem rgba(105, 108, 255, 0.35) !important;
  transform: none;
}

body.theme-sneat .btn-outline-secondary {
  border-color: #8592a3 !important;
  color: #8592a3 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-sneat .btn-outline-secondary:hover,
body.theme-sneat .btn-outline-secondary:focus {
  background: #8592a3 !important;
  border-color: #8592a3 !important;
  color: #fff !important;
}

body.theme-sneat .btn-outline-success {
  color: #71dd37 !important;
  border-color: #71dd37 !important;
  background: transparent !important;
}

body.theme-sneat .btn-outline-success:hover {
  background: #71dd37 !important;
  color: #fff !important;
}

body.theme-sneat .btn-outline-danger {
  color: #ff3e1d !important;
  border-color: #ff3e1d !important;
  background: transparent !important;
}

body.theme-sneat .btn-outline-danger:hover {
  background: #ff3e1d !important;
  color: #fff !important;
}

body.theme-sneat .btn-outline-warning {
  color: #ffab00 !important;
  border-color: #ffab00 !important;
  background: transparent !important;
}

body.theme-sneat .btn-outline-warning:hover {
  background: #ffab00 !important;
  color: #fff !important;
}

body.theme-sneat .btn-outline-info {
  color: #03c3ec !important;
  border-color: #03c3ec !important;
  background: transparent !important;
}

body.theme-sneat .btn-outline-info:hover {
  background: #03c3ec !important;
  color: #fff !important;
}

/* Label (soft) buttons — Sneat */
body.theme-sneat .btn-label-primary {
  background: rgba(105, 108, 255, 0.16) !important;
  color: var(--wl-primary) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-primary:hover {
  background: var(--wl-primary) !important;
  color: #fff !important;
}

body.theme-sneat .btn-label-secondary {
  background: rgba(133, 146, 163, 0.16) !important;
  color: #8592a3 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-secondary:hover {
  background: #8592a3 !important;
  color: #fff !important;
}

body.theme-sneat .btn-label-success {
  background: rgba(113, 221, 55, 0.16) !important;
  color: #71dd37 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-success:hover {
  background: #71dd37 !important;
  color: #fff !important;
}

body.theme-sneat .btn-label-danger {
  background: rgba(255, 62, 29, 0.16) !important;
  color: #ff3e1d !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-danger:hover {
  background: #ff3e1d !important;
  color: #fff !important;
}

body.theme-sneat .btn-label-warning {
  background: rgba(255, 171, 0, 0.16) !important;
  color: #ffab00 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-warning:hover {
  background: #ffab00 !important;
  color: #fff !important;
}

body.theme-sneat .btn-label-info {
  background: rgba(3, 195, 236, 0.16) !important;
  color: #03c3ec !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.theme-sneat .btn-label-info:hover {
  background: #03c3ec !important;
  color: #fff !important;
}

/* Text buttons */
body.theme-sneat .btn-text-primary {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--wl-primary) !important;
  box-shadow: none !important;
  padding-inline: 0.5rem;
}
body.theme-sneat .btn-text-primary:hover {
  background: var(--wl-primary-soft) !important;
}

/* Button group */
body.theme-sneat .btn-group > .btn {
  min-height: 2.5rem;
}

body.theme-sneat .btn-group > .btn:not(:last-child) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

body.theme-sneat .btn-group > .btn:not(:first-child) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* ——— Badge ——— */
body.theme-sneat .badge {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1;
  padding: 0.42em 0.7em;
  border-radius: 0.25rem;
  letter-spacing: 0.01em;
}

body.theme-sneat .badge.rounded-pill,
body.theme-sneat .badge.badge-pill {
  border-radius: 50rem;
}

body.theme-sneat .badge.bg-label-primary {
  background: rgba(105, 108, 255, 0.16) !important;
  color: var(--wl-primary) !important;
}
body.theme-sneat .badge.bg-label-secondary {
  background: rgba(133, 146, 163, 0.16) !important;
  color: #8592a3 !important;
}
body.theme-sneat .badge.bg-label-success {
  background: rgba(113, 221, 55, 0.16) !important;
  color: #71dd37 !important;
}
body.theme-sneat .badge.bg-label-danger {
  background: rgba(255, 62, 29, 0.16) !important;
  color: #ff3e1d !important;
}
body.theme-sneat .badge.bg-label-warning {
  background: rgba(255, 171, 0, 0.16) !important;
  color: #ffab00 !important;
}
body.theme-sneat .badge.bg-label-info {
  background: rgba(3, 195, 236, 0.16) !important;
  color: #03c3ec !important;
}

body.theme-sneat .badge.bg-primary,
body.theme-sneat .badge.bg-primary-600 {
  background: var(--wl-primary-soft) !important;
  color: var(--wl-primary) !important;
}

body.theme-sneat .bg-success-focus {
  background: rgba(40, 199, 111, 0.16) !important;
}

body.theme-sneat .text-success-main {
  color: #28c76f !important;
}

/* ——— Product-list tarzı tablolar ——— */
body.theme-sneat .bordered-table,
body.theme-sneat table.dataTable.bordered-table,
body.theme-sneat .table.bordered-table {
  border: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.theme-sneat .bordered-table thead tr th {
  background: transparent !important;
  color: var(--wl-muted) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid var(--wl-border-soft) !important;
  white-space: nowrap;
}

body.theme-sneat .bordered-table tbody tr td {
  padding: 0.95rem 1.25rem !important;
  color: var(--wl-text) !important;
  font-size: 0.9375rem !important;
  border-bottom: 1px solid var(--wl-border-soft) !important;
  background: transparent !important;
  vertical-align: middle !important;
}

body.theme-sneat .bordered-table tbody tr {
  transition: background var(--wl-transition);
}

body.theme-sneat .bordered-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.04) !important;
}

body.theme-sneat .bordered-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.theme-sneat .card .table-responsive {
  border-radius: 0 0 var(--wl-radius-lg) var(--wl-radius-lg);
}

body.theme-sneat .bordered-table code,
body.theme-sneat .wl-code-chip,
body.theme-sneat .card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wl-primary) !important;
  background: var(--wl-primary-soft);
  border: 0;
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
}

body.theme-sneat .dataTables_wrapper .dataTables_filter input,
body.theme-sneat .dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--wl-border-soft);
  border-radius: var(--wl-radius);
  padding: 0.4rem 0.75rem;
  background: var(--wl-paper);
}

body.theme-sneat .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--wl-primary) !important;
  border-color: var(--wl-primary) !important;
  color: #fff !important;
  border-radius: var(--wl-radius);
}

body.theme-sneat .wl-cell-title {
  font-weight: 600;
  color: var(--wl-heading);
}

body.theme-sneat .wl-cell-sub {
  font-size: 0.8125rem;
  color: var(--wl-muted);
}

body.theme-sneat .wl-table-actions .btn {
  padding: 0.35rem 0.85rem;
}

body.theme-sneat .wl-color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wl-muted);
  font-size: 0.8125rem;
}

body.theme-sneat .wl-color-swatch::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, var(--wl-primary));
  box-shadow: 0 0 0 3px var(--wl-primary-soft);
}

/* ——— Form (Sneat) ——— */
body.theme-sneat .form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wl-heading);
  margin-bottom: 0.4rem;
}

body.theme-sneat .form-control,
body.theme-sneat .form-select,
body.theme-sneat textarea.form-control {
  border: 1px solid #d9dee3;
  border-radius: var(--wl-radius);
  padding: 0.565rem 0.875rem;
  min-height: 2.5rem;
  color: var(--wl-heading);
  background-color: var(--wl-paper);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color var(--wl-transition), box-shadow var(--wl-transition);
}

body.theme-sneat textarea.form-control {
  min-height: 4.5rem;
  padding-top: 0.65rem;
}

body.theme-sneat .form-control::placeholder,
body.theme-sneat textarea.form-control::placeholder {
  color: var(--wl-muted);
  opacity: 1;
}

body.theme-sneat .form-control:hover,
body.theme-sneat .form-select:hover {
  border-color: #c9ced4;
}

body.theme-sneat .form-control:focus,
body.theme-sneat .form-select:focus {
  border-color: var(--wl-primary);
  box-shadow: 0 0 0 0.2rem var(--wl-primary-soft);
  outline: 0;
}

body.theme-sneat .form-control:disabled,
body.theme-sneat .form-control[readonly],
body.theme-sneat .form-select:disabled {
  background-color: #f7f7f9;
  color: var(--wl-muted);
  opacity: 1;
}

/* Input group: bitişik, boşluksuz */
body.theme-sneat .input-group {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  align-items: stretch;
}

body.theme-sneat .input-group > .form-control,
body.theme-sneat .input-group > .form-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

body.theme-sneat .input-group > .form-control:not(:first-child),
body.theme-sneat .input-group > .form-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

body.theme-sneat .input-group > .form-control:not(:last-child),
body.theme-sneat .input-group > .form-select:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

body.theme-sneat .input-group-text {
  display: flex;
  align-items: center;
  padding: 0.565rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wl-text);
  background-color: #f7f7f9;
  border: 1px solid #d9dee3;
  border-radius: var(--wl-radius);
  white-space: nowrap;
}

body.theme-sneat .input-group > .input-group-text:not(:first-child),
body.theme-sneat .input-group > .btn:not(:first-child) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

body.theme-sneat .input-group > .input-group-text:not(:last-child),
body.theme-sneat .input-group > .btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

body.theme-sneat .input-group > .btn {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding-inline: 1rem;
  border-radius: var(--wl-radius);
  box-shadow: none !important;
}

body.theme-sneat .input-group:focus-within > .form-control,
body.theme-sneat .input-group:focus-within > .form-select,
body.theme-sneat .input-group:focus-within > .input-group-text,
body.theme-sneat .input-group:focus-within > .btn {
  border-color: var(--wl-primary);
}

body.theme-sneat .input-group:focus-within > .btn.btn-outline-primary,
body.theme-sneat .input-group:focus-within > .btn.btn-outline-primary-600 {
  color: var(--wl-primary);
  background: var(--wl-primary-soft);
}

/* Form satır boşlukları */
body.theme-sneat .card .row.g-3 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

body.theme-sneat .card > .card-body {
  padding: 1.5rem !important;
}

body.theme-sneat .card > .card-body.p-0,
body.theme-sneat .card-body.p-0 {
  padding: 0 !important;
}

body.theme-sneat .card > .card-header {
  padding: 1.125rem 1.5rem !important;
  background: transparent !important;
  border-bottom: 1px solid var(--wl-border-soft) !important;
}

body.theme-sneat .card > .card-header.bg-primary-50 {
  background: var(--wl-primary-soft) !important;
  border-bottom: 0 !important;
}

body.theme-sneat .card > .card-footer {
  padding: 1.125rem 1.5rem !important;
  background: #fafafa !important;
  border-top: 1px solid var(--wl-border-soft) !important;
}

body.theme-sneat .form-text,
body.theme-sneat small.text-secondary-light {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--wl-muted) !important;
  line-height: 1.4;
}

/* Seçim kartları (kampanya türü vb.) */
body.theme-sneat .campaign-kind-card {
  display: block;
  height: 100%;
}

body.theme-sneat .campaign-kind-box {
  height: 100%;
  border: 1px solid var(--wl-border-soft) !important;
  border-radius: var(--wl-radius-lg) !important;
  padding: 1rem 1.125rem !important;
  background: var(--wl-paper);
  transition: border-color var(--wl-transition), box-shadow var(--wl-transition), background var(--wl-transition);
}

body.theme-sneat .campaign-kind-box:hover {
  border-color: rgba(105, 108, 255, 0.45) !important;
  box-shadow: var(--wl-shadow-sm);
}

body.theme-sneat .campaign-kind-input:checked + .campaign-kind-box {
  border-color: var(--wl-primary) !important;
  background: rgba(105, 108, 255, 0.06);
  box-shadow: 0 0 0 3px var(--wl-primary-soft);
}

body.theme-sneat .campaign-kind-box .fw-semibold {
  color: var(--wl-heading);
  font-size: 0.9375rem;
}

body.theme-sneat form.card {
  overflow: hidden;
}

body.theme-sneat form.card > .card-header.border-top {
  background: #fafbfc !important;
}

body.theme-sneat .breadcrumb {
  background: transparent;
  padding: 0;
}

body.theme-sneat .breadcrumb-item a {
  color: var(--wl-primary);
}

body.theme-sneat .modal-content {
  border: 0;
  border-radius: var(--wl-radius-lg);
  box-shadow: 0 0.5rem 1.5rem rgba(38, 43, 67, 0.16);
  background: var(--wl-paper);
}

body.theme-sneat .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--wl-border-soft);
}

body.theme-sneat .modal-title {
  font-weight: 600;
  color: var(--wl-heading);
  font-size: 1.125rem;
}

body.theme-sneat .modal-body {
  padding: 1.5rem;
}

body.theme-sneat .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--wl-border-soft);
  gap: 0.5rem;
}

body.theme-sneat .btn-close {
  box-shadow: none !important;
  opacity: 0.6;
}

body.theme-sneat .btn-close:hover {
  opacity: 1;
}

/* ——— Alerts ——— */
body.theme-sneat .alert {
  border: 0;
  border-radius: var(--wl-radius);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
}

body.theme-sneat .alert-primary {
  background: rgba(105, 108, 255, 0.16);
  color: #3d3fad;
}
body.theme-sneat .alert-secondary {
  background: rgba(133, 146, 163, 0.16);
  color: #697a8d;
}
body.theme-sneat .alert-success {
  background: rgba(113, 221, 55, 0.16);
  color: #3d8c1a;
}
body.theme-sneat .alert-danger {
  background: rgba(255, 62, 29, 0.16);
  color: #c62812;
}
body.theme-sneat .alert-warning {
  background: rgba(255, 171, 0, 0.16);
  color: #b37a00;
}
body.theme-sneat .alert-info {
  background: rgba(3, 195, 236, 0.16);
  color: #0288a6;
}

body.theme-sneat .alert-outline-primary {
  background: transparent;
  border: 1px solid var(--wl-primary);
  color: var(--wl-primary);
}

body.theme-sneat .alert-solid-primary {
  background: var(--wl-primary);
  color: #fff;
}

/* ——— Dropdowns ——— */
body.theme-sneat .dropdown-menu {
  border: 0;
  border-radius: var(--wl-radius);
  box-shadow: 0 0.25rem 1rem rgba(38, 43, 67, 0.14);
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  min-width: 10.5rem;
}

body.theme-sneat .dropdown-item {
  padding: 0.5rem 1.25rem;
  color: var(--wl-text);
  border-radius: 0;
}

body.theme-sneat .dropdown-item:hover,
body.theme-sneat .dropdown-item:focus {
  background: rgba(105, 108, 255, 0.08);
  color: var(--wl-primary);
}

body.theme-sneat .dropdown-item.active,
body.theme-sneat .dropdown-item:active {
  background: var(--wl-primary);
  color: #fff;
}

body.theme-sneat .dropdown-divider {
  border-top-color: var(--wl-border-soft);
  margin: 0.35rem 0;
}

body.theme-sneat .dropdown-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wl-muted);
  padding: 0.5rem 1.25rem 0.25rem;
}

/* ——— Toasts ——— */
body.theme-sneat .toast {
  border: 0;
  border-radius: var(--wl-radius);
  box-shadow: 0 0.25rem 1rem rgba(38, 43, 67, 0.16);
  background: var(--wl-paper);
}

body.theme-sneat .toast-header {
  border-bottom: 1px solid var(--wl-border-soft);
  background: transparent;
  padding: 0.75rem 1rem;
}

body.theme-sneat .toast-body {
  padding: 0.875rem 1rem;
  color: var(--wl-text);
}

/* ——— Collapse / Accordion ——— */
body.theme-sneat .accordion-item {
  border: 1px solid var(--wl-border-soft);
  border-radius: var(--wl-radius) !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: var(--wl-paper);
}

body.theme-sneat .accordion-button {
  font-weight: 500;
  color: var(--wl-heading);
  box-shadow: none !important;
  background: transparent;
}

body.theme-sneat .accordion-button:not(.collapsed) {
  background: rgba(105, 108, 255, 0.08);
  color: var(--wl-primary);
}

body.theme-sneat .accordion-button::after {
  filter: none;
}

body.theme-sneat .collapse.show + .card,
body.theme-sneat .collapsing {
  transition: height 0.25s ease;
}

/* ——— Map embed ——— */
body.theme-sneat .sneat-map-embed {
  border-radius: var(--wl-radius-lg);
  border: 1px solid var(--wl-border-soft);
  overflow: hidden;
  background: #f5f5f9;
}

body.theme-sneat .progress {
  background: #eceef1;
  border-radius: 50rem;
  overflow: hidden;
}

body.theme-sneat .progress-bar {
  border-radius: 50rem;
}

body.theme-sneat .d-footer {
  border-top: 1px solid var(--wl-border-soft);
  background: transparent;
  color: var(--wl-muted);
}

/* ——— Sayfa giriş animasyonları ——— */
@keyframes sneatFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.theme-sneat .dashboard-main-body > .card,
body.theme-sneat .dashboard-main-body > .row > [class*='col-'] {
  animation: sneatFadeUp 0.35s ease both;
}

body.theme-sneat .dashboard-main-body > .row > [class*='col-']:nth-child(2) { animation-delay: 0.04s; }
body.theme-sneat .dashboard-main-body > .row > [class*='col-']:nth-child(3) { animation-delay: 0.08s; }
body.theme-sneat .dashboard-main-body > .row > [class*='col-']:nth-child(4) { animation-delay: 0.12s; }

/* ——— Filo (Logistics Fleet) layout ——— */
body.theme-sneat .sneat-fleet-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: 1.25rem;
  min-height: calc(100vh - 140px);
  align-items: stretch;
}

@media (max-width: 991.98px) {
  body.theme-sneat .sneat-fleet-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

body.theme-sneat .sneat-fleet-panel {
  background: var(--wl-paper);
  border-radius: var(--wl-radius-lg);
  box-shadow: var(--wl-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 140px);
  animation: sneatFadeUp 0.4s ease both;
}

body.theme-sneat .sneat-fleet-panel-header {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--wl-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.theme-sneat .sneat-fleet-panel-header h6 {
  margin: 0;
  font-weight: 600;
  color: var(--wl-heading);
}

body.theme-sneat .sneat-fleet-search {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--wl-border-soft);
}

body.theme-sneat .sneat-fleet-list {
  overflow-y: auto;
  flex: 1;
  padding: 0.75rem;
}

body.theme-sneat .sneat-fleet-card {
  border: 1px solid var(--wl-border-soft);
  border-radius: var(--wl-radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: border-color var(--wl-transition), box-shadow var(--wl-transition), transform var(--wl-transition);
  background: var(--wl-paper);
}

body.theme-sneat .sneat-fleet-card:hover,
body.theme-sneat .sneat-fleet-card.is-active {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: var(--wl-shadow-sm);
  transform: translateY(-1px);
}

body.theme-sneat .sneat-fleet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

body.theme-sneat .sneat-fleet-id {
  font-weight: 700;
  color: var(--wl-heading);
  font-size: 0.9375rem;
}

body.theme-sneat .sneat-fleet-meta {
  font-size: 0.75rem;
  color: var(--wl-muted);
}

body.theme-sneat .sneat-fleet-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--wl-muted);
  margin-bottom: 0.35rem;
}

body.theme-sneat .sneat-fleet-progress {
  height: 6px;
  border-radius: 999px;
  background: #eeeef5;
  overflow: hidden;
}

body.theme-sneat .sneat-fleet-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wl-primary), #8b8dff);
  transition: width 0.45s ease;
}

body.theme-sneat .sneat-fleet-card[data-status='rented'] .sneat-fleet-progress > span {
  background: linear-gradient(90deg, #28c76f, #48da89);
}

body.theme-sneat .sneat-fleet-card[data-status='maintenance'],
body.theme-sneat .sneat-fleet-card[data-status='service'] {
  /* soft warn border via badge only */
}

body.theme-sneat .sneat-fleet-empty {
  text-align: center;
  color: var(--wl-muted);
  padding: 2rem 1rem;
  font-size: 0.875rem;
}

body.theme-sneat .sneat-fleet-map-wrap {
  position: relative;
  border-radius: var(--wl-radius-lg);
  overflow: hidden;
  box-shadow: var(--wl-shadow);
  min-height: calc(100vh - 140px);
  background: #dfe3ea;
  animation: sneatFadeUp 0.45s ease 0.05s both;
}

body.theme-sneat .sneat-fleet-map-wrap #scooterMap {
  height: 100% !important;
  min-height: calc(100vh - 140px);
  border-radius: var(--wl-radius-lg);
}

body.theme-sneat .sneat-fleet-map-wrap .filter-panel {
  border-radius: var(--wl-radius-lg) 0 0 var(--wl-radius-lg);
}

/* scooter-map.css tam ekranı Sneat filo sayfasında iptal */
body.theme-sneat.sneat-fleet-active,
body.theme-sneat:has(.sneat-fleet-page) {
  overflow: auto !important;
}

body.theme-sneat .sneat-fleet-page.dashboard-main-body {
  padding: 1.25rem !important;
  margin: 0 !important;
  height: auto !important;
  width: auto !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: auto;
  overflow: visible !important;
}

body.theme-sneat .sneat-fleet-page #scooterMap {
  width: 100% !important;
  height: 100% !important;
  min-height: calc(100vh - 160px) !important;
  position: relative !important;
}

/* Liste sayfaları: DataTables wrapper iç boşluk */
body.theme-sneat #scootersTable_wrapper,
body.theme-sneat #customersTable_wrapper,
body.theme-sneat #dealersTable_wrapper,
body.theme-sneat #companiesTable_wrapper {
  padding: 0.25rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-sneat *,
  body.theme-sneat *::before,
  body.theme-sneat *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Logistics dashboard widgets ——— */
body.theme-sneat .sneat-dashboard .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wl-heading);
}

body.theme-sneat .sneat-dashboard .text-heading {
  color: var(--wl-heading) !important;
}

body.theme-sneat .sneat-dash-filter .form-select {
  min-width: 11rem;
  width: auto;
}

body.theme-sneat .sneat-kpi-card {
  overflow: hidden;
}

body.theme-sneat .sneat-kpi-card .card-body {
  padding: 1.5rem !important;
}

body.theme-sneat .sneat-kpi-card h3 {
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--wl-heading);
}

body.theme-sneat .sneat-kpi-card p.fw-medium {
  font-size: 0.9375rem;
  color: var(--wl-heading);
}

body.theme-sneat .sneat-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(75, 70, 92, 0.14) !important;
}

body.theme-sneat .sneat-kpi-avatar {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

body.theme-sneat .bg-label-primary {
  background: rgba(105, 108, 255, 0.16) !important;
  color: var(--wl-primary) !important;
}
body.theme-sneat .bg-label-secondary {
  background: rgba(133, 146, 163, 0.16) !important;
  color: #8592a3 !important;
}
body.theme-sneat .bg-label-success {
  background: rgba(113, 221, 55, 0.16) !important;
  color: #71dd37 !important;
}
body.theme-sneat .bg-label-danger {
  background: rgba(255, 62, 29, 0.16) !important;
  color: #ff3e1d !important;
}
body.theme-sneat .bg-label-warning {
  background: rgba(255, 171, 0, 0.16) !important;
  color: #ffab00 !important;
}
body.theme-sneat .bg-label-info {
  background: rgba(3, 195, 236, 0.16) !important;
  color: #03c3ec !important;
}

body.theme-sneat .sneat-kpi-card .badge {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35em 0.65em;
}

body.theme-sneat .bg-primary-soft { background: rgba(105, 108, 255, 0.16) !important; }
body.theme-sneat .bg-success-soft { background: rgba(40, 199, 111, 0.16) !important; }
body.theme-sneat .bg-warning-soft { background: rgba(255, 159, 67, 0.16) !important; }
body.theme-sneat .bg-danger-soft { background: rgba(234, 84, 85, 0.16) !important; }

body.theme-sneat .sneat-kpi-delta {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  white-space: nowrap;
}

body.theme-sneat .sneat-kpi-delta.is-up {
  color: #28c76f;
  background: rgba(40, 199, 111, 0.14);
}

body.theme-sneat .sneat-kpi-delta.is-down {
  color: #ea5455;
  background: rgba(234, 84, 85, 0.14);
}

body.theme-sneat .sneat-chart-card .card-header {
  border-bottom: 0 !important;
  padding-bottom: 0.25rem !important;
}

body.theme-sneat .sneat-chart-host {
  width: 100%;
}

body.theme-sneat .sneat-status-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--wl-text);
  border-radius: var(--wl-radius);
  background: #f8f8fa;
}

body.theme-sneat .sneat-status-list li:last-child {
  margin-bottom: 0;
}

body.theme-sneat .sneat-status-list .dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  flex-shrink: 0;
}

body.theme-sneat .sneat-status-list .label {
  flex: 1 1 auto;
  color: var(--wl-heading);
  font-weight: 500;
}

body.theme-sneat .sneat-status-list strong {
  color: var(--wl-heading);
  font-weight: 600;
  min-width: 2.5rem;
  text-align: right;
}

body.theme-sneat .sneat-status-list em {
  font-style: normal;
  color: var(--wl-muted);
  min-width: 1.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

body.theme-sneat .sneat-perf-list .sneat-perf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--wl-border-soft);
}

body.theme-sneat .sneat-welcome-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(105, 108, 255, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(105, 108, 255, 0.08), rgba(255, 255, 255, 0.6));
  border: 0;
}

body.theme-sneat .sneat-welcome-amount {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body.theme-sneat .sneat-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--wl-border-soft);
  border-radius: var(--wl-radius);
  background: var(--wl-paper);
  transition: border-color var(--wl-transition), box-shadow var(--wl-transition), transform var(--wl-transition);
  color: inherit;
  height: 100%;
}

body.theme-sneat .sneat-mini-stat:hover {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: 0 0.25rem 0.75rem rgba(105, 108, 255, 0.12);
  transform: translateY(-1px);
}

body.theme-sneat .sneat-mini-stat iconify-icon {
  font-size: 1.35rem;
}

body.theme-sneat .sneat-mini-stat strong {
  font-size: 1.25rem;
  color: var(--wl-heading);
  line-height: 1.2;
}

body.theme-sneat .sneat-mini-stat span {
  font-size: 0.75rem;
  color: var(--wl-muted);
}

body.theme-sneat .text-xs {
  font-size: 0.75rem;
}

/* ApexCharts legend/tooltip soft polish */
body.theme-sneat .apexcharts-legend-text {
  color: var(--wl-text) !important;
  font-family: var(--wl-font) !important;
}

body.theme-sneat .apexcharts-tooltip {
  border: 0 !important;
  box-shadow: 0 0.25rem 1rem rgba(38, 43, 67, 0.14) !important;
  border-radius: var(--wl-radius) !important;
}
