/**
 * atolye-redesign.css  v3
 * Görsel yenileme — token'lara değil direkt seçicilere yazıyoruz
 * GERİ ALMA: index.html'deki atolye-redesign.css <link> satırını silin
 */

/* ═══════════════════════════════════════════════════════
   1. SAYFA ZEMİNİ
   ═══════════════════════════════════════════════════════ */
html.design-gentelella body {
  background: #f3f3f9 !important;
  font-family: "Source Sans 3","Segoe UI",system-ui,sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* İçerik alanı arka planı */
html.design-gentelella body.gentelella-shell-active .shell.app-content-shell {
  background: #f3f3f9;
}

/* ═══════════════════════════════════════════════════════
   2. SIDEBAR
   ═══════════════════════════════════════════════════════ */
html.design-gentelella .app-sidebar {
  background: #16191f !important;
  border-right: none !important;
  box-shadow: 4px 0 16px rgba(0,0,0,0.18) !important;
}

html.design-gentelella .app-sidebar-brand {
  position: relative;
  background: #0f1117 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  min-height: 5.75rem;
  padding: 2.4rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

html.design-gentelella .app-sidebar-brand-link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}

html.design-gentelella .app-sidebar-brand-logo-img {
  display: block !important;
  width: 3rem !important;
  height: 3rem !important;
  max-width: 3rem !important;
  max-height: 3rem !important;
  flex-shrink: 0;
  object-fit: contain;
}

html.design-gentelella .app-sidebar-brand-text {
  display: block !important;
  width: 100%;
  min-width: 0;
  text-align: center;
}

html.design-gentelella .app-sidebar-brand-link.app-sidebar-brand-link--wordmark-only .app-sidebar-brand-text {
  display: none !important;
}

html.design-gentelella .app-sidebar-brand-link.app-sidebar-brand-link--wordmark-only {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0;
}

html.design-gentelella .app-sidebar-brand-link.app-sidebar-brand-link--wordmark-only .app-sidebar-brand-logo-img.app-sidebar-brand-wordmark {
  width: auto !important;
  height: 1.85rem !important;
  max-width: 10.5rem !important;
  max-height: none !important;
}

html.design-gentelella .app-sidebar-brand-text strong {
  display: block;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #eef2ff !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

html.design-gentelella .app-sidebar-brand-text span {
  font-size: 0.6875rem !important;
  color: rgba(255,255,255,0.36) !important;
}

html.design-gentelella .app-sidebar-section {
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.25) !important;
  padding: 0 1rem !important;
  margin: 1.1rem 0 0.3rem !important;
}

html.design-gentelella .app-sidebar-link {
  padding: 0.6rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.62) !important;
  border-radius: 0 !important;
  transition: background 0.12s, color 0.12s !important;
}

html.design-gentelella .app-sidebar-link:hover {
  background: rgba(255,255,255,0.07) !important;
  color: rgba(255,255,255,0.92) !important;
}

html.design-gentelella .app-sidebar-link.active {
  background: rgba(99,102,241,0.16) !important;
  color: #818cf8 !important;
  font-weight: 600 !important;
  box-shadow: inset 3px 0 0 #6366f1 !important;
}

html.design-gentelella .app-sidebar-icon {
  width: 1.2rem !important;
  opacity: 0.78 !important;
}

html.design-gentelella .app-sidebar-footer {
  background: #0f1117 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0.65rem 0.9rem !important;
}

html.design-gentelella .app-sidebar-collapse {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  margin-left: 0 !important;
  z-index: 2;
  border-color: rgba(255,255,255,0.10) !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.55) !important;
  border-radius: 6px !important;
}

html.design-gentelella .app-sidebar-collapse:hover {
  background: rgba(255,255,255,0.09) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   3. GENEL KARTLAR
   ═══════════════════════════════════════════════════════ */
html.design-gentelella .card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06) !important;
}

html.design-gentelella .orders-page-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   4. BUTONLAR
   ═══════════════════════════════════════════════════════ */
