* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

html.js-has-auth .login-screen {
  display: none !important;
}

html.js-has-auth #app-root {
  display: block !important;
}

:root {
  --theme-bg: #0a1628;
  --theme-bg-card: #1a2d47;
  --theme-bg-elevated: #0f1f35;
  --theme-color: #e8eef4;
  --theme-color-muted: #9ca8b8;
  --theme-border: rgba(255, 255, 255, 0.1);
  --theme-input-bg: rgba(255, 255, 255, 0.08);
}

body.theme-light {
  --theme-bg: #f1f5f9;
  --theme-bg-card: #ffffff;
  --theme-bg-elevated: #ffffff;
  --theme-color: #1e293b;
  --theme-color-muted: #475569;
  --theme-border: rgba(0, 0, 0, 0.16);
  --theme-input-bg: rgba(0, 0, 0, 0.06);
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--theme-bg);
  color: var(--theme-color);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  transition:
    background-color 0.3s,
    color 0.3s;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {

  body,
  html {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    overscroll-behavior-x: none;
  }

  #app-root,
  .app-root,
  .login-screen {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-width: 0;
  }

  main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .filter-bar {
    max-width: 100%;
  }

  .header-top {
    min-width: 0;
  }

  header.admin-mode .admin-badge {
    padding: 0.3rem;
  }

  header.admin-mode .admin-badge .admin-badge-text {
    display: none !important;
  }

  header.admin-mode .admin-badge .admin-badge-short {
    display: none !important;
  }

  header.admin-mode .admin-badge .admin-badge-icon {
    margin: 0;
  }
}

.login-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(circle at 15% 50%,
      rgba(37, 99, 235, 0.15),
      transparent 50%),
    radial-gradient(circle at 85% 30%,
      rgba(147, 51, 234, 0.15),
      transparent 50%),
    #080f1a;
  position: relative;
  overflow: hidden;
}

.login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1040px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.login-left {
  display: flex;
  justify-content: center;
}

.login-right {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 3rem;
  color: #94a3b8;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.login-right h3 {
  color: #f8fafc;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.login-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.feature-icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  filter: brightness(0) invert(0.7) sepia(1) saturate(3) hue-rotate(185deg);
}

.feature-text strong {
  display: block;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

.wp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
}

.wp-action-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.login-right .wp-action-btn {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

.promo-card-phone.wp-action-btn,
.wp-action-link.wp-action-btn {
  color: #fff !important;
  text-decoration: none !important;
}

.promo-card-phone.call-btn {
  color: #fff !important;
  text-decoration: none !important;
}

.promo-card-phone.call-btn:hover {
  text-decoration: none !important;
}

.promo-card-phone.wp-action-btn:hover,
.wp-action-link.wp-action-btn:hover {
  text-decoration: none !important;
}

.lock-screen-cta.wp-action-btn {
  margin-top: 1.5rem;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3a5f, #152844);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.call-btn img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .login-screen {
    padding: 1.5rem 1rem;
  }

  .login-right {
    padding: 1.75rem 1.5rem;
  }

  .call-btn,
  .wp-action-btn {
    min-width: fit-content;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

.login-intro {
  font-size: 0.8rem;
  color: #8a9db0;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.login-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px auto;
  display: block;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-info-link {
  font-size: 0.8rem;
  color: #6b7d8f;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.login-info-link:hover {
  color: #9ca8b8;
}

.login-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-info-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.login-info-modal-card {
  position: relative;
  background: #0f1f35;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.login-info-modal-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8eef4;
  margin-bottom: 1rem;
}

.login-info-modal-list {
  font-size: 0.85rem;
  color: #9ca8b8;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.login-info-modal-list li {
  margin-bottom: 0.5rem;
}

.login-info-modal-close {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #c8d4e0;
  font-size: 0.85rem;
  cursor: pointer;
}

.login-info-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-input {
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #f8fafc;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-input::placeholder {
  color: #64748b;
}

.login-input:focus {
  outline: 0;
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.8);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.25),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-error {
  font-size: 0.85rem;
  color: #fca5a5;
  margin: -0.5rem 0 0;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-btn {
  padding: 1.15rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(59, 130, 246, 0.6);
  border-radius: 16px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.login-btn:active {
  transform: translateY(0);
}

.login-forgot-link {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.login-forgot-link:hover {
  color: #e2e8f0;
}

@media (max-width: 600px) {
  .login-card {
    padding: 2.25rem 1.5rem;
    border-radius: 24px;
  }
}

header {
  padding: calc(1.25rem + env(safe-area-inset-top)) calc(1.5rem + env(safe-area-inset-right)) 1.25rem calc(1.5rem + env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg,
      rgba(15, 31, 53, 0.98) 0,
      rgba(15, 31, 53, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.25s ease;
  will-change: transform;
}

header.header-hidden {
  transform: translateY(-100%);
}

.header-spacer {
  flex-shrink: 0;
  transition: height 0.25s ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-action-wrap {
  position: relative;
  z-index: 10;
}

.header-action-wrap.uyarilarim-wrap {
  z-index: 1000;
}

.admin-badge {
  display: none;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(160, 200, 255, 0.9);
  background: rgba(45, 90, 138, 0.25);
  border: 1px solid rgba(90, 160, 230, 0.25);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  z-index: 1;
  position: relative;
}

.header-action-btn.ticari-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  min-width: fit-content;
  white-space: nowrap;
  line-height: 1.2;
}

.header-action-btn.ticari-btn:hover {
  background: rgba(34, 197, 94, 0.2);
}

.ticari-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  vertical-align: middle;
  display: block;
  filter: brightness(0) saturate(100%) invert(60%) sepia(50%) saturate(500%) hue-rotate(90deg);
}

.notification-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #c8d4e0;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.notification-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.notification-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) invert(0.9);
}

.notification-btn-text {
  display: inline;
  margin-left: 0.25rem;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .notification-btn-text {
    display: none;
  }
}

.notification-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #e87070;
  border-radius: 50%;
}

.notification-panel {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  margin: 0;
  width: 420px;
  min-height: 300px;
  max-height: calc(100vh - 7rem);
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  visibility: visible;
  opacity: 1;
}

@media (min-width: 1400px) {
  .notification-panel {
    width: 480px;
  }
}

.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--theme-border);
  font-weight: 600;
  font-size: 1rem;
  color: var(--theme-color);
  flex-shrink: 0;
}

.notification-panel-header span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.notification-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notification-clear-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.5rem;
  border: none;
  background: rgba(232, 112, 112, 0.1);
  color: #e87070;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
  opacity: 0.8;
}

.notification-clear-all-btn:hover {
  background: rgba(232, 112, 112, 0.2);
  opacity: 1;
}

.notification-clear-icon {
  width: 0.9rem;
  height: 0.9rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(1.1);
}

.panel-header-icon {
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.ticari-panel .panel-header-icon {
  filter: brightness(0) saturate(100%) invert(60%) sepia(50%) saturate(500%) hue-rotate(90deg);
}

.uyarilarim-panel .panel-header-icon {
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(1.1);
}

.settings-panel-header .panel-header-icon {
  filter: brightness(0) invert(0.9);
}

.notification-panel-close,
.settings-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  border: none;
  background: 0 0;
  color: #9ca8b8;
  cursor: pointer;
  font-size: 1rem;
}

.panel-close-icon {
  width: 1rem;
  height: 1rem;
}

.notification-panel-close:hover {
  color: #fff;
}

.notification-tabs {
  display: flex;
  gap: 0;
  padding: 0 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-tab {
  padding: 0.5rem 0.75rem;
  border: none;
  background: 0 0;
  color: #9ca8b8;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.notification-tab:hover {
  color: #e8eef4;
}

.notification-tab.active {
  color: #5da8e8;
  border-bottom-color: #5da8e8;
}

.notification-tab-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notification-panel-subtitle {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5da8e8;
}

.commercial-suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.commercial-icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commercial-content-wrap {
  flex: 1;
  min-width: 0;
}

.commercial-suggestion-item .commercial-suggestion-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.commercial-type-info .commercial-icon-wrap {
  background: rgba(93, 168, 232, 0.15);
  color: #5da8e8;
}

.commercial-type-info .commercial-suggestion-title {
  color: #5da8e8;
}

.commercial-type-profit .commercial-icon-wrap {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.commercial-type-profit .commercial-suggestion-title {
  color: #22c55e;
}

.commercial-type-danger .commercial-icon-wrap {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.commercial-type-danger .commercial-suggestion-title {
  color: #ef4444;
}

.commercial-type-warning .commercial-icon-wrap {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.commercial-type-warning .commercial-suggestion-title {
  color: #f59e0b;
}

.commercial-type-fire .commercial-icon-wrap {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.commercial-type-fire .commercial-suggestion-title {
  color: #f97316;
}

.commercial-type-promo .commercial-icon-wrap {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.commercial-type-promo .commercial-suggestion-title {
  color: #a855f7;
}

.notification-list {
  flex: 1 1 0;
  min-height: 120px;
  overflow-y: auto;
  max-height: 420px;
  -webkit-overflow-scrolling: touch;
}

.notification-empty {
  padding: 1.5rem 1rem;
  color: #6b7d8f;
  font-size: 0.9rem;
  margin: 0;
}

.notification-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item.notification-read {
  opacity: 0.7;
}

.notification-item-content {
  flex: 1;
  min-width: 0;
}

.notification-item-msg {
  font-size: 0.9rem;
  color: #e8eef4;
}

.notification-item-time {
  font-size: 0.75rem;
  color: #6b7d8f;
  margin-top: 0.25rem;
}

.notification-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.notification-item-mark-read {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: none;
  background: rgba(93, 168, 232, 0.1);
  color: #5da8e8;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
  opacity: 1;
  min-width: 2rem;
  min-height: 2rem;
}

.notification-item-mark-read:hover {
  background: rgba(93, 168, 232, 0.15);
  color: #5da8e8;
  opacity: 1;
}

.notification-mark-read-icon {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(1.1);
}

.notification-item-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: none;
  background: rgba(232, 112, 112, 0.1);
  color: #e87070;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
  opacity: 1;
  min-width: 2rem;
  min-height: 2rem;
}

.notification-item-delete:hover {
  background: rgba(232, 112, 112, 0.15);
  color: #e87070;
  opacity: 1;
}

.notification-delete-icon {
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(1.1);
  transition: filter 0.15s;
}

.notification-item-delete:hover .notification-delete-icon {
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(1.1);
}

.notification-admin-form {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-admin-form textarea {
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  resize: vertical;
  box-sizing: border-box;
}

.notification-admin-form select {
  width: 100%;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.notification-send-btn {
  padding: 0.4rem 0.75rem;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.notification-send-btn:hover {
  background: #3d6a9a;
}

.notification-toast {
  position: fixed;
  top: 1.5rem;
  left: 1rem;
  right: 1rem;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  cursor: pointer;
  touch-action: pan-x;
  transform: translateY(-120%);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.notification-toast.notification-toast-visible {
  transform: translateY(0);
  opacity: 1;
}

.notification-toast-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  filter: brightness(0) invert(0.9);
  opacity: 0.9;
}

.notification-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.notification-toast-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5da8e8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notification-toast-msg {
  font-size: 0.9rem;
  color: var(--theme-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-quick-settings {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.header-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #c8d4e0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.header-quick-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.header-quick-btn.active {
  background: rgba(255, 180, 80, 0.15);
  border-color: rgba(255, 180, 80, 0.35);
  color: #ffb450;
}

.header-quick-btn .quick-icon {
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.header-quick-btn img.quick-icon {
  filter: brightness(0) invert(0.9);
}

.header-quick-btn:hover img.quick-icon {
  filter: brightness(0) invert(1);
}

.header-quick-btn.active img.quick-icon {
  filter: brightness(0) invert(0.85) sepia(1) saturate(3) hue-rotate(15deg);
}

.header-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #c8d4e0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.header-settings-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.header-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) invert(0.85);
}

body.customer-mode .ticari-wrap,
header.admin-mode .ticari-wrap {
  display: none !important;
}

.settings-wrap {
  position: relative;
}

.settings-panel {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  margin: 0;
  width: 400px;
  min-height: 300px;
  max-height: calc(100vh - 6rem);
  background: rgba(16, 25, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1400px) {
  .settings-panel {
    width: 480px;
  }
}

.settings-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}

.settings-panel-header span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.settings-panel-close {
  padding: 0.4rem;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #9ca8b8;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.settings-panel-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.settings-panel-body {
  padding: 1rem 1.25rem;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -webkit-overflow-scrolling: touch;
}

.settings-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.settings-block-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a9db0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem 0;
  display: block;
}

.settings-panel .profit-margin-section {
  margin-bottom: 0;
}

.customer-mode-toggle-wrap {
  margin-top: 0.75rem;
}

.customer-mode-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #c8d4e0;
  cursor: pointer;
}

.customer-mode-toggle-checkbox {
  width: 1rem;
  height: 1rem;
}

.profile-location-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.profile-location-actions .profile-use-location-btn {
  flex: 1;
  min-width: max-content;
}

.restore-to-stock-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(100, 180, 100, 0.5);
  background: rgba(80, 160, 80, 0.15);
  color: #90d890;
  border-radius: 10px;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.restore-to-stock-btn:hover {
  background: rgba(80, 160, 80, 0.25);
  color: #b0e8b0;
}

.settings-admin-hint {
  font-size: 0.75rem;
  color: #6b7d8f;
  margin: 0.4rem 0 0 0;
  line-height: 1.3;
}

.settings-profile-hint {
  font-size: 0.8rem;
  color: #9ca8b8;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.settings-profile-form .profile-field-inline {
  margin-bottom: 0.55rem;
}

.settings-profile-form .profile-field-inline:last-child {
  margin-bottom: 0;
}

.settings-profile-form .profile-field-inline label {
  display: block;
  font-size: 0.8rem;
  color: #9ca8b8;
  margin-bottom: 0.25rem;
}

.settings-profile-form .profile-field-inline input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.settings-profile-form .profile-field-inline input:focus {
  outline: 0;
  border-color: rgba(90, 160, 230, 0.5);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(90, 160, 230, 0.1);
}

.settings-profile-form .profile-field-inline input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.settings-profile-save-btn {
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.settings-profile-save-btn:hover {
  background: #3d6a9a;
}

.admin-badge {
  display: none;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(160, 200, 255, 0.9);
  background: rgba(45, 90, 138, 0.25);
  border: 1px solid rgba(90, 160, 230, 0.25);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

header.admin-mode .admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-badge-short {
  display: none;
}

header.admin-mode {
  background: linear-gradient(180deg,
      rgba(30, 58, 95, 0.12) 0,
      transparent 100%);
  border-bottom-color: rgba(90, 160, 230, 0.12);
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-title-icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  border-radius: 8px;
}

.header-title-short {
  display: none;
}

.slogan {
  font-size: 0.85rem;
  color: #8a9db0;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1.5rem 1rem;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #c8d4e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab.active {
  background: linear-gradient(135deg, #1e3a5f 0, #2563eb 100%);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.tab-icon {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.tab .tab-icon {
  filter: brightness(0) invert(0.85);
}

.tab.active .tab-icon,
.tab:hover .tab-icon {
  filter: brightness(0) invert(1);
}

main {
  padding: 1.5rem;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

.tab-viewport {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  overflow-x: clip;
  overflow-x: hidden;
}

.tab-slider-wrap {
  display: flex;
  width: 400%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tab-slider-wrap.no-anim {
  transition: none !important;
}

.tab-content {
  flex: 0 0 25%;
  width: 25%;
  min-width: 25%;
  max-width: 25%;
  display: block;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tab-content p {
  color: #9ca8b8;
}

.customer-mode-bar {
  margin-bottom: 1rem;
}

.customer-mode-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #c8d4e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.customer-mode-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.customer-mode .customer-mode-btn {
  background: rgba(255, 180, 80, 0.2);
  border-color: rgba(255, 180, 80, 0.5);
  color: #ffb450;
}

.tab-slider-wrap .tab-content:not(.active) {
  height: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.action-buttons-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e3a5f;
  color: #c8d4e0;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.action-btn:hover {
  background: #264a78;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.action-btn.action-delete:hover,
.action-btn.delete-btn:hover {
  background: rgba(180, 60, 60, 0.45);
  border-color: rgba(220, 80, 80, 0.55);
  color: #ff8a8a;
}

.action-btn.yenile-disabled,
.action-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.action-btn.action-edit:hover,
.action-btn.edit-btn:hover {
  background: rgba(234, 179, 8, 0.25);
  border-color: rgba(234, 179, 8, 0.45);
  color: #fcd34d;
}

.action-btn.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.action-btn.customer-share-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.action-btn .action-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.action-btn.genel-save-edit-btn,
.action-btn.save-edit-btn {
  color: #90d890;
}

.action-btn.genel-save-edit-btn:hover,
.action-btn.save-edit-btn:hover {
  background: rgba(90, 200, 90, 0.2);
  color: #b0f0b0;
}

.action-btn.cancel-edit-btn,
.action-btn.genel-cancel-edit-btn {
  color: #e8a0a0;
}

.action-btn.cancel-edit-btn:hover,
.action-btn.genel-cancel-edit-btn:hover {
  background: rgba(200, 80, 80, 0.2);
  color: #ffb0b0;
}

.customer-share-wrap {
  margin-top: 0.35rem;
  display: block;
}

.customer-share-standalone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  width: 100%;
  justify-content: center;
}

.customer-share-standalone-btn span {
  font-size: 0.78rem;
  line-height: 1;
}

#magaza-table .action-col .customer-share-wrap {
  margin-top: 0.22rem;
  margin-left: 0;
  display: block;
}

#magaza-table .action-col .customer-share-standalone-btn {
  width: 100%;
  padding: 0.24rem 0.45rem;
}

#magaza-table .action-col .customer-share-standalone-btn span {
  display: inline;
  font-size: 0.72rem;
}

.takas-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  max-width: 400px;
}

.takas-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 1.25rem;
}

.takas-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.takas-form label {
  font-size: 0.9rem;
  color: #9ca8b8;
}

.takas-input {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
}

.takas-result {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
}

.takas-placeholder {
  color: #6b7d8f;
  font-size: 0.95rem;
  margin: 0;
}

.takas-fark-label {
  font-size: 0.95rem;
  color: #9ca8b8;
  margin: 0 0 0.5rem;
}

.takas-fark-value {
  font-size: 2rem;
  font-weight: 700;
  color: #5da8e8;
  margin: 0;
}

.piyasa-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  max-width: 560px;
}

.piyasa-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 0.5rem;
}

.piyasa-desc {
  font-size: 0.85rem;
  color: #8a9db0;
  margin-bottom: 1.25rem;
}

.piyasa-form label {
  display: block;
  font-size: 0.9rem;
  color: #9ca8b8;
  margin-bottom: 0.35rem;
}

.piyasa-model-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-bottom: 1rem;
}

.piyasa-model-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.piyasa-model-input:focus {
  outline: 0;
  border-color: rgba(90, 160, 230, 0.5);
}

.piyasa-model-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  max-height: 220px;
  overflow-y: auto;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.piyasa-model-opt {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: #e8eef4;
  cursor: pointer;
}

.piyasa-model-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.piyasa-model-panel-empty {
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #6b7d8f;
}

.piyasa-result {
  margin-top: 1rem;
}

.piyasa-empty,
.piyasa-loading,
.piyasa-placeholder {
  color: #6b7d8f;
  font-size: 0.9rem;
  margin: 0;
}

.piyasa-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.piyasa-stat-card {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.piyasa-stat-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8eef4;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.piyasa-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #9ca8b8;
  margin-bottom: 0.4rem;
}

.magaza-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(90, 160, 230, 0.12);
  border: 1px solid rgba(90, 160, 230, 0.25);
  border-radius: 10px;
}

.magaza-bulk-count {
  font-size: 0.9rem;
  color: #c8d4e0;
  margin-right: 0.5rem;
}

.magaza-bulk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e8eef4;
}

.magaza-bulk-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.bulk-satildi-btn {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.bulk-satildi-btn:hover {
  background: rgba(34, 197, 94, 0.3);
}

.magaza-bulk-btn .bulk-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bulk-sil-btn {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.bulk-sil-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.bulk-fiyat-artir-btn {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.bulk-fiyat-artir-btn:hover {
  background: rgba(59, 130, 246, 0.3);
}

.bulk-fiyat-dusur-btn {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
}

.bulk-fiyat-dusur-btn:hover {
  background: rgba(249, 115, 22, 0.3);
}

.magaza-check-col {
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  padding: 0.35rem 0.25rem !important;
  vertical-align: middle;
  text-align: center;
}

.magaza-check-col input {
  margin: 0;
  cursor: pointer;
}

.magaza-bulk-check,
.magaza-row-check {
  cursor: pointer;
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.magaza-bulk-check:hover,
.magaza-row-check:hover {
  border-color: rgba(90, 160, 230, 0.5);
  background-color: rgba(90, 160, 230, 0.08);
}

.magaza-bulk-check:checked,
.magaza-row-check:checked {
  background: #5da8e8;
  border-color: #5da8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.magaza-card-header .magaza-row-check {
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.piyasa-stat-row strong {
  color: #5da8e8;
}

.piyasa-stat-row.piyasa-aralik strong {
  color: #9ca8b8;
  font-size: 0.85rem;
}

.piyasa-card-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.piyasa-oneri-block {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.piyasa-oneri-avantaj {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}

.piyasa-oneri-risk {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12);
}

.piyasa-oneri-dengeli {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.35);
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.12);
}

.piyasa-oneri-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8eef4;
  margin-bottom: 0.5rem;
}

.piyasa-oneri-msg {
  font-size: 0.9rem;
  color: #c8d4e0;
  line-height: 1.4;
}

.piyasa-oneri-avantaj .piyasa-oneri-title {
  color: #22c55e;
}

.piyasa-oneri-risk .piyasa-oneri-title {
  color: #ef4444;
}

.piyasa-oneri-dengeli .piyasa-oneri-title {
  color: #eab308;
}

.piyasa-kendi-fiyat {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
}

.piyasa-kendi-avantaj {
  color: #22c55e;
}

.piyasa-kendi-risk {
  color: #ef4444;
}

.piyasa-kendi-dengeli {
  color: #eab308;
}

.theme-section {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.theme-light .theme-section {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
}

.theme-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 0.5rem;
}

body.theme-light .theme-section-title {
  color: var(--theme-color);
}

.theme-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #c8d4e0;
}

body.theme-light .theme-toggle-label {
  color: var(--theme-color);
}

.theme-toggle-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #5da8e8;
}

body.theme-light .theme-toggle-checkbox {
  accent-color: #2563eb;
}

.profit-margin-section {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.notification-setting-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #c8d4e0;
  cursor: pointer;
  margin-bottom: 0.35rem;
}

.notification-setting-row:last-of-type {
  margin-bottom: 0;
}

.settings-test-notification-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  color: #5da8e8;
  background: rgba(93, 168, 232, 0.12);
  border: 1px solid rgba(93, 168, 232, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.settings-test-notification-btn:hover {
  background: rgba(93, 168, 232, 0.2);
  border-color: rgba(93, 168, 232, 0.5);
}

body.theme-light .settings-test-notification-btn {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
}

body.theme-light .settings-test-notification-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
}

.settings-model-alerts-hint {
  font-size: 0.8rem;
  color: var(--theme-color-muted);
  margin-bottom: 0.6rem;
}

.settings-model-alerts-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.model-alert-input,
.model-alert-select {
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  min-width: 0;
  transition: all 0.15s;
  box-sizing: border-box;
}

.model-alert-input:focus,
.model-alert-select:focus {
  outline: 0;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.model-alert-select.model-alert-brand {
  width: 140px;
  flex-shrink: 0;
}

.model-alert-select.model-alert-model {
  flex: 1;
  min-width: 200px;
}

.model-alert-input.model-alert-maxprice {
  width: 130px;
  flex-shrink: 0;
}

.model-alert-add-btn {
  flex-shrink: 0;
}

.model-alert-add-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #fff;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.15s;
}

.model-alert-add-btn:hover {
  background: #3d6a9a;
  transform: translateY(-1px);
}

.uyarilarim-hint {
  font-size: 0.85rem;
  color: #6b7d8f;
  padding: 0.75rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

.uyarilarim-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  flex-wrap: nowrap;
}

@media (max-width: 1200px) {
  .uyarilarim-form {
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .uyarilarim-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .model-alert-add-btn,
  .model-alert-input.model-alert-maxprice,
  .model-alert-select.model-alert-brand,
  .model-alert-select.model-alert-model {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    padding: 0.6rem 0.5rem !important;
  }
}

.uyarilarim-empty-msg {
  font-size: 0.9rem;
  color: #6b7d8f;
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 0;
  text-align: center;
}

.uyarilarim-panel {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  margin: 0;
  width: 560px;
  min-height: 300px;
  max-height: calc(100vh - 7rem);
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  visibility: visible;
  opacity: 1;
  padding: 1rem;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, rgba(84, 132, 220, 0.08) 0%, rgba(84, 132, 220, 0) 12%),
    linear-gradient(180deg, rgba(12, 19, 34, 0.98) 0%, rgba(16, 27, 47, 0.98) 100%);
  border: 1px solid rgba(137, 180, 255, 0.12);
  box-shadow: 0 28px 70px rgba(2, 8, 23, 0.58);
}

.info-tooltip-container {
  display: inline-flex;
  position: relative;
  cursor: help;
  margin-left: 6px;
}

.info-icon-small {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.2s;
  filter: brightness(0) invert(1);
}

.info-tooltip-container:hover .info-icon-small {
  opacity: 1;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 260px;
  background-color: #1e293b;
  color: #f8fafc;
  text-align: left;
  border-radius: 8px;
  padding: 10px 14px;
  position: absolute;
  z-index: 1000;
  top: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #1e293b transparent;
}

.info-tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.uyarilarim-panel::after {
  display: none;
}

.uyarilarim-surface {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 24, 42, 0.72);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.uyarilarim-list {
  padding: 0;
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: min(24vh, 220px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.uyarilarim-list::-webkit-scrollbar {
  width: 6px;
}

.uyarilarim-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.uyarilarim-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.uyarilarim-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 1400px) {
  .uyarilarim-panel {
    width: 640px;
  }

  .uyarilarim-list {
    max-height: min(30vh, 320px);
  }
}

@media (min-width: 1600px) {
  .uyarilarim-panel {
    width: 720px;
  }
}

.uyarilarim-panel .notification-panel-header {
  padding: 0.05rem 0.05rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.model-alerts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.model-alerts-list.uyarilarim-surface {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.uyarilarim-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.uyarilarim-tracking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.uyarilarim-inline-action {
  border: 1px solid rgba(125, 193, 255, 0.18);
  background: rgba(125, 193, 255, 0.08);
  color: #dbeafe;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.uyarilarim-inline-action:hover {
  background: rgba(125, 193, 255, 0.14);
  border-color: rgba(125, 193, 255, 0.28);
  color: #f8fbff;
}

.uyarilarim-inline-action.active {
  background: linear-gradient(180deg, rgba(65, 102, 173, 0.66) 0%, rgba(45, 73, 124, 0.84) 100%);
  border-color: rgba(125, 193, 255, 0.34);
  color: #f8fbff;
}

.uyarilarim-add-form-wrap {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.uyarilarim-stat-card {
  border: 1px solid rgba(123, 164, 233, 0.1);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 74px;
  background: linear-gradient(180deg, rgba(29, 45, 75, 0.72) 0%, rgba(22, 34, 58, 0.88) 100%);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.uyarilarim-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 193, 255, 0.9) 0%, rgba(125, 193, 255, 0) 82%);
}

.uyarilarim-stat-card strong {
  font-size: 1.3rem;
  line-height: 1;
  color: #f8fbff;
}

.uyarilarim-stat-card span {
  font-size: 0.78rem;
  color: #c9d7e7;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.uyarilarim-section-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e5edf7;
  letter-spacing: 0.01em;
}

.uyarilarim-empty-msg {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #afc1d5;
  font-size: 0.84rem;
  line-height: 1.45;
}

.model-alert-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.016) 100%);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  margin-bottom: 0.55rem;
}

.model-alert-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 193, 255, 0.18);
  transform: translateY(-1px);
}

.model-alert-item:last-child {
  margin-bottom: 0;
}

.model-alert-row-single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.model-alert-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}

