/* Outfit (SIL Open Font License 1.1) - yerel kopya.
 *
 * Daha once iki ayri @import ile fonts.googleapis.com'dan cekiliyordu. CSS
 * @import zincirleme calisir: admin.css inip ayristirilmadan font istegi bile
 * baslamiyor, sonra ayri bir istek daha woff2 dosyalarini aliyordu. Ustelik
 * iki import ayni aileyi istiyordu. Dosyalar artik panelin kendi alan adindan
 * geliyor; dis baglanti ve iki tur gidis donus ortadan kalkti.
 *
 * latin-ext altkumesi Turkce karakterler (g, s, i, I, c, o, u) icin gerekli.
 */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../vendor/outfit/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../vendor/outfit/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Prevent Alpine.js flash of uninitialized content */
[x-cloak] { display: none !important; }
/* TailAdmin CSS Styles */

/* Custom CSS Variables */
:root {
  --font-outfit: 'Outfit', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-outfit);
}

/* Sidebar Styles */
.sidebar {
  transition: all 0.3s ease;
}

.sidebar-header {
  border-bottom: 1px solid #e5e7eb;
}

/* Menu Styles */
.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.menu-item i {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.menu-item-active {
  background-color: #ecf3ff !important;
  color: #465fff !important;
}

.menu-item-inactive {
  color: #374151;
}

.menu-item-inactive:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.menu-item-icon-active {
  color: #465fff !important;
}

.menu-item-icon-inactive {
  color: #6b7280;
}

.menu-item:hover .menu-item-icon-inactive {
  color: #374151;
}

.menu-item-text {
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.menu-item-arrow {
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item-arrow-active {
  transform: rotate(180deg);
  stroke: #3b4bcc;
}

.menu-item-arrow-inactive {
  stroke: #6b7280;
}

/* Hide dropdown arrows when sidebar is collapsed */
@media (min-width: 1024px) {
  .sidebar[class*="lg:w-[90px]"] .menu-item-arrow {
    display: none !important;
  }
}

.menu-dropdown {
  transition: all 0.2s ease-in-out;
}

.menu-dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.menu-dropdown-item-active {
  background-color: #ecf3ff;
  color: #465fff;
}

.menu-dropdown-item-inactive {
  color: #6b7280;
}

.menu-dropdown-item-inactive:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

/* Menu Group Styles */
.menu-group-title {
  transition: all 0.2s ease-in-out;
}

.menu-group-icon {
  transition: all 0.2s ease-in-out;
}

/* Scrollbar Styles */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

/* Dark mode scrollbar - Removed */

/* Shadow Styles */
.shadow-theme-xs {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-theme-sm {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-theme-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-theme-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-theme-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Text Sizes */
.text-theme-xs {
  font-size: 12px;
  line-height: 18px;
}

.text-theme-sm {
  font-size: 14px;
  line-height: 20px;
}

.text-theme-xl {
  font-size: 20px;
  line-height: 30px;
}

/* Brand Colors */
.bg-brand-25 { background-color: #f2f7ff; }
.bg-brand-50 { background-color: #ecf3ff; }
.bg-brand-100 { background-color: #dde9ff; }
.bg-brand-200 { background-color: #c2d6ff; }
.bg-brand-300 { background-color: #9cb9ff; }
.bg-brand-400 { background-color: #7592ff; }
.bg-brand-500 { background-color: #465fff; }
.bg-brand-600 { background-color: #3b4bcc; }
.bg-brand-700 { background-color: #2f3a99; }
.bg-brand-800 { background-color: #232866; }
.bg-brand-900 { background-color: #171b33; }
.bg-brand-950 { background-color: #0b0d1a; }

.text-brand-400 { color: #7592ff; }
.text-brand-500 { color: #465fff; }
.text-brand-600 { color: #3b4bcc; }

.border-brand-300 { border-color: #9cb9ff; }
.border-brand-500 { border-color: #465fff; }
.border-brand-800 { border-color: #232866; }

.ring-brand-500\/10 { --tw-ring-color: rgba(70, 95, 255, 0.1); }

/* Success Colors */
.bg-success-50 { background-color: #ecfdf5; }
.bg-success-500 { background-color: #10b981; }
.text-success-700 { color: #047857; }

/* Error Colors */
.bg-error-50 { background-color: #fef2f2; }
.bg-error-500 { background-color: #ef4444; }
.text-error-700 { color: #b91c1c; }

/* Dark Mode: Navbar, Sidebar and Dashboard */
html.dark body.dashboard-page,
html.dark .app-navbar,
html.dark .sidebar {
  color-scheme: dark;
}

html.dark .app-navbar,
html.dark .sidebar {
  border-color: #414e61 !important;
  background-color: #242d3c !important;
  color: #d5dbe5;
}

html.dark .sidebar-header {
  border-color: #414e61;
}

html.dark .app-navbar [class~="bg-white"],
html.dark .sidebar [class~="bg-white"],
html.dark body.dashboard-page [class~="bg-white"] {
  background-color: #242d3c !important;
}

html.dark .app-navbar [class~="bg-gray-50"],
html.dark .sidebar [class~="bg-gray-50"],
html.dark body.dashboard-page [class~="bg-gray-50"] {
  background-color: #202938 !important;
}

html.dark .app-navbar [class~="bg-gray-100"],
html.dark .sidebar [class~="bg-gray-100"],
html.dark body.dashboard-page [class~="bg-gray-100"] {
  background-color: #2b3545 !important;
}

html.dark .app-navbar [class~="bg-gray-200"],
html.dark .sidebar [class~="bg-gray-200"],
html.dark body.dashboard-page [class~="bg-gray-200"] {
  background-color: #364254 !important;
}

html.dark .app-navbar [class~="border-gray-50"],
html.dark .app-navbar [class~="border-gray-100"],
html.dark .app-navbar [class~="border-gray-200"],
html.dark .app-navbar [class~="border-gray-300"],
html.dark .sidebar [class~="border-gray-50"],
html.dark .sidebar [class~="border-gray-100"],
html.dark .sidebar [class~="border-gray-200"],
html.dark .sidebar [class~="border-gray-300"],
html.dark body.dashboard-page [class~="border-gray-50"],
html.dark body.dashboard-page [class~="border-gray-100"],
html.dark body.dashboard-page [class~="border-gray-200"],
html.dark body.dashboard-page [class~="border-gray-300"] {
  border-color: #414e61 !important;
}

html.dark .app-navbar [class~="text-gray-900"],
html.dark .sidebar [class~="text-gray-900"],
html.dark body.dashboard-page [class~="text-gray-900"] {
  color: #e4e8ef !important;
}

html.dark .app-navbar [class~="text-gray-800"],
html.dark .sidebar [class~="text-gray-800"],
html.dark body.dashboard-page [class~="text-gray-800"] {
  color: #d5dbe5 !important;
}

html.dark .app-navbar [class~="text-gray-700"],
html.dark .sidebar [class~="text-gray-700"],
html.dark body.dashboard-page [class~="text-gray-700"] {
  color: #c0c8d4 !important;
}

html.dark .app-navbar [class~="text-gray-600"],
html.dark .sidebar [class~="text-gray-600"],
html.dark body.dashboard-page [class~="text-gray-600"],
html.dark .app-navbar [class~="text-gray-500"],
html.dark .sidebar [class~="text-gray-500"],
html.dark body.dashboard-page [class~="text-gray-500"] {
  color: #9aa6b6 !important;
}

html.dark .app-navbar [class~="text-gray-400"],
html.dark .sidebar [class~="text-gray-400"],
html.dark body.dashboard-page [class~="text-gray-400"] {
  color: #7f8b9b !important;
}

html.dark .app-navbar input,
html.dark .app-navbar select,
html.dark .app-navbar textarea,
html.dark .sidebar input,
html.dark .sidebar select,
html.dark .sidebar textarea,
html.dark body.dashboard-page input,
html.dark body.dashboard-page select,
html.dark body.dashboard-page textarea {
  border-color: #4a586c;
  background-color: #273142;
  color: #d5dbe5;
}

html.dark .app-navbar input::placeholder,
html.dark .sidebar input::placeholder,
html.dark body.dashboard-page input::placeholder,
html.dark body.dashboard-page textarea::placeholder {
  color: #7f8b9b;
}

html.dark .app-navbar option,
html.dark .sidebar option,
html.dark body.dashboard-page option {
  background-color: #273142;
  color: #d5dbe5;
}

html.dark .app-navbar [class~="hover:bg-gray-50"]:hover,
html.dark .app-navbar [class~="hover:bg-gray-100"]:hover,
html.dark .sidebar [class~="hover:bg-gray-50"]:hover,
html.dark .sidebar [class~="hover:bg-gray-100"]:hover,
html.dark body.dashboard-page [class~="hover:bg-gray-50"]:hover,
html.dark body.dashboard-page [class~="hover:bg-gray-100"]:hover,
html.dark body.dashboard-page [class~="hover:bg-gray-50/80"]:hover {
  background-color: #303b4d !important;
}

html.dark body.dashboard-page [class~="divide-gray-100"] > :not([hidden]) ~ :not([hidden]),
html.dark body.dashboard-page [class~="divide-gray-200"] > :not([hidden]) ~ :not([hidden]) {
  border-color: #414e61 !important;
}

html.dark body.dashboard-page [class~="bg-blue-50"],
html.dark body.dashboard-page [class~="bg-blue-100"],
html.dark body.dashboard-page [class~="bg-blue-200"],
html.dark body.dashboard-page [class~="bg-indigo-50"],
html.dark body.dashboard-page [class~="bg-indigo-100"] {
  background-color: rgba(96, 142, 205, 0.17) !important;
}

html.dark body.dashboard-page [class~="bg-purple-50"],
html.dark body.dashboard-page [class~="bg-purple-100"],
html.dark body.dashboard-page [class~="bg-purple-200"],
html.dark body.dashboard-page [class~="bg-violet-50"] {
  background-color: rgba(151, 112, 184, 0.17) !important;
}

html.dark body.dashboard-page [class~="bg-green-50"],
html.dark body.dashboard-page [class~="bg-green-100"],
html.dark body.dashboard-page [class~="bg-green-200"],
html.dark body.dashboard-page [class~="bg-emerald-50"] {
  background-color: rgba(74, 151, 116, 0.17) !important;
}

html.dark body.dashboard-page [class~="bg-orange-50"],
html.dark body.dashboard-page [class~="bg-orange-100"],
html.dark body.dashboard-page [class~="bg-amber-50"],
html.dark body.dashboard-page [class~="bg-amber-100"],
html.dark body.dashboard-page [class~="bg-yellow-50"],
html.dark body.dashboard-page [class~="bg-yellow-100"],
html.dark body.dashboard-page [class~="bg-yellow-200"] {
  background-color: rgba(186, 137, 68, 0.17) !important;
}

html.dark body.dashboard-page [class~="bg-red-50"],
html.dark body.dashboard-page [class~="bg-red-100"] {
  background-color: rgba(183, 83, 89, 0.17) !important;
}

html.dark body.dashboard-page [class~="bg-cyan-50"],
html.dark body.dashboard-page [class~="bg-cyan-100"],
html.dark body.dashboard-page [class~="bg-sky-50"],
html.dark body.dashboard-page [class~="bg-sky-100"] {
  background-color: rgba(71, 151, 170, 0.17) !important;
}

html.dark body.dashboard-page [class~="border-blue-100"],
html.dark body.dashboard-page [class~="border-blue-200"],
html.dark body.dashboard-page [class~="border-blue-300"],
html.dark body.dashboard-page [class~="border-indigo-100"],
html.dark body.dashboard-page [class~="border-indigo-200"],
html.dark body.dashboard-page [class~="border-purple-100"],
html.dark body.dashboard-page [class~="border-purple-200"] {
  border-color: rgba(126, 157, 203, 0.4) !important;
}

html.dark body.dashboard-page [class~="border-green-50"],
html.dark body.dashboard-page [class~="border-green-100"],
html.dark body.dashboard-page [class~="border-green-200"],
html.dark body.dashboard-page [class~="border-green-300"],
html.dark body.dashboard-page [class~="border-emerald-100"] {
  border-color: rgba(101, 170, 137, 0.4) !important;
}

html.dark body.dashboard-page [class~="border-orange-100"],
html.dark body.dashboard-page [class~="border-orange-200"],
html.dark body.dashboard-page [class~="border-amber-50"],
html.dark body.dashboard-page [class~="border-amber-200"],
html.dark body.dashboard-page [class~="border-amber-300"],
html.dark body.dashboard-page [class~="border-yellow-200"],
html.dark body.dashboard-page [class~="border-yellow-300"] {
  border-color: rgba(196, 155, 95, 0.42) !important;
}

html.dark body.dashboard-page [class~="border-red-200"],
html.dark body.dashboard-page [class~="border-red-300"] {
  border-color: rgba(196, 105, 110, 0.42) !important;
}

html.dark body.dashboard-page [class~="border-cyan-100"],
html.dark body.dashboard-page [class~="border-cyan-200"],
html.dark body.dashboard-page [class~="border-sky-100"],
html.dark body.dashboard-page [class~="border-sky-300"] {
  border-color: rgba(93, 165, 182, 0.42) !important;
}

html.dark body.dashboard-page [class~="text-blue-600"],
html.dark body.dashboard-page [class~="text-blue-700"],
html.dark body.dashboard-page [class~="text-blue-800"],
html.dark body.dashboard-page [class~="text-blue-900"],
html.dark body.dashboard-page [class~="text-indigo-600"] {
  color: #9bbde8 !important;
}

html.dark body.dashboard-page [class~="text-purple-600"],
html.dark body.dashboard-page [class~="text-purple-700"],
html.dark body.dashboard-page [class~="text-purple-800"],
html.dark body.dashboard-page [class~="text-purple-900"],
html.dark body.dashboard-page [class~="text-violet-600"] {
  color: #c9a9df !important;
}

html.dark body.dashboard-page [class~="text-green-600"],
html.dark body.dashboard-page [class~="text-green-700"],
html.dark body.dashboard-page [class~="text-green-800"],
html.dark body.dashboard-page [class~="text-green-900"],
html.dark body.dashboard-page [class~="text-emerald-600"],
html.dark body.dashboard-page [class~="text-emerald-700"],
html.dark body.dashboard-page [class~="text-emerald-900"] {
  color: #91c9ab !important;
}

html.dark body.dashboard-page [class~="text-orange-600"],
html.dark body.dashboard-page [class~="text-orange-700"],
html.dark body.dashboard-page [class~="text-orange-900"],
html.dark body.dashboard-page [class~="text-amber-600"],
html.dark body.dashboard-page [class~="text-amber-700"],
html.dark body.dashboard-page [class~="text-amber-800"],
html.dark body.dashboard-page [class~="text-amber-900"],
html.dark body.dashboard-page [class~="text-yellow-600"],
html.dark body.dashboard-page [class~="text-yellow-700"],
html.dark body.dashboard-page [class~="text-yellow-800"] {
  color: #d7b27b !important;
}

html.dark body.dashboard-page [class~="text-red-600"],
html.dark body.dashboard-page [class~="text-red-700"],
html.dark body.dashboard-page [class~="text-red-800"] {
  color: #dca0a4 !important;
}

html.dark body.dashboard-page [class~="text-cyan-600"],
html.dark body.dashboard-page [class~="text-cyan-700"],
html.dark body.dashboard-page [class~="text-sky-600"],
html.dark body.dashboard-page [class~="text-sky-700"],
html.dark body.dashboard-page [class~="text-sky-900"] {
  color: #8fc4d1 !important;
}

html.dark body.dashboard-page [class~="hover:bg-blue-200"]:hover {
  background-color: rgba(96, 142, 205, 0.28) !important;
}

html.dark body.dashboard-page [class~="hover:bg-purple-200"]:hover {
  background-color: rgba(151, 112, 184, 0.28) !important;
}

html.dark body.dashboard-page [class~="hover:bg-green-50"]:hover,
html.dark body.dashboard-page [class~="hover:bg-green-200"]:hover {
  background-color: rgba(74, 151, 116, 0.28) !important;
}

html.dark body.dashboard-page [class~="hover:bg-amber-50"]:hover,
html.dark body.dashboard-page [class~="hover:bg-yellow-100"]:hover,
html.dark body.dashboard-page [class~="hover:bg-yellow-200"]:hover {
  background-color: rgba(186, 137, 68, 0.28) !important;
}

html.dark body.dashboard-page [class~="hover:bg-red-50"]:hover,
html.dark body.dashboard-page [class~="hover:bg-red-100"]:hover {
  background-color: rgba(183, 83, 89, 0.28) !important;
}

html.dark .menu-item-active,
html.dark .menu-dropdown-item-active {
  background-color: rgba(70, 95, 255, 0.16) !important;
  color: #9cb9ff !important;
}

html.dark .menu-item-inactive,
html.dark .menu-dropdown-item-inactive {
  color: #cbd5e1;
}

html.dark .menu-item-inactive:hover,
html.dark .menu-dropdown-item-inactive:hover {
  background-color: #303b4d;
  color: #e4e8ef;
}

html.dark .menu-item-icon-inactive,
html.dark .menu-item-arrow-inactive {
  color: #9aa6b6;
  stroke: #9aa6b6;
}

html.dark .theme-switch {
  color: #c0c8d4 !important;
  background: transparent !important;
}

html.dark .theme-switch:hover {
  color: #e4e8ef !important;
}

html.dark body.dashboard-page {
  background-color: #1c2432 !important;
  color: #d5dbe5;
}

html.dark body.dashboard-page table {
  color: #c0c8d4;
}

html.dark body.dashboard-page thead {
  background-color: #202938;
}

html.dark body.dashboard-page tbody tr {
  border-color: #414e61;
}

html.dark body.dashboard-page tbody tr.bg-purple-100 {
  background-color: rgba(106, 76, 147, 0.22) !important;
}

html.dark body.dashboard-page tbody tr.bg-blue-100 {
  background-color: rgba(65, 105, 160, 0.22) !important;
}

html.dark body.dashboard-page tbody tr:hover {
  background-color: rgba(48, 59, 77, 0.78);
}

html.dark body.dashboard-page tbody tr.bg-purple-100:hover {
  background-color: rgba(116, 86, 157, 0.3) !important;
}

html.dark body.dashboard-page tbody tr.bg-blue-100:hover {
  background-color: rgba(76, 116, 171, 0.3) !important;
}

html.dark body.dashboard-page .custom-scrollbar {
  scrollbar-color: #526075 transparent;
}

html.dark body.dashboard-page .custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #526075;
}

html.dark body.dashboard-page .shadow-theme-xs,
html.dark body.dashboard-page .shadow-theme-sm,
html.dark body.dashboard-page .shadow-theme-md,
html.dark body.dashboard-page .shadow-theme-lg,
html.dark .app-navbar .shadow-theme-xs,
html.dark .app-navbar .shadow-theme-lg {
  box-shadow: 0 8px 20px rgba(13, 18, 27, 0.22);
}

/* Focus Styles */
.focus\:outline-hidden:focus {
  outline: none;
}

/* Z-Index Utilities */
.z-9999 { z-index: 9999; }
.z-99999 { z-index: 99999; }

/* Animation Classes */
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Modal Styles */
.modal {
  display: flex;
}

.modal.hidden {
  display: none;
}

.modal-dialog {
  max-width: 900px;
}

.modal-dialog-wide {
  max-width: 95vw;
  max-width: 1400px;
}

.modal-dialog-scrollable {
  max-height: calc(100vh - 1rem);
}

.modal-content {
  flex: 1;
}

.modal-header {
  margin-bottom: 0;
}

.modal-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.modal-body {
  padding: 0;
}

.modal-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.modal-close-btn {
  cursor: pointer;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  background-color: #465fff;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #3b4bcc;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  border: none;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.bg-danger-subtle {
  background-color: #fef2f2;
}

.text-danger {
  color: #ef4444;
}

/* Responsive Utilities */
@media (min-width: 1024px) {
  .lg\:hidden {
    display: none !important;
  }
  
  .lg\:block {
    display: block !important;
  }
  
  .lg\:flex {
    display: flex !important;
  }
  
  .lg\:static {
    position: static !important;
  }
  
  .lg\:translate-x-0 {
    transform: translateX(0) !important;
  }
  
  .lg\:w-\[90px\] {
    width: 90px !important;
  }
  
  .lg\:border {
    border-width: 1px !important;
  }
  
  .lg\:border-b {
    border-bottom-width: 1px !important;
  }
  
  .lg\:border-b-0 {
    border-bottom-width: 0 !important;
  }
  
  .lg\:px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .lg\:py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .lg\:shadow-none {
    box-shadow: none !important;
  }
  
  .lg\:justify-normal {
    justify-content: normal !important;
  }
  
  .lg\:justify-end {
    justify-content: flex-end !important;
  }
  
  .lg\:flex-row {
    flex-direction: row !important;
  }
  
  .lg\:right-0 {
    right: 0 !important;
  }
}

/* ==========================================================================
   Sidebar: koyu, kompakt (Shopify tarzı) tasarım
   Açık/koyu tema fark etmeksizin hep #0A0A0A. Önceki "html.dark .sidebar"
   kurallarını ezmek için :is(html, html.dark) önekiyle ve dosyanın sonunda.
   ========================================================================== */
:is(html, html.dark) .sidebar-shopify {
  --sb-bg: #0a0a0a;
  --sb-border: #1f1f1f;
  --sb-text: #e3e3e3;
  --sb-muted: #8a8a8a;
  --sb-hover: #1c1c1c;
  --sb-active: #303030;
  --sb-field: #1a1a1a;
  background-color: var(--sb-bg) !important;
  border-right: 1px solid var(--sb-border) !important;
  border-color: var(--sb-border) !important;
  color: var(--sb-text);
}

.sidebar-shopify .sidebar-header,
:is(html, html.dark) .sidebar-shopify .sidebar-header {
  border-bottom: 0;
}

.sidebar-shopify .sb-logo-img {
  height: 2rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.sidebar-shopify .sb-env-chip {
  border-radius: 4px;
  background: #3b2f05;
  color: #fcd34d;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Arama */
.sidebar-shopify .sb-search {
  position: relative;
  margin-top: 4px;
}

.sidebar-shopify .sb-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--sb-muted);
  pointer-events: none;
}

:is(html, html.dark) .sidebar-shopify .sb-search-input {
  width: 100%;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: var(--sb-active);
  padding: 0 52px 0 30px;
  font-size: 13px;
  color: var(--sb-text);
  outline: none;
  box-shadow: none;
}

.sidebar-shopify .sb-search-input::-webkit-search-cancel-button {
  display: none;
}

:is(html, html.dark) .sidebar-shopify .sb-search-input::placeholder {
  color: var(--sb-muted);
}

:is(html, html.dark) .sidebar-shopify .sb-search-input:focus {
  border-color: #5c5c5c;
  background-color: var(--sb-field);
}

.sidebar-shopify .sb-search-kbd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: inherit;
  font-size: 11px;
  color: var(--sb-muted);
  pointer-events: none;
}

.sidebar-shopify .sb-search-input:focus ~ .sb-search-kbd {
  display: none;
}

/* Panel / Web Sitesi sekmeleri */
.sidebar-shopify .sb-tabs {
  margin-top: 8px;
  gap: 2px;
  border-radius: 8px;
  background: var(--sb-field);
  padding: 2px;
}

.sidebar-shopify .sb-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sb-muted);
  transition: background-color 0.15s, color 0.15s;
}

.sidebar-shopify .sb-tab:hover {
  color: var(--sb-text);
}

:is(html, html.dark) .sidebar-shopify .sb-tab-active {
  background: var(--sb-active);
  color: #fff;
}

/* Menü listesi */
#sidebar-main-nav > .sb-menu-list {
  gap: 2px;
  margin-top: 12px;
  margin-bottom: 12px;
}

:is(html, html.dark) .sidebar-shopify .menu-item {
  gap: 10px;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

:is(html, html.dark) .sidebar-shopify .menu-item i {
  width: 16px;
  height: 16px;
  font-size: 15px;
  flex-shrink: 0;
}

:is(html, html.dark) .sidebar-shopify .menu-item-inactive {
  color: var(--sb-text);
}

:is(html, html.dark) .sidebar-shopify .menu-item-inactive:hover {
  background-color: var(--sb-hover);
  color: #fff;
}

:is(html, html.dark) .sidebar-shopify .menu-item-active {
  background-color: var(--sb-active) !important;
  color: #fff !important;
}

:is(html, html.dark) .sidebar-shopify .menu-item-icon-inactive,
:is(html, html.dark) .sidebar-shopify .menu-item-arrow-inactive {
  color: var(--sb-muted);
  stroke: var(--sb-muted);
}

:is(html, html.dark) .sidebar-shopify .menu-item:hover .menu-item-icon-inactive {
  color: #fff;
}

:is(html, html.dark) .sidebar-shopify .menu-item-icon-active {
  color: #fff !important;
}

:is(html, html.dark) .sidebar-shopify .menu-item-arrow-active {
  stroke: #fff;
}

.sidebar-shopify .menu-item-arrow svg {
  width: 12px;
  height: 12px;
}

.sidebar-shopify .menu-item-text {
  font-weight: 500;
}

/* Alt menü (dropdown) */
#sidebar-main-nav .menu-dropdown {
  padding-left: 26px;
  margin-top: 2px;
  gap: 1px;
}

:is(html, html.dark) .sidebar-shopify .menu-dropdown-item {
  gap: 8px;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
}

:is(html, html.dark) .sidebar-shopify .menu-dropdown-item-inactive {
  color: var(--sb-muted);
}

:is(html, html.dark) .sidebar-shopify .menu-dropdown-item-inactive:hover {
  background-color: var(--sb-hover);
  color: #fff;
}

:is(html, html.dark) .sidebar-shopify .menu-dropdown-item-active {
  background-color: transparent !important;
  color: #fff !important;
  font-weight: 600;
}

/* Sidebar içinde kalan açık tema yardımcı sınıfları (başlık ayraçları, rozetler, vb.) */
:is(html, html.dark) .sidebar-shopify [class~="text-gray-900"],
:is(html, html.dark) .sidebar-shopify [class~="text-gray-800"],
:is(html, html.dark) .sidebar-shopify [class~="text-gray-700"] {
  color: var(--sb-text) !important;
}

:is(html, html.dark) .sidebar-shopify [class~="text-gray-600"],
:is(html, html.dark) .sidebar-shopify [class~="text-gray-500"],
:is(html, html.dark) .sidebar-shopify [class~="text-gray-400"] {
  color: var(--sb-muted) !important;
}

:is(html, html.dark) .sidebar-shopify [class~="bg-gray-200"],
:is(html, html.dark) .sidebar-shopify [class~="bg-gray-100"] {
  background-color: var(--sb-border) !important;
}

/* Alt sabit "Ayarlar" */
.sidebar-shopify .sb-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--sb-border);
  padding: 8px 0 10px;
}

/* Daraltılmış (ikon) görünüm */
@media (min-width: 1024px) {
  .sidebar-shopify[class*="lg:w-[90px]"] .menu-item {
    justify-content: center;
  }
}

/* Geniş içerikli sayfalarda flex düzeni sidebar'ı daraltmasın */
.sidebar-shopify {
  flex-shrink: 0;
}

:is(html, html.dark) .sidebar-shopify [class~="bg-white"],
:is(html, html.dark) .sidebar-shopify [class~="bg-gray-50"] {
  background-color: var(--sb-field) !important;
}

:is(html, html.dark) .sidebar-shopify [class~="border-gray-200"],
:is(html, html.dark) .sidebar-shopify [class~="border-gray-100"] {
  border-color: var(--sb-border) !important;
}

/* Genişlik: Tailwind derlemesinde w-[240px] yok, burada tanımlı */
.sidebar-shopify {
  width: 240px;
}

@media (min-width: 1024px) {
  .sidebar-shopify[class*="lg:w-[90px]"] {
    width: 90px;
  }
}

/* Açılır menü oku: ortalı kalsın. .menu-item-arrow-active'in rotate'i Tailwind'in
   -translate-y-1/2'sini eziyor ve ok aşağı kayıyordu. */
.sidebar-shopify .menu-item-arrow {
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.sidebar-shopify .menu-item-arrow-active {
  transform: translateY(-50%) rotate(180deg);
}

/* Footer: sade, renksiz */
.app-footer {
  border-color: #eee;
}

html.dark .app-footer {
  background-color: #0a0a0a !important;
  border-color: #1f1f1f !important;
}

/* Daralt / genişlet butonu */
.sidebar-shopify .sb-collapse-btn {
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--sb-muted);
  transition: background-color 0.15s, color 0.15s;
}

.sidebar-shopify .sb-collapse-btn:hover {
  background-color: var(--sb-hover);
  color: #fff;
}

.sidebar-shopify .sb-collapse-btn i {
  width: 16px;
  height: 16px;
  font-size: 15px;
  line-height: 16px;
  text-align: center;
}

/* Panel / Web Sitesi sekmeleri: normalde iki sütun, ikonlar yalnızca daralınca */
.sidebar-shopify .sb-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sidebar-shopify .sb-tab-icon {
  display: none;
  font-size: 14px;
}

@media (min-width: 1024px) {
  .sidebar-shopify[class*="lg:w-[90px]"] {
    width: 64px !important;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-tabs {
    grid-template-columns: 1fr;
    background: transparent;
    padding: 0;
    gap: 2px;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-tab {
    height: 32px;
    padding: 0;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-tab-text {
    display: none;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-tab-icon {
    display: inline-block;
  }
}

/* ==========================================================================
   Sidebar alti hesap alani (kullanici + calisma durumu) ve acilir menuleri
   ========================================================================== */
.sidebar-shopify .sb-account {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.sidebar-shopify .sb-user-btn {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 5px 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--sb-text);
  transition: background-color 0.15s;
}

.sidebar-shopify .sb-user-btn:hover,
.sidebar-shopify .sb-user-btn.is-open,
.sidebar-shopify .sb-status-btn:hover,
.sidebar-shopify .sb-status-btn.is-open {
  background-color: var(--sb-hover);
}

.sidebar-shopify .sb-avatar {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #4d7cff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.sidebar-shopify .sb-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-shopify .sb-status-btn {
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--sb-muted);
  transition: background-color 0.15s, color 0.15s;
}

.sidebar-shopify .sb-status-btn i {
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}

.sidebar-shopify .sb-status-btn:hover {
  color: #fff;
}

/* Aktif moda gore renk; normal calismada renksiz */
:is(html, html.dark) .sidebar-shopify .sb-status--break { color: #fb923c; }
:is(html, html.dark) .sidebar-shopify .sb-status--video { color: #60a5fa; }
:is(html, html.dark) .sidebar-shopify .sb-status--control { color: #a78bfa; }

@media (min-width: 1024px) {
  .sidebar-shopify[class*="lg:w-[90px]"] .sb-account {
    flex-direction: column;
    gap: 2px;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-user-btn {
    flex: none;
    justify-content: center;
    padding: 5px 10px;
  }

  .sidebar-shopify[class*="lg:w-[90px]"] .sb-status-btn {
    width: 36px;
    height: 28px;
  }
}

/* Acilir menu (body'ye tasinir, sidebar disinda oldugu icin kendi renkleri var) */
.sb-pop {
  position: fixed;
  z-index: 100000;
  width: 232px;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  background: #1a1a1a;
  padding: 6px;
  color: #e3e3e3;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.sb-pop-head {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #2e2e2e;
}

.sb-pop-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.sb-pop-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #8a8a8a;
}

.sb-pop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #e3e3e3;
  transition: background-color 0.15s;
}

.sb-pop-item i {
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #8a8a8a;
}

.sb-pop-item:hover {
  background: #262626;
  color: #fff;
}

.sb-pop-row {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 7px 10px;
}

.sb-pop-row:hover {
  background: #262626;
}

.sb-pop-row-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sb-pop-row-title {
  font-size: 13px;
  color: #e3e3e3;
}

.sb-pop-row-sub {
  font-size: 11px;
  color: #8a8a8a;
}

.sb-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sb-switch {
  position: relative;
  width: 30px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #3d3d3d;
  transition: background-color 0.15s;
}

.sb-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}

.sb-switch-input:checked + .sb-switch::after {
  transform: translateX(12px);
}

.sb-switch-input:checked + .sb-switch--video { background: #3b82f6; }
.sb-switch-input:checked + .sb-switch--break { background: #f97316; }
.sb-switch-input:checked + .sb-switch--control { background: #8b5cf6; }

.sb-switch-input:focus-visible + .sb-switch {
  outline: 2px solid #8a8a8a;
  outline-offset: 2px;
}

/* ==========================================================================
   Navbar: sayfayla butunlesik, kenarliksiz
   ========================================================================== */
:root {
  --crm-page-bg: #f9fafb;
}

html.dark {
  --crm-page-bg: #202938;
}

html .app-navbar,
html.dark .app-navbar {
  background-color: var(--crm-page-bg) !important;
  border: 0 !important;
}

@media (min-width: 1024px) {
  .app-navbar .management-report-navbar__layout {
    display: grid;
    grid-template-columns: 1fr minmax(0, 34rem) 1fr;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .app-navbar .management-report-navbar__primary {
    display: contents;
  }

  .app-navbar .nb-search-zone {
    grid-column: 2;
  }

  .app-navbar .management-report-navbar__actions {
    grid-column: 3;
    justify-self: end;
  }
}

.app-navbar .nb-search-zone {
  width: 100%;
  min-width: 0;
}

.app-navbar .nb-search-box {
  position: relative;
}

.app-navbar .nb-search-field {
  position: relative;
  display: flex;
  height: 34px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #e8eaee;
  transition: background-color 0.15s, border-color 0.15s;
}

html.dark .app-navbar .nb-search-field {
  background: #2b3545;
}

.app-navbar .nb-search-field:focus-within {
  border-color: #9aa3b2;
  background: #fff;
}

html.dark .app-navbar .nb-search-field:focus-within {
  border-color: #5b6b82;
  background: #242d3c;
}

.app-navbar .nb-search-icon {
  position: absolute;
  left: 11px;
  font-size: 12px;
  color: #6b7280;
  pointer-events: none;
}

.app-navbar .nb-search-mode {
  height: 100%;
  width: 78px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(107, 114, 128, 0.25);
  background: transparent;
  padding: 0 0 0 30px;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  outline: none;
  box-shadow: none;
}

html.dark .app-navbar .nb-search-mode {
  color: #c0c8d4;
}

.app-navbar .nb-search-input {
  height: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 56px 0 10px;
  font-size: 13px;
  color: #111827;
  outline: none;
  box-shadow: none;
}

html.dark .app-navbar .nb-search-input {
  color: #e4e8ef;
}

.app-navbar .nb-search-input::placeholder {
  color: #6b7280;
}

.app-navbar .nb-search-kbd {
  position: absolute;
  right: 10px;
  font-family: inherit;
  font-size: 11px;
  color: #6b7280;
  pointer-events: none;
}

.app-navbar .nb-search-input:focus ~ .nb-search-kbd {
  display: none;
}

/* Sag ust ikon butonlari: kenarliksiz */
.app-navbar .nb-icon-btn {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 15px;
  color: #6b7280;
  transition: background-color 0.15s, color 0.15s;
}

.app-navbar .nb-icon-btn:hover {
  background: rgba(107, 114, 128, 0.14);
  color: #111827;
}

html.dark .app-navbar .nb-icon-btn:hover {
  color: #fff;
}

.app-navbar .nb-icon-btn--critical {
  color: #dc2626;
}

/* ==========================================================================
   Icerik alani: sol uste/alta oval kose (Shopify tarzi) + sayfa basligi
   ========================================================================== */
@media (min-width: 1024px) {
  body > .flex.h-screen:has(> .sidebar-shopify) {
    background-color: #0a0a0a;
  }

  body > .flex.h-screen:has(> .sidebar-shopify) > div.flex-col {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    background-color: var(--crm-page-bg);
  }
}

.app-navbar .nb-title {
  grid-column: 1;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.app-navbar .nb-title i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #6b7280;
}

.app-navbar .nb-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.dark .app-navbar .nb-title {
  color: #e4e8ef;
}

.app-navbar .nb-title-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #6b7280;
}

/* ==========================================================================
   Butonlar: ovalli, siyah (zinc) primary + secondary. Su an dashboard'da kullaniliyor;
   diger sayfalar sayfa sayfa bu siniflara gecirilecek.
   ========================================================================== */
.btn {
  display: inline-flex;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn i {
  font-size: 12px;
}

.btn:focus-visible {
  outline: 2px solid #71717a;
  outline-offset: 2px;
}

.btn-primary {
  background-color: #18181b;
  color: #fff;
}

.btn-primary:hover {
  background-color: #3f3f46;
}

.btn-secondary {
  border-color: #e4e4e7;
  background-color: #fff;
  color: #27272a;
}

.btn-secondary:hover {
  background-color: #f4f4f5;
}

html.dark .btn-primary {
  background-color: #f4f4f5;
  color: #18181b;
}

html.dark .btn-primary:hover {
  background-color: #d4d4d8;
}

html.dark .btn-secondary {
  border-color: #414e61;
  background-color: #2b3545;
  color: #e4e8ef;
}

html.dark .btn-secondary:hover {
  background-color: #364254;
}

/* Kenarliksiz ikon butonu */
.btn-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  color: #71717a;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn-icon:hover,
.btn-icon.is-open {
  background-color: rgba(113, 113, 122, 0.14);
  color: #18181b;
}

html.dark .btn-icon:hover,
html.dark .btn-icon.is-open {
  color: #fff;
}

/* Acilir menu */
.dash-menu {
  position: absolute;
  right: 0;
  z-index: 50;
  margin-top: 6px;
  min-width: 220px;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.dash-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 7px 10px;
  text-align: left;
  font-size: 13px;
  color: #27272a;
  transition: background-color 0.15s;
}

.dash-menu-item i {
  width: 16px;
  text-align: center;
  font-size: 13px;
  color: #71717a;
}

.dash-menu-item:hover {
  background: #f4f4f5;
}

.dash-menu-sep {
  height: 1px;
  margin: 4px 2px;
  background: #e4e4e7;
}

html.dark .dash-menu {
  border-color: #414e61;
  background: #242d3c;
}

html.dark .dash-menu-item {
  color: #e4e8ef;
}

html.dark .dash-menu-item:hover {
  background: #303b4d;
}

html.dark .dash-menu-sep {
  background: #414e61;
}

/* Arama: kompakt, sade */
.dash-search {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.dash-search i.dash-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #71717a;
  pointer-events: none;
}

.dash-search input {
  width: 100%;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f4f4f5;
  padding: 0 30px 0 32px;
  font-size: 13px;
  color: #18181b;
  outline: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.dash-search input::placeholder {
  color: #71717a;
}

.dash-search input:focus {
  border-color: #a1a1aa;
  background: #fff;
}

.dash-search a.dash-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  display: flex;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  color: #71717a;
}

.dash-search a.dash-search-clear:hover {
  background: rgba(113, 113, 122, 0.18);
}

html.dark .dash-search input {
  background: #2b3545;
  color: #e4e8ef;
}

html.dark .dash-search input:focus {
  border-color: #5b6b82;
  background: #242d3c;
}

/* Secici (Gos ter 50 bagis, dernek, ozel gun) */
.dash-select {
  height: 32px;
  cursor: pointer;
  appearance: none;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2371717a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding: 0 28px 0 11px;
  font-size: 13px;
  color: #27272a;
  outline: none;
}

.dash-select:focus {
  border-color: #a1a1aa;
}

html.dark .dash-select {
  border-color: #414e61;
  background-color: #2b3545;
  color: #e4e8ef;
}

.dash-select--ghost {
  border-color: transparent;
  background-color: transparent;
}

.dash-select--ghost:hover {
  background-color: rgba(113, 113, 122, 0.14);
}

html.dark .dash-select--ghost {
  border-color: transparent;
  background-color: transparent;
}

html.dark .dash-select--ghost:hover {
  background-color: rgba(113, 113, 122, 0.22);
}

/* Hizli filtre cipleri (gelismis filtre penceresi) */
.dash-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  color: #3f3f46;
  transition: background-color 0.15s;
}

.dash-chip:hover {
  background: #f4f4f5;
}

.dash-chip.is-active {
  border-color: #18181b;
  background: #18181b;
  color: #fff;
}
/* Analiz seridi (Shopify tarzi: donem secici + sparkline'li metrikler) */
.dash-analytics {
  display: flex;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: #fff;
}

.dash-period {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid #e4e4e7;
  padding: 0 14px;
  color: #3f3f46;
}

.dash-period i {
  font-size: 12px;
  color: #71717a;
}

.dash-period select {
  cursor: pointer;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: inherit;
  outline: none;
}

.dash-tile {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-right: 1px solid #e4e4e7;
  padding: 12px 18px;
  text-align: left;
  transition: background-color 0.15s;
}

a.dash-tile,
button.dash-tile {
  cursor: pointer;
}

.dash-tile:last-child {
  border-right: 0;
}

a.dash-tile:hover,
button.dash-tile:hover {
  background: #fafafa;
}

.dash-tile-text {
  min-width: 0;
}

.dash-tile-label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px dotted #a1a1aa;
  font-size: 12.5px;
  font-weight: 600;
  color: #27272a;
}

.dash-tile-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.dash-tile-value {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

.dash-tile-delta {
  font-size: 12px;
  color: #71717a;
}

.dash-tile-delta.is-up {
  color: #16a34a;
}

.dash-tile-delta.is-down {
  color: #6b7280;
}

.dash-spark {
  width: 76px;
  height: 26px;
  flex-shrink: 0;
}

.dash-spark .cur {
  fill: none;
  stroke: #27272a;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dash-spark .prev {
  fill: none;
  stroke: #a1a1aa;
  stroke-width: 1.2;
  stroke-dasharray: 1.5 2.5;
  stroke-linecap: round;
}

html.dark .dash-analytics,
html.dark .dash-period,
html.dark .dash-tile {
  border-color: #414e61;
}

html.dark .dash-analytics {
  background: #242d3c;
}

html.dark .dash-period {
  color: #c0c8d4;
}

html.dark .dash-period select option {
  background: #242d3c;
}

html.dark a.dash-tile:hover,
html.dark button.dash-tile:hover {
  background: #2b3545;
}

html.dark .dash-tile-label {
  border-bottom-color: #71717a;
  color: #e4e8ef;
}

html.dark .dash-tile-value {
  color: #f4f4f5;
}

html.dark .dash-spark .cur {
  stroke: #e4e4e7;
}

@media (max-width: 1023px) {
  .dash-analytics {
    flex-wrap: wrap;
  }

  .dash-period {
    width: 100%;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #e4e4e7;
    padding: 8px 14px;
  }

  .dash-tile {
    flex: 1 1 50%;
    border-bottom: 1px solid #e4e4e7;
  }
}


/* Sparkline: mavi */
.dash-spark .cur {
  stroke: #2563eb;
}

html.dark .dash-spark .cur {
  stroke: #60a5fa;
}

/* 5 kart sigsin: daha dar dolgu, delta tek satir */
.dash-tile {
  padding: 12px 14px;
}

.dash-tile:not([data-metric]) {
  flex: 0.8;
}

.dash-tile-delta,
.dash-tile-value {
  white-space: nowrap;
}

.dash-spark {
  width: 56px;
}

/* ==========================================================================
   Bagis tablosu (components/donations_table.php)
   Satir arka planlari kaldirildi; kanal bilgisi Kanal cipinde, istisnai durumlar
   ID yanindaki kucuk ikonlarda.
   ========================================================================== */
.crm-row {
  cursor: pointer;
  transition: background-color 0.1s;
}

.crm-row:hover > td {
  background-color: #f9fafb;
}

.crm-row.is-cancelled > td {
  background-color: #fef2f2;
  color: #9ca3af;
}

.crm-row.is-cancelled:hover > td {
  background-color: #fee2e2;
}

html.dark .crm-row:hover > td {
  background-color: #2b3545;
}

html.dark .crm-row.is-cancelled > td {
  background-color: rgba(220, 38, 38, 0.12);
}

.crm-flag {
  margin-left: 4px;
  font-size: 11px;
  cursor: help;
}

.crm-flag--green { color: #16a34a; }
.crm-flag--amber { color: #d97706; }
.crm-flag--gray { color: #9ca3af; }

/* Cipler: az yuvarlak */
.crm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
}

.crm-chip i {
  font-size: 9px;
  opacity: 0.85;
}

.crm-chip--manual { background: #ecfdf3; color: #15803d; }
.crm-chip--web { background: #eff6ff; color: #1d4ed8; }
.crm-chip--app { background: #f5f3ff; color: #6d28d9; }
.crm-chip--muted { background: #f4f4f5; color: #52525b; }
.crm-chip--danger { background: #fee2e2; color: #b91c1c; font-weight: 600; }

a.crm-chip--muted:hover { background: #e4e4e7; }

html.dark .crm-chip--manual { background: rgba(22, 163, 74, 0.16); color: #86efac; }
html.dark .crm-chip--web { background: rgba(37, 99, 235, 0.18); color: #93c5fd; }
html.dark .crm-chip--app { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }
html.dark .crm-chip--muted { background: #364254; color: #d5dbe5; }
html.dark .crm-chip--danger { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }

.crm-country-flag {
  width: 22px;
  height: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  object-fit: cover;
}

/* Satir ici kucuk butonlar */
.crm-row-menu-btn,
.crm-status-btn {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #6b7280;
  transition: background-color 0.15s, color 0.15s;
}

.crm-row-menu-btn {
  font-size: 13px;
}

.crm-row-menu-btn:hover,
.crm-status-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.crm-status-btn {
  font-size: 14px;
  color: #9ca3af;
}

.crm-status-btn.is-done {
  color: #16a34a;
}

html.dark .crm-row-menu-btn:hover,
html.dark .crm-status-btn:hover {
  background-color: #364254;
  color: #fff;
}

.crm-wa-fail {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #fee2e2;
  font-size: 9px;
  color: #b91c1c;
}

.crm-wa-icon {
  font-size: 13px;
  color: #22c55e;
  cursor: help;
}

.crm-wa-icon.has-error {
  color: #ef4444;
}

.crm-notif-icon {
  font-size: 13px;
  color: #9ca3af;
  cursor: help;
  transition: color 0.15s;
}

.crm-notif-icon:hover {
  color: #2563eb;
}

/* Satir islem menusu (tek kopya) */
.crm-row-menu {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.crm-row-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  text-align: left;
  font-size: 13px;
  color: #374151;
  transition: background-color 0.1s;
}

.crm-row-menu-item > i {
  width: 14px;
  text-align: center;
}

.crm-row-menu-item:hover {
  background-color: #f3f4f6;
}

.crm-row-menu-item.is-danger {
  color: #dc2626;
}

.crm-row-menu-item.is-danger:hover {
  background-color: #fef2f2;
}

html.dark .crm-row-menu {
  border-color: #414e61;
  background: #242d3c;
}

html.dark .crm-row-menu-item {
  color: #d5dbe5;
}

html.dark .crm-row-menu-item:hover {
  background-color: #303b4d;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sayfa ici segmentli sekmeler (toplu video yukleme vb.) */
.pg-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  border-radius: 10px;
  background: #f4f4f5;
  padding: 3px;
}

.pg-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #71717a;
  transition: background-color 0.15s, color 0.15s;
}

.pg-tab i {
  font-size: 12px;
}

.pg-tab:hover {
  color: #18181b;
}

.pg-tab.is-active {
  background: #fff;
  color: #18181b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

html.dark .pg-tabs {
  background: #2b3545;
}

html.dark .pg-tab {
  color: #a1a1aa;
}

html.dark .pg-tab.is-active {
  background: #364254;
  color: #fff;
}

.btn-danger-text,
.btn-danger-text i {
  color: #dc2626;
}

/* Sayfalama bağlantıları (Tüm Bağışlar) */
.crm-page-link {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: #3f3f46;
  transition: background-color 0.15s;
}

.crm-page-link:hover {
  background: #f4f4f5;
}

.crm-page-link.is-active {
  border-color: #18181b;
  background: #18181b;
  color: #fff;
}

html.dark .crm-page-link {
  border-color: #3f3f46;
  background: #18181b;
  color: #e4e4e7;
}

html.dark .crm-page-link.is-active {
  border-color: #f4f4f5;
  background: #f4f4f5;
  color: #18181b;
}

/* Tablo içi küçük buton */
.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
  gap: 4px;
}

/* ===== Ayarlar sayfası: ikinci yan menü ===== */
.set-aside {
  display: none;
  width: 240px;
  flex-shrink: 0;
  flex-direction: column;
  background: #0a0a0a;
  padding: 0 12px;
  color: #e3e3e3;
}

@media (min-width: 1024px) {
  .set-aside {
    display: flex;
  }
}

.set-aside-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px 10px;
}

.set-aside-back {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #a1a1aa;
  font-size: 12px;
}

.set-aside-back:hover {
  background: #1c1c1c;
  color: #fff;
}

.set-aside-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.set-aside-assoc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 4px 14px;
}

.set-aside-assoc-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.set-aside-assoc-sub {
  font-size: 12px;
  color: #8a8a8a;
}

.set-aside-logo {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 7px;
  background: #4d7cff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.set-aside-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.set-aside-nav {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.set-aside-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: #e3e3e3;
}

.set-aside-item i {
  width: 16px;
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  color: #8a8a8a;
}

.set-aside-item:hover {
  background: #1c1c1c;
  color: #fff;
}

.set-aside-item:hover i {
  color: #fff;
}

.set-aside-item.is-active {
  background: #303030;
  color: #fff;
}

.set-aside-item.is-active i {
  color: #fff;
}

.set-aside-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #1f1f1f;
  padding: 12px 4px;
}

.set-aside-avatar {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #4d7cff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.set-aside-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.set-aside-user-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #8a8a8a;
}

/* Mobil görünüm seçici (ikinci yan menü gizliyken) */
.set-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
}

@media (min-width: 1024px) {
  .set-tabs {
    display: none;
  }
}

/* Ayar formu bileşenleri */
.set-card {
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: #fff;
}

.set-card + .set-card {
  margin-top: 16px;
}

.set-card-head {
  border-bottom: 1px solid #f4f4f5;
  padding: 14px 20px;
}

.set-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

.set-card-desc {
  margin-top: 2px;
  font-size: 12px;
  color: #71717a;
}

.set-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px;
}

.set-field > label,
.set-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #27272a;
}

.set-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
}

.set-input {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 36px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  font-size: 13px;
  color: #18181b;
}

.set-input:focus {
  border-color: #18181b;
  outline: none;
}

.set-input[readonly] {
  background: #fafafa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #52525b;
}

select.set-input {
  max-width: 560px;
}

.set-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.set-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #18181b;
}

.set-check-title {
  font-size: 13px;
  font-weight: 500;
  color: #27272a;
}

.set-savebar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid #e4e4e7;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 4px;
  backdrop-filter: blur(6px);
}

.set-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}

.set-notice--ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.set-notice--err {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

html.dark .set-card,
html.dark .set-input {
  border-color: #3f3f46;
  background: #18181b;
  color: #e4e4e7;
}

html.dark .set-card-title,
html.dark .set-card-head + .set-card-body label,
html.dark .set-check-title {
  color: #f4f4f5;
}

html.dark .set-savebar {
  border-color: #3f3f46;
  background: rgba(24, 24, 27, 0.92);
}

/* Standart form alanı (eski sayfaların input/select/textarea sınıfları bununla değiştirilir) */
.crm-input {
  display: block;
  min-height: 36px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #fff;
  padding: 6px 12px;
  font-size: 13px;
  color: #18181b;
}

.crm-input:focus {
  border-color: #18181b;
  outline: none;
  box-shadow: none;
}

html.dark .crm-input {
  border-color: #3f3f46;
  background: #18181b;
  color: #e4e4e7;
}

.set-aside-group {
  margin: 14px 0 4px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.app-navbar .nb-site-link {
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid #e4e4e7;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #52525b;
}
.app-navbar .nb-site-link:hover { background: #f4f4f5; }

.set-aside-nav::-webkit-scrollbar {
  display: none;
}