html.design-gentelella .btn {
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #374151 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: "Source Sans 3",system-ui,sans-serif !important;
  min-height: 2.3rem !important;
  padding: 0.4rem 1rem !important;
  width: auto !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
  transition: background 0.12s, border-color 0.12s !important;
}

html.design-gentelella .btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

html.design-gentelella .btn.primary {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(99,102,241,0.30) !important;
}

html.design-gentelella .btn.primary:hover {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
}

html.design-gentelella .btn-danger {
  background: #fff !important;
  border-color: rgba(239,68,68,0.30) !important;
  color: #ef4444 !important;
  box-shadow: none !important;
}

html.design-gentelella .btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
}

html.design-gentelella .btn:focus-visible,
html.design-gentelella .btn.primary:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.25) !important;
}

/* ═══════════════════════════════════════════════════════
   5. FORM ALANLARI
   ═══════════════════════════════════════════════════════ */
html.design-gentelella input,
html.design-gentelella select,
html.design-gentelella textarea {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 0.9rem !important;
  font-family: "Source Sans 3",system-ui,sans-serif !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
  transition: border-color 0.14s, box-shadow 0.14s !important;
}

html.design-gentelella input:focus,
html.design-gentelella select:focus,
html.design-gentelella textarea:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15) !important;
}

html.design-gentelella label {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
}

/* ═══════════════════════════════════════════════════════
   6. SİPARİŞLER ARAÇ ÇUBUĞU
   ═══════════════════════════════════════════════════════ */
html.design-gentelella .orders-toolbar {
  margin-bottom: 1.25rem;
}

html.design-gentelella .orders-filter-tabs,
html.design-gentelella .orders-view-tabs {
  display: flex !important;
  gap: 2px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

html.design-gentelella .orders-pill {
  border: none !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #64748b !important;
  padding: 6px 14px !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  font-family: "Source Sans 3",system-ui,sans-serif !important;
  transition: background 0.12s, color 0.12s !important;
  white-space: nowrap !important;
}

html.design-gentelella .orders-pill:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

html.design-gentelella .orders-pill.active {
  background: #6366f1 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* ═══════════════════════════════════════════════════════
   7. SİPARİŞ KART IZGARASI
   ═══════════════════════════════════════════════════════ */
html.design-gentelella #view_orders .orders-card-grid,
html.design-gentelella body.gentelella-shell-active #view_orders .orders-card-grid {
  gap: 16px !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
}
@media (max-width: 1400px) {
  html.design-gentelella #view_orders .orders-card-grid,
  html.design-gentelella body.gentelella-shell-active #view_orders .orders-card-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}
@media (max-width: 1000px) {
  html.design-gentelella #view_orders .orders-card-grid,
  html.design-gentelella body.gentelella-shell-active #view_orders .orders-card-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}
@media (max-width: 580px) {
  html.design-gentelella #view_orders .orders-card-grid,
  html.design-gentelella body.gentelella-shell-active #view_orders .orders-card-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════
   8. SİPARİŞ KARTI
   ═══════════════════════════════════════════════════════ */

/* Ana kart — yatay grid → dikey flex */
html.design-gentelella #view_orders .order-info-card,
html.design-gentelella #view_quotes .order-info-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  gap: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
  transition: box-shadow 0.18s, transform 0.18s !important;
}

html.design-gentelella #view_orders .order-info-card:hover,
html.design-gentelella #view_quotes .order-info-card:hover {
  box-shadow: 0 0 0 1px rgba(99,102,241,0.20), 0 8px 28px rgba(0,0,0,0.10) !important;
  transform: translateY(-2px) !important;
}

/* ── ÖNİZLEME (üst, koyu) ── */
html.design-gentelella #view_orders .order-card-preview,
html.design-gentelella #view_quotes .order-card-preview {
  position: relative !important;
  width: 100% !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  border-radius: 0 !important;
  border: none !important;
  background: #0f1117 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  align-self: auto !important;
}

/* Tek çerçeve wrapper */
html.design-gentelella #view_orders .order-card-preview:not(.order-card-preview--multi) .frame-preview,
html.design-gentelella #view_quotes .order-card-preview:not(.order-card-preview--multi) .frame-preview,
html.design-gentelella #view_orders .order-card-preview:not(.order-card-preview--multi),
html.design-gentelella #view_quotes .order-card-preview:not(.order-card-preview--multi) {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* SVG */
html.design-gentelella #view_orders .order-card-preview:not(.order-card-preview--multi) > .frame-preview-svg,
html.design-gentelella #view_quotes .order-card-preview:not(.order-card-preview--multi) > .frame-preview-svg,
html.design-gentelella #view_orders .order-card-preview:not(.order-card-preview--multi) .frame-preview .frame-preview-svg,
html.design-gentelella #view_quotes .order-card-preview:not(.order-card-preview--multi) .frame-preview .frame-preview-svg {
  max-width: 78% !important;
  max-height: 130px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.60))
          drop-shadow(0 2px 6px rgba(0,0,0,0.35)) !important;
}