.model-alert-info::-webkit-scrollbar {
  display: none;
}

.model-alert-model-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #eef4fb;
  font-size: 0.9rem;
}

@media (min-width: 500px) {
  .model-alert-model-name {
    font-size: 0.9rem;
    max-width: 250px;
  }
}

@media (min-width: 1400px) {
  .model-alert-model-name {
    max-width: 400px;
  }
}

@media (min-width: 1600px) {
  .model-alert-model-name {
    max-width: 500px;
  }
}

.model-alert-brand {
  font-weight: 600;
  color: #7dc1ff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.model-alert-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.model-alert-price-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(93, 168, 232, 0.12);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(93, 168, 232, 0.12);
}

.model-alert-price-inline .model-alert-price {
  font-size: 0.8rem;
  color: #5da8e8;
  font-weight: 600;
}

.model-alert-price-inline .model-alert-price-no-limit {
  font-size: 0.8rem;
  color: #6b7d8f;
  font-style: italic;
}

.model-alert-actions-inline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.model-alert-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: max-content;
}

.model-alert-inline-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

@media (min-width: 501px) {
  .model-alert-actions-inline {
    width: auto;
  }
}

.model-alert-summary-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.model-alert-summary-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--theme-color-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.model-alert-summary-pill.is-hot {
  background: rgba(243, 156, 18, 0.14);
  color: #ffc46b;
}

.model-alert-last-match {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.77rem;
  line-height: 1.45;
}

.model-alert-last-trigger {
  color: #7dc1ff;
  font-weight: 600;
}

.model-alert-last-model {
  color: #d7e1ea;
}

.model-alert-last-price {
  color: #b7c7d7;
}

.uyarilarim-form {
  margin: 0;
  padding: 0.8rem;
  gap: 0.75rem;
  display: flex;
  flex-wrap: wrap;
}

.uyarilarim-form .custom-select-wrap,
.uyarilarim-form .model-alert-maxprice {
  min-height: 48px;
}

.uyarilarim-add-form-wrap .custom-select-wrap {
  z-index: 6;
}

.uyarilarim-add-form-wrap .custom-select-panel {
  top: auto;
  bottom: calc(100% + 0.35rem);
  margin-top: 0;
  margin-bottom: 0;
  z-index: 30;
}

.uyarilarim-form .model-alert-add-btn {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  padding-inline: 1rem;
}

@media (max-width: 760px) {
  .uyarilarim-panel {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .uyarilarim-stats {
    grid-template-columns: 1fr;
  }

  .uyarilarim-stat-card {
    min-height: auto;
  }

  .uyarilarim-tracking-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .uyarilarim-inline-action {
    width: 100%;
    justify-content: center;
  }

  .model-alert-row-single {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .model-alert-side {
    width: 100%;
    justify-content: space-between;
  }
}

.model-alert-edit-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.model-alert-edit-input {
  padding: 0.5rem 0.75rem;
  width: 140px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  transition: all 0.15s;
}

.model-alert-edit-input:focus {
  outline: 0;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.model-alert-edit-save {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #fff;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}

.model-alert-edit-save:hover {
  background: #3d6a9a;
  transform: translateY(-1px);
}

.btn-link {
  background: 0 0;
  border: none;
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
  color: #5da8e8;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s;
}

.btn-link:hover {
  background: rgba(93, 168, 232, 0.1);
  text-decoration: none;
}

.model-alert-iptal.btn-link {
  color: #6b7d8f;
}

.model-alert-iptal.btn-link:hover {
  color: #e87070;
  background: rgba(232, 112, 112, 0.1);
}

.header-action-btn.uyarilarim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #c8d4e0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  min-width: fit-content;
  white-space: nowrap;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.header-action-btn.uyarilarim-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

#uyarilarim-btn .uyarilarim-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(1.1);
}

#uyarilarim-btn {
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 1001 !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#uyarilarim-btn .uyarilarim-btn-text,
#uyarilarim-btn img {
  pointer-events: none;
}

.uyarilarim-btn-text {
  display: inline;
}

.uyarilarim-icon-img {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) saturate(100%) invert(60%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(1.1);
}

@media (max-width: 1024px) {
  .uyarilarim-btn-text {
    display: none;
  }
}

.notification-setting-row input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.profit-margin-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profit-margin-wrap label {
  font-size: 0.85rem;
  color: #9ca8b8;
}

.profit-margin-input {
  width: 100px;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
}

body.customer-mode .alis-fiyati-input {
  display: none !important;
}

body.customer-mode .tab[data-tab="isletme-ozet"],
body.customer-mode .tab[data-tab="magaza"] {
  display: none !important;
}

#app-root.admin-mode.customer-mode .admin-only-tab,
body.customer-mode #app-root.admin-mode .admin-only-tab,
body.customer-mode .admin-only-tab,
body.customer-mode .tab[data-tab="genel-durum"] {
  display: none !important;
}

.admin-only-tab,
.tabs .tab.admin-only-tab {
  display: none !important;
}

#app-root.admin-mode .admin-only-tab,
#app-root.admin-mode .tabs .tab.admin-only-tab {
  display: flex !important;
}

body.customer-mode #app-root.admin-mode .admin-only-tab,
body.customer-mode #app-root.admin-mode .tabs .tab.admin-only-tab {
  display: none !important;
}

#app-root.admin-mode .tab[data-tab="magaza"] {
  display: none !important;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.stat-card-label {
  font-size: 0.85rem;
  color: #9ca8b8;
}

.model-yonetimi-panel {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.model-yonetimi-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 1rem;
}

.model-yonetimi-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.model-yonetimi-select {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  min-width: 140px;
}

.model-yonetimi-input {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  min-width: 160px;
}

.model-yonetimi-btn {
  padding: 0.5rem 1rem;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.model-yonetimi-btn:hover:not(:disabled) {
  background: #3d6a9a;
}

.model-yonetimi-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.9rem;
}

.model-yonetimi-ok {
  color: #90d890;
  margin: 0;
}

.model-yonetimi-err {
  color: #e87070;
  margin: 0;
}

.esnaf-create-panel {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.esnaf-create-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 1rem;
}

.esnaf-create-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
}

.esnaf-create-input {
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
}

.esnaf-create-btn {
  padding: 0.5rem 1rem;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  align-self: flex-start;
}

.esnaf-create-btn:hover:not(:disabled) {
  background: #3d6a9a;
}

.esnaf-create-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.9rem;
}

.esnaf-create-ok {
  color: #90d890;
  margin: 0 0 0.5rem;
}

.esnaf-create-err {
  color: #e87070;
  margin: 0;
}

.esnaf-create-result code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.esnaf-create-hint {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin: 0.5rem 0 0;
}

.excel-import-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.excel-import-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 0.5rem;
}

.excel-import-hint {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.excel-import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.excel-import-btn {
  padding: 0.5rem 1rem;
  background: #2d5a8a;
  border: 1px solid #3d6a9a;
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.excel-import-btn:hover {
  background: #3d6a9a;
}

.excel-import-btn.wp-action-btn {
  background: #25d366;
  border-color: #25d366;
}

.excel-import-btn.wp-action-btn:hover {
  background: #20bd5a;
}

.excel-import-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.9rem;
}

.excel-import-result.ok {
  color: #90d890;
}

.excel-import-result.err {
  color: #e87070;
}

.excel-import-result a {
  color: #5da8e8;
  text-decoration: none;
}

.excel-import-result a:hover {
  text-decoration: underline;
}

.uyelik-panel {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.uyelik-panel-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 1rem;
}

.uyelik-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.uyelik-panel-header .uyelik-panel-title {
  margin-bottom: 0;
}

.uyelik-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.uyelik-row:last-child {
  border-bottom: none;
}

.uyelik-store-name {
  font-weight: 500;
  color: #e8eef4;
  min-width: 140px;
}

.uyelik-info {
  font-size: 0.85rem;
  color: #9ca8b8;
}

.uyelik-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.uyelik-add-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #9ca8b8;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-add-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e8eef4;
}

.uyelik-add-input {
  width: 3.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 8px;
  font-size: 0.8rem;
}

.uyelik-add-input::placeholder {
  color: #6b7d8f;
}

.uyelik-subtract-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: rgba(255, 180, 80, 0.1);
  color: #c9a84a;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-subtract-btn:hover {
  background: rgba(255, 180, 80, 0.2);
  color: #ffb450;
}

.uyelik-end-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(211, 47, 47, 0.4);
  background: rgba(211, 47, 47, 0.15);
  color: #e57373;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-end-btn:hover {
  background: rgba(211, 47, 47, 0.25);
  color: #ef9a9a;
}

.uyelik-password-input {
  width: 7.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 8px;
  font-size: 0.8rem;
}

.uyelik-password-input::placeholder {
  color: #6b7d8f;
}

.uyelik-pass-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(90, 160, 230, 0.45);
  background: rgba(90, 160, 230, 0.15);
  color: #9fd0ff;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-pass-btn:hover {
  background: rgba(90, 160, 230, 0.28);
  color: #cfe7ff;
}

.uyelik-ip-reset-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(234, 152, 74, 0.45);
  background: rgba(234, 152, 74, 0.18);
  color: #f0b878;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-ip-reset-btn:hover {
  background: rgba(234, 152, 74, 0.28);
  color: #f5d0a0;
}

.uyelik-bulk-ip-reset-btn {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.uyelik-bulk-ip-reset-btn:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fee2e2;
}

.uyelik-delete-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(211, 47, 47, 0.4);
  background: rgba(211, 47, 47, 0.15);
  color: #e57373;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.uyelik-delete-btn:hover {
  background: rgba(211, 47, 47, 0.25);
  color: #ef9a9a;
}

body.customer-mode .genel-card-actions .genel-copy-link,
body.customer-mode .genel-copy-link {
  display: none !important;
}

.phone-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-sizing: border-box;
}

.phone-prefix {
  color: #9ca8b8;
  font-size: 0.9rem;
  user-select: none;
  flex-shrink: 0;
}

.phone-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: 0 0;
  border: none;
  color: #fff;
  font-size: 0.9rem;
}

.phone-input-wrap input:focus {
  outline: 0;
}

.profile-modal-body .phone-input-wrap,
.settings-profile-form .phone-input-wrap {
  width: 100%;
}

.profile-modal-body .phone-input-wrap input,
.settings-profile-form .phone-input-wrap input {
  width: 100%;
}

.genel-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8eef4;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.genel-copy-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  color: #fff;
}

.genel-copy-link img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.promo-section {
  margin-bottom: 1.5rem;
}

.search-stats-widget {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.search-stats-widget-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-stats-info-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.15rem;
  border-radius: 6px;
  cursor: default;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.search-stats-info-hint:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.search-stats-tooltip-text {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #e8eef4;
  background: rgba(15, 31, 53, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  visibility: hidden;
  z-index: 10001;
}

.search-stats-info-hint:hover .search-stats-tooltip-text {
  opacity: 1;
  visibility: visible;
}

.search-stats-info-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  filter: brightness(0) invert(0.7);
}

.status-tab-btn .status-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

body.theme-light .status-tab-btn .status-icon {
  filter: none;
}

@media (max-width: 768px) {
  body.hide-header-for-panel .tabs {
    display: none !important;
  }

  .uyarilarim-panel,
  .ticari-panel,
  .notification-panel,
  .settings-panel {
    bottom: 0 !important;
    height: calc(100vh - 70px - env(safe-area-inset-top)) !important;
    max-height: none !important;
    top: auto !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
  }
}


body.theme-light .search-stats-info-hint:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .search-stats-tooltip-text {
  color: #1e293b;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.theme-light .search-stats-info-icon {
  filter: brightness(0) invert(0.4);
}

.search-stats-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8eef4;
  margin: 0;
  flex-shrink: 0;
  flex: 1;
  min-width: 0;
}

.search-stats-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.search-stats-reset-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
}

.search-stats-reset-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-stats-reset-icon {
  width: 0.9rem;
  height: 0.9rem;
  filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(1.1);
}

.search-stats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.search-stats-item {
  font-size: 0.8rem;
  color: #9ca8b8;
}

.search-stats-item em {
  font-style: normal;
  color: #7ab8e8;
}

.search-stats-sep {
  color: #6b7d8f;
  font-size: 0.75rem;
}

.search-stats-empty {
  font-size: 0.85rem;
  color: #6b7d8f;
}

@media (max-width: 600px) {
  .search-stats-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .search-stats-sep {
    display: none;
  }

  .filter-row-search .filter-search-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search-wrap .genel-search {
    min-width: 0;
  }

  .filter-search-wrap .dukkan-wrap {
    width: 100%;
  }

  .filter-search-wrap .genel-dukkan {
    width: 100%;
  }

  .filter-row-main {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-row-main .custom-select-wrap,
  .filter-row-main .genel-filter-control,
  .filter-row-main .genel-sort {
    width: 100%;
    min-width: 0;
  }

  .filter-fiyat-wrap {
    justify-content: center;
  }

  .genel-favorilerim-wrap {
    justify-content: center;
  }

  .filter-row-sub {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .filter-row-sub .sort-wrap {
    flex: 1;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  .pool-grid.grid-view {
    grid-template-columns: 1fr;
  }

  .magaza-cards-mobile {
    grid-template-columns: 1fr;
  }

  .magaza-satilan-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    margin: 0;
    padding: 0.6rem calc(0.75rem + env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) calc(0.75rem + env(safe-area-inset-left));
    min-height: calc(3.5rem + env(safe-area-inset-bottom));
    background: rgba(15, 31, 53, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
    justify-content: space-around;
    border-radius: 0;
  }

  .tabs .tab {
    flex: 1;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.6rem 0.4rem;
    font-size: 0.75rem;
    min-width: 0;
  }

  .tabs .tab-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  main {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .tab-slider-wrap {
    width: 400%;
    flex-direction: row;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tab-slider-wrap .tab-content {
    flex: 0 0 25%;
    width: 25%;
    min-width: 25%;
    max-width: 25%;
    display: block;
  }

  .tab-slider-wrap .tab-content.active {
    display: block;
  }

  .magaza-sub-tabs {
    display: flex;
    flex-wrap: nowrap !important;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding: 0.3rem;
    padding-bottom: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    gap: 0;
    width: calc(100% + 1rem);
    justify-content: space-between;
  }

  .magaza-sub-tab {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.2px;
    white-space: nowrap;
    text-align: center;
    border: none;
    border-radius: 8px;
    background: 0 0;
  }

  .magaza-sub-tab.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
  }

  .header-title .header-title-text {
    display: none;
  }

  .header-title .header-title-short {
    display: inline;
  }

  .header-title {
    font-size: 1.2rem;
    min-width: 0;
    flex-shrink: 0;
  }

  .ticari-text {
    display: none;
  }

  .ticari-icon-img {
    width: 1.1rem;
    height: 1.1rem;
  }

  .header-action-btn.ticari-btn {
    padding: 0.4rem 0.5rem;
  }

  .header-action-btn.uyarilarim-btn {
    padding: 0.4rem 0.5rem;
  }

  .notification-btn {
    padding: 0.4rem 0.5rem;
  }

  .notification-icon-img {
    width: 1.1rem;
    height: 1.1rem;
  }

  .notification-toast {
    top: calc(1.5rem + env(safe-area-inset-top, 0));
    left: 0.75rem;
    right: 0.75rem;
  }

  .settings-btn-text {
    display: none;
  }

  .header-settings-btn {
    padding: 0.4rem 0.5rem;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .header-action-btn {
    min-width: auto;
  }

  header {
    padding: calc(0.85rem + env(safe-area-inset-top)) calc(1rem + env(safe-area-inset-right)) 0.85rem calc(1rem + env(safe-area-inset-left));
  }

  .header-top {
    gap: 0.4rem;
  }

  .header-actions {
    flex-shrink: 0;
    min-width: 0;
    gap: 0.25rem;
  }

  .header-title {
    font-size: 1rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .slogan {
    display: none;
  }

  .header-quick-settings {
    display: inline-flex;
  }

  .notification-panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    min-height: 400px;
    z-index: 250;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }

  .notification-panel:not([style*="display: none"]) {
    animation: panelSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .settings-panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    min-height: 400px;
    animation: panelSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
  }

  .settings-panel .settings-panel-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .settings-panel[style*="display: none"] {
    display: none !important;
  }

  .uyarilarim-panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 90vh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    min-height: 400px;
    animation: panelSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
  }

  .uyarilarim-panel[style*="display: none"] {
    display: none !important;
  }

  @keyframes panelSlideUp {
    from {
      transform: translate3d(0, 100vh, 0);
      opacity: 0.96;
    }

    to {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
  }

  @keyframes panelFadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .notification-panel-header {
    flex-shrink: 0;
  }

  .notification-admin-form {
    flex-shrink: 0;
  }

  .commercial-suggestions-list,
  .notification-list {
    max-height: none;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .notification-panel {
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .notification-panel[style*="display: none"] {
    display: none !important;
  }

  body.theme-light .tabs {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  }
}

.promo-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.promo-cards {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.promo-card {
  padding: 1.1rem 1.35rem;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-width: 140px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.promo-card-foto-wrap {
  margin: -0.3rem -0.3rem 0.75rem -0.3rem;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.promo-card-foto {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px 10px 6px 6px;
  display: block;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: opacity 0.15s;
}

.promo-card-foto:hover {
  opacity: 0.85;
}

.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.promo-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: #8a9db0;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.promo-card-store {
  color: #9cadc0;
  font-weight: 500;
}

.promo-card-model {
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
}

.promo-card-details {
  font-size: 0.78rem;
  color: #9ca8b8;
  margin-bottom: 0.2rem;
}

.promo-card-fiyat {
  color: #7ab8e8;
  font-size: 0.95rem;
}

.promo-card-tel {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.promo-card-tel .call-btn,
.promo-card-tel .wp-action-btn {
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .promo-card-tel {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .promo-card-tel .call-btn,
  .promo-card-tel .wp-action-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  .promo-card-tel .call-btn img,
  .promo-card-tel .wp-action-btn img {
    width: 18px;
    height: 18px;
  }
}

.promo-card-phone {
  font-size: 0.85rem;
  color: #5da8e8;
  text-decoration: none;
}

.promo-card-phone:hover {
  text-decoration: underline;
}

.tel-link,
.wp-action-link {
  color: #5da8e8;
  text-decoration: none;
  font-size: 0.9rem;
}

.tel-link:hover,
.wp-action-link:hover {
  text-decoration: underline;
}

.add-device-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1rem;
  max-width: 100%;
}

.add-form-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 14px;
}

.add-form-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-color-muted);
  margin-bottom: 0.15rem;
}

.add-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.add-form-kondisyon-row {
  align-items: stretch;
}

.add-form-kondisyon-row .kondisyon-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.add-form-kondisyon-row .kondisyon-input {
  height: 2.75rem;
  border-radius: 10px;
}

.cosmetic-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 0;
}

.cosmetic-bar-max,
.cosmetic-bar-min {
  font-size: 0.7rem;
  color: var(--theme-color-muted);
  flex-shrink: 0;
}

.cosmetic-bar-max {
  min-width: 2rem;
  text-align: right;
}

.add-form-section .cosmetic-slider-wrap {
  flex: 1;
  min-width: 0;
  height: 20px;
}

.add-form-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.add-form-label {
  font-size: 0.8rem;
  color: var(--theme-color-muted);
}

.add-form-submit {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  background: #1e3a5f;
  border: 1px solid #2d5a8a;
  color: #fff;
  margin-top: 0.25rem;
}

.add-form-submit:hover {
  background: #2a4a75;
}

.add-device-form #add-brand {
  width: 100%;
  max-width: 100%;
}

.model-select-wrap {
  position: relative;
  min-width: 0;
}

.model-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  min-width: 100%;
  max-width: 20rem;
}

.model-search {
  padding: 0.4rem 0.6rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: 0 0;
  color: #e8eef4;
  font-size: 0.9rem;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.model-search::placeholder {
  color: #7a8a9a;
}

.model-list {
  max-height: 140px;
  overflow-y: auto;
}

.model-opt {
  padding: 0.45rem 0.75rem;
  color: #c8d4e0;
  cursor: pointer;
  font-size: 0.9rem;
}

.model-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.model-list-empty {
  padding: 0.5rem 0.75rem;
  color: #9ca8b8;
  font-size: 0.85rem;
}

.model-list-more {
  padding: 0.4rem 0.75rem;
  color: #7a8a9a;
  font-size: 0.8rem;
}

.add-device-form button,
.add-device-form input,
.add-device-form select,
.add-device-form textarea {
  min-width: 0;
}

.add-device-form .custom-dropdown-wrap {
  width: 100%;
}

.add-device-form .custom-dropdown-btn {
  width: 100%;
  box-sizing: border-box;
}

.add-device-form .custom-dropdown-menu {
  width: 100%;
  box-sizing: border-box;
}

.add-form-piyasa-oneri {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  font-size: 0.9rem;
}

.add-form-piyasa-text {
  color: #94a3b8;
}

.add-form-piyasa-text strong {
  color: #22c55e;
}

.add-form-oneri-btn {
  padding: 0.35rem 0.75rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  color: #22c55e;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.add-form-oneri-btn:hover {
  background: rgba(34, 197, 94, 0.3);
}

.add-aciklama-input {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

.add-aciklama-input::placeholder {
  color: #7a8a9a;
}

.add-device-form input {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 18px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.add-device-form input::placeholder {
  color: #7a8a9a;
}

.add-device-form input[type="number"] {
  width: 100%;
}

.select-dark {
  background: #1b2a3d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e8eef4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.select-dark option {
  background: #0f1c2e;
  color: #fff;
}

.add-device-form #add-model:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.add-select {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 18px;
  font-size: 0.9rem;
}

.custom-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.custom-dropdown-btn {
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
}

.custom-dropdown-btn.selected {
  color: #e8eef4;
}

.custom-dropdown-btn:not(.selected) {
  color: rgba(232, 238, 244, 0.5);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  background: #1e2a3a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  min-width: 140px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.custom-dropdown-item {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: #e8eef4;
  cursor: pointer;
  transition: background 0.15s;
}

.custom-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.custom-dropdown-item.active {
  background: rgba(59, 130, 246, 0.25);
  font-weight: 600;
}

.cosmetic-slider-wrap {
  --cosmetic-accent: #3b82f6;
  position: relative;
  width: 5rem;
  min-width: 4rem;
  flex-shrink: 0;
  height: 20px;
  display: inline-flex;
  align-items: center;
}

.cosmetic-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -3px;
  height: 6px;
  border-radius: 3px;
  background-color: #4b5563;
  overflow: hidden;
}

.add-form-section .cosmetic-slider-track {
  height: 6px;
  border-radius: 3px;
}

.cosmetic-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  max-width: 100%;
  width: 0%;
  background: var(--cosmetic-accent);
  border-radius: 3px 0 0 3px;
  pointer-events: none;
  transition: width 0.1s ease;
  z-index: 0;
}

.cosmetic-slider-empty {
  position: absolute;
  left: 100%;
  right: 0;
  top: 0;
  height: 100%;
  background-color: #4b5563;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
  z-index: 0;
  transition: left 0.1s ease;
}

.cosmetic-slider-wrap .cosmetic-range {
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: 0 0;
  cursor: pointer;
}

.cosmetic-slider-wrap .cosmetic-range:focus {
  outline: 0;
}

.cosmetic-slider-wrap .cosmetic-range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 6px;
  background: 0 0 !important;
}

.cosmetic-slider-wrap .cosmetic-range::-moz-range-track {
  height: 6px;
  background: 0 0 !important;
}

.cosmetic-slider-wrap .cosmetic-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cosmetic-accent);
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.cosmetic-slider-wrap .cosmetic-range::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.cosmetic-slider-wrap .cosmetic-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.cosmetic-slider-wrap .cosmetic-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cosmetic-accent);
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.cosmetic-slider-wrap .cosmetic-range::-moz-range-thumb:active {
  cursor: grabbing;
}

.cosmetic-slider-wrap .cosmetic-range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.cosmetic-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.add-device-form .cosmetic-input-wrap label {
  font-size: 0.85rem;
  white-space: nowrap;
}

.cosmetic-input-wrap label {
  color: #c8d4e0;
  font-size: 0.9rem;
}

.cosmetic-range {
  vertical-align: middle;
}

.cosmetic-val {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  min-width: 1.5rem;
}

.add-device-form button {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1e3a5f;
  color: #fff;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-device-form button:hover {
  background: #2d5a8a;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.cart-section {
  margin-bottom: 1rem;
}

.cart-list {
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #c8d4e0;
}

.cart-list li:last-child {
  border-bottom: none;
}

.cart-remove-btn {
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 100, 100, 0.2);
  color: #e8a0a0;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-remove-btn:hover {
  background: rgba(255, 100, 100, 0.3);
}

