/* ============================================
   Şekercioğlu Mobilya - Sipariş Takip Sistemi
   Bileşenler (Components)
   ============================================
   Tekrar kullanılabilir UI bileşenleri: düğmeler,
   kartlar, rozetler, yükleyiciler, iskelet vb.
   ============================================ */

/* ═══════════════════════════════════════════
   DÜĞMELER (Buttons)
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2-5) var(--space-5);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Düğme - Parlama Efekti */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled,
.btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.btn:disabled::before,
.btn.disabled::before {
  display: none;
}

/* Düğme - Birincil (Primary) */
.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--gradient-accent-hover);
  box-shadow: var(--shadow-accent-lg);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--shadow-xs);
}

.btn-primary:focus-visible {
  box-shadow: var(--shadow-accent-lg), 0 0 0 3px var(--color-accent-glow);
}

/* Düğme - İkincil (Secondary) */
.btn-secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  border-color: var(--color-border-medium);
}

.btn-secondary:hover {
  background: var(--color-bg-surface);
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Düğme - Tehlike (Danger) */
.btn-danger {
  background: var(--gradient-danger);
  color: white;
  box-shadow: var(--shadow-glow-danger);
}

.btn-danger:hover {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

/* Düğme - Başarı (Success) */
.btn-success {
  background: var(--gradient-success);
  color: white;
  box-shadow: var(--shadow-glow-success);
}

.btn-success:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

/* Düğme - Uyarı (Warning) */
.btn-warning {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.btn-warning:hover {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.25);
  transform: translateY(-1px);
}

/* Düğme - Hayalet (Ghost) */
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.btn-ghost::before {
  display: none;
}

/* Düğme - Çerçeve (Outline) */
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-light);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-outline-danger {
  background: transparent;
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-outline-danger:hover {
  background: var(--color-danger-light);
  border-color: var(--color-danger);
}

/* Düğme - Boyutlar */
.btn-sm {
  padding: var(--space-1-5) var(--space-3);
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
  gap: var(--space-1-5);
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-md);
  border-radius: var(--radius-lg);
  gap: var(--space-3);
}

.btn-xl {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-md);
  border-radius: var(--radius-lg);
  gap: var(--space-3);
}

/* Düğme - Sadece İkon (Icon Button) */
.btn-icon svg,
.btn-icon i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  pointer-events: none;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.btn-icon:active {
  transform: scale(0.9);
}

.btn-icon.btn-icon-sm {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.btn-icon.btn-icon-lg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
}

.btn-icon.btn-icon-danger:hover {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.btn-icon.btn-icon-success:hover {
  background: var(--color-success-light);
  color: var(--color-success);
}

/* Düğme Grubu */
.btn-group {
  display: flex;
  gap: var(--space-2);
}

.btn-group-connected {
  gap: 0;
}

.btn-group-connected .btn {
  border-radius: 0;
}

.btn-group-connected .btn:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.btn-group-connected .btn:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Düğme - Yükleniyor Durumu */
.btn.loading {
  pointer-events: none;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
}

.btn-primary.loading::after {
  border-color: rgba(15, 23, 42, 0.3);
  border-top-color: var(--color-bg-primary);
}


/* ═══════════════════════════════════════════
   KARTLAR (Cards)
   ═══════════════════════════════════════════ */

.card {
  background: var(--color-bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--glass-shadow);
}

/* Cam efekti üst parlama çizgisi */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.08) 50%, 
    transparent 100%
  );
  border-radius: var(--radius-full);
}

.card-hoverable {
  cursor: pointer;
}

.card-hoverable:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
              0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--color-border-strong);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: var(--glass-border-light);
}

.card-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.card-body {
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: var(--glass-border-light);
}

.card-compact {
  padding: var(--space-4);
}


/* ═══════════════════════════════════════════
   ROZETLER & DURUM GÖSTERGELERİ (Badges)
   ═══════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: var(--space-1) var(--space-2-5);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: var(--letter-spacing-wide);
}

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Durum Rozeti (Status Badge) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  border-radius: var(--radius-full);
  border: 1px solid;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Aktif - Sipariş verildi */