/* Çoklu çerçeve */
html.design-gentelella #view_orders .order-card-preview--multi,
html.design-gentelella #view_quotes .order-card-preview--multi {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
html.design-gentelella #view_orders .order-card-preview--multi::-webkit-scrollbar,
html.design-gentelella #view_quotes .order-card-preview--multi::-webkit-scrollbar { display: none; }

html.design-gentelella #view_orders .order-card-preview--multi .order-card-preview-item,
html.design-gentelella #view_quotes .order-card-preview--multi .order-card-preview-item {
  flex: 0 0 72px !important;
  width: 72px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  padding: 7px 5px 5px !important;
  gap: 5px !important;
}

html.design-gentelella #view_orders .order-card-preview--multi .order-card-preview-label,
html.design-gentelella #view_quotes .order-card-preview--multi .order-card-preview-label {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase !important;
}

html.design-gentelella #view_orders .order-card-preview--multi .order-card-preview-frame,
html.design-gentelella #view_quotes .order-card-preview--multi .order-card-preview-frame {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html.design-gentelella #view_orders .order-card-preview--multi .frame-preview-svg,
html.design-gentelella #view_quotes .order-card-preview--multi .frame-preview-svg {
  max-width: 100% !important;
  max-height: 52px !important;
  width: auto !important;
  height: auto !important;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.60)) !important;
}

/* Durum badge */
html.design-gentelella #view_orders .order-card-preview .order-status,
html.design-gentelella #view_quotes .order-card-preview .order-status {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  z-index: 2 !important;
  letter-spacing: 0.01em !important;
}

/* Sipariş no */
html.design-gentelella #view_orders .order-card-preview .order-id,
html.design-gentelella #view_quotes .order-card-preview .order-id {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: ui-monospace,monospace !important;
  color: rgba(255,255,255,0.50) !important;
  background: rgba(0,0,0,0.38) !important;
  padding: 2px 8px !important;
  border-radius: 5px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  display: inline-block !important;
  z-index: 2 !important;
}

/* Durum renkleri */
html.design-gentelella .order-card-preview .order-status-hazirlaniyor { background: rgba(239,246,255,0.95) !important; color: #1d4ed8 !important; }
html.design-gentelella .order-card-preview .order-status-hazir         { background: rgba(240,253,244,0.95) !important; color: #166534 !important; }
html.design-gentelella .order-card-preview .order-status-teslim,
html.design-gentelella .order-card-preview .order-status-teslim_edildi { background: rgba(245,243,255,0.95) !important; color: #5b21b6 !important; }
html.design-gentelella .order-card-preview .order-status-iptal         { background: rgba(254,242,242,0.95) !important; color: #991b1b !important; }
html.design-gentelella .order-card-preview .order-status-bekliyor      { background: rgba(255,251,235,0.95) !important; color: #92400e !important; }

/* ── GÖVDE ── */
html.design-gentelella #view_orders .order-card-main,
html.design-gentelella #view_quotes .order-card-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 14px 16px 0 !important;
  flex: 1 !important;
  min-width: 0 !important;
  overflow: visible !important;
}

html.design-gentelella #view_orders .order-card-main .order-id,
html.design-gentelella #view_quotes .order-card-main .order-id { display: none !important; }

html.design-gentelella #view_orders .order-card-main .order-status,
html.design-gentelella #view_quotes .order-card-main .order-status { display: none !important; }

html.design-gentelella #view_orders .order-card-head,
html.design-gentelella #view_quotes .order-card-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 0 !important;
}

html.design-gentelella #view_orders .order-card-head h3,
html.design-gentelella #view_quotes .order-card-head h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: -0.01em !important;
}

html.design-gentelella #view_orders .order-card-head p,
html.design-gentelella #view_quotes .order-card-head p {
  font-size: 12px !important;
  color: #94a3b8 !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: unset !important;
}

/* Aşama track */
html.design-gentelella #view_orders .order-asama-track,
html.design-gentelella #view_quotes .order-asama-track {
  display: flex !important;
  gap: 4px !important;
  margin: 10px 0 0 !important;
}