.cart-save-btn {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1e3a5f;
  color: #fff;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    opacity 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-save-btn:hover:not(:disabled) {
  background: #2d5a8a;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.cart-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.filter-bar {
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.genel-listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.genel-view-toggle {
  display: inline-flex;
  gap: 0.25rem;
}

.genel-view-btn {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
  color: var(--theme-color-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.genel-view-btn:hover {
  color: var(--theme-color);
  background: rgba(255, 255, 255, 0.1);
}

.genel-view-btn.active {
  background: rgba(93, 168, 232, 0.2);
  border-color: rgba(93, 168, 232, 0.5);
  color: #5da8e8;
}

.genel-view-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

@media (max-width: 1279px) {
  .genel-view-toggle {
    display: none;
  }
}

.listing-count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
  padding: 0 0.125rem;
}

body.theme-light .listing-count {
  color: rgba(0, 0, 0, 0.55);
}

.genel-pagination {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.5rem 0;
}

.genel-pagination-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.genel-pagination-next,
.genel-pagination-prev {
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  color: #9ca8b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.genel-pagination-next:hover:not(:disabled),
.genel-pagination-prev:hover:not(:disabled) {
  color: #5da8e8;
  background: rgba(93, 168, 232, 0.12);
  border-color: rgba(93, 168, 232, 0.3);
}

.genel-pagination-next:disabled,
.genel-pagination-prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.genel-pagination-pages {
  display: flex;
  gap: 0.25rem;
}

.genel-pagination-page {
  min-width: 2rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  color: #9ca8b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.genel-pagination-page:hover {
  color: #5da8e8;
  background: rgba(93, 168, 232, 0.1);
  border-color: rgba(93, 168, 232, 0.25);
}

.genel-pagination-page-active {
  color: #fff;
  background: rgba(93, 168, 232, 0.25);
  border-color: rgba(93, 168, 232, 0.5);
  cursor: default;
}

body.theme-light .genel-pagination-next,
body.theme-light .genel-pagination-page,
body.theme-light .genel-pagination-prev {
  color: #4b5563;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .genel-pagination-next:hover:not(:disabled),
body.theme-light .genel-pagination-page:hover,
body.theme-light .genel-pagination-prev:hover:not(:disabled) {
  color: #1e6bb8;
  background: rgba(30, 107, 184, 0.08);
  border-color: rgba(30, 107, 184, 0.2);
}

body.theme-light .genel-pagination-page-active {
  color: #0f1c2e;
  background: rgba(30, 107, 184, 0.15);
  border-color: rgba(30, 107, 184, 0.35);
}

.loading-skeleton-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  min-height: 120px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(90, 160, 230, 0.9);
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}

.loading-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

body.theme-light .loading-spinner {
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: rgba(59, 130, 246, 0.9);
}

body.theme-light .loading-text {
  color: rgba(0, 0, 0, 0.5);
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-row-search {
  margin-bottom: 0.6rem;
}

.filter-row-main {
  gap: 0.5rem;
  align-items: flex-start;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-row-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.filter-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.filter-fiyat-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-sep {
  color: #6b7d8f;
  font-size: 0.9rem;
  font-weight: 500;
}

.genel-filter-control {
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--theme-color);
  border-radius: 12px;
  font-size: 0.9rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.genel-filter-control:focus {
  outline: 0;
  border-color: rgba(92, 160, 232, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.esnaf-uyelik-band {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.esnaf-uyelik-band.esnaf-uyelik-green {
  background: rgba(56, 142, 60, 0.2);
  border-color: rgba(76, 175, 80, 0.35);
}

.esnaf-uyelik-band.esnaf-uyelik-yellow {
  background: rgba(178, 134, 0, 0.2);
  border-color: rgba(255, 193, 7, 0.35);
}

.esnaf-uyelik-band.esnaf-uyelik-red {
  background: rgba(150, 50, 50, 0.2);
  border-color: rgba(211, 47, 47, 0.35);
}

.esnaf-uyelik-band-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 0.35rem;
}

.esnaf-uyelik-band.esnaf-uyelik-green .esnaf-uyelik-band-title {
  color: #81c784;
}

.esnaf-uyelik-band.esnaf-uyelik-yellow .esnaf-uyelik-band-title {
  color: #ffca28;
}

.esnaf-uyelik-band.esnaf-uyelik-red .esnaf-uyelik-band-title {
  color: #e57373;
}

.esnaf-uyelik-band-text {
  font-size: 0.9rem;
  color: #e8eef4;
}

.esnaf-uyelik-band.esnaf-uyelik-green .esnaf-uyelik-band-text {
  color: #a5d6a7;
}

.esnaf-uyelik-band.esnaf-uyelik-yellow .esnaf-uyelik-band-text {
  color: #ffe082;
}

.esnaf-uyelik-band.esnaf-uyelik-red .esnaf-uyelik-band-text {
  color: #ef9a9a;
}

.admin-store-selector-wrap {
  margin-bottom: 1rem;
  padding: 0.75rem 0;
}

.admin-store-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca8b8;
  margin-bottom: 0.35rem;
}

.admin-store-wrap {
  position: relative;
  max-width: 14rem;
}

.admin-store-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  border-radius: 12px;
  font-size: 0.9rem;
}

.admin-store-input::placeholder {
  color: #7a8a9a;
}

.admin-store-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  min-width: 100%;
  max-height: 180px;
  overflow-y: auto;
}

.admin-store-opt {
  padding: 0.45rem 0.75rem;
  color: #c8d4e0;
  cursor: pointer;
  font-size: 0.9rem;
}

.admin-store-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-store-info-band {
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.admin-store-info-band-name {
  font-weight: 600;
  color: #c8d4e0;
  font-size: 0.95rem;
}

.admin-store-info-band-item {
  font-size: 0.85rem;
  color: #9ca8b8;
}

.admin-store-info-band-item span {
  color: #e8eef4;
  font-weight: 500;
  margin-left: 0.25rem;
}

.admin-announcement-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  margin-top: 0;
  background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.15),
      rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  position: relative;
}

.admin-announcement-banner:first-child {
  margin-top: 0;
}

.admin-announcement-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.admin-announcement-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(0.9);
  opacity: 0.9;
}

.admin-announcement-text {
  font-size: 0.9rem;
  color: #e8eef4;
  line-height: 1.5;
  flex: 1;
}

.admin-announcement-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.admin-announcement-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.admin-announcement-close-icon {
  width: 0.9rem;
  height: 0.9rem;
  filter: brightness(0) invert(0.8);
}

.admin-announcement-section {
  margin-bottom: 1.5rem;
}

.admin-announcement-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--theme-color);
  margin-bottom: 0.5rem;
}

.admin-announcement-hint {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.admin-announcement-input {
  width: 100%;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
}

.admin-announcement-input::placeholder {
  color: #7a8a9a;
}

.admin-announcement-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.settings-admin-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.5rem 0;
}

@media (max-width: 1024px) {
  .admin-announcement-banner {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .admin-announcement-content {
    flex: 1 1 100%;
    min-width: 0;
  }

  .admin-announcement-text {
    font-size: 0.85rem;
  }

  .admin-announcement-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

.dukkan-wrap {
  position: relative;
}

.genel-dukkan {
  width: 10rem;
  min-width: 8rem;
}

.genel-dukkan::placeholder {
  color: #7a8a9a;
}

.genel-fiyat-input {
  width: 5.5rem;
  text-align: center;
}

.genel-fiyat-input::placeholder {
  color: #7a8a9a;
}

.dukkan-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  min-width: 100%;
  max-height: 180px;
  overflow-y: auto;
}

.dukkan-opt {
  padding: 0.5rem 0.75rem;
  color: var(--theme-color);
  cursor: pointer;
  font-size: 0.9rem;
}

.dukkan-opt:hover {
  background: var(--theme-input-bg);
}

.genel-sort.genel-filter-control {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8d4e0' d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    right 10px center;
  background-size:
    auto,
    12px 12px;
  padding-right: 2rem;
}

.genel-sort {
  min-width: 6.5rem;
  cursor: pointer;
}

.custom-select-wrap {
  position: relative;
  min-width: 6.5rem;
  overflow: visible;
}

.custom-select-wrap .native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  border: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  padding-right: 2.1rem;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8d4e0' d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    right 10px center;
  background-size:
    auto,
    12px 12px;
  color: var(--theme-color);
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.custom-select-trigger:hover {
  border-color: rgba(92, 160, 232, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.custom-select-trigger.open {
  border-color: rgba(92, 160, 232, 0.6);
  box-shadow: 0 0 0 2px rgba(92, 160, 232, 0.15);
}

.custom-select-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 150;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  display: none;
  transform: translateZ(0) scaleY(0.92);
  opacity: 0;
  transform-origin: top center;
  backface-visibility: hidden;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-panel.open {
  display: block;
  transform: translateZ(0) scaleY(1);
  opacity: 1;
  animation: selectPanelIn 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.custom-select-opt {
  padding: 0.5rem 0.85rem;
  color: var(--theme-color);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.custom-select-opt:hover {
  background: var(--theme-input-bg);
}

.custom-select-opt.selected {
  background: rgba(93, 168, 232, 0.15);
  color: #7ab8e8;
}

body.theme-light .custom-select-trigger {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--theme-color);
}

body.theme-light .custom-select-trigger:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

body.theme-light .custom-select-panel {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.theme-light .custom-select-opt:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.theme-light .custom-select-opt.selected {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.add-select,
.genel-sort,
.model-yonetimi-select,
.notification-admin-form select,
.select-dark {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8d4e0' d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    right 12px center;
  background-size:
    auto,
    12px 12px;
  padding-right: 2.1rem;
  min-height: 2.3rem;
  line-height: 1.2;
}

.add-select:focus,
.genel-sort:focus,
.model-yonetimi-select:focus,
.notification-admin-form select:focus,
.select-dark:focus {
  outline: 0;
  border-color: rgba(92, 160, 232, 0.65);
  box-shadow: 0 0 0 3px rgba(92, 160, 232, 0.14);
}

.add-select option,
.genel-sort option,
.model-yonetimi-select option,
.notification-admin-form select option,
.select-dark option {
  background: #0f1c2e;
  color: #e8eef4;
}

body.theme-light .notification-admin-form select {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E");
}

body.theme-light .notification-admin-form select:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.genel-search {
  flex: 1;
  min-width: 10rem;
}

.genel-search::placeholder {
  color: #7a8a9a;
}

.search-clear-btn {
  flex-shrink: 0;
  cursor: pointer;
}

.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.filter-clear-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #8a9aab;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.filter-clear-all-btn:hover {
  color: #e87070;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}

.filter-clear-all-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.genel-favorilerim-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b0bcc8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.genel-favorilerim-wrap:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e8eef4;
}

.genel-favorilerim-wrap:has(.genel-favorilerim:checked) {
  background: rgba(93, 168, 232, 0.15);
  border-color: rgba(93, 168, 232, 0.4);
  color: #7ab8e8;
}

.favori-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.genel-favorilerim-wrap .favori-icon-filled {
  filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(800%) hue-rotate(195deg);
}

.genel-favorilerim {
  cursor: pointer;
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.genel-favorilerim:hover {
  border-color: rgba(90, 160, 230, 0.5);
  background: rgba(90, 160, 230, 0.08);
}

.genel-favorilerim:checked {
  background: #5da8e8;
  border-color: #5da8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.genel-favori-btn {
  padding: 0.25rem 0.4rem;
  background: 0 0;
  border: none;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.favori-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.genel-favori-btn:hover .favori-btn-icon {
  transform: scale(1.1);
}

.genel-favori-btn .favori-btn-icon {
  filter: brightness(0) saturate(100%) invert(65%);
}

.genel-favori-btn:hover .favori-btn-icon {
  filter: brightness(0) saturate(100%) invert(75%);
}

.genel-favori-btn.is-favori .favori-btn-icon {
  filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(800%) hue-rotate(195deg);
}

.magaza-sub-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.magaza-sub-tab {
  flex: 1;
  padding: 0.55rem 0.5rem;
  border: none;
  background: 0 0;
  color: #9ca8b8;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.magaza-sub-tab:hover {
  color: #c8d4e0;
}

.magaza-sub-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.suresi-dolan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}

.magaza-tab-panel {
  margin-bottom: 0.5rem;
}

.restore-btn {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(100, 180, 100, 0.5);
  background: rgba(80, 160, 80, 0.15);
  color: #90d890;
  border-radius: 18px;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.restore-btn:hover {
  background: rgba(80, 160, 80, 0.25);
  color: #b0e8b0;
}

.magaza-row-edit {
  background: rgba(30, 58, 95, 0.15);
}

.magaza-row-edit td {
  vertical-align: middle;
  overflow: hidden;
  white-space: nowrap;
}

.magaza-edit-battery,
.magaza-edit-color,
.magaza-edit-fiyat,
.magaza-edit-model,
.magaza-edit-origin,
.magaza-edit-warranty {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.6);
  color: #e8eef4;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.2;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.magaza-edit-alis:focus,
.magaza-edit-battery:focus,
.magaza-edit-color:focus,
.magaza-edit-fiyat:focus,
.magaza-edit-model:focus,
.magaza-edit-origin:focus,
.magaza-edit-warranty:focus {
  outline: 0;
  border-color: rgba(90, 160, 230, 0.6);
  box-shadow: 0 0 0 2px rgba(90, 160, 230, 0.2);
}

.magaza-row-edit .cosmetic-slider-wrap {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  width: 4rem;
  min-width: 3rem;
  max-width: 100%;
}

.magaza-row-edit .cosmetic-val {
  display: inline-block;
  min-width: 1.4rem;
  margin-left: 0.25rem;
  text-align: center;
  vertical-align: middle;
  font-size: 0.82rem;
}

.magaza-row-edit .promo-btn,
.magaza-row-edit .status-btn {
  min-height: 32px;
  height: 32px;
  line-height: 1.15;
  padding: 0.25rem 0.42rem;
  font-size: 0.74rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.magaza-row-edit .cosmetic-slider-wrap .cosmetic-range::-webkit-slider-thumb {
  margin-top: -4px;
}

.magaza-battery-edit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  max-width: 100%;
}

.magaza-battery-edit-wrap .magaza-edit-battery {
  flex: 1;
  min-width: 3rem;
}

.magaza-battery-unit {
  color: #c8d4e0;
  font-size: 0.85rem;
}

.magaza-row-edit .cosmetic-range:focus {
  outline: 0;
}

.note-textarea {
  width: 100%;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.72);
  color: #e8eef4;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: inherit;
  box-sizing: border-box;
}

.note-textarea::placeholder {
  color: #7a8a9a;
}

.note-cell {
  min-width: 0;
  vertical-align: top;
}

.note-cell .note-textarea {
  min-height: 2.5em;
  max-height: 5em;
}

.magaza-price-edit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.magaza-price-edit-wrap .magaza-edit-alis,
.magaza-price-edit-wrap .magaza-edit-fiyat {
  flex: 1 1 auto;
  min-width: 0;
}

.magaza-price-unit {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #c8d4e0;
}

.reklamda-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  color: #e8c870;
  background: rgba(255, 200, 100, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.new-badge {
  display: inline-block;
  font-size: 0.65rem;
  color: #7ab8e8;
  background: rgba(90, 160, 230, 0.2);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.durum-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  white-space: nowrap;
}

.durum-sifir {
  color: #6bc088;
  background: rgba(90, 180, 120, 0.2);
  border: 1px solid rgba(90, 180, 120, 0.35);
}

.durum-ikinci-el {
  color: #d4b85c;
  background: rgba(200, 170, 80, 0.18);
  border: 1px solid rgba(200, 170, 80, 0.3);
}

.hizli-giden-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.85em;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.empty-msg {
  color: #9ca8b8;
  padding: 1rem 0;
}

.devices-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#magaza-table {
  min-width: 1200px;
  table-layout: fixed;
}

#magaza-table td:first-child,
#magaza-table th:first-child {
  width: 2%;
  min-width: 24px;
}

#magaza-table td:nth-child(2),
#magaza-table th:nth-child(2) {
  width: 5%;
  min-width: 52px;
}

#magaza-table td:nth-child(3),
#magaza-table th:nth-child(3) {
  width: 12%;
}

#magaza-table td:nth-child(4),
#magaza-table th:nth-child(4) {
  width: 6%;
}

#magaza-table td:nth-child(5),
#magaza-table th:nth-child(5) {
  width: 5%;
}

#magaza-table td:nth-child(6),
#magaza-table th:nth-child(6) {
  width: 4%;
}

#magaza-table td:nth-child(7),
#magaza-table th:nth-child(7) {
  width: 5%;
  min-width: 56px;
}

#magaza-table td:nth-child(8),
#magaza-table th:nth-child(8) {
  width: 6%;
}

#magaza-table td:nth-child(9),
#magaza-table th:nth-child(9) {
  width: 6%;
}

#magaza-table td:nth-child(10),
#magaza-table th:nth-child(10) {
  width: 5%;
}

#magaza-table td:nth-child(11),
#magaza-table th:nth-child(11) {
  width: 4%;
}

#magaza-table td:nth-child(12),
#magaza-table th:nth-child(12) {
  width: 9%;
}

#magaza-table td:nth-child(13),
#magaza-table th:nth-child(13) {
  width: 5%;
}

#magaza-table td:nth-child(14),
#magaza-table th:nth-child(14) {
  width: 7%;
}

#magaza-table td:nth-child(15),
#magaza-table th:nth-child(15) {
  width: 10%;
}

#magaza-table th:nth-child(7) {
  white-space: nowrap;
  word-break: keep-all;
}

.magaza-foto-col {
  width: 5%;
  min-width: 52px;
}

.magaza-foto-td {
  padding: 4px !important;
  vertical-align: middle;
}

.magaza-table-foto-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: opacity 0.15s;
}

.magaza-table-foto-thumb:hover {
  opacity: 0.82;
}

.magaza-table-foto-empty {
  color: #555;
  font-size: 0.85rem;
}

#magaza-satilan-table {
  min-width: 650px;
}

#genel-table {
  min-width: 900px;
}

.genel-compare-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #9ca8b8;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
}

.genel-compare-add-btn .action-btn-icon {
  width: 1rem;
  height: 1rem;
}

.genel-compare-add-btn:hover:not(:disabled) {
  background: rgba(90, 160, 230, 0.15);
  border-color: rgba(90, 160, 230, 0.4);
  color: #60a5fa;
}

.genel-compare-add-btn.is-compare {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.genel-compare-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#genel-table .genel-copy-col .action-buttons-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.genel-card-compare-check {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 0.5rem;
  flex-shrink: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.genel-card-compare-check:hover:not(:disabled) {
  border-color: rgba(90, 160, 230, 0.5);
  background-color: rgba(90, 160, 230, 0.08);
}

.genel-card-compare-check:checked {
  background: #5da8e8;
  border-color: #5da8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.genel-card-compare-check:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.genel-compare-bar {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 31, 53, 0.95);
  border: 1px solid rgba(90, 160, 230, 0.3);
  border-radius: 99px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  top: auto;
  bottom: 85px;
  margin-bottom: env(safe-area-inset-bottom, 0);
  left: 50%;
  z-index: 999;
  transform: translate(-50%, 150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: max-content;
  max-width: 95vw;
}

.genel-compare-bar.compare-bar-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.genel-compare-count {
  font-size: 0.9rem;
  color: #c8d4e0;
  margin-right: 0.5rem;
}

.genel-compare-btn,
.genel-compare-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.genel-compare-btn {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #60a5fa;
}

.genel-compare-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.35);
}

.genel-compare-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.genel-compare-clear-btn {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e8eef4;
}

.genel-compare-clear-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.compare-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.section-title-icon {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: -0.2em;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.excel-import-title,
.piyasa-title,
.promo-title,
.satilan-arsiv-title,
.search-stats-title,
.takas-title,
.unsold-section-title {
  display: inline-flex;
  align-items: center;
}

.lock-screen-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lock-screen-icon,
.paywall-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.admin-badge-icon {
  width: 1rem;
  height: 1rem;
}

.settings-btn-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
}

.excel-btn-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
}

.badge-icon,
.promo-btn-icon {
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: -0.15em;
  margin-right: 0.15rem;
}

.magaza-sub-tab-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.3rem;
  vertical-align: -0.2em;
}

.placeholder-icon {
  width: 1rem;
  height: 1rem;
  vertical-align: -0.2em;
  margin-right: 0.3rem;
}

.action-btn .action-btn-icon,
.admin-badge-icon,
.badge-icon,
.compare-btn-icon,
.excel-btn-icon,
.filter-clear-all-icon,
.lock-screen-icon,
.magaza-bulk-btn .bulk-btn-icon,
.magaza-sub-tab-icon,
.panel-close-icon,
.paywall-icon,
.placeholder-icon,
.promo-btn-icon,
.section-title-icon,
.settings-btn-icon {
  filter: brightness(0) invert(0.88);
}

.genel-locked-placeholder-card {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.table-wrap {
  margin-bottom: 1rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.devices-table td,
.devices-table th {
  padding: 0.6rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.devices-table .magaza-check-col {
  text-align: center;
}

#magaza-table td:nth-child(n + 4):nth-child(-n + 13),
#magaza-table th:nth-child(n + 4):nth-child(-n + 13) {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  overflow: hidden;
  box-sizing: border-box;
}

#magaza-table td:nth-child(14),
#magaza-table th:nth-child(14) {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  white-space: nowrap;
  min-width: 110px;
}

#magaza-table td:nth-child(14) .promo-btn,
#magaza-table td:nth-child(14) .status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 118px;
  min-width: 94px;
  width: 100%;
  padding: 0.26rem 0.42rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#magaza-table .action-col {
  white-space: nowrap;
  position: sticky;
  right: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.15);
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  min-width: 260px;
}

#magaza-table thead .action-col {
  background: rgba(255, 255, 255, 0.06);
}

#magaza-table tbody tr:hover .action-col {
  background: rgba(255, 255, 255, 0.06);
}

#magaza-table .action-col .action-btn {
  padding: 0.28rem 0.4rem;
  margin-left: 0;
}

#magaza-table .action-col .action-btn:first-child {
  margin-left: 0;
}

#magaza-table .action-col .action-buttons-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.22rem;
  align-items: center;
  width: 100%;
}

#magaza-table .action-col .action-buttons-wrap .action-btn {
  width: 100%;
  justify-content: center;
}

.devices-table th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  color: #fff;
}

#genel-table td:first-child,
#genel-table th:first-child,
#magaza-table td:first-child,
#magaza-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: inherit;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.15);
}

#genel-table thead th:first-child,
#magaza-table thead th:first-child {
  background: rgba(255, 255, 255, 0.06);
}

#genel-table tbody tr td:first-child,
#magaza-table tbody tr td:first-child {
  background: rgba(255, 255, 255, 0.03);
}

#genel-table tbody tr:hover td:first-child,
#magaza-table tbody tr:hover td:first-child {
  background: rgba(255, 255, 255, 0.06);
}

#genel-table .genel-copy-col {
  position: sticky;
  right: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

#genel-table thead .genel-copy-col {
  background: rgba(255, 255, 255, 0.06);
}

#genel-table tbody tr:hover .genel-copy-col {
  background: rgba(255, 255, 255, 0.06);
}

.devices-table td {
  color: #c8d4e0;
}

.genel-placeholder-row {
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

.genel-placeholder-row td {
  text-align: center;
  color: #6b7d8f;
  font-size: 0.9rem;
}

/* Üyelik Sona Erdi - Sade Tasarım */
.expired-simple-lock {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}

.expired-simple-box {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.expired-simple-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.expired-simple-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}

.expired-simple-text {
  font-size: 15px;
  color: #94a3b8;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.expired-simple-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expired-btn-whatsapp {
  display: block;
  padding: 16px 24px;
  background: #22c55e;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.expired-btn-whatsapp:hover {
  opacity: 0.9;
}

.expired-btn-logout {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.expired-btn-logout:hover {
  background: #1e293b;
  color: #e2e8f0;
}

/* Light Theme */
body.theme-light .expired-simple-lock {
  background: #f8fafc;
}

body.theme-light .expired-simple-title {
  color: #0f172a;
}

body.theme-light .expired-simple-text {
  color: #64748b;
}

body.theme-light .expired-btn-logout {
  border-color: #cbd5e1;
  color: #64748b;
}

body.theme-light .expired-btn-logout:hover {
  background: #e2e8f0;
  color: #334155;
}

.lock-screen {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.lock-screen-card {
  max-width: 480px;
  padding: 3rem 2.5rem;
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.4) 0%, rgba(15, 31, 53, 0.8) 100%);
  border: 1px solid rgba(90, 160, 230, 0.2);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lock-screen-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e8eef4;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lock-screen-desc {
  font-size: 1.05rem;
  color: #9ca8b8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.lock-screen-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 99px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.lock-screen-cta img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lock-screen-cta:hover {
  background: linear-gradient(135deg, #25d366 0%, #075e54 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.price-history-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.profile-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.profile-modal.open {
  display: flex;
}

.profile-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.profile-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0f2137 0, #0a1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.profile-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.profile-modal-body .profile-field {
  margin-bottom: 1rem;
}

.profile-loading-msg {
  text-align: center;
  color: #9ca8b8;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.profile-modal-body .profile-field label {
  display: block;
  font-size: 0.8rem;
  color: #8a9db0;
  margin-bottom: 0.35rem;
}

.profile-modal-body .profile-field input,
.profile-modal-body .profile-field textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #e8eef4;
  font-size: 0.95rem;
}

.profile-modal-body .profile-field textarea {
  min-height: 60px;
  resize: vertical;
}

.profile-modal-body .profile-field input:disabled,
.profile-modal-body .profile-field textarea:disabled {
  opacity: 0.8;
  cursor: default;
}

.profile-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.profile-modal-body .profile-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.profile-modal-body .profile-icon-phone {
  color: #9ca8b8;
}

.profile-modal-body .profile-icon-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: #25d366;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
}

.profile-modal-body .profile-field-link {
  color: #5da8e8;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.profile-modal-body .profile-field-link:hover {
  text-decoration: underline;
}

.profile-modal-body .profile-yol-tarifi-wrap {
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
}

.profile-modal-body .profile-yol-tarifi {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #5da8e8;
  text-decoration: none;
}

.profile-modal-body .profile-yol-tarifi:hover {
  text-decoration: underline;
}

.profile-inline-map {
  height: 200px;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}

.settings-profile-inline-map {
  height: 220px;
  min-height: 220px;
}

.settings-profile-map-hint {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #9ca8b8;
}

@media (max-width: 600px) {
  .profile-modal-card {
    max-height: 88vh;
    padding: 1.25rem 1rem;
  }

  .profile-field-map {
    min-height: 260px;
    order: -1;
  }

  .profile-modal-body {
    display: flex;
    flex-direction: column;
  }

  .profile-field-map .profile-inline-map {
    height: 260px;
    min-height: 260px;
    width: 100%;
  }

  .profile-inline-map {
    height: 260px;
    min-height: 260px;
    -webkit-overflow-scrolling: touch;
  }

  .profile-map-fallback,
  .profile-map-loading {
    min-height: 260px;
  }

  .profile-contact-row .call-btn,
  .profile-contact-row .wp-action-btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .profile-modal-actions .profile-modal-cancel,
  .profile-modal-actions .profile-modal-save {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }

  .profile-use-location-btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }
}

.profile-inline-map .leaflet-tile-pane {
  filter: brightness(0.95);
}

.profile-inline-map .leaflet-container {
  font: inherit;
  cursor: default;
}

.profile-inline-map .leaflet-grab {
  cursor: default;
}

.profile-inline-map .leaflet-dragging {
  cursor: default;
}

.profile-inline-map.profile-inline-map-no-map {
  height: auto;
  min-height: 80px;
}

.profile-use-location-btn {
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: #5da8e8;
  background: rgba(93, 168, 232, 0.15);
  border: 1px solid rgba(93, 168, 232, 0.4);
  border-radius: 6px;
  cursor: pointer;
}

.profile-use-location-btn:hover:not(:disabled) {
  background: rgba(93, 168, 232, 0.25);
}

.profile-use-location-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.profile-map-fallback,
.profile-map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  font-size: 0.9rem;
  color: #9ca8b8;
}

.profile-map-fallback {
  font-style: italic;
}

.profile-modal-body .profile-field-link-wa {
  color: #25d366;
}

.profile-modal-body .profile-field-link-wa:hover {
  color: #34e077;
}

.profile-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.store-profile-link {
  color: #5da8e8;
  cursor: pointer;
  text-decoration: none;
}

.store-profile-link:hover {
  text-decoration: underline;
}

.profile-modal-cancel,
.profile-modal-save {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.profile-modal-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8d4e0;
}

.profile-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.profile-modal-save {
  background: #1e3a5f;
  border: 1px solid #2d5a8a;
  color: #fff;
}

.profile-modal-save:hover {
  background: #2a4a75;
}

.gun-sonu-panel {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.gun-sonu-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 1rem;
}

.gun-sonu-section {
  font-size: 0.9rem;
  color: #9ca8b8;
  margin-top: 0.75rem;
}

.gun-sonu-section strong {
  color: #e8eef4;
}

.gun-sonu-list {
  margin: 0.35rem 0 0 1rem;
  padding: 0;
  list-style: disc;
  color: #9ca8b8;
  font-size: 0.85rem;
}

.gun-sonu-list li {
  margin-bottom: 0.2rem;
}

.gun-sonu-empty {
  margin: 0.35rem 0 0;
  color: #6b7d8f;
  font-size: 0.85rem;
}

.gun-sonu-segment {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin: 0.25rem 0 0 0;
}

.gun-sonu-subsection {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

.gun-sonu-subsection strong {
  color: #c8d4e0;
}

.gun-sonu-performans {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  font-weight: 600;
  color: #5da8e8;
}

.satilan-arsiv-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c8d4e0;
  margin-bottom: 0.75rem;
}

.satilan-analiz-panel {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.satilan-analiz-section {
  font-size: 0.9rem;
  color: #9ca8b8;
  margin-bottom: 1rem;
}

.satilan-analiz-section strong {
  color: #e8eef4;
  display: block;
  margin-bottom: 0.35rem;
}

.satilan-analiz-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: 0.85rem;
}

.satilan-analiz-list li {
  margin-bottom: 0.25rem;
}

.satilan-analiz-empty {
  margin: 0.35rem 0 0;
  color: #6b7d8f;
  font-size: 0.85rem;
}