.status-badge-active,
.status-badge[data-status="Aktif"] {
  background: var(--color-status-active-bg);
  border-color: var(--color-status-active-border);
  color: var(--color-status-active-text);
}
.status-badge-active::before,
.status-badge[data-status="Aktif"]::before {
  background: var(--color-status-active);
  box-shadow: 0 0 6px var(--color-status-active);
}

/* Kısmi Geldi */
.status-badge-partial,
.status-badge[data-status="Kısmi Geldi"] {
  background: var(--color-status-partial-bg);
  border-color: var(--color-status-partial-border);
  color: var(--color-status-partial-text);
}
.status-badge-partial::before,
.status-badge[data-status="Kısmi Geldi"]::before {
  background: var(--color-status-partial);
  box-shadow: 0 0 6px var(--color-status-partial);
}

/* Mağazaya Geldi */
.status-badge-arrived,
.status-badge[data-status="Mağazaya Geldi"] {
  background: var(--color-status-arrived-bg);
  border-color: var(--color-status-arrived-border);
  color: var(--color-status-arrived-text);
}
.status-badge-arrived::before,
.status-badge[data-status="Mağazaya Geldi"]::before {
  background: var(--color-status-arrived);
  box-shadow: 0 0 6px var(--color-status-arrived);
}

/* Teslim Edildi */
.status-badge-delivered,
.status-badge[data-status="Teslim Edildi"] {
  background: var(--color-status-delivered-bg);
  border-color: var(--color-status-delivered-border);
  color: var(--color-status-delivered-text);
}
.status-badge-delivered::before,
.status-badge[data-status="Teslim Edildi"]::before {
  background: var(--color-status-delivered);
}

/* İptal */
.status-badge-cancelled,
.status-badge[data-status="İptal"] {
  background: var(--color-status-cancelled-bg);
  border-color: var(--color-status-cancelled-border);
  color: var(--color-status-cancelled-text);
}
.status-badge-cancelled::before,
.status-badge[data-status="İptal"]::before {
  background: var(--color-status-cancelled);
  box-shadow: 0 0 6px var(--color-status-cancelled);
}

/* Genel Rozet Renkleri */
.badge-accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.badge-accent.badge-dot::before { background: var(--color-accent); }

.badge-info {
  background: var(--color-info-light);
  color: var(--color-info);
}
.badge-info.badge-dot::before { background: var(--color-info); }

.badge-success {
  background: var(--color-success-light);
  color: var(--color-success);
}
.badge-success.badge-dot::before { background: var(--color-success); }

.badge-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}
.badge-warning.badge-dot::before { background: var(--color-warning); }

.badge-danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}
.badge-danger.badge-dot::before { background: var(--color-danger); }

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-bg-primary);
}


/* ═══════════════════════════════════════════
   ÖZET KARTLARI (Summary / Stat Cards)
   ═══════════════════════════════════════════ */

.summary-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg-glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.summary-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(245, 158, 11, 0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.summary-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35),
              0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.summary-card:hover::before {
  opacity: 1;
}

.summary-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-size: var(--font-size-xl);
}

.summary-card-icon-accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.summary-card-icon-info {
  background: var(--color-info-light);
  color: var(--color-info);
}

.summary-card-icon-success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.summary-card-icon-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.summary-card-icon-danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.summary-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: relative;
  z-index: 1;
}

.summary-card-value {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: var(--letter-spacing-tight);
  font-variant-numeric: tabular-nums;
}

.summary-card-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

.summary-card-trend {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-1);
}

.summary-card-trend-up {
  color: var(--color-success);
}

.summary-card-trend-down {
  color: var(--color-danger);
}


/* ═══════════════════════════════════════════
   AVATAR
   ═══════════════════════════════════════════ */

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: var(--color-bg-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  box-shadow: 0 0 0 2px var(--color-bg-secondary);
}

.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: var(--font-size-2xs);
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: var(--font-size-md);
}

.avatar-xl {
  width: 64px;
  height: 64px;
  font-size: var(--font-size-xl);
}

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  margin-left: -8px;
  border: 2px solid var(--color-bg-secondary);
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}