html.design-gentelella #view_orders .order-asama-step,
html.design-gentelella #view_orders .order-card-durum-btn,
html.design-gentelella #view_quotes .order-card-durum-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 5px 3px !important;
  border-radius: 6px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #94a3b8 !important;
  line-height: 1.2 !important;
  font-family: "Source Sans 3",system-ui,sans-serif !important;
  cursor: default !important;
  margin-top: 0 !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: none !important;
  transition: background 0.12s, border-color 0.12s, color 0.12s !important;
}

html.design-gentelella #view_orders .order-card-durum-btn:not(:disabled):hover,
html.design-gentelella #view_quotes .order-card-durum-btn:not(:disabled):hover {
  background: #eef2ff !important;
  border-color: #a5b4fc !important;
  color: #4f46e5 !important;
  filter: none !important;
  cursor: pointer !important;
}

html.design-gentelella .order-asama-hazirlaniyor.is-done,
html.design-gentelella .order-asama-hazirlaniyor.is-active {
  background: #eff6ff !important; border-color: #93c5fd !important; color: #1d4ed8 !important;
}
html.design-gentelella .order-asama-hazir.is-done,
html.design-gentelella .order-asama-hazir.is-active {
  background: #f0fdf4 !important; border-color: #86efac !important; color: #166534 !important;
}
html.design-gentelella .order-asama-teslim_edildi.is-done,
html.design-gentelella .order-asama-teslim_edildi.is-active {
  background: #f5f3ff !important; border-color: #c4b5fd !important; color: #5b21b6 !important;
}
html.design-gentelella .order-asama-step.is-active { font-weight: 800 !important; }
html.design-gentelella .order-asama-step.is-pending { opacity: 0.45 !important; }

/* Çerçeve satırları */
html.design-gentelella #view_orders .order-card-lines,
html.design-gentelella #view_quotes .order-card-lines {
  display: block !important;
  list-style: none !important;
  margin: 10px 0 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
  max-height: 72px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}

html.design-gentelella #view_orders .order-card-lines li,
html.design-gentelella #view_quotes .order-card-lines li {
  padding: 3px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  line-height: 1.4 !important;
  color: #374151 !important;
}

html.design-gentelella #view_orders .order-card-lines li:last-child,
html.design-gentelella #view_quotes .order-card-lines li:last-child { border-bottom: none !important; }

html.design-gentelella #view_orders .order-card-lines .order-line-no,
html.design-gentelella #view_quotes .order-card-lines .order-line-no {
  color: #6366f1 !important; font-weight: 700 !important;
}

/* Meta bilgiler */
html.design-gentelella #view_orders .order-card-facts,
html.design-gentelella #view_quotes .order-card-facts {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0 !important;
  margin: 12px 0 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #f1f5f9 !important;
}

html.design-gentelella #view_orders .order-card-facts div,
html.design-gentelella #view_quotes .order-card-facts div {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 0 !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  grid-column: auto !important;
}