.status-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #c8d4e0;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.875rem;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.status-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.status-btn.satildi-btn {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.status-btn.satildi-btn:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.promo-btn {
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(255, 200, 100, 0.4);
  background: rgba(255, 200, 100, 0.1);
  color: #e8c870;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.promo-btn:hover {
  background: rgba(255, 200, 100, 0.2);
}

.promo-btn.active {
  background: rgba(255, 200, 100, 0.25);
  border-color: rgba(255, 200, 100, 0.6);
  color: #ffd98a;
}

.promo-btn.promo-cooldown {
  background: rgba(120, 120, 140, 0.12);
  border-color: rgba(180, 180, 200, 0.2);
  color: #7a8090;
  cursor: not-allowed;
  opacity: 0.75;
}

.promo-btn.promo-cooldown:hover {
  background: rgba(120, 120, 140, 0.12);
}

.promo-time-left {
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 400;
}

.promo-cooldown-icon {
  font-style: normal;
}

.info-box {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(30, 58, 95, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  font-size: 0.85rem;
  color: #9ca8b8;
}

.settings-section {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.settings-btn {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(45, 90, 138, 0.4);
  color: #c8d4e0;
  border-radius: 18px;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.settings-btn:hover {
  background: rgba(45, 90, 138, 0.6);
  color: #fff;
}

.settings-btn.danger:hover {
  background: rgba(180, 60, 60, 0.5);
  border-color: rgba(220, 100, 100, 0.4);
}

.settings-logout-wrap {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-logout-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(220, 80, 80, 0.3);
  background: rgba(220, 80, 80, 0.1);
  color: #ff6b6b;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-logout-btn:hover {
  background: rgba(220, 80, 80, 0.25);
  border-color: rgba(220, 80, 80, 0.5);
  color: #ff8787;
  transform: translateY(-1px);
}

.logout-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #8a9db0;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #9ca8b8;
}

.delete-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.delete-modal.open {
  display: flex;
}

.delete-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.delete-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #0f2137 0, #0a1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.delete-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.delete-modal-text {
  font-size: 0.95rem;
  color: #9ca8b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.delete-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.delete-modal-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.delete-modal-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8d4e0;
}

.delete-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.delete-modal-confirm {
  background: rgba(200, 80, 80, 0.25);
  border: 1px solid rgba(220, 100, 100, 0.4);
  color: #e8a0a0;
}

.delete-modal-confirm:hover {
  background: rgba(200, 80, 80, 0.4);
  color: #fff;
  border-color: rgba(220, 100, 100, 0.6);
}

.confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.confirm-modal.open {
  display: flex;
}

.confirm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.confirm-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #0f2137 0, #0a1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.confirm-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.confirm-modal-text {
  font-size: 0.95rem;
  color: #9ca8b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.confirm-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.confirm-modal-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.confirm-modal-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8d4e0;
}

.confirm-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.confirm-modal-confirm {
  background: #1e3a5f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.confirm-modal-confirm:hover {
  background: #2d5a8a;
  border-color: rgba(255, 255, 255, 0.25);
}

.stock-import-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.bulk-price-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.bulk-price-modal.open {
  display: flex;
}

.bulk-price-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.bulk-price-modal-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, #0f2137 0, #0a1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.bulk-price-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.bulk-price-modal-label {
  display: block;
  font-size: 0.9rem;
  color: #9ca8b8;
  margin-bottom: 0.5rem;
}

.bulk-price-modal-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  margin-bottom: 1.25rem;
}

.bulk-price-modal-input:focus {
  outline: 0;
  border-color: rgba(90, 160, 230, 0.6);
}

.bulk-price-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bulk-price-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.bulk-price-modal-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.bulk-price-modal-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8d4e0;
}

.bulk-price-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.bulk-price-modal-ok {
  background: #1e3a5f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.bulk-price-modal-ok:hover {
  background: #2d5a8a;
  border-color: rgba(255, 255, 255, 0.25);
}

.compare-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.compare-modal.open {
  display: flex;
}

.compare-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.compare-modal-card {
  position: relative;
  width: 100%;
  max-width: 90vw;
  max-height: 95vh;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--theme-border);
}

.compare-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #5da8e8, #4a90d9);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-share-btn:hover {
  background: linear-gradient(135deg, #6ab2f0, #5a9de0);
  transform: translateY(-1px);
}

.compare-share-btn:active {
  transform: translateY(0);
}

.compare-share-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.compare-share-btn img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.compare-modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-color);
  margin: 0;
}

.compare-modal-close {
  padding: 0.25rem 0.5rem;
  border: none;
  background: 0 0;
  color: var(--theme-color-muted);
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 6px;
}

.compare-modal-close:hover {
  color: var(--theme-color);
  background: rgba(255, 255, 255, 0.08);
}

.compare-modal-body {
  padding: 1rem 1.25rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.compare-container {
  padding-bottom: 1rem;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.device-card {
  background: var(--theme-bg-tertiary);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.device-card-header {
  padding: 0.6rem;
  text-align: center;
  border-bottom: 1px solid var(--theme-border);
  background: rgba(0, 0, 0, 0.05);
}

.device-card .gallery {
  position: relative;
  margin-bottom: 1rem;
}

.device-card .main-img {
  width: 70px;
  height: 90px;
  object-fit: contain;
  cursor: pointer;
  margin: 0 auto;
  display: block;
  transition: transform 0.15s;
}

.device-card .main-img:hover {
  transform: scale(1.05);
}

.device-card .thumbs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
}

.device-card .thumb {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--theme-border);
  cursor: pointer;
  transition: transform 0.15s;
}

.device-card .thumb:hover {
  transform: scale(1.1);
  border-color: var(--theme-color-primary);
}

.device-model {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--theme-color);
}

.device-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #34d399;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-bottom: 1px solid var(--theme-border);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--theme-color-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.spec-value {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
  color: var(--theme-color);
}

.note-text {
  font-size: 0.85rem;
  color: var(--theme-color-muted);
  line-height: 1.4;
  display: block;
  margin-top: 4px;
}

@media (max-width: 650px) {
  .compare-cards {
    grid-template-columns: 1fr;
  }
}

.compare-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table td,
.compare-table th {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--theme-border);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--theme-color);
}

.compare-table tbody th.compare-row-label,
.compare-table thead th:first-child {
  width: 100px;
  min-width: 100px;
}

.compare-row-label {
  min-width: 90px;
  font-weight: 500;
  color: var(--theme-color-muted);
}

.compare-col-header {
  text-align: center;
  font-weight: 600;
  color: var(--theme-color);
}

.compare-photos {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.compare-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid var(--theme-border);
  transition: transform 0.15s;
  user-select: none;
}

.compare-thumb:hover {
  transform: scale(1.07);
}

.compare-no-photo {
  width: 64px;
  height: 64px;
  border-radius: 7px;
  background: var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color-muted);
}

.compare-col-model {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--theme-color-muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-cell {
  color: var(--theme-color);
  text-align: center;
}

body.theme-light .compare-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .compare-table thead th {
  background: rgba(0, 0, 0, 0.04);
}

.device-detail-table {
  margin-bottom: 1.25rem;
}

.device-detail-table .compare-row-label {
  width: 100px;
}

.device-detail-table .compare-cell {
  text-align: left;
}

.device-detail-aciklama {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border);
}

.device-detail-aciklama-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--theme-color);
  margin-bottom: 0.5rem;
}

.device-detail-aciklama-text {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.device-detail-card {
  max-width: 480px;
}

.sync-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -10px);
  background: rgba(15, 33, 55, 0.95);
  border: 1px solid rgba(90, 160, 230, 0.45);
  color: #d8e9ff;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.2;
  z-index: 1200;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sync-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .compare-modal {
    padding: 0.5rem;
  }

  .compare-modal-card {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
  }

  .compare-modal-header {
    padding: 0.75rem 1rem;
  }

  .compare-modal-title {
    font-size: 0.95rem;
  }

  .compare-modal-body {
    padding: 0.5rem;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table td,
  .compare-table th {
    padding: 0.4rem 0.5rem;
  }

  .compare-row-label {
    min-width: 70px;
    white-space: normal;
    word-break: break-word;
  }

  .compare-thumb {
    width: 48px;
    height: 48px;
  }

  .compare-no-photo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {

  .add-device-form .select-dark,
  .add-device-form button,
  .add-device-form input,
  .add-form-submit {
    width: 100%;
  }

  .add-form-row-2 {
    grid-template-columns: 1fr;
  }

  .promo-cards {
    flex-direction: column;
  }

  .promo-card {
    min-width: 100%;
  }
}

@media (max-width: 1279px) {

  #magaza-aktif-content .table-wrap,
  #magaza-satilan-content .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .table-wrap {
    overflow-x: auto;
  }

  .devices-table {
    min-width: 700px;
  }

  #magaza-table {
    min-width: 800px;
    table-layout: fixed;
  }
}

.magaza-cards-mobile {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.magaza-satilan-cards {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) and (orientation: portrait),
(min-width: 900px) {
  .magaza-cards-mobile {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .magaza-satilan-cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (min-width: 1280px) {
  .magaza-satilan-cards {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.magaza-device-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg,
      rgba(30, 41, 59, 0.7),
      rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s;
}

.magaza-device-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

body.light-theme .magaza-device-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px #fff;
}

body.light-theme .magaza-device-card:hover {
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px #fff;
}

.magaza-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.magaza-card-model {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
}

.magaza-card-fiyat {
  color: #5da8e8;
  font-weight: 600;
  white-space: nowrap;
}

.magaza-card-fiyatlar {
  font-size: 0.85rem;
  color: #5da8e8;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.magaza-card-details {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin-bottom: 0.75rem;
}

.magaza-card-foto-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.magaza-card-foto-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}

.magaza-card-foto-thumb:hover {
  opacity: 0.82;
  transform: scale(1.04);
}

.satilan-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.satilan-card-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
}

.satilan-card-label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.satilan-card-value {
  display: block;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.satilan-device-card .magaza-card-actions {
  margin-top: auto;
}

.magaza-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-action-btns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  width: 100%;
}

.card-action-btns-grid .action-btn {
  width: 100%;
  justify-content: center;
  padding: 0.4rem 0;
}

.magaza-card-actions .sattim-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: #22c55e;
  color: #fff;
  cursor: pointer;
  order: -1;
}

.magaza-card-actions .sattim-btn:hover {
  background: #16a34a;
}

.magaza-card-actions .promo-btn,
.magaza-card-actions .status-btn {
  padding: 0.25rem 0.45rem;
  font-size: 0.75rem;
}

.magaza-card-edit {
  background: rgba(30, 58, 95, 0.2);
  border-color: rgba(90, 160, 230, 0.3);
}

.magaza-card-edit-row {
  margin-bottom: 0.75rem;
}

.magaza-card-edit-row label {
  display: block;
  font-size: 0.8rem;
  color: #9ca8b8;
  margin-bottom: 0.25rem;
}

.magaza-card-edit-row input,
.magaza-card-edit-row select,
.magaza-card-edit-row textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.magaza-card-edit-row .cosmetic-slider-wrap {
  display: inline-flex;
  width: 6rem;
  vertical-align: middle;
}

.magaza-card-edit-row .cosmetic-val {
  margin-left: 0.5rem;
  vertical-align: middle;
}

.magaza-card-edit-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.magaza-card-edit-actions .action-btn {
  padding: 0.5rem 0.9rem;
}

.genel-cards-mobile {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  #genel-content {
    overflow-x: hidden;
  }

  #genel-content .genel-cards-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  #genel-content .genel-device-card {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .genel-cards-mobile {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (min-width: 1280px) {
  .genel-cards-mobile {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-items: stretch;
    align-items: stretch;
  }
}

.genel-device-card {
  background: linear-gradient(145deg,
      rgba(30, 41, 59, 0.7),
      rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s;
}

.genel-device-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(93, 168, 232, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-color: rgba(93, 168, 232, 0.15);
}

body.light-theme .genel-device-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.95),
      rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px #fff;
}

body.light-theme .genel-device-card:hover {
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px #fff;
}

.genel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.genel-card-store {
  font-size: 0.85rem;
  color: #9ca8b8;
  cursor: pointer;
}

.genel-card-store:hover {
  color: #5da8e8;
}

.genel-card-fiyat {
  color: #5da8e8;
  font-weight: 600;
  white-space: nowrap;
}

.genel-card-model {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.genel-card-details {
  font-size: 0.85rem;
  color: #9ca8b8;
  margin-bottom: 0.6rem;
  flex: 1;
  min-height: 2.5em;
}

.genel-card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: auto;
  min-width: 0;
}

.genel-card-actions .call-btn,
.genel-card-actions .genel-copy-link,
.genel-card-actions .wp-action-btn,
.genel-card-actions .wp-action-link {
  margin-right: 0;
  flex: 0 0 auto;
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.genel-card-actions .call-btn span,
.genel-card-actions .genel-copy-link span,
.genel-card-actions .wp-action-btn span,
.genel-card-actions .wp-action-link span {
  display: none;
}

.genel-card-actions .action-btn,
.genel-card-actions .genel-compare-add-btn,
.genel-card-actions .genel-favori-btn {
  flex-shrink: 0;
}

.genel-cards-mobile .genel-device-card {
  min-width: 0;
}

.genel-cards-mobile .genel-card-actions .wp-action-link span {
  display: none;
}

.genel-cards-mobile .genel-card-actions .call-btn,
.genel-cards-mobile .genel-card-actions .genel-copy-link {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  min-width: 0;
}

.genel-cards-mobile .genel-card-actions .wp-action-link {
  padding: 0.5rem;
  min-width: 2.25rem;
  justify-content: center;
}

@media (max-width: 900px) {

  .genel-card-actions .call-btn,
  .genel-card-actions .genel-copy-link,
  .genel-card-actions .wp-action-link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .genel-card-actions .call-btn img,
  .genel-card-actions .genel-copy-link img,
  .genel-card-actions .wp-action-link img {
    width: 16px;
    height: 16px;
  }

  .promo-card-tel .call-btn,
  .promo-card-tel .wp-action-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .promo-card-tel .call-btn img,
  .promo-card-tel .wp-action-btn img {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 600px) {
  .genel-card-actions {
    flex-wrap: nowrap;
    gap: 0.35rem;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
  }

  .promo-card-tel {
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-start;
  }

  .genel-card-actions .call-btn,
  .genel-card-actions .genel-copy-link,
  .genel-card-actions .wp-action-link,
  .promo-card-tel .call-btn,
  .promo-card-tel .wp-action-btn {
    min-height: 44px;
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.2rem;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    overflow: hidden;
  }

  .genel-card-actions .call-btn span,
  .genel-card-actions .genel-copy-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 4.5em;
  }

  .genel-card-actions .wp-action-btn span,
  .magaza-card-actions .wp-action-btn span,
  .promo-card-tel .wp-action-btn span {
    display: none;
  }

  .genel-card-actions .wp-action-btn,
  .magaza-card-actions .wp-action-btn,
  .promo-card-tel .wp-action-btn {
    min-width: 44px;
    flex: 0 0 44px;
    padding: 0.5rem;
  }

  .genel-card-actions .call-btn img,
  .genel-card-actions .genel-copy-link img,
  .genel-card-actions .wp-action-link img,
  .promo-card-tel .call-btn img,
  .promo-card-tel .wp-action-btn img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .magaza-card-actions .sattim-btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }
}

.genel-card-edit {
  background: rgba(30, 58, 95, 0.2);
  border-color: rgba(90, 160, 230, 0.3);
}

.genel-card-edit-row {
  margin-bottom: 0.75rem;
}

.genel-card-edit-row label {
  display: block;
  font-size: 0.8rem;
  color: #9ca8b8;
  margin-bottom: 0.25rem;
}

.genel-card-edit-row input,
.genel-card-edit-row select,
.genel-card-edit-row textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.genel-card-edit-row .cosmetic-slider-wrap {
  display: inline-flex;
  width: 6rem;
  vertical-align: middle;
}

.genel-card-edit-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.genel-locked-placeholder-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  color: #6b7d8f;
  font-size: 0.9rem;
}

.magaza-edit-alis {
  width: 4rem;
  min-width: 3rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #e8eef4;
  border-radius: 6px;
}

.business-summary-panel {
  padding: 1rem 0;
}

.business-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .business-summary-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.biz-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.biz-summary-card.biz-summary-potansiyel {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
}

.biz-summary-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5da8e8;
}

.biz-summary-potansiyel .biz-summary-value {
  color: #22c55e;
}

.biz-summary-label {
  font-size: 0.75rem;
  color: #9ca8b8;
  margin-top: 0.25rem;
}

.unsold-products-section {
  margin-top: 1rem;
}

.unsold-section-title {
  font-size: 0.95rem;
  color: #e8eef4;
  margin: 1rem 0 0.5rem;
  padding-bottom: 0.25rem;
}

.unsold-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.unsold-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.unsold-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.unsold-model {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unsold-fiyat {
  color: #5da8e8;
  font-weight: 600;
}

.unsold-gun {
  color: #9ca8b8;
  font-size: 0.85rem;
}

.unsold-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.unsold-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef4;
  cursor: pointer;
  white-space: nowrap;
}

.unsold-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.unsold-reklama-al:hover {
  border-color: rgba(234, 179, 8, 0.5);
  color: #facc15;
}

.unsold-fiyat-dusur:hover {
  border-color: rgba(59, 130, 246, 0.5);
  color: #60a5fa;
}

.unsold-satildi-yap:hover {
  border-color: rgba(34, 197, 94, 0.5);
  color: #22c55e;
}

.unsold-empty {
  padding: 0.75rem;
  color: #6b7d8f;
  font-size: 0.9rem;
  margin: 0;
}

.version-footer {
  margin-top: 2rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: #5a6b7a;
  text-align: center;
}

body.theme-light .login-card,
body.theme-light .login-right {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.theme-light .login-right h3,
body.theme-light .login-title {
  color: #1e293b;
}

body.theme-light .login-right,
body.theme-light .login-subtitle {
  color: #64748b;
}

body.theme-light .login-input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
}

body.theme-light .login-input::placeholder {
  color: #94a3b8;
}

body.theme-light .login-btn {
  background: #2563eb;
  border-color: #2563eb;
}

body.theme-light .login-btn:hover {
  background: #1d4ed8;
}

body.theme-light .login-forgot-link {
  color: #64748b;
}

body.theme-light .login-forgot-link:hover {
  color: #2563eb;
}

body.theme-light .login-info-modal-overlay {
  background: rgba(0, 0, 0, 0.4);
}

body.theme-light .login-info-modal-card {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.theme-light .login-info-modal-title {
  color: #1e293b;
}

body.theme-light .login-info-modal-list {
  color: #64748b;
}

body.theme-light .login-info-modal-close {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

body.theme-light .login-info-modal-close:hover {
  background: #e2e8f0;
}

body.theme-light header {
  border-color: #e2e8f0;
  background: linear-gradient(180deg,
      rgba(241, 245, 249, 0.98) 0,
      rgba(241, 245, 249, 0.95) 100%);
}

body.theme-light header h1 {
  color: #1e293b;
}

body.theme-light .slogan {
  color: #475569;
  font-size: 0.9rem;
}

body.theme-light .tab {
  background: #fff;
  color: #475569;
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .tab .tab-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .tab:hover {
  color: #1e293b;
  background: #f8fafc;
}

body.theme-light .tab.active .tab-icon,
body.theme-light .tab:hover .tab-icon {
  filter: brightness(0) invert(1);
}

body.theme-light .tab.active {
  background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.15) 0,
      rgba(37, 99, 235, 0.08) 100%);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.35);
}

body.theme-light main {
  background: var(--theme-bg);
}

body.theme-light .promo-section {
  border-color: var(--theme-border);
}

body.theme-light .genel-filter-control {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--theme-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.theme-light .genel-filter-control:focus {
  border-color: rgba(37, 99, 235, 0.5);
  background: #fff;
}

body.theme-light .genel-fiyat-input,
body.theme-light .genel-search,
body.theme-light .genel-sort {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--theme-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.theme-light .genel-fiyat-input::placeholder,
body.theme-light .genel-search::placeholder {
  color: #64748b;
}

body.theme-light .filter-sep {
  color: #94a3b8;
}

body.theme-light .filter-row-main {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .genel-favorilerim-wrap {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #475569;
}

body.theme-light .genel-favorilerim-wrap:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

body.theme-light .genel-favorilerim-wrap:has(.genel-favorilerim:checked) {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb;
}

body.theme-light .excel-import-title,
body.theme-light .lock-screen-title,
body.theme-light .piyasa-title,
body.theme-light .promo-title,
body.theme-light .satilan-arsiv-title,
body.theme-light .search-stats-title,
body.theme-light .takas-title,
body.theme-light .unsold-section-title {
  color: #1e293b;
}

body.theme-light .search-stats-widget {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .filter-bar,
body.theme-light .hizli-filter-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.99) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.14);
  border-radius: 22px;
}

body.theme-light .search-stats-widget-inner {
  color: #334155;
}

body.theme-light .search-stats-empty,
body.theme-light .search-stats-item,
body.theme-light .search-stats-sep {
  color: #475569;
}

body.theme-light .search-stats-item em {
  color: #2563eb;
}

body.theme-light .search-stats-reset-btn {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

body.theme-light .search-stats-reset-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.7);
}

body.theme-light .search-stats-reset-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(0.9);
}

body.theme-light .promo-card-badge,
body.theme-light .promo-card-store {
  color: #475569;
}

body.theme-light .promo-card-details {
  color: #475569;
}

body.theme-light .devices-table {
  background: var(--theme-bg-card);
}

body.theme-light .devices-table td,
body.theme-light .devices-table th {
  border-color: var(--theme-border);
  color: var(--theme-color);
}

body.theme-light .genel-device-card {
  background: var(--theme-bg-card);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.theme-light .genel-card-model,
body.theme-light .genel-card-store {
  color: var(--theme-color);
}

body.theme-light .genel-card-details {
  color: var(--theme-color-muted);
}

body.theme-light .notification-panel,
body.theme-light .settings-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.theme-light .notification-panel-header,
body.theme-light .settings-panel-header {
  border-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .panel-header-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .uyarilarim-panel .panel-header-icon {
  filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(0.9);
}

body.theme-light .settings-panel-header .panel-header-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .notification-panel-close,
body.theme-light .settings-panel-close {
  color: #64748b;
}

body.theme-light .notification-panel-close:hover,
body.theme-light .settings-panel-close:hover {
  color: #1e293b;
}

body.theme-light .notification-clear-all-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

body.theme-light .notification-clear-all-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

body.theme-light .notification-clear-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(0.9);
}

body.theme-light .notification-item-delete {
  color: #64748b;
}

body.theme-light .notification-item-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

body.theme-light .notification-delete-icon {
  filter: brightness(0) invert(0.5);
}

body.theme-light .notification-item-delete:hover .notification-delete-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(0.9);
}

body.theme-light .notification-item-mark-read {
  color: #2563eb;
}

body.theme-light .notification-item-mark-read:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

body.theme-light .notification-mark-read-icon {
  filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(0.9);
}

body.theme-light .action-btn .action-btn-icon,
body.theme-light .admin-badge-icon,
body.theme-light .badge-icon,
body.theme-light .compare-btn-icon,
body.theme-light .compare-modal-close .panel-close-icon,
body.theme-light .excel-btn-icon,
body.theme-light .filter-clear-all-icon,
body.theme-light .lock-screen-icon,
body.theme-light .magaza-bulk-btn .bulk-btn-icon,
body.theme-light .magaza-sub-tab-icon,
body.theme-light .panel-close-icon,
body.theme-light .paywall-icon,
body.theme-light .placeholder-icon,
body.theme-light .promo-btn-icon,
body.theme-light .section-title-icon,
body.theme-light .settings-btn-icon {
  filter: brightness(0) saturate(100%) invert(0.35);
}

body.theme-light .bulk-fiyat-artir-btn .bulk-btn-icon,
body.theme-light .bulk-fiyat-dusur-btn .bulk-btn-icon,
body.theme-light .bulk-satildi-btn .bulk-btn-icon,
body.theme-light .bulk-secimi-temizle .bulk-btn-icon,
body.theme-light .bulk-sil-btn .bulk-btn-icon {
  filter: brightness(0) saturate(100%) invert(0.4);
}

body.theme-light .bulk-sil-btn .bulk-btn-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1200%) hue-rotate(330deg);
}

body.theme-light .bulk-satildi-btn .bulk-btn-icon {
  filter: brightness(0) saturate(100%) invert(45%) sepia(80%) saturate(600%) hue-rotate(100deg);
}

body.theme-light .settings-btn.danger .settings-btn-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1200%) hue-rotate(330deg);
}

body.theme-light .notification-item,
body.theme-light .settings-panel-body {
  color: #1e293b;
}

body.theme-light .notification-item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .notification-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .notification-item-msg {
  color: #1e293b;
}

body.theme-light .notification-item-time {
  color: #475569;
}