/* ═══════════════════════════════════════════
   AÇILIR MENÜ (Dropdown)
   ═══════════════════════════════════════════ */

.dropdown {
  position: relative;
  display: inline-flex;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-1));
  right: 0;
  min-width: 200px;
  background: var(--color-bg-glass-heavy);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: var(--glass-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-1-5);
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.dropdown-menu.open,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-2-5);
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.dropdown-item-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.dropdown-item:hover .dropdown-item-icon {
  opacity: 1;
}

.dropdown-item-danger {
  color: var(--color-danger);
}

.dropdown-item-danger:hover {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-1-5) 0;
}

.dropdown-header {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text-tertiary);
}


/* ═══════════════════════════════════════════
   CHIP / ETİKET (Tag)
   ═══════════════════════════════════════════ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: var(--color-border-medium);
  background: var(--color-bg-surface);
}

.chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 10px;
  line-height: 1;
}

.chip-remove:hover {
  background: var(--color-danger);
  color: white;
}

.chip-accent {
  background: var(--color-accent-light);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--color-accent);
}


/* ═══════════════════════════════════════════
   BOŞ DURUM (Empty State)
   ═══════════════════════════════════════════ */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  background: var(--color-bg-tertiary);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-text-tertiary);
  font-size: var(--font-size-3xl);
}

.empty-state-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.empty-state-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  max-width: 360px;
  margin-bottom: var(--space-5);
  line-height: var(--line-height-relaxed);
}


/* ═══════════════════════════════════════════
   YÜKLENİYOR (Loading Spinner)
   ═══════════════════════════════════════════ */

.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2.5px solid rgba(148, 163, 184, 0.2);
  border-top-color: var(--color-accent);
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}

.loading-spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.loading-spinner-lg {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.loading-spinner-xl {
  width: 48px;
  height: 48px;
  border-width: 3.5px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-12);
  min-height: 200px;
}

.loading-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

/* Tam Sayfa Yükleyici */
.loading-fullpage {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  background: var(--color-bg-primary);
  z-index: var(--z-max);
}

.loading-fullpage .loading-spinner {
  width: 48px;
  height: 48px;
  border-width: 3px;
}


/* ═══════════════════════════════════════════
   İSKELET YÜKLENİYOR (Skeleton Loading)
   ═══════════════════════════════════════════ */

.skeleton {
  position: relative;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(15, 23, 42, 0.03) 40%,
    rgba(15, 23, 42, 0.06) 50%,
    rgba(15, 23, 42, 0.03) 60%,
    transparent 100%
  );
  animation: shimmer 1.8s ease infinite;
}

.skeleton-text {
  height: 14px;
  width: 100%;
  margin-bottom: var(--space-2);
}

.skeleton-text:last-child {
  width: 70%;
  margin-bottom: 0;
}

.skeleton-title {
  height: 20px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
}

.skeleton-card {
  height: 120px;
  border-radius: var(--radius-lg);
}

.skeleton-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
}


/* ═══════════════════════════════════════════
   İPUCU (Tooltip)
   ═══════════════════════════════════════════ */

.tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--space-1-5) var(--space-3);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  white-space: nowrap;
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--color-bg-surface);
}

.tooltip-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* ═══════════════════════════════════════════
   AYIRICI (Divider)
   ═══════════════════════════════════════════ */

.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-4) 0;
  border: none;
}

.divider-light {
  background: var(--color-border-light);
}

.divider-with-text {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-tertiary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}


/* ═══════════════════════════════════════════
   İKON SARMALAYICI (Icon Wrapper)
   ═══════════════════════════════════════════ */

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.icon-wrapper-sm {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
}

.icon-wrapper-lg {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
}

.icon-wrapper-accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.icon-wrapper-info {
  background: var(--color-info-light);
  color: var(--color-info);
}

.icon-wrapper-success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.icon-wrapper-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.icon-wrapper-danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}


/* ═══════════════════════════════════════════
   BİLDİRİM NOKTASI (Notification Indicator)
   ═══════════════════════════════════════════ */

.notification-indicator {
  position: relative;
}

.notification-indicator::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-secondary);
  animation: pulse 2s ease infinite;
}