html.design-gentelella #view_orders .order-card-facts div:last-child,
html.design-gentelella #view_quotes .order-card-facts div:last-child {
  grid-column: auto !important;
}

html.design-gentelella #view_orders .order-card-facts div + div,
html.design-gentelella #view_quotes .order-card-facts div + div {
  padding-left: 12px !important;
  border-left: 1px solid #f1f5f9 !important;
}

html.design-gentelella #view_orders .order-card-facts dt,
html.design-gentelella #view_quotes .order-card-facts dt {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

html.design-gentelella #view_orders .order-card-facts dd,
html.design-gentelella #view_quotes .order-card-facts dd {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

html.design-gentelella #view_orders .order-card-facts div:first-child dd,
html.design-gentelella #view_quotes .order-card-facts div:first-child dd {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #6366f1 !important;
  letter-spacing: -0.02em !important;
}

/* Footer */
html.design-gentelella #view_orders .order-card-actions,
html.design-gentelella #view_quotes .order-card-actions {
  display: flex !important;
  gap: 7px !important;
  margin: 14px -16px 0 !important;
  padding: 10px 16px !important;
  background: #f8fafc !important;
  border-top: 1px solid #f1f5f9 !important;
  grid-template-columns: unset !important;
  align-items: center !important;
  border-radius: 0 0 14px 14px !important;
}

html.design-gentelella #view_orders .order-card-actions .btn,
html.design-gentelella #view_quotes .order-card-actions .btn {
  margin-top: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  min-width: 0 !important;
  width: auto !important;
  box-shadow: none !important;
}

html.design-gentelella #view_orders .order-card-actions .btn.primary,
html.design-gentelella #view_quotes .order-card-actions .btn.primary {
  flex: 1 !important;
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
}

html.design-gentelella #view_orders .order-card-actions .btn.primary:hover,
html.design-gentelella #view_quotes .order-card-actions .btn.primary:hover {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
}

html.design-gentelella #view_orders .order-card-actions .btn-danger,
html.design-gentelella #view_quotes .order-card-actions .btn-danger {
  flex: 0 0 auto !important;
  background: #ffffff !important;
  border-color: rgba(239,68,68,0.25) !important;
  color: #ef4444 !important;
  padding: 0 11px !important;
}

html.design-gentelella #view_orders .order-card-actions .btn-danger:hover,
html.design-gentelella #view_quotes .order-card-actions .btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
}

/* ═══════════════════════════════════════════════════════
   9. HESAPLA EKRANI
   ═══════════════════════════════════════════════════════ */
html.design-gentelella body.calc-view-active #calc_summary.summary {
  background: #0f1117 !important;
  border-right: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: none !important;
  padding: 1.25rem 1rem !important;
}

html.design-gentelella body.calc-view-active #calc_summary .frame-preview-svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3))
          drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18)) !important;
}

html.design-gentelella body.calc-view-active .form-card {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  padding: 1.5rem 1.75rem !important;
}

html.design-gentelella .calc-mode-chips {
  display: flex !important; gap: 0 !important;
  margin: 0 0 1.25rem !important; padding: 0 !important;
  background: transparent !important; border: none !important;
  border-bottom: 2px solid #f1f5f9 !important;
  overflow-x: auto !important; scrollbar-width: none !important;
}
html.design-gentelella .calc-mode-chips::-webkit-scrollbar { display: none; }