body.theme-light .notification-admin-form {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .notification-admin-form textarea {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .notification-admin-form textarea::placeholder {
  color: #94a3b8;
}

body.theme-light .notification-admin-form select {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .notification-admin-form select option {
  background: #fff;
  color: #1e293b;
}

body.theme-light .commercial-type-info .commercial-icon-wrap {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

body.theme-light .commercial-type-info .commercial-suggestion-title {
  color: #2563eb;
}

body.theme-light .commercial-type-profit .commercial-icon-wrap {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

body.theme-light .commercial-type-profit .commercial-suggestion-title {
  color: #16a34a;
}

body.theme-light .commercial-type-danger .commercial-icon-wrap {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

body.theme-light .commercial-type-danger .commercial-suggestion-title {
  color: #dc2626;
}

body.theme-light .commercial-type-warning .commercial-icon-wrap {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

body.theme-light .commercial-type-warning .commercial-suggestion-title {
  color: #d97706;
}

body.theme-light .commercial-type-fire .commercial-icon-wrap {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

body.theme-light .commercial-type-fire .commercial-suggestion-title {
  color: #ea580c;
}

body.theme-light .commercial-type-promo .commercial-icon-wrap {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

body.theme-light .commercial-type-promo .commercial-suggestion-title {
  color: #9333ea;
}

body.theme-light .commercial-suggestion-item .notification-item-msg {
  color: #1e293b;
}

body.theme-light .settings-panel .notification-settings-section,
body.theme-light .settings-panel .profit-margin-section,
body.theme-light .settings-panel .theme-section {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .notification-setting-row {
  color: #475569;
}

body.theme-light .settings-panel .settings-block-title,
body.theme-light .settings-panel .theme-section-title {
  color: #64748b;
}

body.theme-light .settings-panel .settings-block {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.theme-light .settings-panel .customer-mode-toggle-label,
body.theme-light .settings-panel .theme-toggle-label {
  color: #334155;
}

body.theme-light .settings-panel .profit-margin-wrap label {
  color: #475569;
}

body.theme-light .settings-panel .profit-margin-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

body.theme-light .settings-panel .settings-profile-form .profile-field-inline label {
  color: #475569;
}

body.theme-light .settings-panel .settings-profile-form .profile-field-inline input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

body.theme-light .settings-panel .settings-profile-form .profile-field-inline input:focus {
  border-color: rgba(37, 99, 235, 0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

body.theme-light .settings-panel .settings-admin-hint {
  color: #64748b;
}

body.theme-light .settings-panel .settings-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

body.theme-light .settings-panel .settings-btn.danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

body.theme-light .phone-input-wrap {
  background: 0 0;
  border: none;
  gap: 0.5rem;
  padding: 0;
}

body.theme-light .phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  color: #475569;
  font-weight: 500;
}

body.theme-light .phone-input-wrap input {
  flex: 1;
  min-width: 80px;
  padding: 0.4rem 0.6rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #1e293b;
}

body.theme-light .phone-input-wrap input::placeholder {
  color: #94a3b8;
}

body.theme-light .profile-modal-body .phone-input-wrap,
body.theme-light .settings-profile-form .phone-input-wrap {
  display: inline-flex;
  width: 100%;
}

body.theme-light .header-action-btn.ticari-btn {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #16a34a;
}

body.theme-light .header-action-btn.uyarilarim-btn {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
  color: var(--theme-color-muted);
}

body.theme-light #uyarilarim-btn .uyarilarim-icon-img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(0.9);
}

body.theme-light .header-action-btn.uyarilarim-btn:hover {
  background: var(--theme-border);
}

body.theme-light .notification-btn-text {
  color: var(--theme-color-muted);
}

body.theme-light .uyarilarim-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.theme-light .uyarilarim-hint {
  color: #475569;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .model-alert-item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .model-alert-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .model-alert-brand {
  color: #2563eb;
}

body.theme-light .model-alert-model-name {
  color: #1e293b;
}

body.theme-light .model-alert-separator {
  color: rgba(0, 0, 0, 0.3);
}

body.theme-light .model-alert-price-no-limit {
  color: #475569;
}

body.theme-light .model-alert-edit-wrap {
  border-top-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .model-alert-input,
body.theme-light .model-alert-select {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .model-alert-input:focus,
body.theme-light .model-alert-select:focus {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fff;
}

body.theme-light .model-alert-edit-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .model-alert-edit-input:focus {
  border-color: rgba(0, 0, 0, 0.3);
}

body.theme-light .model-alert-add-btn,
body.theme-light .model-alert-edit-save {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
}

body.theme-light .model-alert-add-btn:hover,
body.theme-light .model-alert-edit-save:hover {
  background: #3b82f6;
}

body.theme-light .uyarilarim-empty-msg {
  color: #475569;
}

body.theme-light .uyarilarim-surface {
  background: rgba(248, 250, 252, 0.94);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.theme-light .uyarilarim-panel .notification-panel-header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

body.theme-light .uyarilarim-list {
  scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}

body.theme-light .uyarilarim-list::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.08);
}

body.theme-light .uyarilarim-list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
}

body.theme-light .uyarilarim-list::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.58);
}

body.theme-light .uyarilarim-stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

body.theme-light .uyarilarim-stat-card::before {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.92) 0%, rgba(37, 99, 235, 0) 82%);
}

body.theme-light .uyarilarim-stat-card strong {
  color: #0f172a;
}

body.theme-light .uyarilarim-stat-card span {
  color: #475569;
}

body.theme-light .uyarilarim-section-title,
body.theme-light .triggered-alerts-title {
  color: #0f172a;
}

body.theme-light .uyarilarim-inline-action,
body.theme-light .triggered-alerts-read-all {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
}

body.theme-light .uyarilarim-inline-action:hover,
body.theme-light .triggered-alerts-read-all:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1e40af;
}

body.theme-light .uyarilarim-inline-action.active {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.14) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: rgba(37, 99, 235, 0.3);
  color: #1e40af;
}

body.theme-light .triggered-alerts-summary {
  color: #475569;
}

body.theme-light .triggered-alert-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.1);
}

body.theme-light .triggered-alert-item.triggered-alert-read {
  opacity: 0.88;
  border-left-color: rgba(148, 163, 184, 0.38);
}

body.theme-light .triggered-alert-item:hover {
  border-color: rgba(37, 99, 235, 0.24);
}

body.theme-light .triggered-alert-model {
  color: #0f172a;
}

body.theme-light .triggered-alert-fiyat {
  color: #2563eb;
}

body.theme-light .triggered-alert-tarih {
  color: #64748b;
}

body.theme-light .triggered-alert-type {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

body.theme-light .triggered-alert-prev-price {
  color: #64748b;
}

body.theme-light .triggered-alert-read-btn {
  border-color: rgba(148, 163, 184, 0.3);
  color: #475569;
}

body.theme-light .triggered-alert-read-btn:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #0f172a;
}

body.theme-light .triggered-alert-read-label {
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
}

body.theme-light .model-alert-price-inline {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.16);
}

body.theme-light .model-alert-price-inline .model-alert-price {
  color: #2563eb;
}

body.theme-light .model-alert-summary-pill {
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
}

body.theme-light .model-alert-summary-pill.is-hot {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

body.theme-light .model-alert-last-match {
  border-top-color: rgba(148, 163, 184, 0.18);
}

body.theme-light .model-alert-last-trigger {
  color: #2563eb;
}

body.theme-light .model-alert-last-model {
  color: #0f172a;
}

body.theme-light .model-alert-last-price {
  color: #475569;
}

body.theme-light .notification-toast {
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .notification-toast-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .notification-btn {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
  color: var(--theme-color-muted);
}

body.theme-light .notification-icon-img {
  filter: brightness(0) invert(0.4);
}

body.theme-light .notification-btn:hover {
  background: var(--theme-border);
}

body.theme-light .header-icon-img {
  filter: brightness(0) invert(0.4);
}

body.theme-light .header-quick-btn img.quick-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .header-quick-btn:hover img.quick-icon {
  filter: brightness(0) invert(0.2);
}

body.theme-light .header-quick-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #64748b;
}

body.theme-light .header-quick-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

body.theme-light .header-quick-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #d97706;
}

body.theme-light .header-quick-btn.active img.quick-icon {
  filter: brightness(0) invert(0.5) sepia(1) saturate(3) hue-rotate(15deg);
}

body.theme-light .header-settings-btn,
body.theme-light .settings-logout-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #64748b;
}

body.theme-light .settings-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

body.theme-light .logout-btn {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
  color: var(--theme-color);
}

body.theme-light .header-settings-btn:hover,
body.theme-light .logout-btn:hover {
  background: var(--theme-border);
}

body.theme-light .promo-card {
  background: var(--theme-bg-card);
  border-color: var(--theme-border);
}

body.theme-light .promo-card-model {
  color: var(--theme-color);
}

body.theme-light .promo-card-store {
  color: #475569;
  font-weight: 600;
}

body.theme-light .promo-card-fiyat {
  color: #2563eb;
}

body.theme-light .confirm-modal-card,
body.theme-light .delete-modal-card,
body.theme-light .profile-modal-card {
  background: var(--theme-bg-card);
  border-color: var(--theme-border);
}

body.theme-light .confirm-modal-title,
body.theme-light .delete-modal-title,
body.theme-light .profile-modal-title {
  color: var(--theme-color);
}

body.theme-light .confirm-modal-text,
body.theme-light .delete-modal-text {
  color: var(--theme-color-muted);
}

body.theme-light .profile-modal-body .profile-field label {
  color: #64748b;
}

body.theme-light .profile-modal-body .profile-field input,
body.theme-light .profile-modal-body .profile-field textarea {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .profile-modal-body .profile-field input::placeholder,
body.theme-light .profile-modal-body .profile-field textarea::placeholder {
  color: #94a3b8;
}

body.theme-light .profile-modal-body .profile-field input:disabled,
body.theme-light .profile-modal-body .profile-field textarea:disabled {
  background: #f8fafc;
  color: #475569;
  border-color: rgba(0, 0, 0, 0.16);
}

body.theme-light .profile-map-fallback,
body.theme-light .profile-map-loading {
  color: #64748b;
}

body.theme-light .settings-profile-map-hint {
  color: #64748b;
}

body.theme-light .profile-inline-map {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

body.theme-light .profile-modal-cancel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #475569;
}

body.theme-light .profile-modal-cancel:hover {
  background: #f1f5f9;
  color: #1e293b;
}

body.theme-light .profile-modal-save {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff;
}

body.theme-light .profile-modal-save:hover {
  background: #1d4ed8;
  border-color: #2563eb;
}

body.theme-light .magaza-bulk-bar {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

body.theme-light .magaza-bulk-count {
  color: #1e293b;
}

body.theme-light .magaza-bulk-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .magaza-bulk-btn:hover {
  background: #f8fafc;
  color: #1e293b;
}

body.theme-light .bulk-satildi-btn {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #15803d;
}

body.theme-light .bulk-satildi-btn:hover {
  background: rgba(34, 197, 94, 0.3);
}

body.theme-light .bulk-fiyat-artir-btn {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.5);
  color: #1d4ed8;
}

body.theme-light .bulk-fiyat-artir-btn:hover {
  background: rgba(59, 130, 246, 0.25);
}

body.theme-light .bulk-fiyat-dusur-btn {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.5);
  color: #c2410c;
}

body.theme-light .bulk-fiyat-dusur-btn:hover {
  background: rgba(249, 115, 22, 0.25);
}

body.theme-light .bulk-sil-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #b91c1c;
}

body.theme-light .bulk-sil-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

body.theme-light .bulk-secimi-temizle {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #475569;
}

body.theme-light .bulk-secimi-temizle:hover {
  background: #f1f5f9;
  color: #1e293b;
}

body.theme-light .magaza-bulk-check,
body.theme-light .magaza-row-check {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.25);
}

body.theme-light .magaza-bulk-check:hover,
body.theme-light .magaza-row-check:hover {
  border-color: rgba(37, 99, 235, 0.5);
  background-color: rgba(37, 99, 235, 0.08);
}

body.theme-light .magaza-bulk-check:checked,
body.theme-light .magaza-row-check:checked {
  background: #2563eb;
  border-color: #2563eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3Csvg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

body.theme-light .uyelik-row {
  background: var(--theme-bg-card);
  border-color: var(--theme-border);
}

body.theme-light .uyelik-store-name {
  color: var(--theme-color);
}

body.theme-light .uyelik-info {
  color: var(--theme-color-muted);
}

body.theme-light .lock-screen-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 244, 248, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

body.theme-light .lock-screen-title {
  color: var(--theme-color);
}

body.theme-light .lock-screen-desc {
  color: var(--theme-color-muted);
}

body.theme-light .customer-mode-bar {
  border-color: var(--theme-border);
}

body.theme-light.customer-mode .customer-mode-btn {
  background: rgba(234, 88, 12, 0.15);
  border-color: rgba(234, 88, 12, 0.5);
  color: #c2410c;
}

body.theme-light.customer-mode .customer-mode-btn:hover {
  background: rgba(234, 88, 12, 0.25);
  color: #9a3412;
}

body.theme-light .dukkan-panel,
body.theme-light .model-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.16);
}

body.theme-light .model-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.2);
}

body.theme-light .dukkan-opt {
  color: #334155;
}

body.theme-light .dukkan-opt:hover {
  background: rgba(37, 99, 235, 0.08);
}

body.theme-light .settings-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.theme-light .settings-panel-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

body.theme-light .settings-panel-header .panel-header-icon {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(200deg);
}

body.theme-light .settings-panel-close {
  color: #64748b;
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .settings-panel-close:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.08);
}

body.theme-light .model-search {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1e293b;
}

body.theme-light .model-search::placeholder {
  color: #64748b;
}

body.theme-light .model-opt {
  color: #475569;
}

body.theme-light .model-opt:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .dukkan-opt,
body.theme-light .model-opt {
  color: var(--theme-color);
}

body.theme-light .dukkan-opt:hover,
body.theme-light .model-opt:hover {
  background: var(--theme-input-bg);
}

body.theme-light .genel-favorilerim {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
}

body.theme-light .genel-favorilerim:checked {
  background-color: #2563eb;
  border-color: #2563eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

body.theme-light .genel-favorilerim-wrap {
  color: #475569;
}

body.theme-light .genel-favorilerim-wrap .favori-icon-filled {
  filter: brightness(0) saturate(100%) invert(38%) sepia(95%) saturate(900%) hue-rotate(210deg);
}

body.theme-light .genel-favori-btn .favori-btn-icon {
  filter: brightness(0) saturate(100%) invert(45%);
}

body.theme-light .genel-favori-btn.is-favori .favori-btn-icon {
  filter: brightness(0) saturate(100%) invert(38%) sepia(95%) saturate(900%) hue-rotate(210deg);
}

body.theme-light .genel-compare-bar {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.theme-light .genel-compare-count {
  color: #1e293b;
}

body.theme-light .genel-compare-btn {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #1d4ed8;
}

body.theme-light .genel-compare-btn:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.3);
}

body.theme-light .genel-compare-clear-btn {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .genel-compare-clear-btn:hover {
  background: #f8fafc;
  color: #1e293b;
}

body.theme-light .genel-compare-add-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #64748b;
}

body.theme-light .genel-compare-add-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

body.theme-light .genel-compare-add-btn.is-compare {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.45);
  color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

body.theme-light .genel-card-compare-check {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.25);
}

body.theme-light .genel-card-compare-check:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.5);
  background-color: rgba(37, 99, 235, 0.08);
}

body.theme-light .genel-card-compare-check:checked {
  background-color: #2563eb;
  border-color: #2563eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.28 2.28L3.99 8.57 1.69 6.28a1 1 0 00-1.41 1.41l3 3a1 1 0 001.42 0l7-7a1 1 0 10-1.42-1.41z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

body.theme-light .genel-copy-link {
  background: rgba(0, 0, 0, 0.08);
  color: #475569;
}

body.theme-light .genel-copy-link:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #1e293b;
}

body.theme-light .search-clear-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .search-clear-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .filter-clear-all-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #64748b;
}

body.theme-light .filter-clear-all-btn:hover {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

body.theme-light .filter-clear-all-icon {
  filter: brightness(0) saturate(100%) invert(0.35);
}

body.theme-light .filter-clear-all-btn:hover .filter-clear-all-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1200%) hue-rotate(330deg);
}

body.theme-light .call-btn {
  background: #2563eb;
  color: #fff;
}

body.theme-light .call-btn:hover {
  background: #1d4ed8;
}

body.theme-light .version-footer {
  color: #94a3b8;
}

body.theme-light .info-box {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #1e293b;
}

body.theme-light .genel-edit-battery,
body.theme-light .genel-edit-color,
body.theme-light .genel-edit-fiyat,
body.theme-light .genel-edit-model,
body.theme-light .magaza-edit-alis,
body.theme-light select.select-dark {
  background: var(--theme-input-bg);
  border-color: var(--theme-border);
  color: var(--theme-color);
}

body.theme-light .add-form-section {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .add-form-section-title {
  color: #64748b;
}

body.theme-light .add-form-label {
  color: #64748b;
}

body.theme-light .add-device-form .add-aciklama-input,
body.theme-light .add-device-form .add-select,
body.theme-light .add-device-form .select-dark,
body.theme-light .add-device-form input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .add-aciklama-input::placeholder,
body.theme-light .add-device-form input::placeholder {
  color: #64748b;
}

body.theme-light .add-device-form .cosmetic-input-wrap label,
body.theme-light .cosmetic-input-wrap label {
  color: #475569;
}

body.theme-light .cosmetic-val {
  color: #475569;
}

body.theme-light .magaza-device-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.theme-light .magaza-card-model {
  color: #1e293b;
}

body.theme-light .magaza-card-fiyat {
  color: #2563eb;
}

body.theme-light .magaza-card-details {
  color: #475569;
}

body.theme-light .magaza-card-edit {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .magaza-card-edit-row label {
  color: #475569;
}

body.theme-light .magaza-card-edit-row input,
body.theme-light .magaza-card-edit-row select,
body.theme-light .magaza-card-edit-row textarea {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .magaza-sub-tab {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .magaza-sub-tab:hover {
  background: #f8fafc;
  color: #1e293b;
}

body.theme-light .magaza-sub-tab.active {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb;
}

body.theme-light .satilan-card-metric {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .satilan-card-label {
  color: #64748b;
}

body.theme-light .satilan-card-value {
  color: #1e293b;
}

body.theme-light .status-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .status-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .status-btn.satildi-btn {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

body.theme-light .status-btn.satildi-btn:hover {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

body.theme-light .magaza-card-fiyatlar {
  color: #2563eb;
}

body.theme-light .magaza-card-actions .sattim-btn {
  background: #16a34a;
  color: #fff;
}

body.theme-light .magaza-card-actions .sattim-btn:hover {
  background: #15803d;
}

body.theme-light .promo-btn {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.4);
  color: #b45309;
}

body.theme-light .promo-btn.active,
body.theme-light .promo-btn:hover {
  background: rgba(217, 119, 6, 0.22);
  border-color: rgba(217, 119, 6, 0.5);
  color: #92400e;
}

body.theme-light .empty-msg {
  color: #475569;
}

body.theme-light .cart-save-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .cart-save-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .esnaf-uyelik-band.esnaf-uyelik-yellow .esnaf-uyelik-band-text,
body.theme-light .esnaf-uyelik-band.esnaf-uyelik-yellow .esnaf-uyelik-band-title {
  color: #713f12;
}

body.theme-light .esnaf-uyelik-band.esnaf-uyelik-green .esnaf-uyelik-band-text,
body.theme-light .esnaf-uyelik-band.esnaf-uyelik-green .esnaf-uyelik-band-title {
  color: #166534;
}

body.theme-light .esnaf-uyelik-band.esnaf-uyelik-red .esnaf-uyelik-band-text,
body.theme-light .esnaf-uyelik-band.esnaf-uyelik-red .esnaf-uyelik-band-title {
  color: #991b1b;
}

body.theme-light .cosmetic-slider-track {
  background-color: #fff;
  border: 1px solid #cbd5e1;
}

body.theme-light .cosmetic-slider-empty {
  background-color: #fff;
}

body.theme-light .cosmetic-slider-fill {
  background: var(--cosmetic-accent);
}

body.theme-light .cosmetic-slider-wrap .cosmetic-range {
  background: 0 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.theme-light .cosmetic-slider-wrap .cosmetic-range::-moz-range-thumb,
body.theme-light .cosmetic-slider-wrap .cosmetic-range::-webkit-slider-thumb {
  background: #fff;
  border-color: var(--cosmetic-accent);
}

body.theme-light .durum-sifir {
  color: #166534;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.35);
}

body.theme-light .durum-ikinci-el {
  color: #92400e;
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.4);
}

body.theme-light .satilan-arsiv-title {
  color: #1e293b;
}

body.theme-light .satilan-analiz-panel {
  border-top-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .satilan-analiz-section {
  color: #475569;
}

body.theme-light .satilan-analiz-section strong {
  color: #1e293b;
}

body.theme-light .satilan-analiz-list li {
  color: #475569;
}

body.theme-light .satilan-analiz-empty {
  color: #64748b;
}

body.theme-light .restore-btn {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #15803d;
}

body.theme-light .restore-btn:hover {
  background: rgba(34, 197, 94, 0.25);
  color: #166534;
}

body.theme-light .takas-panel {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

body.theme-light .takas-title {
  color: #1e293b;
}

body.theme-light .takas-form label {
  color: #475569;
}

body.theme-light .takas-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .takas-result {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .takas-fark-label,
body.theme-light .takas-placeholder {
  color: #64748b;
}

body.theme-light .takas-fark-value {
  color: #2563eb;
}

body.theme-light .piyasa-panel {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

body.theme-light .piyasa-title {
  color: #1e293b;
}

body.theme-light .piyasa-desc {
  color: #475569;
}

body.theme-light .piyasa-form label {
  color: #475569;
}

body.theme-light .piyasa-model-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .piyasa-model-input:focus {
  border-color: rgba(37, 99, 235, 0.5);
}

body.theme-light .piyasa-model-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light .piyasa-model-opt {
  color: #475569;
}

body.theme-light .piyasa-model-opt:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .piyasa-model-panel-empty {
  color: #64748b;
}

body.theme-light .piyasa-empty,
body.theme-light .piyasa-loading,
body.theme-light .piyasa-placeholder {
  color: #64748b;
}

body.theme-light .piyasa-stat-card {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .piyasa-stat-title {
  color: #1e293b;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .piyasa-stat-row {
  color: #475569;
}

body.theme-light .piyasa-stat-row strong {
  color: #2563eb;
}

body.theme-light .piyasa-stat-row.piyasa-aralik strong {
  color: #64748b;
}

body.theme-light .piyasa-oneri-block {
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .piyasa-oneri-avantaj {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

body.theme-light .piyasa-oneri-risk {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}

body.theme-light .piyasa-oneri-dengeli {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.35);
}

body.theme-light .piyasa-oneri-title {
  color: #1e293b;
}

body.theme-light .piyasa-oneri-msg {
  color: #475569;
}

body.theme-light .piyasa-oneri-avantaj .piyasa-oneri-title {
  color: #15803d;
}

body.theme-light .piyasa-oneri-risk .piyasa-oneri-title {
  color: #b91c1c;
}

body.theme-light .piyasa-oneri-dengeli .piyasa-oneri-title {
  color: #a16207;
}

body.theme-light .piyasa-kendi-fiyat {
  border-top-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .piyasa-kendi-avantaj {
  color: #15803d;
}

body.theme-light .piyasa-kendi-risk {
  color: #b91c1c;
}

body.theme-light .piyasa-kendi-dengeli {
  color: #a16207;
}

body.theme-light .add-form-piyasa-oneri {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
}

body.theme-light .add-form-piyasa-text {
  color: #475569;
}

body.theme-light .add-form-piyasa-text strong {
  color: #15803d;
}

body.theme-light .add-form-oneri-btn {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #15803d;
}

body.theme-light .add-form-oneri-btn:hover {
  background: rgba(34, 197, 94, 0.25);
}

body.theme-light .biz-summary-card {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .biz-summary-card.biz-summary-potansiyel {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

body.theme-light .biz-summary-value {
  color: #2563eb;
}

body.theme-light .biz-summary-potansiyel .biz-summary-value {
  color: #15803d;
}

body.theme-light .biz-summary-label {
  color: #475569;
}

body.theme-light .unsold-section-title {
  color: #1e293b;
}

body.theme-light .unsold-list {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .unsold-item {
  color: #475569;
}

body.theme-light .unsold-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .unsold-model {
  color: #1e293b;
}

body.theme-light .unsold-fiyat {
  color: #2563eb;
}

body.theme-light .unsold-gun {
  color: #64748b;
}

body.theme-light .unsold-empty {
  color: #64748b;
}

body.theme-light .unsold-item-actions {
  border-top-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .unsold-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #475569;
}

body.theme-light .unsold-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.theme-light .unsold-reklama-al:hover {
  border-color: #ca8a04;
  color: #a16207;
}

body.theme-light .unsold-fiyat-dusur:hover {
  border-color: #2563eb;
  color: #2563eb;
}

body.theme-light .unsold-satildi-yap:hover {
  border-color: #16a34a;
  color: #16a34a;
}

body.theme-light .stat-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.theme-light .stat-card-value {
  color: #1e293b;
}

body.theme-light .stat-card-label {
  color: #475569;
}

body.theme-light .esnaf-create-panel,
body.theme-light .excel-import-panel,
body.theme-light .model-yonetimi-panel,
body.theme-light .uyelik-panel {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .esnaf-create-title,
body.theme-light .excel-import-title,
body.theme-light .model-yonetimi-title,
body.theme-light .uyelik-panel-title {
  color: #1e293b;
}

body.theme-light .excel-import-hint {
  color: #475569;
}

body.theme-light .esnaf-create-input,
body.theme-light .model-yonetimi-input,
body.theme-light .model-yonetimi-select {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .esnaf-create-btn,
body.theme-light .model-yonetimi-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

body.theme-light .esnaf-create-btn:hover:not(:disabled),
body.theme-light .model-yonetimi-btn:hover:not(:disabled) {
  background: #1d4ed8;
}

body.theme-light .esnaf-create-result,
body.theme-light .excel-import-result,
body.theme-light .model-yonetimi-result {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .esnaf-create-ok,
body.theme-light .excel-import-result.ok,
body.theme-light .model-yonetimi-ok {
  color: #15803d;
}

body.theme-light .esnaf-create-err,
body.theme-light .excel-import-result.err,
body.theme-light .model-yonetimi-err {
  color: #b91c1c;
}

body.theme-light .esnaf-create-hint {
  color: #64748b;
}

body.theme-light .esnaf-create-result code {
  background: rgba(0, 0, 0, 0.08);
}

body.theme-light .excel-import-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

body.theme-light .excel-import-btn:hover {
  background: #1d4ed8;
}

body.theme-light .excel-import-result a {
  color: #2563eb;
}

body.theme-light .uyelik-add-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #475569;
}

body.theme-light .uyelik-add-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .uyelik-add-input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .uyelik-add-input::placeholder {
  color: #94a3b8;
}

body.theme-light .uyelik-subtract-btn {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #b45309;
}

body.theme-light .uyelik-subtract-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #92400e;
}

body.theme-light .uyelik-delete-btn,
body.theme-light .uyelik-end-btn {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

body.theme-light .uyelik-delete-btn:hover,
body.theme-light .uyelik-end-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #991b1b;
}

body.theme-light .uyelik-password-input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .uyelik-password-input::placeholder {
  color: #94a3b8;
}

body.theme-light .uyelik-pass-btn {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
  color: #1d4ed8;
}

body.theme-light .uyelik-pass-btn:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #1e40af;
}

body.theme-light .uyelik-ip-reset-btn {
  background: rgba(234, 88, 12, 0.12);
  border-color: rgba(234, 88, 12, 0.4);
  color: #c2410c;
}

body.theme-light .uyelik-ip-reset-btn:hover {
  background: rgba(234, 88, 12, 0.2);
  color: #9a3412;
}

body.theme-light .uyelik-bulk-ip-reset-btn {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

body.theme-light .uyelik-bulk-ip-reset-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
}

body.theme-light .admin-badge {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

body.theme-light .admin-store-label {
  color: #475569;
}

body.theme-light .admin-store-input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .admin-store-input::placeholder {
  color: #94a3b8;
}

body.theme-light .admin-store-info-band {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .admin-store-info-band-name {
  color: #1e293b;
}

body.theme-light .admin-store-info-band-item {
  color: #475569;
}

body.theme-light .admin-store-info-band-item span {
  color: #1e293b;
}

body.theme-light .admin-announcement-banner {
  background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.1),
      rgba(59, 130, 246, 0.08));
  border-color: rgba(59, 130, 246, 0.25);
}

body.theme-light .admin-announcement-text {
  color: #1e293b;
}

body.theme-light .admin-announcement-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(0.8);
}

body.theme-light .admin-announcement-close {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .admin-announcement-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.admin-announcement-view-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.admin-announcement-view-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-announcement-banner-editable {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.admin-announcement-editor {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.admin-announcement-input-inline {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e8eef4;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
}

.admin-announcement-input-inline::placeholder {
  color: rgba(232, 238, 244, 0.5);
}

.admin-announcement-input-inline:focus {
  outline: 0;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.admin-announcement-editor-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-announcement-editor-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.admin-announcement-editor-btn.save {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.admin-announcement-editor-btn.save:hover {
  background: rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.5);
}

.admin-announcement-editor-btn.delete {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-announcement-editor-btn.delete:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

.admin-announcement-editor-btn.edit {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.admin-announcement-editor-btn.edit:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
}

.admin-announcement-editor-btn.cancel {
  background: rgba(156, 163, 175, 0.2);
  color: #d1d5db;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.admin-announcement-editor-btn.cancel:hover {
  background: rgba(156, 163, 175, 0.3);
  border-color: rgba(156, 163, 175, 0.5);
}

.admin-announcement-editor-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-announcement-editor-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

body.theme-light .admin-announcement-input-inline {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: #1e293b;
}

body.theme-light .admin-announcement-input-inline::placeholder {
  color: rgba(30, 41, 59, 0.5);
}

body.theme-light .admin-announcement-input-inline:focus {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(0, 0, 0, 0.08);
}

body.theme-light .admin-announcement-editor-btn.save {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.25);
}

body.theme-light .admin-announcement-editor-btn.save:hover {
  background: rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 197, 94, 0.4);
}

body.theme-light .admin-announcement-editor-btn.delete {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}

body.theme-light .admin-announcement-editor-btn.delete:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
}

body.theme-light .admin-announcement-editor-btn.edit {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.2);
}

body.theme-light .admin-announcement-editor-btn.edit:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.35);
}

body.theme-light .admin-announcement-editor-btn.cancel {
  background: rgba(156, 163, 175, 0.12);
  color: #6b7280;
  border-color: rgba(156, 163, 175, 0.2);
}

body.theme-light .admin-announcement-editor-btn.cancel:hover {
  background: rgba(156, 163, 175, 0.2);
  border-color: rgba(156, 163, 175, 0.35);
}

@media (max-width: 1024px) {
  .admin-announcement-view-mode {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .admin-announcement-view-actions {
    width: 100%;
    justify-content: stretch;
  }

  .admin-announcement-banner-editable {
    padding: 0.75rem 1rem;
  }

  .admin-announcement-input-inline {
    font-size: 0.85rem;
    padding: 0.65rem;
  }

  .admin-announcement-editor-actions {
    flex-direction: column;
  }

  .admin-announcement-editor-btn {
    width: 100%;
    justify-content: center;
  }
}

body.theme-light .admin-announcement-close-icon {
  filter: brightness(0) invert(0.4);
}

body.theme-light .admin-announcement-section-title {
  color: #1e293b;
}

body.theme-light .admin-announcement-hint {
  color: #64748b;
}

body.theme-light .admin-announcement-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .admin-announcement-input::placeholder {
  color: #94a3b8;
}

body.theme-light .settings-admin-divider {
  background: rgba(0, 0, 0, 0.1);
}

body.theme-light .admin-store-opt {
  color: #475569;
}

body.theme-light .admin-store-opt:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .action-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.15);
  color: #475569;
}

body.theme-light .action-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
  border-color: rgba(0, 0, 0, 0.2);
}

body.theme-light .action-btn.action-delete:hover,
body.theme-light .action-btn.delete-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

body.theme-light .action-btn.action-edit:hover,
body.theme-light .action-btn.edit-btn:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.4);
  color: #a16207;
}

body.theme-light .action-btn.copy-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.35);
  color: #1d4ed8;
}

body.theme-light .action-btn.customer-share-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #15803d;
}

body.theme-light .action-btn.genel-save-edit-btn,
body.theme-light .action-btn.save-edit-btn {
  color: #15803d;
}

body.theme-light .action-btn.genel-save-edit-btn:hover,
body.theme-light .action-btn.save-edit-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
}

body.theme-light .action-btn.cancel-edit-btn,
body.theme-light .action-btn.genel-cancel-edit-btn {
  color: #b91c1c;
}

body.theme-light .action-btn.cancel-edit-btn:hover,
body.theme-light .action-btn.genel-cancel-edit-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

body.theme-light .customer-share-standalone-btn span {
  color: inherit;
}

body.theme-light .add-device-form button {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

body.theme-light .add-device-form button:hover {
  background: #1d4ed8;
}



body.theme-light .confirm-modal-cancel,
body.theme-light .delete-modal-cancel {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #475569;
}

body.theme-light .confirm-modal-cancel:hover,
body.theme-light .delete-modal-cancel:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .delete-modal-confirm {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

body.theme-light .delete-modal-confirm:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #991b1b;
}

body.theme-light .confirm-modal-confirm {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

body.theme-light .confirm-modal-confirm:hover {
  background: #1d4ed8;
}

body.theme-light .sync-toast {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(37, 99, 235, 0.4);
  color: #e2e8f0;
}

body.theme-light .bulk-price-modal-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

body.theme-light .bulk-price-modal-title {
  color: #1e293b;
}

body.theme-light .bulk-price-modal-label {
  color: #475569;
}

body.theme-light .bulk-price-modal-input {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.theme-light .bulk-price-modal-input::placeholder {
  color: #94a3b8;
}

body.theme-light .bulk-price-modal-cancel {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #475569;
}

body.theme-light .bulk-price-modal-cancel:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.theme-light .bulk-price-modal-ok {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

body.theme-light .bulk-price-modal-ok:hover {
  background: #1d4ed8;
}

.pull-to-refresh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(70px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--theme-bg);
  color: var(--theme-color-muted);
  font-size: 0.85rem;
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.pull-to-refresh.visible {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pull-to-refresh-text {
  font-weight: 500;
}

.pull-to-refresh-spinner-wrap {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.pull-to-refresh-spinner {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pull-to-refresh-track {
  stroke: rgba(255, 255, 255, 0.15);
}

body.theme-light .pull-to-refresh-track {
  stroke: rgba(0, 0, 0, 0.1);
}

.pull-to-refresh-progress {
  stroke: #5da8e8;
  transition: stroke-dashoffset 0.1s ease-out;
}

body.theme-light .pull-to-refresh-progress {
  stroke: #2563eb;
}

.hizli-sorgu-panel {
  padding: 1rem 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

body.customer-mode #genel-content .hizli-sorgu-panel {
  max-width: none !important;
  width: 100% !important;
  min-width: 0;
  padding: 1rem 0 2rem;
  margin: 0;
  box-sizing: border-box;
}

body.customer-mode #genel-content .hizli-sorgu-panel>* {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

body.customer-mode #genel-content .hizli-product-list,
body.customer-mode #genel-content .hizli-section,
body.customer-mode #genel-content .hizli-sorgu-results {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.customer-mode .hizli-product-list {
  gap: 0.5rem;
}

body.customer-mode .hizli-product-row {
  width: 100%;
  max-width: none;
  padding: 0.6rem;
  border-radius: 12px;
  box-sizing: border-box;
  gap: 0.5rem;
}

body.customer-mode .hizli-row-thumb,
body.customer-mode .hizli-row-thumb-empty {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
}

body.customer-mode .hizli-row-body {
  gap: 0.2rem;
}

body.customer-mode .hizli-row-main {
  gap: 0.3rem;
}

body.customer-mode .hizli-row-model {
  font-size: 0.82rem;
  font-weight: 700;
  flex: 1 1 120px;
}

body.customer-mode .hizli-row-fiyat {
  font-size: 0.82rem;
  font-weight: 800;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

body.light-theme.customer-mode .hizli-row-fiyat {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.08);
}

body.customer-mode .hizli-row-details {
  font-size: 0.65rem;
  color: #94a3b8;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

body.customer-mode .hizli-row-store {
  max-width: 120px;
  font-size: 0.68rem;
  opacity: 0.7;
}

.hizli-sorgu-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hizli-sorgu-desc {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  margin-bottom: 1rem;
}

body.theme-light .hizli-empty,
body.theme-light .hizli-empty-hint,
body.theme-light .hizli-piyasa-empty,
body.theme-light .hizli-piyasa-hint,
body.theme-light .hizli-piyasa-list-header,
body.theme-light .hizli-row-details,
body.theme-light .hizli-row-store,
body.theme-light .hizli-section-title,
body.theme-light .hizli-sorgu-desc,
body.theme-light .takas-placeholder {
  color: #475569;
}

body.theme-light .hizli-section-title,
body.theme-light .hizli-sorgu-title {
  color: #1e293b;
}

body.theme-light .hizli-piyasa-model,
body.theme-light .hizli-row-model {
  color: #1e293b;
}

body.theme-light .hizli-takas-wrap label {
  color: #475569;
}

.hizli-sorgu-search-wrap {
  margin-bottom: 0.6rem;
}

.hizli-filtre-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hizli-fiyat-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hizli-fiyat-input {
  width: 90px;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
  color: var(--theme-color);
  font-size: 0.85rem;
}

.hizli-fiyat-sep {
  color: var(--theme-color-muted);
  font-size: 0.85rem;
}

.hizli-filtre-select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
  color: var(--theme-color);
  font-size: 0.85rem;
}

.hizli-filtre-temizle-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: 0 0;
  color: var(--theme-color-muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.hizli-filtre-temizle-btn:hover {
  background: var(--theme-border);
}

.hizli-sorgu-search {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  background: var(--theme-input-bg);
  color: var(--theme-color);
}

.hizli-sorgu-search::placeholder {
  color: var(--theme-color-muted);
}

.hizli-sorgu-search:focus {
  outline: 0;
  border-color: #5da8e8;
}

.hizli-section {
  margin-bottom: 1.5rem;
}

.hizli-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hizli-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hizli-product-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--theme-input-bg);
  border-radius: 10px;
  border: 1px solid var(--theme-border);
}

.hizli-row-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--theme-border);
  user-select: none;
}

.hizli-row-thumb-empty {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-border);
  color: var(--theme-color-muted);
}

.hizli-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hizli-compare-btn {
  padding: 0.2rem 0.35rem;
  min-width: unset;
}

.hizli-row-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hizli-row-model {
  font-weight: 600;
  min-width: 0;
  flex: 1 1 140px;
  font-size: 0.95rem;
}

.hizli-row-store {
  font-size: 0.8rem;
  color: var(--theme-color-muted);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hizli-row-fiyat {
  font-weight: 600;
  color: #5da8e8;
  font-size: 0.95rem;
}

.hizli-row-details {
  font-size: 0.82rem;
  color: var(--theme-color-muted);
  line-height: 1.4;
}

.hizli-row-details .durum-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
}

.hizli-row-aciklama {
  font-size: 0.8rem;
  color: var(--theme-color-muted);
  font-style: italic;
  line-height: 1.4;
  border-left: 2px solid var(--theme-border);
  padding-left: 0.5rem;
}

.hizli-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.hizli-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.hizli-action-btn.call-btn {
  background: #22c55e;
  color: #fff;
}

.hizli-action-btn.call-btn:hover {
  background: #16a34a;
}

.hizli-action-btn.wp-action-btn {
  background: #25d366;
  color: #fff;
}

.hizli-action-btn.wp-action-btn:hover {
  background: #1da851;
}

.hizli-action-icon {
  width: 14px;
  height: 14px;
}

.hizli-info-btn {
  background: 0 0;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
  color: var(--theme-color-muted);
  border-radius: 4px;
}

.hizli-info-btn:hover {
  color: #5da8e8;
  background: rgba(93, 168, 232, 0.1);
}

.hizli-takas-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.hizli-takas-btn:hover {
  background: #1d4ed8;
}

.hizli-takas-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 600px) {
  .hizli-row-actions {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.35rem;
    margin-top: 0.15rem;
  }

  .hizli-action-btn {
    padding: 0.4rem;
    font-size: 0;
    gap: 0;
    border-radius: 6px;
    flex: 0 0 auto;
    justify-content: center;
  }

  .hizli-action-btn span {
    display: none;
  }

  .hizli-takas-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
    gap: 0.25rem;
    border-radius: 6px;
    flex: 1;
    justify-content: center;
  }

  .hizli-action-icon {
    width: 16px;
    height: 16px;
  }

  .hizli-takas-icon {
    width: 12px;
    height: 12px;
  }

  .hizli-row-main {
    gap: 0.3rem;
  }

  .hizli-row-model {
    font-size: 0.87rem;
    flex: 1 1 100px;
  }

  .hizli-row-fiyat {
    font-size: 0.87rem;
  }

  .hizli-row-store {
    font-size: 0.72rem;
    max-width: 90px;
  }

  .hizli-row-details {
    font-size: 0.75rem;
  }

  body.customer-mode .hizli-row-model {
    font-size: 0.8rem;
    flex: 1 1 100px;
  }

  body.customer-mode .hizli-row-fiyat {
    font-size: 0.8rem;
  }

  body.customer-mode .hizli-row-store {
    font-size: 0.65rem;
    max-width: 100px;
  }

  body.customer-mode .hizli-row-details {
    font-size: 0.62rem;
    -webkit-line-clamp: 2;
  }

  body.customer-mode .hizli-row-thumb,
  body.customer-mode .hizli-row-thumb-empty {
    width: 56px;
    height: 56px;
  }
}

.hizli-empty,
.hizli-empty-hint {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  padding: 0.75rem;
}

.hizli-piyasa-content {
  padding: 1rem;
  background: var(--theme-input-bg);
  border-radius: 10px;
  border: 1px solid var(--theme-border);
}

.hizli-piyasa-model {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.hizli-piyasa-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hizli-piyasa-card {
  flex: 1;
  min-width: 140px;
}

.hizli-piyasa-content .piyasa-stat-card {
  padding: 0.9rem 1rem;
  margin: 0;
}

.hizli-piyasa-content .piyasa-stat-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hizli-piyasa-content .piyasa-stat-row {
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

.hizli-piyasa-empty {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  margin: 0.5rem 0 0;
  padding: 0.5rem 0;
}

.hizli-piyasa-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theme-color-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--theme-border);
}

.hizli-piyasa-hint {
  font-size: 0.85rem;
  color: var(--theme-color-muted);
  margin: 0 0 0.75rem;
  padding: 0.5rem 0;
}

.hizli-piyasa-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hizli-piyasa-card {
  background: var(--theme-input-bg);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hizli-piyasa-card-model {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--theme-color);
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 0.5rem;
}

.hizli-piyasa-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hizli-piyasa-type-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hizli-piyasa-type-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hizli-piyasa-durum {
  font-size: 0.8rem;
  color: var(--theme-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hizli-piyasa-count {
  font-size: 0.75rem;
  color: var(--theme-color-muted);
}

.hizli-piyasa-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  border-radius: 8px;
}

body.theme-light .hizli-piyasa-price-grid {
  background: rgba(0, 0, 0, 0.02);
}

.hp-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.hp-label {
  font-size: 0.65rem;
  color: var(--theme-color-muted);
  text-transform: uppercase;
}

.hp-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--theme-color);
}

.hp-avg .hp-val {
  color: #60a5fa;
  font-size: 0.95rem;
  font-weight: 700;
}

body.theme-light .hp-avg .hp-val {
  color: #2563eb;
}

.hizli-takas-wrap {
  margin-top: 2rem;
  padding: 1.25rem 0 1rem;
  border-top: 1px solid var(--theme-border);
}

.hizli-takas-wrap .hizli-section-title {
  margin-bottom: 0.75rem;
}

.hizli-takas-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hizli-takas-form label {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
}

.hizli-takas-input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-color);
}

.hizli-takas-input:focus {
  outline: 0;
  border-color: #5da8e8;
}

.hizli-takas-result {
  padding: 1rem 1.25rem;
  background: rgba(93, 168, 232, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(93, 168, 232, 0.2);
}

.hizli-takas-result .takas-placeholder {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  margin: 0;
}

.hizli-takas-result .takas-fark-label {
  font-size: 0.9rem;
  color: var(--theme-color-muted);
  margin: 0 0 0.25rem;
}

.hizli-takas-result .takas-fark-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5da8e8;
  margin: 0;
}

.triggered-alerts-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #e5edf7;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.triggered-alerts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.triggered-alerts-surface {
  padding: 0.85rem;
}

.triggered-alerts-read-all {
  border: 1px solid rgba(125, 193, 255, 0.18);
  background: rgba(125, 193, 255, 0.08);
  color: #dbeafe;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.triggered-alerts-summary {
  margin: 0.1rem 0 0.55rem;
  font-size: 0.8rem;
  color: #c7d3e3;
}

.triggered-alerts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.1rem;
}

#uyarilarim-tracking-view .uyarilarim-list {
  max-height: min(44vh, 430px);
}

.triggered-alert-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid #f4a62a;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.triggered-alert-item.triggered-alert-read {
  opacity: 0.62;
  border-left-color: var(--theme-border, rgba(255, 255, 255, 0.15));
}

.triggered-alert-item:hover {
  border-color: rgba(125, 193, 255, 0.18);
  transform: translateY(-1px);
}

.triggered-alert-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.triggered-alert-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.triggered-alert-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.triggered-alert-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.triggered-alert-model {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f2f7fb;
}

.triggered-alert-fiyat {
  font-size: 0.9rem;
  color: #7dc1ff;
  font-weight: 600;
}

.triggered-alert-tarih {
  font-size: 0.78rem;
  color: #9eb1c8;
  white-space: nowrap;
}

.triggered-alert-type {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  background: rgba(244, 166, 42, 0.12);
  color: #ffd289;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.triggered-alert-prev-price {
  color: #8aa0ba;
  font-size: 0.78rem;
}

.triggered-alert-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  align-self: center;
}

.triggered-alert-goto-btn {
  font-size: 0.75rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--theme-accent, #5da8e8);
  background: 0 0;
  color: var(--theme-accent, #5da8e8);
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s;
}

.triggered-alert-goto-btn:hover {
  background: var(--theme-accent, #5da8e8);
  color: #fff;
}

.triggered-alert-read-btn {
  font-size: 0.75rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15));
  background: 0 0;
  color: var(--theme-color-muted);
  cursor: pointer;
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
}

.triggered-alert-read-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--theme-color-text, #fff);
}

.triggered-alert-read-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--theme-color-muted);
  background: rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .triggered-alert-main {
    flex-wrap: wrap;
  }

  .triggered-alert-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.highlight-row {
  animation: highlightFade 2.5s ease;
}

@keyframes highlightFade {
  0% {
    background: rgba(93, 168, 232, 0.25);
  }

  100% {
    background: 0 0;
  }
}

.uyarilarim-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
}

.uyarilarim-btn {
  position: relative;
}

.model-count-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(93, 168, 232, 0.15);
  color: var(--theme-accent, #5da8e8);
  border: 1px solid rgba(93, 168, 232, 0.3);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  vertical-align: middle;
  white-space: nowrap;
}

.genel-model-count-info {
  color: var(--theme-accent, #5da8e8);
  font-size: 0.85em;
}

.genel-model-count-info strong {
  font-weight: 700;
}

.fiyat-uyari {
  font-size: 0.8rem;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.1);
  border: 1px solid rgba(230, 126, 34, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  margin-top: 0.25rem;
}

.suresi-dolan-section {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: rgba(231, 76, 60, 0.07);
  border: 1px solid rgba(231, 76, 60, 0.25);
  border-radius: 10px;
}

.suresi-dolan-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e74c3c;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.suresi-dolan-hint {
  font-size: 0.78rem;
  color: var(--theme-color-muted);
  margin: 0 0 0.6rem;
}

.suresi-dolan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.suresi-dolan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--theme-bg-secondary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1));
  border-radius: 7px;
  padding: 0.45rem 0.7rem;
  flex-wrap: wrap;
}

.suresi-dolan-info {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 1;
}

.suresi-dolan-model {
  font-weight: 600;
  font-size: 0.87rem;
}

.suresi-dolan-fiyat {
  font-size: 0.82rem;
  color: var(--theme-accent, #5da8e8);
}

.suresi-dolan-tarih {
  font-size: 0.75rem;
  color: #e74c3c;
}

.suresi-dolan-actions {
  display: flex;
  gap: 0.35rem;
}

.suresi-dolan-yenile-btn {
  font-size: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--theme-accent, #5da8e8);
  background: 0 0;
  color: var(--theme-accent, #5da8e8);
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s;
}

.suresi-dolan-yenile-btn:hover {
  background: var(--theme-accent, #5da8e8);
  color: #fff;
}

.suresi-dolan-sil-btn {
  font-size: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(231, 76, 60, 0.4);
  background: 0 0;
  color: #e74c3c;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s;
}

.suresi-dolan-sil-btn:hover {
  background: #e74c3c;
  color: #fff;
}

/* ── Süresi Dolan Kart Aksiyon Grid ─────────────────────────────── */
.suresi-dolan-card-actions {
  grid-area: actions !important;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr;
  gap: 4px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.suresi-dolan-card-actions .action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  text-align: center;
}

.suresi-dolan-card-actions .action-btn:active {
  transform: scale(0.97);
}

.suresi-dolan-card-actions .suresi-dolan-yenile-btn {
  border: 1px solid rgba(93, 168, 232, 0.35);
  background: rgba(93, 168, 232, 0.08);
  color: var(--theme-accent, #5da8e8);
}

.suresi-dolan-card-actions .suresi-dolan-yenile-btn:hover {
  background: var(--theme-accent, #5da8e8);
  color: #fff;
}

.suresi-dolan-card-actions .suresi-dolan-fiyat-dusur-btn {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}

.suresi-dolan-card-actions .suresi-dolan-fiyat-dusur-btn:hover {
  background: #f59e0b;
  color: #fff;
}

.suresi-dolan-card-actions .suresi-dolan-sil-btn {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
  color: var(--danger, #ef4444);
}

.suresi-dolan-card-actions .suresi-dolan-sil-btn:hover {
  background: #e74c3c;
  color: #fff;
}

.suresi-dolan-card-actions .action-btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.suresi-dolan-card-actions .suresi-dolan-sil-btn .action-btn-icon {
  filter: invert(20%) sepia(80%) saturate(3000%) hue-rotate(350deg);
}

.suresi-dolan-card-actions .suresi-dolan-sil-btn:hover .action-btn-icon {
  filter: brightness(0) invert(1);
}

.suresi-dolan-card-actions .suresi-dolan-fiyat-dusur-btn .action-btn-icon {
  filter: invert(70%) sepia(85%) saturate(1000%) hue-rotate(360deg) brightness(100%);
}

.suresi-dolan-card-actions .suresi-dolan-fiyat-dusur-btn:hover .action-btn-icon {
  filter: brightness(0) invert(1);
}

/* ── Fiyat Düşür Modalı ─────────────────────────────────────────── */
.fiyat-dusur-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fdFadeIn 0.2s ease;
}

@keyframes fdFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fiyat-dusur-modal-card {
  background: var(--theme-bg-card, #1e2433);
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  padding: 0;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: fdSlideUp 0.25s ease;
  overflow: hidden;
}

@keyframes fdSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fiyat-dusur-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--theme-border, rgba(255, 255, 255, 0.08));
}

.fiyat-dusur-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-color, #fff);
}

.fiyat-dusur-close {
  background: none;
  border: none;
  color: var(--theme-color-muted, #888);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s;
}

.fiyat-dusur-close:hover {
  color: #e74c3c;
}

.fiyat-dusur-modal-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fiyat-dusur-model {
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-accent, #5da8e8);
  margin: 0;
}

.fiyat-dusur-mevcut {
  font-size: 0.88rem;
  color: var(--theme-color-muted, #aaa);
  margin: 0;
}

.fiyat-dusur-mevcut strong {
  color: var(--theme-color, #fff);
}

.fiyat-dusur-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--theme-color, #fff);
  margin-top: 0.25rem;
}

.fiyat-dusur-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--theme-input-bg, rgba(255, 255, 255, 0.06));
  border: 2px solid var(--theme-border, rgba(255, 255, 255, 0.15));
  border-radius: 10px;
  color: var(--theme-color, #fff);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.fiyat-dusur-input:focus {
  border-color: var(--theme-accent, #5da8e8);
}

.fiyat-dusur-hint {
  font-size: 0.78rem;
  color: var(--theme-color-muted, #888);
  margin: 0;
  line-height: 1.4;
}

.fiyat-dusur-modal-actions {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem 1.1rem;
  justify-content: flex-end;
}

.fiyat-dusur-cancel-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15));
  background: none;
  color: var(--theme-color-muted, #aaa);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.fiyat-dusur-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--theme-color, #fff);
}

.fiyat-dusur-confirm-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #5da8e8, #4a90d9);
  color: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(93, 168, 232, 0.3);
}

.fiyat-dusur-confirm-btn:hover {
  background: linear-gradient(135deg, #4a90d9, #3b7fd1);
}

.fiyat-dusur-confirm-btn:active {
  transform: scale(0.97);
}

/* ── Responsive: Süresi Dolan Kart Butonları ────────────────────── */
@media (max-width: 480px) {
  .suresi-dolan-card-actions {
    grid-template-columns: 1.15fr 1.15fr 0.7fr;
    gap: 3px;
  }

  .suresi-dolan-card-actions .action-btn {
    flex-direction: row;
    padding: 8px 4px;
    font-size: 0.70rem;
    gap: 3px;
  }

  .suresi-dolan-card-actions .action-btn-icon {
    width: 14px;
    height: 14px;
  }

  .fiyat-dusur-modal-card {
    max-width: 100%;
    border-radius: 12px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .suresi-dolan-card-actions .action-btn {
    padding: 8px 4px;
    font-size: 0.74rem;
  }
}

@media (min-width: 1024px) {
  .suresi-dolan-card-actions .action-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
  }
}

.copy-field-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.copy-field-modal {
  background: var(--theme-bg-card, #1e2433);
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  width: 100%;
  max-width: 340px;
}

.copy-field-modal-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.copy-field-modal-hint {
  font-size: 0.8rem;
  color: var(--theme-color-muted);
  margin: 0 0 0.9rem;
}

.copy-field-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.copy-field-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.copy-field-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.copy-field-cancel-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 7px;
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15));
  background: 0 0;
  color: var(--theme-color-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.copy-field-confirm-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 7px;
  border: none;
  background: var(--theme-accent, #5da8e8);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25) !important;
  animation: inputShake 0.3s ease;
}

@keyframes inputShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.aciklama-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.aciklama-sablon-row {
  display: flex;
  gap: 0.4rem;
}

.aciklama-sablon-btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.15));
  background: 0 0;
  color: var(--theme-color-muted);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.aciklama-sablon-btn:hover {
  border-color: var(--theme-accent, #5da8e8);
  color: var(--theme-accent, #5da8e8);
}

.sablon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 260px;
  overflow-y: auto;
}

.sablon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--theme-bg-secondary, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.1));
  border-radius: 7px;
}

.sablon-text {
  font-size: 0.82rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sablon-item-actions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.sablon-sec-btn {
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  border: 1px solid var(--theme-accent, #5da8e8);
  background: 0 0;
  color: var(--theme-accent, #5da8e8);
  cursor: pointer;
  font-weight: 600;
}

.sablon-sil-btn {
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  border: 1px solid rgba(231, 76, 60, 0.4);
  background: 0 0;
  color: #e74c3c;
  cursor: pointer;
  font-weight: 600;
}

#genel-table .action-col,
#genel-table .genel-copy-col {
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

#genel-table .action-col .action-btn span,
#genel-table .action-col .copy-btn span,
#genel-table .genel-copy-col .action-btn span,
#genel-table .genel-copy-col .call-btn span,
#genel-table .genel-copy-col .copy-btn span,
#genel-table .genel-copy-col .wp-action-btn span,
#genel-table .genel-copy-col .wp-action-link span {
  display: none;
}

#genel-table .action-btn,
#genel-table .call-btn,
#genel-table .copy-btn,
#genel-table .wp-action-btn,
#genel-table .wp-action-link {
  padding: 0.3rem 0.4rem;
  min-width: 66px;
  width: 66px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.genel-foto-th {
  width: 54px;
  text-align: center;
}

.genel-foto-td {
  width: 54px;
  padding: 4px 6px;
  text-align: center;
  vertical-align: middle;
}

.genel-table-foto {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: opacity 0.15s;
}

.genel-table-foto:hover {
  opacity: 0.8;
}

.genel-table-foto-empty {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.ilan-gizli-aktif {
  opacity: 0.6;
}

.magaza-device-card.ilan-gizli-card,
tr.ilan-gizli-row td {
  opacity: 0.55;
}

#photo-upload-section .photo-upload-hint {
  font-size: 0.75rem;
  color: rgba(232, 238, 244, 0.45);
  font-weight: 400;
}

.photo-upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 0.5rem;
}

.photo-upload-area:hover {
  border-color: rgba(59, 130, 246, 0.6);
}

.photo-file-input {
  display: none;
}

.photo-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  color: rgba(232, 238, 244, 0.6);
  font-size: 0.88rem;
}

.photo-upload-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(59, 130, 246, 0.8);
}

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.photo-preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: grab;
  transition:
    border-color 0.15s,
    opacity 0.15s;
}

.photo-preview-item.photo-main {
  border-color: #3b82f6;
}

.photo-preview-item.dragging {
  opacity: 0.45;
}

.photo-preview-item.drag-over {
  border-color: #60a5fa;
}

.photo-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-main-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(59, 130, 246, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 1px 0;
  pointer-events: none;
}