html.design-gentelella .calc-chip {
  flex-shrink: 0 !important; border: none !important; border-radius: 0 !important;
  border-bottom: 2.5px solid transparent !important; margin-bottom: -2px !important;
  background: transparent !important; color: #94a3b8 !important;
  font-size: 0.875rem !important; font-weight: 600 !important;
  padding: 0.5rem 1.1rem !important; cursor: pointer !important; white-space: nowrap !important;
  transition: color 0.12s, border-color 0.12s !important;
}
html.design-gentelella .calc-chip:hover { color: #6366f1 !important; }
html.design-gentelella .calc-chip.active {
  color: #6366f1 !important; border-bottom-color: #6366f1 !important; background: transparent !important;
}

html.design-gentelella .calc-subchip {
  border: 1px solid #e2e8f0 !important; border-radius: 7px !important;
  background: #f8fafc !important; color: #64748b !important;
  font-size: 0.8125rem !important; font-weight: 500 !important; padding: 0.3rem 0.75rem !important;
}
html.design-gentelella .calc-subchip.active {
  background: #6366f1 !important; border-color: #6366f1 !important; color: #fff !important;
}

html.design-gentelella .calc-subchips-paspartu {
  border: 1px solid #e2e8f0 !important; border-radius: 10px !important;
  background: #f8fafc !important; padding: 0.75rem !important;
}

html.design-gentelella .mat-row {
  border: 1px solid #e2e8f0 !important; border-radius: 10px !important;
  background: #f8fafc !important; padding: 0.65rem 0.75rem !important; margin-bottom: 0.75rem !important;
}

html.design-gentelella body.calc-view-active .calc-price-row {
  background: #f8fafc !important; border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important; padding: 1rem 1.25rem !important;
  margin: 1rem 0 0.75rem !important; box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

html.design-gentelella body.calc-view-active .calc-live-price-label {
  font-size: 0.6875rem !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.10em !important; color: #94a3b8 !important;
}

html.design-gentelella body.calc-view-active .calc-live-price {
  font-size: 1.85rem !important; font-weight: 700 !important;
  letter-spacing: -0.03em !important; color: #6366f1 !important; line-height: 1.2 !important;
}

html.design-gentelella body.calc-view-active .calc-live-olcu { font-size: 0.75rem !important; color: #94a3b8 !important; }

html.design-gentelella .calc-price-row .btn.primary,
html.design-gentelella body.calc-view-active .calc-price-row .btn.primary {
  min-width: 10rem !important; min-height: 2.5rem !important; padding: 0.5rem 1.25rem !important;
  border-radius: 10px !important; background: #6366f1 !important; border-color: #6366f1 !important;
  color: #fff !important; font-size: 0.9rem !important; font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(99,102,241,0.30) !important; width: auto !important;
}
html.design-gentelella .calc-price-row .btn.primary:hover,
html.design-gentelella body.calc-view-active .calc-price-row .btn.primary:hover,
html.design-gentelella body.calc-view-active .calc-price-actions .btn.calc-save-btn-primary:hover:not(:disabled) {
  background: #4a6480 !important;
  border-color: #4a6480 !important;
  color: #fff !important;
}

html.design-gentelella .picker-card {
  border: 1px solid #e2e8f0 !important; border-radius: 12px !important;
  background: #fff !important; padding: 0.75rem !important;
}

html.design-gentelella .picker-filter {
  border: 1px solid #e2e8f0 !important; border-radius: 999px !important;
  background: #f8fafc !important; color: #64748b !important;
  font-size: 0.6875rem !important; font-weight: 600 !important; padding: 0.25rem 0.65rem !important;
  cursor: pointer !important; transition: background 0.12s, border-color 0.12s, color 0.12s !important;
}
html.design-gentelella .picker-filter:hover { border-color: #6366f1 !important; color: #6366f1 !important; background: #eef2ff !important; }
html.design-gentelella .picker-filter.active { background: #6366f1 !important; border-color: #6366f1 !important; color: #fff !important; }

html.design-gentelella .frame-picker-grid {
  grid-template-columns: repeat(auto-fill,minmax(4.5rem,1fr)) !important;
  gap: 6px !important; max-height: 20rem !important;
}
html.design-gentelella .frame-pick {
  border: 1.5px solid #e2e8f0 !important; border-radius: 8px !important;
  background: #fff !important; padding: 5px 4px 4px !important; gap: 3px !important;
  transition: border-color 0.12s, box-shadow 0.12s !important;
}
html.design-gentelella .frame-pick:hover { border-color: #6366f1 !important; box-shadow: 0 0 0 2px rgba(99,102,241,0.15) !important; }
html.design-gentelella .frame-pick.active { border-color: #6366f1 !important; box-shadow: 0 0 0 3px rgba(99,102,241,0.20) !important; }
html.design-gentelella .frame-pick-img { height: 2.4rem !important; border-radius: 5px !important; }
html.design-gentelella .frame-pick-kod { font-size: 0.625rem !important; font-weight: 700 !important; color: #6366f1 !important; }

/* ═══════════════════════════════════════════════════════
   10. ANA MENÜ
   ═══════════════════════════════════════════════════════ */
html.design-gentelella #view_home .menu-tile {
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05) !important;
  transition: box-shadow 0.15s, transform 0.15s !important;
}
html.design-gentelella #view_home .menu-tile:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 8px 24px rgba(0,0,0,0.10) !important;
}
html.design-gentelella #view_home .menu-tile-accent {
  background: #6366f1 !important; border-color: #4f46e5 !important;
}
html.design-gentelella #view_home .menu-tile-accent:hover { background: #4f46e5 !important; }
html.design-gentelella #view_home .stat-card {
  border: none !important; border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05) !important;
}
html.design-gentelella #view_home .stat-card:hover { transform: none !important; }
html.design-gentelella #view_home .stat-value { color: #1e293b !important; font-size: 1.6rem !important; }
html.design-gentelella #view_home .stat-card-accent .stat-value { color: #6366f1 !important; }
html.design-gentelella #view_home .home-dashboard {
  border: none !important; border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05) !important;
  background: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════
   11. MODALLER + TABLOLAR
   ═══════════════════════════════════════════════════════ */
html.design-gentelella .app-modal-backdrop,
html.design-gentelella .finance-modal-backdrop { background: rgba(8,12,22,0.55) !important; backdrop-filter: blur(6px) !important; }
html.design-gentelella .app-modal-card,
html.design-gentelella .finance-modal-card { border-radius: 16px !important; border: none !important; box-shadow: 0 24px 64px rgba(0,0,0,0.18) !important; overflow: hidden !important; }
html.design-gentelella .app-modal-head,
html.design-gentelella .finance-modal-head { padding: 1rem 1.25rem !important; background: #f8fafc !important; border-bottom: 1px solid #f1f5f9 !important; }
html.design-gentelella .app-modal-body,
html.design-gentelella .finance-modal-body { padding: 1rem 1.25rem !important; }
html.design-gentelella .app-modal-foot,
html.design-gentelella .finance-modal-foot { padding: 0.75rem 1.25rem !important; background: #f8fafc !important; border-top: 1px solid #f1f5f9 !important; }
html.design-gentelella .orders-table-wrap { border: none !important; border-radius: 14px !important; background: #fff !important; overflow: auto !important; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05) !important; }
html.design-gentelella .orders-table { font-size: 0.8125rem !important; }
html.design-gentelella .orders-table th { font-size: 0.6875rem !important; font-weight: 700 !important; letter-spacing: 0.06em !important; text-transform: uppercase !important; color: #94a3b8 !important; background: #f8fafc !important; }
html.design-gentelella .orders-table th, html.design-gentelella .orders-table td { padding: 0.6rem 0.85rem !important; border-bottom: 1px solid #f1f5f9 !important; }
html.design-gentelella .orders-table tbody tr:hover td { background: #f5f3ff !important; }

/* ═══════════════════════════════════════════════════════
   12. ERİŞİLEBİLİRLİK
   ═══════════════════════════════════════════════════════ */
html.design-gentelella *:focus-visible { outline: 2px solid #6366f1 !important; outline-offset: 2px !important; }
@media (prefers-reduced-motion: reduce) {
  html.design-gentelella *, html.design-gentelella *::before, html.design-gentelella *::after {
    transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transform: none !important;
  }
}
@media (max-width: 900px) {
  html.design-gentelella body.calc-view-active #view_calc .grid { display: flex !important; flex-direction: column !important; }
  html.design-gentelella body.calc-view-active #calc_summary.summary { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; position: static !important; min-height: 0 !important; }
  html.design-gentelella body.calc-view-active .form-card { border-left: none !important; min-height: 0 !important; max-height: none !important; }
}