.photo-remove-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  background: rgba(239, 68, 68, 0.9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.photo-remove-btn:hover {
  background: #dc2626;
}

.photo-loading-msg {
  font-size: 0.82rem;
  color: rgba(232, 238, 244, 0.55);
  padding: 0.3rem 0;
  width: 100%;
}

.genel-card-ana-foto {
  width: 100%;
  max-height: 180px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.genel-card-foto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: opacity 0.15s;
}

.genel-card-foto:hover {
  opacity: 0.85;
}

.detail-thumb-strip {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.detail-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s;
}

.detail-thumb:hover {
  border-color: #3b82f6;
  transform: scale(1.06);
}

.detail-thumb.active {
  border-color: #3b82f6;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 860px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

@keyframes lb-slide-in-from-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lb-slide-in-from-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.lightbox-img.lb-slide-left {
  opacity: 0;
  transform: translateX(-30px);
}

.lightbox-img.lb-slide-right {
  opacity: 0;
  transform: translateX(30px);
}

.lightbox-img.lb-slide-in-right {
  animation: lb-slide-in-from-right 0.2s ease forwards;
}

.lightbox-img.lb-slide-in-left {
  animation: lb-slide-in-from-left 0.2s ease forwards;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.lightbox-close img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.lightbox-next,
.lightbox-prev {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-next:hover,
.lightbox-prev:hover {
  background: rgba(59, 130, 246, 0.7);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
}

.edit-photo-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.edit-photo-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: flex-start;
}

.edit-photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.edit-photo-thumb-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: grab;
  touch-action: none;
}

.edit-photo-thumb-item.dragging {
  opacity: 0.4;
  border-style: dashed;
}

.edit-photo-thumb-item.drag-over {
  border-color: #60a5fa;
  border-style: solid;
}

.edit-photo-thumb-item.edit-photo-main {
  border-color: #3b82f6;
}

.edit-photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edit-photo-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9px;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  font-size: 1.6rem;
  color: rgba(59, 130, 246, 0.8);
  cursor: pointer;
  transition: border-color 0.15s;
}

.edit-photo-add-btn:hover {
  border-color: #3b82f6;
}

#vitrin-content {
  padding: 0 0 2rem;
}

.vitrin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.vitrin-store-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}

.vitrin-stok-count {
  font-size: 0.85rem;
  color: #64748b;
  margin-left: 0.6rem;
}

.vitrin-view-toggle {
  display: flex;
  gap: 4px;
}

.vitrin-view-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.vitrin-view-btn.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.vitrin-view-btn:hover {
  color: #e2e8f0;
}

.vitrin-filters {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.vitrin-search-input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 0.9rem;
  outline: 0;
  box-sizing: border-box;
}

.vitrin-search-input::placeholder {
  color: #4a5568;
}

.vitrin-search-input:focus {
  border-color: rgba(59, 130, 246, 0.4);
}

.vitrin-filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vitrin-price-range {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vitrin-fiyat-input {
  width: 90px;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 0.82rem;
  outline: 0;
}

.vitrin-fiyat-input:focus {
  border-color: rgba(59, 130, 246, 0.4);
}

.vitrin-fiyat-sep {
  color: #4a5568;
  font-size: 0.85rem;
}

.vitrin-kondisyon-select {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 0.82rem;
  outline: 0;
  cursor: pointer;
}

.vitrin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.vitrin-card {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.vitrin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.vitrin-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.vitrin-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.15s;
}

.vitrin-card-img:hover {
  opacity: 0.88;
}

.vitrin-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
}

.vitrin-card-img-count {
  position: absolute;
  bottom: 6px;
  right: 7px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  pointer-events: none;
}

.vitrin-card-body {
  padding: 0.75rem;
}

.vitrin-card-model {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.3rem;
}

.vitrin-card-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.vitrin-card-fiyat {
  font-size: 1.05rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 0.35rem;
}

.vitrin-tl {
  font-size: 0.85rem;
}

.vitrin-card-detail {
  font-size: 0.73rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.vitrin-card-btns {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.vitrin-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vitrin-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s;
}

.vitrin-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.vitrin-row-img-wrap {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.vitrin-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.vitrin-row-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
}

.vitrin-row-info {
  flex: 1;
  min-width: 0;
}

.vitrin-row-model {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.vitrin-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 3px;
}

.vitrin-row-fiyat {
  font-size: 1rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
  flex-shrink: 0;
}

.vitrin-row-btns {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.vitrin-call-btn,
.vitrin-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.vitrin-call-btn {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.vitrin-call-btn:hover {
  opacity: 0.8;
}

.vitrin-wa-btn {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.vitrin-wa-btn:hover {
  opacity: 0.8;
}

.vitrin-wa-icon {
  width: 14px;
  height: 14px;
}

.vitrin-empty {
  text-align: center;
  color: #4a5568;
  padding: 3rem 0;
  font-size: 0.9rem;
}

.photo-upload-wrap.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

@media (max-width: 640px) {
  .vitrin-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.65rem;
  }

  .vitrin-filter-row {
    flex-direction: column;
  }

  .vitrin-price-range {
    width: 100%;
  }

  .vitrin-fiyat-input {
    width: 50%;
    flex: 1;
  }
}

body.theme-light .photo-upload-area {
  border-color: rgba(0, 0, 0, 0.22);
}

body.theme-light .photo-upload-area:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

body.theme-light .photo-upload-label {
  color: rgba(30, 41, 59, 0.65);
}

body.theme-light #photo-upload-section .photo-upload-hint {
  color: rgba(30, 41, 59, 0.5);
}

body.theme-light .photo-preview-item {
  border-color: rgba(0, 0, 0, 0.18);
}

body.theme-light .photo-loading-msg {
  color: rgba(30, 41, 59, 0.55);
}

body.theme-light .genel-table-foto {
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .genel-table-foto-empty {
  color: rgba(0, 0, 0, 0.25);
}

body.theme-light .detail-thumb-strip {
  background: rgba(0, 0, 0, 0.04);
}

body.theme-light .detail-thumb {
  border-color: rgba(0, 0, 0, 0.15);
}

body.theme-light .edit-photo-thumb-item {
  border-color: rgba(0, 0, 0, 0.15);
}

body.theme-light .edit-photo-add-btn {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(37, 99, 235, 0.75);
}

body.theme-light .edit-photo-add-btn:hover {
  border-color: #2563eb;
}

body.theme-light .vitrin-store-name {
  color: #1e293b;
}

body.theme-light .vitrin-stok-count {
  color: #64748b;
}

body.theme-light .vitrin-view-btn {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: #64748b;
}

body.theme-light .vitrin-view-btn.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

body.theme-light .vitrin-view-btn:hover {
  color: #1e293b;
}

body.theme-light .vitrin-search-input {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

body.theme-light .vitrin-search-input::placeholder {
  color: #94a3b8;
}

body.theme-light .vitrin-search-input:focus {
  border-color: rgba(37, 99, 235, 0.4);
}

body.theme-light .vitrin-fiyat-input {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

body.theme-light .vitrin-fiyat-input:focus {
  border-color: rgba(37, 99, 235, 0.4);
}

body.theme-light .vitrin-fiyat-sep {
  color: #94a3b8;
}

body.theme-light .vitrin-kondisyon-select {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
}

body.theme-light .vitrin-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .vitrin-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light .vitrin-card-img-wrap {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .vitrin-card-no-img {
  color: rgba(0, 0, 0, 0.2);
}

body.theme-light .vitrin-card-model {
  color: #1e293b;
}

body.theme-light .vitrin-card-meta {
  color: #64748b;
}

body.theme-light .vitrin-card-fiyat {
  color: #16a34a;
}

body.theme-light .vitrin-card-detail {
  color: #64748b;
}

body.theme-light .vitrin-row {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.09);
}

body.theme-light .vitrin-row:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .vitrin-row-img-wrap {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .vitrin-row-no-img {
  color: rgba(0, 0, 0, 0.2);
}

body.theme-light .vitrin-row-model {
  color: #1e293b;
}

body.theme-light .vitrin-row-meta {
  color: #64748b;
}

body.theme-light .vitrin-row-fiyat {
  color: #16a34a;
}

body.theme-light .vitrin-call-btn {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}

body.theme-light .vitrin-wa-btn {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}

body.theme-light .vitrin-empty {
  color: #94a3b8;
}

body.theme-light .hizli-sorgu-search {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1e293b;
}

body.theme-light .hizli-sorgu-search::placeholder {
  color: #94a3b8;
}

body.theme-light .hizli-sorgu-search:focus {
  border-color: rgba(37, 99, 235, 0.4);
}

body.theme-light .hizli-fiyat-input {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1e293b;
}

body.theme-light .hizli-filtre-select {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1e293b;
}

body.theme-light .hizli-filtre-temizle-btn {
  border-color: rgba(0, 0, 0, 0.14);
  color: #64748b;
}

body.theme-light .hizli-filtre-temizle-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

body.theme-light .hizli-fiyat-sep {
  color: #94a3b8;
}

body.theme-light .hizli-product-row {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .hizli-row-fiyat {
  color: #16a34a;
}

body.theme-light .hizli-takas-input {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1e293b;
}

body.theme-light .hizli-takas-input::placeholder {
  color: #94a3b8;
}

body.theme-light .hizli-takas-result {
  color: #1e293b;
}

body.theme-light .hizli-takas-fark-value {
  color: #2563eb;
}

.satilan-arama-wrap {
  margin-bottom: 0.75rem;
}

.satilan-arama-input {
  width: 100%;
  max-width: 360px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
  color: var(--theme-color);
  font-size: 0.9rem;
  outline: 0;
}

.satilan-arama-input::placeholder {
  color: var(--theme-color-muted);
}

.satilan-arama-input:focus {
  border-color: #5da8e8;
}

body.theme-light .satilan-arama-input {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1e293b;
}

body.theme-light .satilan-arama-input::placeholder {
  color: #94a3b8;
}

body.theme-light .satilan-arama-input:focus {
  border-color: rgba(37, 99, 235, 0.4);
}

.takas-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}

.takas-modal[style*="flex"] {
  display: flex !important;
}

.takas-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.takas-modal-card {
  position: relative;
  z-index: 1;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  width: min(420px, 92vw);
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: takas-modal-in 0.2s ease;
}

@keyframes takas-modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.takas-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--theme-border);
}

.takas-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--theme-color);
  display: flex;
  align-items: center;
}

.takas-modal-close {
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.takas-modal-close:hover {
  opacity: 1;
}

.takas-modal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.takas-modal-label {
  font-size: 0.85rem;
  color: var(--theme-color-muted);
  margin-bottom: -0.2rem;
}

body.theme-light .takas-modal-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

body.theme-light .takas-modal-close img {
  filter: none;
  opacity: 0.5;
}

.sistem-durum-panel {
  margin: 1.25rem 0;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  overflow: hidden;
}

.sistem-durum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--theme-border);
}

.sistem-durum-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--theme-color);
  display: flex;
  align-items: center;
}

.sistem-durum-refresh-btn {
  background: 0 0;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  color: var(--theme-color-muted);
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}

.sistem-durum-refresh-btn:hover {
  background: var(--theme-border);
}

.sistem-durum-body {
  padding: 1.25rem;
}

.sistem-durum-loading {
  text-align: center;
  color: var(--theme-color-muted);
  padding: 1.5rem;
  font-size: 0.9rem;
}

.sistem-durum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .sistem-durum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sistem-durum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sdurum-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  padding: 1rem;
}

.sdurum-card-info {
  flex: 1;
  min-width: 0;
}

.sdurum-card-title {
  font-size: 0.78rem;
  color: var(--theme-color-muted);
  margin-bottom: 2px;
}

.sdurum-card-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--theme-color);
}

.sdurum-card-sub {
  font-size: 0.78rem;
  color: var(--theme-color-muted);
  margin-top: 2px;
}

.sdurum-iyi {
  color: #34d399;
}

.sdurum-uyari {
  color: #f59e0b;
}

.sdurum-krit {
  color: #ef4444;
}

.sdurum-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--theme-border);
  font-size: 0.82rem;
  color: var(--theme-color-muted);
}

.sdurum-ts {
  margin-left: auto;
}

body.theme-light .sdurum-card {
  background: rgba(0, 0, 0, 0.03);
}

body.theme-light .sistem-durum-panel {
  background: #fff;
}

@media (max-width: 600px) {
  .sistem-durum-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sistem-durum-panel {
    max-width: 100%;
    box-sizing: border-box;
  }

  .sistem-durum-body {
    padding: 0.75rem;
    overflow-x: hidden;
  }

  .sdurum-card {
    padding: 0.65rem;
    gap: 0.5rem;
  }

  .sdurum-card-val {
    font-size: 0.82rem;
    word-break: break-all;
  }

  .sdurum-footer {
    font-size: 0.75rem;
    gap: 0.35rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .sistem-durum-grid {
    grid-template-columns: 1fr;
  }

  .sistem-durum-header {
    padding: 0.6rem 0.75rem;
  }

  .sistem-durum-title {
    font-size: 0.85rem;
  }

  .sistem-durum-refresh-btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  .sistem-durum-body {
    padding: 0.5rem;
  }

  .sdurum-card {
    padding: 0.6rem 0.75rem;
  }

  .sdurum-card-val {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .sdurum-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .sdurum-ts {
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  .tabs {
    position: fixed !important;
    bottom: 0.6rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    background: rgba(30, 42, 60, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 0.4rem 0.5rem !important;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.4),
      inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 9999 !important;
    height: auto !important;
  }

  .tabs .tab.admin-only-tab {
    display: none !important;
  }

  #app-root.admin-mode .tabs .tab.admin-only-tab {
    display: flex !important;
  }

  body.customer-mode #app-root.admin-mode .tabs .tab.admin-only-tab {
    display: none !important;
  }

  .tabs .tab {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: 0 0 !important;
    border: none !important;
    color: #9ca8b8 !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    padding: 0.4rem 0 !important;
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: visible !important;
  }

  .tabs .tab .tab-icon {
    width: 1.4rem !important;
    height: 1.4rem !important;
    margin-bottom: 0.2rem !important;
    margin-right: 0 !important;
    filter: brightness(0) saturate(100%) invert(70%) sepia(20%) saturate(300%) hue-rotate(180deg) !important;
    transition: all 0.3s ease !important;
  }

  .tabs .tab:hover {
    color: #c8d4e0 !important;
  }

  .tabs .tab:hover .tab-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(10%) saturate(200%) hue-rotate(190deg) !important;
    transform: translateY(-2px) !important;
  }

  .tabs .tab.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  .tabs .tab.active .tab-icon {
    filter: brightness(0) saturate(100%) invert(1) !important;
    transform: translateY(-2px) !important;
  }

  .tabs .tab.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: -0.1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: #60a5fa !important;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.8) !important;
  }
}

@media (max-width: 1024px) {
  main {
    padding-bottom: 7rem !important;
  }
}

@media (max-width: 1024px) {
  body.light-theme .tabs {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.1),
      inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  }

  body.light-theme .tabs .tab {
    color: #64748b !important;
  }

  body.light-theme .tabs .tab .tab-icon {
    filter: brightness(0) saturate(100%) invert(45%) sepia(10%) saturate(600%) hue-rotate(180deg) !important;
  }

  body.light-theme .tabs .tab:hover {
    color: #334155 !important;
  }

  body.light-theme .tabs .tab:hover .tab-icon {
    filter: brightness(0) saturate(100%) invert(25%) sepia(20%) saturate(800%) hue-rotate(190deg) !important;
  }

  body.light-theme .tabs .tab.active {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08) !important;
    box-shadow: none !important;
  }

  body.light-theme .tabs .tab.active .tab-icon {
    filter: brightness(0) saturate(100%) invert(35%) sepia(85%) saturate(3000%) hue-rotate(215deg) !important;
  }
}

.admin-only-tab,
.tabs .tab.admin-only-tab {
  display: none !important;
}

#app-root.admin-mode .admin-only-tab,
#app-root.admin-mode .tabs .tab.admin-only-tab {
  display: flex !important;
}

body.customer-mode #app-root.admin-mode .admin-only-tab,
body.customer-mode #app-root.admin-mode .tabs .tab.admin-only-tab {
  display: none !important;
}

@media (max-width: 1024px) {

  .genel-card-actions .action-btn,
  .genel-card-actions .call-btn,
  .genel-card-actions .genel-copy-link,
  .genel-card-actions .wp-action-link {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }

  .genel-card-actions .device-detail-info-btn,
  .genel-card-actions .genel-compare-add-btn,
  .genel-card-actions .genel-favori-btn {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }

  .genel-card-actions span {
    display: none !important;
  }

  .genel-card-actions .action-btn-icon,
  .genel-card-actions img {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }
}

.genel-compare-add-btn {
  transition: all 0.2s;
}

.genel-compare-add-btn.active,
.genel-compare-add-btn.is-compare {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.genel-compare-add-btn.active .action-btn-icon,
.genel-compare-add-btn.is-compare .action-btn-icon {
  filter: brightness(0) saturate(100%) invert(50%) sepia(80%) saturate(1500%) hue-rotate(200deg) !important;
}

@media (max-width: 1024px) {
  .genel-cards-mobile .genel-device-card {
    display: grid !important;
    grid-template-areas: "foto header" "foto details" "actions actions";
    grid-template-columns: 65px 1fr !important;
    gap: 0.2rem 0.5rem !important;
    padding: 0.6rem !important;
    min-height: auto !important;
    align-items: center !important;
  }

  .genel-card-ana-foto {
    grid-area: foto !important;
    margin: 0 !important;
    width: 65px !important;
    min-width: 65px !important;
    height: 65px !important;
    min-height: 65px !important;
    aspect-ratio: 1/1 !important;
    display: block !important;
    position: relative !important;
    border-radius: 10px !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    z-index: 1 !important;
  }

  .genel-card-foto {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px !important;
    min-height: 65px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .genel-card-header {
    grid-area: header !important;
    margin-bottom: 0 !important;
    align-self: end !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.3rem !important;
  }

  .genel-card-store {
    font-size: 0.68rem !important;
    opacity: 0.7 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .genel-card-fiyat {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #4ade80 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  body.light-theme .genel-card-fiyat {
    color: #16a34a !important;
  }

  .genel-card-model {
    grid-area: model !important;
    margin-bottom: 0 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    align-self: center !important;
  }

  .genel-card-details {
    grid-area: details !important;
    margin-bottom: 0 !important;
    font-size: 0.65rem !important;
    line-height: 1.25 !important;
    min-height: auto !important;
    align-self: start !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #94a3b8 !important;
  }

  .genel-card-actions {
    grid-area: actions !important;
    margin-top: 0.35rem !important;
    padding-top: 0.35rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
  }

  body.light-theme .genel-card-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  body.customer-mode .genel-card-store {
    display: none !important;
  }

  body.customer-mode .genel-card-fiyat {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }

  body.customer-mode .genel-card-model {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  body.customer-mode .genel-card-details {
    font-size: 0.68rem !important;
  }

  .genel-device-card:not(:has(.genel-card-ana-foto)) {
    grid-template-areas: "header header" "details details" "actions actions" !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .magaza-cards-mobile .magaza-device-card,
  .magaza-satilan-cards .magaza-device-card {
    display: grid !important;
    grid-template-areas: "foto header" "foto fiyatlar" "foto details" "actions actions" "share share";
    grid-template-columns: 60px 1fr !important;
    gap: 0.15rem 0.5rem !important;
    padding: 0.6rem !important;
    min-height: auto !important;
    align-items: center !important;
  }

  .magaza-cards-mobile .magaza-card-foto-strip,
  .magaza-satilan-cards .magaza-card-foto-strip,
  .magaza-satilan-cards .satilan-card-foto-strip {
    grid-area: foto !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.1) !important;
    z-index: 1 !important;
  }

  .magaza-cards-mobile .magaza-card-foto-strip .magaza-card-foto-thumb,
  .magaza-satilan-cards .magaza-card-foto-thumb {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .magaza-cards-mobile .magaza-card-foto-strip .magaza-card-foto-thumb:nth-child(n + 2),
  .magaza-satilan-cards .magaza-card-foto-thumb:nth-child(n + 2) {
    display: none !important;
  }

  .magaza-cards-mobile .magaza-card-header,
  .magaza-satilan-cards .magaza-card-header {
    grid-area: header !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.3rem !important;
    margin: 0 !important;
    min-width: 0 !important;
    align-self: end !important;
  }

  .magaza-cards-mobile .magaza-card-model,
  .magaza-satilan-cards .magaza-card-model {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
  }

  .magaza-cards-mobile .magaza-card-fiyat,
  .magaza-satilan-cards .magaza-card-fiyat {
    display: none !important;
  }

  .magaza-cards-mobile .magaza-card-fiyatlar,
  .magaza-satilan-cards .magaza-card-fiyatlar {
    grid-area: fiyatlar !important;
    margin: 0 !important;
    display: flex !important;
    gap: 0.3rem !important;
    align-items: center !important;
    font-size: 0 !important;
    align-self: center !important;
  }

  .magaza-cards-mobile .magaza-card-details,
  .magaza-satilan-cards .magaza-card-details {
    grid-area: details !important;
    margin: 0 !important;
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    color: #94a3b8 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    align-self: start !important;
  }

  .magaza-satilan-cards .satilan-card-metrics {
    margin: 0 !important;
    min-width: 0 !important;
    font-size: 0.7rem !important;
  }

  .magaza-cards-mobile .magaza-device-card:not(:has(.magaza-card-foto-strip)),
  .magaza-satilan-cards .magaza-device-card:not(:has(.magaza-card-foto-strip)):not( :has(.satilan-card-foto-strip)) {
    grid-template-areas: "header header" "fiyatlar fiyatlar" "details details" "actions actions" "share share" !important;
    grid-template-columns: 1fr !important;
  }

  .magaza-cards-mobile .magaza-card-actions,
  .magaza-satilan-cards .magaza-card-actions {
    grid-area: actions !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    padding-top: 0.4rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    min-width: 0 !important;
  }

  .magaza-cards-mobile .magaza-card-actions .promo-btn,
  .magaza-cards-mobile .magaza-card-actions .sattim-btn,
  .magaza-cards-mobile .magaza-card-actions .status-btn,
  .magaza-satilan-cards .magaza-card-actions .sattim-btn {
    grid-column: 1/-1 !important;
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 0.5rem !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
  }

  .magaza-cards-mobile .magaza-card-actions .action-btn,
  .magaza-satilan-cards .magaza-card-actions .action-btn {
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
  }

  .magaza-cards-mobile .card-action-btns-grid {
    display: contents !important;
  }

  .magaza-cards-mobile .card-action-btns-grid .action-btn {
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  .magaza-cards-mobile .customer-share-wrap {
    grid-area: share !important;
    grid-column: 1/-1 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .magaza-cards-mobile .customer-share-wrap .customer-share-standalone-btn {
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
  }

  .magaza-cards-mobile .magaza-card-actions img,
  .magaza-satilan-cards .magaza-card-actions img {
    width: 16px !important;
    height: 16px !important;
  }

  body.light-theme .magaza-cards-mobile .magaza-card-actions,
  body.light-theme .magaza-satilan-cards .magaza-card-actions {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
  }
}

@media (max-width: 1024px) {
  .suresi-dolan-item {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    padding: 0.6rem 0.75rem !important;
  }

  .suresi-dolan-info {
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .suresi-dolan-actions {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    justify-content: flex-start !important;
  }

  .suresi-dolan-sil-btn,
  .suresi-dolan-yenile-btn {
    min-height: 40px !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

.fiyat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
}

.fiyat-alis {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.fiyat-satis {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

body.light-theme .fiyat-alis {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.15);
}

body.light-theme .fiyat-satis {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.15);
}

@media (max-width: 1024px) {
  .magaza-cards-mobile .magaza-device-card.magaza-card-edit {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 0.75rem !important;
    grid-template-areas: none !important;
    grid-template-columns: none !important;
  }

  .magaza-card-edit .magaza-card-edit-row {
    width: 100% !important;
    min-width: 0 !important;
  }

  .magaza-card-edit .magaza-card-edit-row label {
    font-size: 0.75rem !important;
    min-width: 70px !important;
  }

  .magaza-card-edit .magaza-card-edit-row input,
  .magaza-card-edit .magaza-card-edit-row select,
  .magaza-card-edit .magaza-card-edit-row textarea {
    font-size: 0.8rem !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .magaza-card-edit .magaza-card-edit-actions {
    display: flex !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .magaza-card-edit .magaza-card-edit-actions .action-btn {
    flex: 1 !important;
    min-height: 36px !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
  }

  .magaza-card-edit .edit-photo-row {
    flex-direction: column !important;
  }

  .magaza-card-edit .edit-photo-inner {
    width: 100% !important;
  }
}

@media (max-width: 1024px) {
  body.customer-mode .genel-cards-mobile .genel-device-card {
    grid-template-columns: 70px 1fr !important;
    gap: 0.2rem 0.55rem !important;
    padding: 0.65rem !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  body.light-theme.customer-mode .genel-cards-mobile .genel-device-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
  }

  body.customer-mode .genel-card-ana-foto {
    width: 70px !important;
    min-width: 70px !important;
    height: 70px !important;
    min-height: 70px !important;
    aspect-ratio: 1/1 !important;
    border-radius: 12px !important;
    display: block !important;
    position: relative !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    z-index: 1 !important;
  }

  body.customer-mode .genel-card-foto {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    border-radius: 12px !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.customer-mode .genel-card-fiyat {
    background: rgba(34, 197, 94, 0.1) !important;
    padding: 0.1rem 0.4rem !important;
    border-radius: 6px !important;
  }

  body.light-theme.customer-mode .genel-card-fiyat {
    background: rgba(34, 197, 94, 0.08) !important;
  }

  body.light-theme.customer-mode .genel-card-details {
    color: #64748b !important;
  }

  body.customer-mode .genel-card-actions {
    display: flex !important;
    gap: 0.3rem !important;
    padding-top: 0.35rem !important;
    margin-top: 0.3rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  }

  body.light-theme.customer-mode .genel-card-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
  }

  body.customer-mode .genel-card-actions .call-btn,
  body.customer-mode .genel-card-actions .wp-action-link {
    flex: 1 !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  body.customer-mode .genel-card-actions .call-btn span,
  body.customer-mode .genel-card-actions .wp-action-link span {
    display: none !important;
  }

  body.customer-mode .genel-card-actions .call-btn img,
  body.customer-mode .genel-card-actions .wp-action-link img {
    width: 20px !important;
    height: 20px !important;
  }

  body.customer-mode .genel-card-actions .device-detail-info-btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
}

body.customer-mode .hizli-row-actions .device-detail-info-btn,
body.customer-mode .hizli-row-actions .hizli-compare-btn {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: var(--theme-input-bg);
}

body.customer-mode .hizli-row-actions .device-detail-info-btn .action-btn-icon,
body.customer-mode .hizli-row-actions .hizli-compare-btn .action-btn-icon {
  width: 16px;
  height: 16px;
}

body.customer-mode .hizli-row-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

body.customer-mode .hizli-row-actions .hizli-action-btn {
  flex: 0 1 auto;
  min-height: 30px;
  height: 30px;
  font-size: 0.72rem;
  border-radius: 8px;
  padding: 0 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

body.customer-mode .hizli-row-actions .hizli-action-icon {
  width: 16px;
  height: 16px;
}

body.customer-mode .hizli-row-actions .hizli-takas-btn {
  flex: 0 0 auto;
  min-height: 30px;
  height: 30px;
  font-size: 0.7rem;
  border-radius: 8px;
  padding: 0 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

body.customer-mode .hizli-row-actions .hizli-takas-icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  body.theme-light .tabs {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow:
      0 -4px 20px rgba(0, 0, 0, 0.08),
      inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
  }

  body.theme-light .tabs .tab {
    color: #64748b !important;
    background: 0 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.theme-light .tabs .tab:hover {
    color: #1e293b !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }

  body.theme-light .tabs .tab.active {
    color: #1e293b !important;
    background: rgba(59, 130, 246, 0.1) !important;
  }

  body.theme-light .tabs .tab .tab-icon {
    filter: brightness(0) saturate(100%) invert(40%) sepia(10%) saturate(500%) hue-rotate(180deg) !important;
  }

  body.theme-light .tabs .tab.active .tab-icon {
    filter: brightness(0) saturate(100%) invert(20%) sepia(60%) saturate(700%) hue-rotate(200deg) !important;
  }

  body.theme-light .tabs .tab.active::after {
    background: #3b82f6 !important;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5) !important;
  }

  body.theme-light .tabs .tab .tab-label {
    color: inherit !important;
  }
}

.settings-panel {
  z-index: 99999 !important;
}

.swal2-container {
  z-index: 999999 !important;
}

body.theme-light .tabs {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .tabs .tab {
  color: #64748b !important;
  background: rgba(0, 0, 0, 0.02) !important;
}

.marka-multi-wrap .custom-select-panel {
  min-width: 200px;
}

.marka-multi-wrap .custom-select-opt {
  position: relative;
  padding-left: 2rem;
}

.marka-multi-wrap .custom-select-opt::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--theme-border);
  border-radius: 3px;
  background: var(--theme-bg);
}

.marka-multi-wrap .custom-select-opt.selected::before {
  background: #5da8e8;
  border-color: #5da8e8;
}

.marka-multi-wrap .custom-select-opt.selected::after {
  content: "✓";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

#genel-depolama+.custom-select-trigger,
#genel-pil+.custom-select-trigger {
  min-width: 100px;
}

.filter-fiyat-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.genel-fiyat-input {
  width: 80px;
  padding: 0.5rem 0.75rem;
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-color);
  font-size: 0.875rem;
  text-align: center;
}

.genel-fiyat-input:focus {
  outline: 0;
  border-color: #5da8e8;
}

.filter-sep {
  color: var(--theme-color-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .filter-row-main {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .custom-select-wrap {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 120px;
  }

  .filter-fiyat-wrap {
    flex: 1 1 100%;
    justify-content: center;
  }

  .genel-fiyat-input {
    flex: 1;
    max-width: 120px;
  }
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 0.5rem 0;
  width: 100%;
}

.skeleton-card {
  background: linear-gradient(145deg,
      rgba(30, 41, 59, 0.5),
      rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 180px;
  overflow: hidden;
}

body.theme-light .skeleton-card {
  background: linear-gradient(145deg,
      rgba(241, 245, 249, 0.95),
      rgba(226, 232, 240, 0.7));
  border-color: rgba(0, 0, 0, 0.06);
}

.skeleton-line {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.06) 60%,
      transparent 100%);
  animation: skeletonShimmer 1.8s ease-in-out infinite;
}

body.theme-light .skeleton-line::after {
  background: linear-gradient(90deg,
      transparent 0,
      rgba(255, 255, 255, 0.5) 40%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.5) 60%,
      transparent 100%);
}

.skeleton-line-header {
  height: 14px;
  width: 45%;
  background: rgba(255, 255, 255, 0.06);
}

.skeleton-line-title {
  height: 18px;
  width: 70%;
  background: rgba(255, 255, 255, 0.08);
}

.skeleton-line-detail {
  height: 12px;
  width: 90%;
  background: rgba(255, 255, 255, 0.05);
}

.skeleton-line-detail.short {
  width: 55%;
}

.skeleton-line-actions {
  height: 32px;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  margin-top: auto;
  border-radius: 10px;
}

body.theme-light .skeleton-line-header {
  background: rgba(0, 0, 0, 0.06);
}

body.theme-light .skeleton-line-title {
  background: rgba(0, 0, 0, 0.08);
}

body.theme-light .skeleton-line-detail {
  background: rgba(0, 0, 0, 0.05);
}

body.theme-light .skeleton-line-actions {
  background: rgba(0, 0, 0, 0.04);
}

@keyframes skeletonShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.skeleton-card:first-child {
  animation: skeletonFadeIn 0.4s ease 0ms both;
}

.skeleton-card:nth-child(2) {
  animation: skeletonFadeIn 0.4s ease 80ms both;
}

.skeleton-card:nth-child(3) {
  animation: skeletonFadeIn 0.4s ease 0.16s both;
}

.skeleton-card:nth-child(4) {
  animation: skeletonFadeIn 0.4s ease 0.24s both;
}

.skeleton-card:nth-child(5) {
  animation: skeletonFadeIn 0.4s ease 0.32s both;
}

.skeleton-card:nth-child(6) {
  animation: skeletonFadeIn 0.4s ease 0.4s both;
}

@keyframes skeletonFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .skeleton-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes selectPanelIn {
  from {
    opacity: 0;
    transform: scaleY(0.92) translateY(-4px);
  }

  to {
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }
}

.genel-device-card {
  animation: cardFadeSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes cardFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.genel-cards-mobile .genel-device-card:first-child {
  animation-delay: 0s;
}

.genel-cards-mobile .genel-device-card:nth-child(2) {
  animation-delay: 40ms;
}

.genel-cards-mobile .genel-device-card:nth-child(3) {
  animation-delay: 80ms;
}

.genel-cards-mobile .genel-device-card:nth-child(4) {
  animation-delay: 0.12s;
}

.genel-cards-mobile .genel-device-card:nth-child(5) {
  animation-delay: 0.16s;
}

.genel-cards-mobile .genel-device-card:nth-child(6) {
  animation-delay: 0.2s;
}

.genel-cards-mobile .genel-device-card:nth-child(7) {
  animation-delay: 0.24s;
}

.genel-cards-mobile .genel-device-card:nth-child(8) {
  animation-delay: 0.28s;
}

.genel-cards-mobile .genel-device-card:nth-child(n + 9) {
  animation-delay: 0.3s;
}

.custom-select-opt {
  transition:
    background 0.15s ease,
    padding-left 0.15s ease;
}

.custom-select-opt:hover {
  padding-left: 1rem;
}

.genel-card-model {
  letter-spacing: -0.01em;
}

.genel-card-fiyat {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.genel-device-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  background: linear-gradient(135deg,
      rgba(93, 168, 232, 0),
      rgba(93, 168, 232, 0));
  z-index: -1;
  transition: background 0.3s ease;
  pointer-events: none;
}

.genel-device-card {
  position: relative;
}

.genel-device-card:hover::before {
  background: linear-gradient(135deg,
      rgba(93, 168, 232, 0.08),
      rgba(147, 51, 234, 0.05));
}

body.theme-light .genel-device-card:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(37, 99, 235, 0.08),
    inset 0 1px 1px #fff;
}

body.theme-light .genel-device-card:hover::before {
  background: linear-gradient(135deg,
      rgba(37, 99, 235, 0.05),
      rgba(147, 51, 234, 0.03));
}

.tab {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

body.theme-light .tab:hover:not(.active) {
  background: rgba(0, 0, 0, 0.03);
}

@keyframes inputShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10% {
    transform: translateX(-6px);
  }

  20% {
    transform: translateX(5px);
  }

  30% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(3px);
  }

  50% {
    transform: translateX(-2px);
  }

  60% {
    transform: translateX(1px);
  }
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow:
    0 0 0 3px rgba(239, 68, 68, 0.15),
    inset 0 1px 2px rgba(239, 68, 68, 0.1) !important;
  animation: inputShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.input-success {
  border-color: #22c55e !important;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.15),
    inset 0 1px 2px rgba(34, 197, 94, 0.1) !important;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-error-msg {
  font-size: 0.8rem;
  color: #fca5a5;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  animation: errorMsgIn 0.25s ease both;
}

body.theme-light .form-error-msg {
  color: #dc2626;
}

@keyframes errorMsgIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-input.input-error {
  animation: inputShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.add-device-form input.input-error,
.add-device-form select.input-error,
.add-device-form textarea.input-error {
  animation: inputShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.add-device-form input:focus,
.add-device-form select:focus,
.add-device-form textarea:focus {
  outline: 0;
  border-color: rgba(93, 168, 232, 0.6);
  box-shadow: 0 0 0 3px rgba(93, 168, 232, 0.12);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

body.theme-light .add-device-form input:focus,
body.theme-light .add-device-form select:focus,
body.theme-light .add-device-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#hizli-sorgu-panel {
  min-height: 120px;
}

#genel-pool-content {
  min-height: 500px;
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

#magaza-content {
  min-height: 500px;
}

.genel-table-wrap {
  min-height: 400px;
}

.promo-section {
  min-height: 140px;
}

.filter-bar {
  min-height: 100px;
}

.devices-table td:first-child .store-profile-link {
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
}

.action-col {
  min-width: 100px;
}

.col-store {
  white-space: nowrap;
}

.action-col {
  width: auto !important;
  max-width: 140px;
}

.devices-table th.action-col {
  min-width: 80px !important;
  width: 110px !important;
  text-align: center;
}

/* V20: Tablo yazilarini ortala */
.devices-table th,
.devices-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

/* Eger Dukkan veya Model sola dayali kalmasi gerekirse override edilir ama kullanici TUMU dedigi icin hepsini ortaliyoruz */

/* V21: Butonlari karsilastirma butonu boyutlarina kucult */
.devices-table .action-buttons-wrap .device-detail-info-btn,
.devices-table .action-buttons-wrap .genel-compare-add-btn,
.devices-table .action-buttons-wrap .genel-favori-btn,
.devices-table .action-buttons-wrap .genel-copy-btn,
.devices-table .action-buttons-wrap .hizli-action-btn {
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.devices-table .action-buttons-wrap img,
.devices-table .action-buttons-wrap svg {
  width: 18px !important;
  height: 18px !important;
}

.action-buttons-wrap {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* V22: Islemler (Action-Col) sola yaslanmali */
.devices-table th.action-col,
.devices-table th.genel-copy-col,
.devices-table td.action-col,
.devices-table td.genel-copy-col {
  text-align: left !important;
}

.action-buttons-wrap {
  justify-content: flex-start !important;
}

/* V23: Tum islem butonlarini yapisal olarak karsilastirma butonuyla birebir esitle */
.devices-table .action-buttons-wrap .device-detail-info-btn,
.devices-table .action-buttons-wrap .genel-favori-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  color: #9ca8b8 !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
}

body.theme-light .devices-table .action-buttons-wrap .device-detail-info-btn,
body.theme-light .devices-table .action-buttons-wrap .genel-favori-btn {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.18) !important;
  color: #64748b !important;
}

/* Ikon boyutlarini da tam matchliyelim (1rem veya 16px gibi) */
.devices-table .action-buttons-wrap img,
.devices-table .action-buttons-wrap svg {
  width: 16px !important;
  height: 16px !important;
}

/* V25: Mağazam Tablo Görünümü Icin "İşlemler" Grid Düzeni */
@media (min-width: 1025px) {
  #magaza-table td.action-col .action-buttons-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, max-content) !important;
    gap: 6px !important;
    justify-content: start !important;
    align-items: stretch !important;
  }

  /* Make sure all base action buttons in this grid have a harmonized padding so the columns lock together perfectly */
  #magaza-table td.action-col .action-buttons-wrap .action-btn {
    padding: 0.35rem !important;
    /* Locks width/height into neat cubes naturally */
    width: 32px !important;
  }
}

/* 1. Prevent ONLY short/critical fields from wrapping, but let long texts like Açıklama wrap naturally. */
#magaza-table td:not(.note-cell):not(.magaza-model-td) {
  white-space: nowrap;
}

/* Let the textarea or long description wrap naturally and wrap long texts over multiple lines softly */
#magaza-table td.note-cell,
#magaza-table td.magaza-model-td {
  word-break: break-word;
  white-space: normal;
  min-width: 180px;
}

#magaza-table td.note-cell textarea {
  width: 100%;
  min-width: 160px;
  resize: vertical;
}

/* 2. Action Column Width should be guaranteed to fit the Müşteriye Gönder text fully */
#magaza-table td.action-col,
#magaza-table th.action-col {
  min-width: 165px;
}

#magaza-table td.action-col .action-buttons-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  justify-items: center !important;
}

/* Make all 6 standard action buttons identical squares in the Mağazam grid */
#magaza-table td.action-col .action-buttons-wrap .action-btn,
#magaza-table td.action-col .action-buttons-wrap .action-copy {
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1e3a5f !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #c8d4e0 !important;
}

body.theme-light #magaza-table td.action-col .action-buttons-wrap .action-btn,
body.theme-light #magaza-table td.action-col .action-buttons-wrap .action-copy {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #475569 !important;
}

/* 3. Let "Müşteriye Gönder" be fully visible on its own row */
#magaza-table td.action-col .customer-share-standalone-btn {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
  min-height: 32px;
}

/* V28: Finalizing Magaza UX - Single Line Cells with Hover Tooltips */
#magaza-table th,
#magaza-table td {
  white-space: nowrap !important;
  /* Force true 1-line tabular dashboard */
}

/* Make sure the note cell doesn't infinitely expand the table and cause massive scroll tracking */
#magaza-table td.note-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#magaza-table td.note-cell .note-truncated {
  cursor: help;
}

#magaza-table td.action-col {
  min-width: 175px !important;
  /* Extremely important to prevent 'Müşteriye Gönder' from cutting off */
}

#magaza-table td.action-col .action-buttons-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  justify-items: center !important;
}

#magaza-table td.action-col .action-buttons-wrap .action-btn,
#magaza-table td.action-col .action-buttons-wrap .action-copy {
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1e3a5f !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  color: #c8d4e0 !important;
}

body.theme-light #magaza-table td.action-col .action-buttons-wrap .action-btn,
body.theme-light #magaza-table td.action-col .action-buttons-wrap .action-copy {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #475569 !important;
}

#magaza-table td.action-col .customer-share-wrap {
  margin-top: 6px;
  width: 100%;
}

#magaza-table td.action-col .customer-share-standalone-btn {
  white-space: nowrap !important;
  width: 100% !important;
  padding: 0.4rem 0.5rem !important;
  margin: 0 !important;
}

/* V29: Force Grid layout for Magaza cards (Active & Sold) on Desktop screens */
@media (min-width: 1024px) {

  #magaza-cards-mobile,
  #magaza-satilan-cards,
  #genel-cards-mobile {
    display: grid !important;
    /* Create responsive columns that stretch to fill space with a min width of 340px */
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: start;
  }
}

/* V32: Cloned Mobile Layout for Desktop Magaza Cards */

/* V32: Extracted Mobile Styles mapped globally */

.magaza-cards-mobile .magaza-device-card,
.magaza-satilan-cards .magaza-device-card {
  display: grid !important;
  grid-template-areas: "foto header" "foto fiyatlar" "foto details" "actions actions" "share share";
  grid-template-columns: 60px 1fr !important;
  gap: 0.15rem 0.5rem !important;
  padding: 0.6rem !important;
  min-height: auto !important;
  align-items: center !important;
}

.magaza-cards-mobile .magaza-card-foto-strip,
.magaza-satilan-cards .magaza-card-foto-strip,
.magaza-satilan-cards .satilan-card-foto-strip {
  grid-area: foto !important;
  width: 60px !important;
  min-width: 60px !important;
  height: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: block !important;
  position: relative !important;
  background: rgba(255, 255, 255, 0.1) !important;
  z-index: 1 !important;
}

.magaza-cards-mobile .magaza-card-foto-strip .magaza-card-foto-thumb,
.magaza-satilan-cards .magaza-card-foto-thumb {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
}

.magaza-cards-mobile .magaza-card-foto-strip .magaza-card-foto-thumb:nth-child(n + 2),
.magaza-satilan-cards .magaza-card-foto-thumb:nth-child(n + 2) {
  display: none !important;
}

.magaza-cards-mobile .magaza-card-header,
.magaza-satilan-cards .magaza-card-header {
  grid-area: header !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.3rem !important;
  margin: 0 !important;
  min-width: 0 !important;
  align-self: end !important;
}

.magaza-cards-mobile .magaza-card-model,
.magaza-satilan-cards .magaza-card-model {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

.magaza-cards-mobile .magaza-card-fiyat,
.magaza-satilan-cards .magaza-card-fiyat {
  display: none !important;
}

.magaza-cards-mobile .magaza-card-fiyatlar,
.magaza-satilan-cards .magaza-card-fiyatlar {
  grid-area: fiyatlar !important;
  margin: 0 !important;
  display: flex !important;
  gap: 0.3rem !important;
  align-items: center !important;
  font-size: 0 !important;
  align-self: center !important;
}

.magaza-cards-mobile .magaza-card-details,
.magaza-satilan-cards .magaza-card-details {
  grid-area: details !important;
  margin: 0 !important;
  font-size: 0.68rem !important;
  line-height: 1.25 !important;
  color: #94a3b8 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  align-self: start !important;
}

.magaza-satilan-cards .satilan-card-metrics {
  margin: 0 !important;
  min-width: 0 !important;
  font-size: 0.7rem !important;
}

.magaza-cards-mobile .magaza-device-card:not(:has(.magaza-card-foto-strip)),
.magaza-satilan-cards .magaza-device-card:not(:has(.magaza-card-foto-strip)):not( :has(.satilan-card-foto-strip)) {
  grid-template-areas: "header header" "fiyatlar fiyatlar" "details details" "actions actions" "share share" !important;
  grid-template-columns: 1fr !important;
}

.magaza-cards-mobile .magaza-card-actions,
.magaza-satilan-cards .magaza-card-actions {
  grid-area: actions !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.25rem !important;
  margin: 0 !important;
  padding-top: 0.4rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  min-width: 0 !important;
}

.magaza-cards-mobile .magaza-card-actions .promo-btn,
.magaza-cards-mobile .magaza-card-actions .sattim-btn,
.magaza-cards-mobile .magaza-card-actions .status-btn,
.magaza-satilan-cards .magaza-card-actions .sattim-btn {
  grid-column: 1/-1 !important;
  min-width: 0 !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 0.5rem !important;
  font-size: 0.72rem !important;
  justify-content: center !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
}

.magaza-cards-mobile .magaza-card-actions .action-btn,
.magaza-satilan-cards .magaza-card-actions .action-btn {
  min-width: 0 !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  font-size: 0.72rem !important;
  justify-content: center !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
}

.magaza-cards-mobile .card-action-btns-grid {
  display: contents !important;
}

.magaza-cards-mobile .card-action-btns-grid .action-btn {
  min-width: 0 !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 8px !important;
}

.magaza-cards-mobile .customer-share-wrap {
  grid-area: share !important;
  grid-column: 1/-1 !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}

.magaza-cards-mobile .customer-share-wrap .customer-share-standalone-btn {
  width: 100% !important;
  min-height: 32px !important;
  height: 32px !important;
  justify-content: center !important;
  font-size: 0.72rem !important;
  border-radius: 8px !important;
}

.magaza-cards-mobile .magaza-card-actions img,
.magaza-satilan-cards .magaza-card-actions img {
  width: 16px !important;
  height: 16px !important;
}

body.light-theme .magaza-cards-mobile .magaza-card-actions,
body.light-theme .magaza-satilan-cards .magaza-card-actions {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* V33: Exact Match of Desktop 'Esnaf Stok Havuzu' Cards to Mobile Form */

.genel-cards-mobile .genel-device-card {
  display: grid !important;
  grid-template-areas: "foto header" "foto details" "actions actions";
  grid-template-columns: 65px 1fr !important;
  gap: 0.2rem 0.5rem !important;
  padding: 0.6rem !important;
  min-height: auto !important;
  align-items: center !important;
}

.genel-card-ana-foto {
  grid-area: foto !important;
  margin: 0 !important;
  width: 65px !important;
  min-width: 65px !important;
  height: 65px !important;
  min-height: 65px !important;
  aspect-ratio: 1/1 !important;
  display: block !important;
  position: relative !important;
  border-radius: 10px !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  z-index: 1 !important;
}

.genel-card-foto {
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  min-height: 65px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
}

.genel-card-header {
  grid-area: header !important;
  margin-bottom: 0 !important;
  align-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.3rem !important;
}

.genel-card-store {
  font-size: 0.68rem !important;
  opacity: 0.7 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.genel-card-fiyat {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #4ade80 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

body.light-theme .genel-card-fiyat {
  color: #16a34a !important;
}

.genel-card-model {
  grid-area: model !important;
  margin-bottom: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  align-self: center !important;
}

.genel-card-details {
  grid-area: details !important;
  margin-bottom: 0 !important;
  font-size: 0.65rem !important;
  line-height: 1.25 !important;
  min-height: auto !important;
  align-self: start !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #94a3b8 !important;
}

.genel-card-actions {
  grid-area: actions !important;
  margin-top: 0.35rem !important;
  padding-top: 0.35rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.3rem !important;
}

body.light-theme .genel-card-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.genel-device-card:not(:has(.genel-card-ana-foto)) {
  grid-template-areas: "header header" "details details" "actions actions" !important;
  grid-template-columns: 1fr 1fr !important;
}

/* V35: Remove Action Button Gaps in Esnaf Mode while Preserving Button Styles */
#genel-cards-mobile .genel-card-actions {
  justify-content: flex-start !important;
  gap: 0.5rem !important;
}

/* V36: Evenly Distribute Remaining Space Between Ara and WhatsApp Buttons */
#genel-cards-mobile .genel-card-actions .call-btn,
#genel-cards-mobile .genel-card-actions .wp-action-link {
  flex: 1 !important;
  justify-content: center !important;
  text-align: center !important;
}

/* V39: Force-kill all internal margins in promo-card-content to eliminate gaps */
.promo-card-content .promo-card-header {
  margin-bottom: 0 !important;
}

.promo-card-content .promo-card-model {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.promo-card-content .promo-card-details {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  line-height: 1.3 !important;
}

.promo-card-content .promo-card-badge {
  margin-bottom: 0 !important;
}

.promo-card-content .promo-card-fiyat {
  margin-bottom: 0 !important;
}

.promo-card-content .promo-card-tel {
  margin-top: 3px !important;
}

.promo-card-content {
  gap: 0 !important;
}

/* DESKTOP TABS RESET (V40) */
@media (min-width: 1024px) {
  .tabs {
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 1rem 0 1rem 0 !important;
    padding: 0 1.5rem !important;
    /* Keep aligned with main layout paddings if any or reset to 0 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.theme-light .tabs {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* TEXT OVERFLOW FIX FOR LONG MODELS IN DESKTOP CARDS (V42) */
.promo-card-model,
.genel-card-model,
.magaza-card-model {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* DISABLING LIST VIEW OPTIONS AND INFINITE SCROLL MODE (User Request) */
.genel-view-toggle,
.magaza-satilan-view-toggle,
.genel-pagination-mode-switch {
  display: none !important;
}


/* V46_REV: Elevate all modal panels above mobile tabs so they gracefully occlude the navigation */
.settings-panel,
.uyarilarim-panel,
.ticari-panel,
.notification-panel {
  z-index: 99999 !important;
}

/* Fix for Grid text-overflow performance lag! (V42 Patch) */
.promo-card,
.genel-card,
.magaza-card {
  min-width: 0;
}

.promo-card-model,
.genel-card-model,
.magaza-card-model {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* V48: Completely banish List View tables from DOM paint to prevent initial UI jumping/re-rendering */
.table-wrap,
#genel-table,
#magaza-table,
#magaza-satilan-table {
  display: none !important;
}

#genel-cards-mobile,
#magaza-cards-mobile,
#magaza-satilan-cards {
  display: grid !important;
}

/* V49: Force horizontal flex headers to truncate correctly without breaking the grid */
/* Removed overrides on main cards to preserve their structural grids/flex widths */

.genel-card-header,
.magaza-card-header,
.promo-card-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.genel-card-model,
.magaza-card-model,
.promo-card-model {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.genel-card-price-group,
.magaza-card-price-group,
.promo-card-price-group,
.magaza-card-fiyat-wrap {
  flex: 0 0 auto !important;
  text-align: right !important;
  max-width: 40% !important;
  min-width: fit-content;
}

/* V50: Disable all animations forcefully during theme switch so we don't drop frames */
body.theme-transitioning,
body.theme-transitioning * {
  transition: none !important;
}

/* V51: Uyarilarim mobile/tablet layout stabilization */
@media (max-width: 1024px) {
  .uyarilarim-panel {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: calc(100dvh - 70px - env(safe-area-inset-top)) !important;
    max-height: calc(100dvh - 70px - env(safe-area-inset-top)) !important;
    padding: 0.9rem 0.9rem calc(1rem + env(safe-area-inset-bottom)) !important;
    gap: 0.8rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .uyarilarim-panel .notification-panel-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: inherit;
    padding-bottom: 0.55rem;
  }

  .uyarilarim-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .uyarilarim-stat-card {
    min-height: 0 !important;
    padding: 0.72rem 0.75rem !important;
  }

  .uyarilarim-stat-card strong {
    font-size: 1.12rem;
  }

  .uyarilarim-stat-card span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .triggered-alerts-surface,
  .uyarilarim-add-form-wrap,
  .uyarilarim-tracking-head,
  .uyarilarim-empty-msg,
  .model-alerts-list.uyarilarim-surface {
    flex-shrink: 0;
  }

  .triggered-alerts-list,
  .uyarilarim-list,
  #uyarilarim-tracking-view .uyarilarim-list {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .uyarilarim-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem !important;
    align-items: stretch;
  }

  .uyarilarim-form .custom-select-wrap,
  .uyarilarim-form .model-alert-maxprice,
  .uyarilarim-form .model-alert-add-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .uyarilarim-form .model-alert-add-btn {
    grid-column: 1 / -1;
  }

  .model-alert-row-single {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  .model-alert-info,
  .model-alert-side {
    width: 100%;
    min-width: 0;
  }

  .model-alert-side {
    justify-content: space-between;
    gap: 0.65rem;
  }

  .model-alert-inline-stats {
    flex-wrap: wrap;
  }

  .triggered-alert-main {
    flex-wrap: wrap;
  }

  .triggered-alert-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .uyarilarim-panel {
    border-radius: 18px 18px 0 0 !important;
    padding: 0.8rem 0.8rem calc(0.95rem + env(safe-area-inset-bottom)) !important;
    gap: 0.72rem !important;
  }

  .info-tooltip-container {
    display: none;
  }

  .uyarilarim-stats {
    gap: 0.42rem !important;
  }

  .uyarilarim-stat-card {
    border-radius: 12px;
    padding: 0.66rem 0.62rem !important;
  }

  .uyarilarim-stat-card strong {
    font-size: 1.02rem;
  }

  .uyarilarim-stat-card span {
    font-size: 0.68rem;
  }

  .triggered-alerts-head,
  .uyarilarim-tracking-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .triggered-alerts-read-all,
  .uyarilarim-inline-action {
    width: 100%;
    justify-content: center;
  }

  .triggered-alert-item,
  .model-alert-item {
    padding: 0.76rem 0.8rem;
  }

  .triggered-alert-model {
    font-size: 0.88rem;
  }

  .triggered-alert-actions {
    gap: 0.45rem;
  }

  .triggered-alert-goto-btn,
  .triggered-alert-read-btn,
  .triggered-alert-read-label {
    flex: 1 1 0;
    justify-content: center;
    min-height: 34px;
    text-align: center;
  }

  .uyarilarim-form {
    grid-template-columns: 1fr;
    gap: 0.6rem !important;
    padding: 0.76rem !important;
  }

  .model-alert-model-name {
    font-size: 0.86rem;
  }

  .model-alert-side {
    flex-direction: column;
    align-items: stretch;
  }

  .model-alert-inline-stats,
  .model-alert-actions-inline {
    width: 100%;
  }

  .model-alert-actions-inline {
    justify-content: flex-end;
  }

  .model-alert-edit-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .model-alert-edit-input,
  .model-alert-edit-save {
    width: 100%;
  }
}
