/* AVLA Manager - Unified Theme System */

/* AVLA Dashboard - Kurumsal Tasarım Sistemi */
:root {
  /* Kurumsal Renk Paleti */
  --corporate-navy: #1e3a8a;
  --corporate-blue: #3b82f6;
  --corporate-light-blue: #60a5fa;
  --corporate-dark: #1f2937;
  --corporate-gray: #6b7280;
  --corporate-light-gray: #f3f4f6;
  --corporate-white: #ffffff;
  --page-background: #f9fafb;

  /* Durum Renkleri */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #3b82f6;

  /* Gradientler - Lacivert Tonları */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
  --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);

  /* Gölgeler */
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.theme-dark {
  --corporate-white: #1f2937;
  --corporate-light-gray: #374151;
  --corporate-gray: #9ca3af;
  --gradient-subtle: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  --page-background: #111827;
}



body, .container-fluid {
  background-color: var(--page-background) !important;
}

/* Dashboard Header */
.dashboard-header {
  background: var(--gradient-subtle);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.dashboard-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.dashboard-header .display-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
}

/* İstatistik Kartları - Kurumsal Tasarım */
.stats-card {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  position: relative;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--corporate-blue);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stats-card .card-body {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stats-card .stat-icon {
  width: 85px;
  height: 85px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.stats-card .stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--corporate-dark);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stats-card .stat-label {
  color: var(--corporate-gray);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.stats-card .stat-change {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

/* İstatistik Kartı Varyasyonları */
.stats-card.card-primary .stat-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--corporate-navy);
}

.stats-card.card-success .stat-icon {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #059669;
}

.stats-card.card-warning .stat-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.stats-card.card-danger .stat-icon {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

/* Ana İçerik Kartları */
.content-card {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
}

.content-card:hover {
  box-shadow: var(--shadow-medium);
}

.content-card .card-header {
  background: var(--gradient-subtle);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
}

.content-card .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--corporate-dark);
  margin: 0;
  display: flex;
  align-items: center;
}

.content-card .card-subtitle {
  color: var(--corporate-gray);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Tablo Tasarımı */
.corporate-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.corporate-table thead th {
  background: var(--gradient-subtle);
  color: var(--corporate-dark);
  font-weight: 600;
  border: none;
  padding: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.corporate-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: var(--corporate-dark);
  vertical-align: middle;
}

.corporate-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Durum Badge'leri */
.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.status-badge.status-online {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-badge.status-offline {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid #f87171;
}

.status-badge.status-maintenance {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #facc15;
}

.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Butonlar - Kurumsal Stil */
.corporate-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.corporate-btn-primary {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--corporate-navy);
}

.corporate-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: white;
}

.corporate-btn-outline {
  background: transparent;
  color: var(--corporate-dark);
  border-color: #d1d5db;
}

.corporate-btn-outline:hover {
  background: var(--corporate-dark);
  color: white;
  border-color: var(--corporate-dark);
}

/* Grafik Konteynerları */
.chart-container {
  background: var(--corporate-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid #e5e7eb;
  position: relative;
  height: 300px;
  width: 100%;
}

.chart-container canvas {
  position: absolute !important;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  width: calc(100% - 3rem) !important;
  height: calc(100% - 3rem) !important;
  max-width: none !important;
}

/* Modal içindeki chart container */
.modal .chart-container {
  height: 250px;
  padding: 1rem;
}

.modal .chart-container canvas {
  top: 2rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem) !important;
  height: calc(100% - 3rem) !important;
}

/* Sidebar mini chart */
.sidebar-card .chart-container {
  height: 150px;
  padding: 1rem;
}

.sidebar-card .chart-container canvas {
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem) !important;
  height: calc(100% - 2rem) !important;
}

/* Canvas genel davranışı */
canvas {
  display: block;
}

.chart-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--corporate-dark);
  margin: 0 0 0.5rem 0;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  background: var(--corporate-white);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
}

.modal .chart-title {
  font-size: 0.8rem;
}

.chart-controls {
  display: flex;
  gap: 0.5rem;
}

/* Sidebar Kartları */
.sidebar-card {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.sidebar-card .card-header {
  background: var(--gradient-subtle);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem;
}

.sidebar-card .card-body {
  padding: 1.25rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quick-action-item {
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: var(--corporate-dark);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--corporate-white);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.quick-action-item:hover {
  border-color: var(--corporate-blue);
  background: var(--gradient-subtle);
  transform: translateY(-2px);
  color: var(--corporate-dark);
  box-shadow: var(--shadow-medium);
}

.quick-action-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--gradient-primary);
  color: white;
}

.quick-action-item .label {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* Sensör Veri Kartları */
.sensor-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sensor-data-item {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.sensor-data-item:hover {
  border-color: var(--corporate-blue);
  box-shadow: var(--shadow-medium);
}

.sensor-data-item .sensor-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.sensor-data-item.temperature .sensor-icon {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.sensor-data-item.humidity .sensor-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--corporate-blue);
}

.sensor-data-item .sensor-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--corporate-dark);
  margin-bottom: 0.25rem;
}

.sensor-data-item .sensor-label {
  color: var(--corporate-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Alert Listesi */
.alert-list-item {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.alert-list-item:hover {
  border-color: var(--corporate-blue);
  box-shadow: var(--shadow-medium);
}

.alert-list-item:last-child {
  margin-bottom: 0;
}

.alert-severity {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.alert-severity.low {
  background: #dbeafe;
  color: var(--corporate-blue);
}

.alert-severity.medium {
  background: #fef3c7;
  color: #d97706;
}

.alert-severity.high {
  background: #fee2e2;
  color: #dc2626;
}

.alert-severity.critical {
  background: var(--corporate-dark);
  color: white;
}

/* Sistem Durum Kartları */
.system-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.system-status-item {
  background: var(--corporate-white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.system-status-item.status-active {
  border-color: #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.system-status-item .status-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.system-status-item.status-active .status-icon {
  color: #10b981;
}

.system-status-item .status-label {
  font-size: 0.875rem;
  color: var(--corporate-gray);
  margin-bottom: 0.25rem;
}

.system-status-item .status-text {
  font-weight: 600;
  color: var(--corporate-dark);
}

/* Sistem Metrikleri */
.metrics-row {
  background: var(--gradient-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--corporate-blue);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--corporate-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .dashboard-header {
    padding: 1.5rem;
    text-align: center;
  }

  .dashboard-header .d-flex {
    flex-direction: column;
    gap: 1rem;
  }

  .stats-card .card-body {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .stats-card .stat-icon {
    align-self: center;
  }

  .stats-card .stat-content {
    text-align: center;
  }

  .stats-card .stat-number {
    font-size: 2rem;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .sensor-data-grid,
  .system-status-grid {
    grid-template-columns: 1fr;
  }

  .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .chart-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .dashboard-header {
    padding: 1rem;
  }

  .stats-card .card-body {
    padding: 1rem;
  }

  .content-card .card-header {
    padding: 1rem;
  }

  .content-card .card-body {
    padding: 1rem;
  }
}

/* Dark Theme Uyarlamaları */
.theme-dark .stats-card {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .content-card {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .sidebar-card {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .dashboard-header {
  border-color: #374151;
}

.theme-dark .corporate-table tbody tr:hover {
  background-color: #374151;
}

.theme-dark .alert-list-item {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .system-status-item {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .sensor-data-item {
  background: var(--corporate-white);
  border-color: #374151;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .quick-action-item {
  background: var(--corporate-white);
  border-color: #374151;
  color: #f3f4f6;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.theme-dark .quick-action-item:hover {
  color: #f3f4f6;
}

.theme-dark .metrics-row {
  background: var(--corporate-white);
  border-color: #374151;
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.theme-dark .loading-skeleton {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
  background-size: 200% 100%;
}

/* Animasyonlar */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-animation {
  animation-delay: calc(var(--stagger-index, 0) * 0.1s);
}

/* Özel Scroll Bar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--corporate-gray);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--corporate-dark);
}

.theme-dark .custom-scrollbar::-webkit-scrollbar-track {
  background: #374151;
}

.theme-dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #6b7280;
}

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

/* Responsive Improvements */
@media (max-width: 1200px) {
  .dashboard-header .display-icon {
    width: 60px;
    height: 60px;
  }

  .dashboard-header .display-icon i {
    font-size: 1.5rem;
  }

  .stats-card .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .stats-card .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .dashboard-header {
    text-align: center;
  }

  .dashboard-header .d-flex {
    flex-direction: column;
    gap: 1rem;
  }

  .dashboard-header .display-icon {
    align-self: center;
  }
}

/* Form Control Enhancements */
.form-control:focus,
.form-select:focus {
  border-color: var(--corporate-blue);
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
  background-color: var(--corporate-white);
}

.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
  background-color: var(--corporate-white);
  color: #f3f4f6;
}

/* Button Group Enhancements */
.btn-group .corporate-btn {
  border-radius: 0;
}

.btn-group .corporate-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.btn-group .corporate-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.btn-group .corporate-btn:only-child {
  border-radius: 8px;
}

/* Table Row Hover Effects */
.corporate-table tbody tr {
  transition: all 0.2s ease;
}

.corporate-table tbody tr:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-dark .corporate-table tbody tr:hover {
  background-color: #374151;
}

/* Badge Improvements */
.badge.w-fit {
  width: fit-content;
  white-space: nowrap;
}

/* Spinner Enhancements */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Modern Modal Tasarımı - Ekteki tasarıma benzer */
.modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: var(--corporate-white);
}

.modal-header {
  background: var(--gradient-subtle);
  border-bottom: 1px solid #e5e7eb;
  padding: 1.75rem 2rem;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--corporate-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title i {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.modal-body {
  padding: 2rem;
  color: var(--corporate-dark);
}

.modal-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  border-radius: 0 0 20px 20px;
}

/* Modern Button Styles for Modals */
.modal-footer .btn {
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-footer .btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
}

.modal-footer .btn-secondary {
  background: #6b7280;
  color: white;
}

.modal-footer .btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(107, 114, 128, 0.3);
}

.modal-footer .btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.modal-footer .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

/* Close Button Styling - Modal */
.modal .btn-close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.modal .btn-close:hover {
  background: rgba(107, 114, 128, 0.1);
  opacity: 1;
  transform: scale(1.1);
}

/* Toast Close Button - Normal Boyut */
.toast .btn-close {
  width: 16px !important;
  height: 16px !important;
  background: none;
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  font-size: 0.75rem;
  margin: 0;
  padding: 0;
}

.toast .btn-close:hover {
  opacity: 1;
  transform: none;
  background: none;
}

/* Toast Tasarım İyileştirmeleri */
.toast {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid;
  min-width: 300px;
}

/* Gradient Button Styles */
.btn-gradient {
  background: var(--gradient-accent);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  filter: brightness(1.03);
}

.btn-gradient:active {
  transform: translateY(0);
  box-shadow: var(--shadow-medium);
  filter: brightness(0.98);
}

.btn-gradient:disabled,
.btn-gradient.disabled {
  opacity: .65;
  pointer-events: none;
  box-shadow: none;
}

/* Variants */
.btn-gradient-primary { background: var(--gradient-primary); }
.btn-gradient-secondary { background: var(--gradient-secondary); }
.btn-gradient-accent { background: var(--gradient-accent); }

/* Size helpers (optional) */
.btn-gradient.btn-sm { padding: 0.45rem 0.9rem; border-radius: 8px; }
.btn-gradient.btn-lg { padding: 0.8rem 1.5rem; border-radius: 12px; }

.toast-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 12px 12px 0 0;
}

.toast-body {
  padding: 0.75rem 1rem;
  color: var(--corporate-dark);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Toast Türlerine Göre Renkler */
.toast.toast-success {
  border-left-color: #10b981;
  background: rgba(236, 253, 245, 0.95);
}

.toast.toast-danger {
  border-left-color: #ef4444;
  background: rgba(254, 242, 242, 0.95);
}

.toast.toast-warning {
  border-left-color: #f59e0b;
  background: rgba(255, 251, 235, 0.95);
}

.toast.toast-info {
  border-left-color: var(--corporate-blue);
  background: rgba(239, 246, 255, 0.95);
}

/* Toast Container */
.toast-container {
  z-index: 1080 !important;
}

/* Dark Theme Toast */
.theme-dark .toast {
  background: rgba(31, 41, 55, 0.95);
  color: #f3f4f6;
}

.theme-dark .toast-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .toast-body {
  color: #f3f4f6;
}

.theme-dark .toast.toast-success {
  background: rgba(6, 95, 70, 0.95);
}

.theme-dark .toast.toast-danger {
  background: rgba(153, 27, 27, 0.95);
}

.theme-dark .toast.toast-warning {
  background: rgba(146, 64, 14, 0.95);
}

.theme-dark .toast.toast-info {
  background: rgba(30, 64, 175, 0.95);
}

/* Form Elements in Modals */
.modal .form-label {
  font-weight: 600;
  color: var(--corporate-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal .form-label i {
  color: var(--corporate-blue);
}

.modal .form-control,
.modal .form-select {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: white;
}

.modal .form-control:focus,
.modal .form-select:focus {
  border-color: var(--corporate-blue);
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
  background: white;
}

/* Alert Styles in Modals */
.modal .alert {
  border: none;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.modal .alert-info {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left-color: var(--corporate-blue);
  color: #1e40af;
}

.modal .alert-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left-color: #d97706;
  color: #92400e;
}

.modal .alert-success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-left-color: #10b981;
  color: #065f46;
}

.modal .alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left-color: #dc2626;
  color: #991b1b;
}

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(4px);
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.125rem;
  }

  .modal-title i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Specific Modal Types */

/* Address Input Modal - Sipariş Oluştur Modalına Benzer */
.modal .address-input {
  background: #f8fafc;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.modal .address-input:focus-within {
  border-color: var(--corporate-blue);
  background: white;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.1);
}

.modal .address-input textarea {
  border: none;
  background: transparent;
  resize: none;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 80px;
}

.modal .address-input textarea:focus {
  box-shadow: none;
  outline: none;
}

/* Select Dropdowns */
.modal .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Checkbox and Radio in Modals */
.modal .form-check {
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.modal .form-check:hover {
  background: #f1f5f9;
}

.modal .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 6px;
  border: 2px solid #d1d5db;
  margin-right: 0.75rem;
}

.modal .form-check-input:checked {
  background-color: var(--corporate-blue);
  border-color: var(--corporate-blue);
}

.modal .form-check-label {
  font-weight: 500;
  color: var(--corporate-dark);
  cursor: pointer;
}

/* Button Groups in Modals */
.modal .btn-group .btn {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: white;
  color: var(--corporate-gray);
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal .btn-group .btn:hover {
  border-color: var(--corporate-blue);
  color: var(--corporate-blue);
}

.modal .btn-group .btn.active,
.modal .btn-group .btn:checked + .btn {
  background: var(--gradient-primary);
  border-color: var(--corporate-navy);
  color: white;
}

/* Loading States in Modals */
.modal .loading-container {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 1rem 0;
}

.modal .spinner-border {
  color: var(--corporate-blue);
  width: 2rem;
  height: 2rem;
}

/* Dark Theme Modal Adaptations */
.theme-dark .modal-content {
  background: var(--corporate-white);
  color: #f3f4f6;
}

.theme-dark .modal-header {
  border-color: #374151;
}

.theme-dark .modal-footer {
  background: #1f2937;
  border-color: #374151;
}

.theme-dark .modal .form-control,
.theme-dark .modal .form-select {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

.theme-dark .modal .form-control:focus,
.theme-dark .modal .form-select:focus {
  background: #374151;
  border-color: var(--corporate-blue);
}

.theme-dark .modal .alert-info {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.theme-dark .modal .form-check {
  background: #374151;
}

.theme-dark .modal .address-input {
  background: #374151;
  border-color: #4b5563;
}

.theme-dark .modal .loading-container {
  background: #374151;
}

/* Modal İçi Metric Kartları */
.metric-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: var(--corporate-blue);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.metric-card .metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--corporate-blue);
  margin-bottom: 0.5rem;
}

.metric-card .metric-label {
  font-size: 0.75rem;
  color: var(--corporate-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Dark Theme Metric Cards */
.theme-dark .metric-card {
  background: #374151;
  border-color: #4b5563;
}

.theme-dark .metric-card:hover {
  border-color: var(--corporate-blue);
}

/* Modal Animation Enhancements */
.modal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
  transform: none;
}

/* Modal Size Variants */
.modal-dialog.modal-lg {
  max-width: 900px;
}

.modal-dialog.modal-xl {
  max-width: 1200px;
}

/* Modern Filter Body Styles */
.filter-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 0 0 20px 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.filter-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
  opacity: 0.3;
}

/* Filter Group Modern Styles */
.filter-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.filter-group .form-label {
  color: var(--corporate-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.025em;
}

.filter-group .form-label i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.filter-group .form-text {
  color: var(--corporate-gray);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border-left: 3px solid var(--corporate-blue);
  display: flex;
  align-items: center;
}

.filter-group .form-text i {
  opacity: 0.7;
  margin-right: 0.25rem;
}

/* Modern Input Groups */
.filter-group .input-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.filter-group .input-group:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.filter-group .input-group-text {
  border: none;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: var(--corporate-gray);
  border-right: 1px solid rgba(59, 130, 246, 0.1);
  padding: 0.75rem 1rem;
}

.filter-group .form-control,
.filter-group .form-select {
  border: none;
  background: #ffffff;
  color: var(--corporate-dark);
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  border: none;
  outline: none;
}

.filter-group .form-control::placeholder {
  color: var(--corporate-gray);
  opacity: 0.7;
  font-weight: 400;
}

/* Quick Filter Buttons Modern Style */
.quick-filters {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.quick-filters .btn {
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-width: 1.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-filters .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-filters .btn i {
  font-size: 0.9rem;
}

.quick-filters-label {
  color: var(--corporate-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.quick-filters-label::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--corporate-blue);
  border-radius: 2px;
  margin-right: 0.75rem;
}

/* Filter Actions */
.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.filter-actions .btn {
  border-radius: 10px;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Filter Body */
.theme-dark .filter-body {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .filter-group .form-label {
  color: #f3f4f6;
}

.theme-dark .filter-group .form-text {
  color: #9ca3af;
  background: rgba(55, 65, 81, 0.6);
}

.theme-dark .filter-group .input-group-text {
  background: linear-gradient(135deg, #374151, #1f2937);
  border-color: #4b5563;
  color: #9ca3af;
}

.theme-dark .filter-group .form-control,
.theme-dark .filter-group .form-select {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

.theme-dark .filter-group .form-control:focus,
.theme-dark .filter-group .form-select:focus {
  background: #374151;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.theme-dark .quick-filters {
  background: rgba(55, 65, 81, 0.7);
  border-color: #4b5563;
}

.theme-dark .quick-filters-label {
  color: #f3f4f6;
}

.theme-dark .filter-actions {
  border-color: #4b5563;
}

/* Accordion Filter Styles */
.filter-accordion {
  margin-bottom: 1.5rem;
}

.filter-accordion .card-header {
  background: linear-gradient(135deg, var(--corporate-navy) 0%, var(--corporate-blue) 100%);
  border: none;
  padding: 0;
  border-radius: 16px 16px 0 0;
}

.filter-accordion .accordion-button {
  background: transparent;
  border: none;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.filter-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  border-color: transparent;
}


.filter-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.filter-accordion .accordion-collapse {
  border: none;
}

.filter-accordion .accordion-body {
  padding: 0;
  border: none;
}

.filter-accordion .filter-body {
  border-radius: 0 0 16px 16px;
  margin-top: 0;
}

/* Filter Toggle Stats */
.filter-toggle-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.9;
}

.filter-toggle-stats .badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}
.filter-toggle-stats .badge {
  background: var(--corporate-blue);
}

.filter-toggle-stats .active-filters {
  background: var(--success-color);
}

/* Collapsed State Improvements */
.filter-accordion .accordion-button.collapsed {
  border-radius: 16px;
}

.filter-accordion .accordion-button.collapsed:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Active Filter Indicator */
.filter-has-active .card-header {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.filter-has-active .accordion-button::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border: 2px solid white;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Dark Theme Accordion */
.theme-dark .filter-accordion .card-header {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .filter-accordion .accordion-button {
  color: #f3f4f6;
}

.theme-dark .filter-accordion .accordion-button:not(.collapsed) {
  border-bottom-color: rgba(243, 244, 246, 0.1);
}

.theme-dark .filter-toggle-stats .badge {
  background: rgba(243, 244, 246, 0.2);
  color: #f3f4f6;
}

/* Modern Form Body Styles */
.form-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 0 0 20px 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.form-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
  opacity: 0.3;
}

/* Modern Form Groups */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group .form-label {
  color: var(--corporate-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.025em;
}

.form-group .form-label i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  color: var(--corporate-blue);
}

.form-group .form-label .required {
  color: var(--danger-color);
  margin-left: 0.25rem;
}

.form-group .form-control,
.form-group .form-select,
.form-group .form-textarea {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.875rem 1.125rem;
  font-size: 0.95rem;
  font-weight: 500;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group .form-control:focus,
.form-group .form-select:focus,
.form-group .form-textarea:focus {
  border-color: var(--corporate-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.form-group .form-control::placeholder {
  color: #9ca3af;
  opacity: 0.8;
  font-weight: 400;
}

/* Form Text Enhancement */
.form-group .form-text {
  color: var(--corporate-gray);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border-left: 3px solid var(--corporate-blue);
  display: flex;
  align-items: center;
}

.form-group .form-text i {
  opacity: 0.7;
  margin-right: 0.375rem;
}

/* Invalid Feedback Enhancement */
.form-group .invalid-feedback {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--danger-color);
  display: flex;
  align-items: center;
}

.form-group .invalid-feedback i {
  margin-right: 0.375rem;
}

/* Form Sections */
.form-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 0 0 4px 4px;
}

.form-section-title {
  color: var(--corporate-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.form-section-title i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  color: var(--corporate-blue);
}

/* Form Actions */
.form-actions {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.form-actions .btn {
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  min-width: 120px;
}

.form-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Card Footer Enhancement */
.content-card .card-footer {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 0 0 20px 20px;
}

.content-card .card-footer .d-flex {
  gap: 1rem;
}

.content-card .card-footer .text-muted {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

/* Help Card Body Enhancement (Unified with Technical Card) */
.help-card .card-body,
.technical-card .card-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.help-card .card-body::before,
.technical-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
  opacity: 0.3;
}

.help-card .card-body .row,
.technical-card .card-body .row {
  margin: 0;
  gap: 2rem;
  display: flex;
  flex-wrap: nowrap;
}

.help-card .card-body .row > [class*="col-"],
.technical-card .card-body .row > [class*="col-"] {
  padding: 0;
  flex: 1;
  min-width: 0;
}

/* Unified Section Styling (Help & Technical) */
.help-section,
.technical-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.help-section::before,
.technical-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
}

.help-section:hover,
.technical-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--corporate-blue);
}

.help-section h6,
.technical-section h6 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  color: var(--corporate-dark);
  letter-spacing: 0.025em;
}

.help-section h6 i,
.technical-section h6 i {
  font-size: 1.3rem;
  margin-right: 0.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
}

/* Color variants for help sections */
.help-section.tips h6 i {
  color: var(--warning-color);
  background: rgba(251, 191, 36, 0.1);
}

.help-section.steps h6 i {
  color: var(--success-color);
  background: rgba(34, 197, 94, 0.1);
}

/* Color variants for technical sections */
.technical-section.gpio h6 i {
  color: var(--corporate-blue);
  background: rgba(59, 130, 246, 0.1);
}

.technical-section.power h6 i {
  color: var(--success-color);
  background: rgba(34, 197, 94, 0.1);
}

/* Unified List Styling (Help & Technical) */
.help-list,
.technical-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-list li,
.technical-list li {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
}

.help-list li:last-child,
.technical-list li:last-child {
  border-bottom: none;
}

.help-list li:hover,
.technical-list li:hover {
  background: rgba(59, 130, 246, 0.02);
  padding-left: 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 8px;
}

.help-list li::before,
.technical-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--corporate-blue);
  margin-right: 1rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Color variants for help list bullets */
.help-section.tips .help-list li::before {
  background: var(--warning-color);
}

.help-section.steps .help-list li::before {
  background: var(--success-color);
}

/* Color variants for technical list bullets */
.technical-section.gpio .technical-list li::before {
  background: var(--corporate-blue);
}

.technical-section.power .technical-list li::before {
  background: var(--success-color);
}

.help-list li:hover::before,
.technical-list li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 8px currentColor;
}

.help-list li .help-text,
.technical-list li .tech-text {
  color: var(--corporate-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

.help-list li .help-text strong {
  color: var(--corporate-dark);
  font-weight: 600;
}

.technical-list li .tech-text .tech-highlight {
  color: var(--corporate-dark);
  font-weight: 600;
  font-family: 'Courier New', monospace;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.technical-section.gpio .tech-highlight {
  background: rgba(59, 130, 246, 0.15);
  color: var(--corporate-blue);
}

.technical-section.power .tech-highlight {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success-color);
}

/* Unified Card Animation */
.help-section,
.technical-section {
  animation: fadeInUp 0.6s ease-out;
}

.help-section:nth-child(1),
.technical-section:nth-child(1) {
  animation-delay: 0.1s;
}

.help-section:nth-child(2),
.technical-section:nth-child(2) {
  animation-delay: 0.2s;
}

/* Corporate Breadcrumb Styling */
.breadcrumb {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.breadcrumb:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  box-shadow: 0 6px 20px var(--shadow-color);
}

.breadcrumb-item {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0.75rem;
  transition: all 0.3s ease;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.breadcrumb-item a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.breadcrumb-item a:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.breadcrumb-item a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.breadcrumb-item a i {
  font-size: 0.85rem;
  margin-right: 0.375rem;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover i {
  transform: scale(1.1);
  color: #6366f1;
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 600;
  background: var(--bg-tertiary);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.breadcrumb-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  border-radius: 8px 8px 0 0;
}

/* Breadcrumb Icon Styling */
.breadcrumb-item a .bi-house {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem;
  border-radius: 6px;
  margin-right: 0.5rem;
  margin-left: -0.25rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover .bi-house {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.1);
}

/* Metric Items for Statistics */
.metric-item {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.metric-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--corporate-blue);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--corporate-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--corporate-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dark Theme Metric Items */
.theme-dark .metric-item {
  background: rgba(55, 65, 81, 0.8);
  border-color: #4b5563;
}

.theme-dark .metric-item:hover {
  background: rgba(55, 65, 81, 0.9);
  border-color: var(--corporate-blue);
}

.theme-dark .metric-value {
  color: var(--corporate-blue);
}

.theme-dark .metric-label {
  color: #9ca3af;
}

/* Templates Card Body Enhancement */
.templates-card .card-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.templates-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
  opacity: 0.3;
}

.templates-card .card-body .row {
  margin: 0;
  gap: 1.5rem;
}

.templates-card .card-body .row > [class*="col-"] {
  padding: 0;
}

/* Template Button Styling */
.template-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}

.template-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.template-btn:hover::before {
  opacity: 1;
}

.template-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--corporate-blue);
  background: rgba(255, 255, 255, 1);
}

.template-btn i {
  font-size: 1.3rem;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
}

.template-btn:hover i {
  transform: scale(1.1);
}

/* Template Button Color Variants */
.template-btn.btn-outline-warning {
  border-color: rgba(251, 191, 36, 0.3);
  color: #d97706;
}

.template-btn.btn-outline-warning:hover {
  border-color: #f59e0b;
  color: #d97706;
  background: rgba(251, 191, 36, 0.05);
}

.template-btn.btn-outline-info {
  border-color: rgba(59, 130, 246, 0.3);
  color: #2563eb;
}

.template-btn.btn-outline-info:hover {
  border-color: #3b82f6;
  color: #2563eb;
  background: rgba(59, 130, 246, 0.05);
}

.template-btn.btn-outline-danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.template-btn.btn-outline-danger:hover {
  border-color: #ef4444;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.05);
}

.template-btn.btn-outline-success {
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.template-btn.btn-outline-success:hover {
  border-color: #22c55e;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.05);
}

/* Dark Theme Templates Card */
.theme-dark .templates-card .card-body {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .templates-card .card-body::before {
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
}

.theme-dark .template-btn {
  background: rgba(55, 65, 81, 0.9);
  border-color: #4b5563;
  color: #f3f4f6;
}

.theme-dark .template-btn:hover {
  background: rgba(55, 65, 81, 1);
  border-color: var(--corporate-blue);
}

.theme-dark .template-btn.btn-outline-warning {
  color: #fbbf24;
}

.theme-dark .template-btn.btn-outline-info {
  color: #60a5fa;
}

.theme-dark .template-btn.btn-outline-danger {
  color: #f87171;
}

.theme-dark .template-btn.btn-outline-success {
  color: #4ade80;
}

/* Presets Card Body Enhancement */
.presets-card .card-body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.presets-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
  opacity: 0.3;
}

.presets-card .card-body .row {
  margin: 0;
  gap: 1.5rem;
  display: flex;
  flex-wrap: nowrap;
}

.presets-card .card-body .row > [class*="col-"] {
  padding: 0;
  flex: 1;
  min-width: 0;
}

/* Preset Button Styling */
.preset-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  min-height: 120px;
}

.preset-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preset-btn:hover::before {
  opacity: 1;
}

.preset-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--corporate-blue);
  background: rgba(255, 255, 255, 1);
}

.preset-btn i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
  color: var(--corporate-blue);
}

.preset-btn:hover i {
  transform: scale(1.2);
}

.preset-btn .preset-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--corporate-dark);
}

.preset-btn .preset-description {
  font-size: 0.8rem;
  color: var(--corporate-gray);
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.3;
}

.preset-btn:hover .preset-description {
  opacity: 1;
}

/* Preset Button Color Variants */
.preset-btn.btn-outline-primary {
  border-color: rgba(59, 130, 246, 0.3);
}

.preset-btn.btn-outline-primary:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.preset-btn.btn-outline-success {
  border-color: rgba(34, 197, 94, 0.3);
}

.preset-btn.btn-outline-success:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.preset-btn.btn-outline-success i {
  color: var(--success-color);
}

.preset-btn.btn-outline-warning {
  border-color: rgba(251, 191, 36, 0.3);
}

.preset-btn.btn-outline-warning:hover {
  border-color: #f59e0b;
  background: rgba(251, 191, 36, 0.05);
}

.preset-btn.btn-outline-warning i {
  color: var(--warning-color);
}

.preset-btn.btn-outline-info {
  border-color: rgba(59, 130, 246, 0.3);
}

.preset-btn.btn-outline-info:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.preset-btn.btn-outline-info i {
  color: var(--info-color);
}

/* Dark Theme Presets Card */
.theme-dark .presets-card .card-body {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .presets-card .card-body::before {
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
}

.theme-dark .preset-btn {
  background: rgba(55, 65, 81, 0.9);
  border-color: #4b5563;
}

.theme-dark .preset-btn:hover {
  background: rgba(55, 65, 81, 1);
  border-color: var(--corporate-blue);
}

.theme-dark .preset-btn .preset-title {
  color: #f3f4f6;
}

.theme-dark .preset-btn .preset-description {
  color: #9ca3af;
}

.theme-dark .preset-btn i {
  color: var(--corporate-blue);
}

.theme-dark .preset-btn.btn-outline-success i {
  color: #4ade80;
}

.theme-dark .preset-btn.btn-outline-warning i {
  color: #fbbf24;
}

.theme-dark .preset-btn.btn-outline-info i {
  color: #60a5fa;
}





/* Input Groups Enhancement */
.form-group .input-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.form-group .input-group:focus-within {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-group .input-group-text {
  border: 2px solid #e2e8f0;
  border-right: none;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: var(--corporate-gray);
  padding: 0.875rem 1rem;
  font-weight: 500;
}

.form-group .input-group .form-control {
  border-left: none;
  border-radius: 0 12px 12px 0;
}

/* Dark Theme Form Body */
.theme-dark .form-body {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .form-group .form-label {
  color: #f3f4f6;
}

.theme-dark .form-group .form-control,
.theme-dark .form-group .form-select,
.theme-dark .form-group .form-textarea {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

.theme-dark .form-group .form-control:focus,
.theme-dark .form-group .form-select:focus,
.theme-dark .form-group .form-textarea:focus {
  background: #374151;
  border-color: var(--corporate-blue);
}

.theme-dark .form-group .form-text {
  color: #9ca3af;
  background: rgba(55, 65, 81, 0.7);
}

.theme-dark .form-section {
  background: rgba(55, 65, 81, 0.8);
  border-color: #4b5563;
}

.theme-dark .form-section-title {
  color: #f3f4f6;
  border-color: #4b5563;
}

.theme-dark .form-actions {
  background: rgba(55, 65, 81, 0.9);
  border-color: #4b5563;
}

.theme-dark .form-group .input-group-text {
  background: linear-gradient(135deg, #374151, #1f2937);
  border-color: #4b5563;
  color: #9ca3af;
}

/* Dark Theme Card Footer & Help Card */
.theme-dark .content-card .card-footer {
  background: rgba(55, 65, 81, 0.95);
  border-color: #4b5563;
}

.theme-dark .content-card .card-footer .text-muted {
  color: #9ca3af;
}

/* Dark Theme Unified Cards */
.theme-dark .help-card .card-body,
.theme-dark .technical-card .card-body {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.theme-dark .help-card .card-body::before,
.theme-dark .technical-card .card-body::before {
  background: linear-gradient(90deg, transparent, var(--corporate-blue), transparent);
}

.theme-dark .help-section,
.theme-dark .technical-section {
  background: rgba(55, 65, 81, 0.8);
  border-color: #4b5563;
}

.theme-dark .help-section:hover,
.theme-dark .technical-section:hover {
  background: rgba(55, 65, 81, 0.9);
  border-color: var(--corporate-blue);
}

.theme-dark .help-section h6,
.theme-dark .technical-section h6 {
  color: #f3f4f6;
}

.theme-dark .help-section h6 i,
.theme-dark .technical-section h6 i {
  background: rgba(59, 130, 246, 0.2);
}

.theme-dark .help-section.tips h6 i {
  background: rgba(251, 191, 36, 0.2);
}

.theme-dark .help-section.steps h6 i,
.theme-dark .technical-section.power h6 i {
  background: rgba(34, 197, 94, 0.2);
}

.theme-dark .technical-section.gpio h6 i {
  background: rgba(59, 130, 246, 0.2);
}

.theme-dark .help-list li,
.theme-dark .technical-list li {
  border-color: #374151;
}

.theme-dark .help-list li:hover,
.theme-dark .technical-list li:hover {
  background: rgba(59, 130, 246, 0.05);
}

.theme-dark .help-list li .help-text,
.theme-dark .technical-list li .tech-text {
  color: #d1d5db;
}

.theme-dark .help-list li .help-text strong {
  color: #f3f4f6;
}

.theme-dark .technical-list li .tech-text .tech-highlight {
  color: #f3f4f6;
  background: rgba(55, 65, 81, 0.8);
}

.theme-dark .technical-section.gpio .tech-highlight {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.theme-dark .technical-section.power .tech-highlight {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* Dark Theme Breadcrumb - Tema değişkenleri otomatik olarak uygulanır */
.theme-dark .breadcrumb-item a::before {
  background: rgba(99, 102, 241, 0.15);
}

.theme-dark .breadcrumb-item a:hover i {
  color: #8b5cf6;
}

.theme-dark .breadcrumb-item.active::before {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.theme-dark .breadcrumb-item a .bi-house {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
}

.theme-dark .breadcrumb-item a:hover .bi-house {
  background: rgba(139, 92, 246, 0.25);
}

/* Responsive Form Body */
@media (max-width: 768px) {
  .form-body {
    padding: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-actions .btn {
    width: 100%;
    min-width: auto;
  }

  /* Card Footer Responsive */
  .content-card .card-footer {
    padding: 1rem 1.5rem;
  }

  .content-card .card-footer .d-flex {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .content-card .card-footer .d-flex > div:first-child {
    order: 2;
  }

  .content-card .card-footer .d-flex > div:last-child {
    order: 1;
  }

  .content-card .card-footer .d-flex .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }

  .content-card .card-footer .corporate-btn {
    width: 100%;
    justify-content: center;
  }

  /* Help & Technical Cards Responsive */
  .help-card .card-body,
  .technical-card .card-body {
    padding: 1.5rem;
  }

  .help-card .card-body .row,
  .technical-card .card-body .row {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .help-card .card-body .row > [class*="col-"],
  .technical-card .card-body .row > [class*="col-"] {
    padding: 0;
    margin-bottom: 1.5rem;
    flex: none;
    width: 100%;
  }

  .help-section,
  .technical-section {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .help-section h6,
  .technical-section h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .help-section h6 i,
  .technical-section h6 i {
    font-size: 1.1rem;
    padding: 0.375rem;
    margin-right: 0.5rem;
  }

  .help-list li,
  .technical-list li {
    padding: 0.5rem 0;
  }

  .help-list li .help-text,
  .technical-list li .tech-text {
    font-size: 0.875rem;
  }

  .technical-list li .tech-text .tech-highlight {
    font-size: 0.8rem;
    padding: 0.1rem 0.25rem;
  }

  /* Templates Card Responsive */
  .templates-card .card-body {
    padding: 1.5rem;
  }

  .templates-card .card-body .row {
    gap: 1rem;
  }

  .templates-card .card-body .row > [class*="col-"] {
    margin-bottom: 1rem;
  }

  .template-btn {
    padding: 1.25rem 1rem;
    font-size: 0.875rem;
  }

  .template-btn i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }

  /* Presets Card Responsive */
  .presets-card .card-body {
    padding: 1.5rem;
  }

  .presets-card .card-body .row {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .presets-card .card-body .row > [class*="col-"] {
    margin-bottom: 1rem;
    flex: none;
    width: 100%;
  }

  .preset-btn {
    padding: 1.25rem 1rem;
    font-size: 0.875rem;
    min-height: 100px;
  }

  .preset-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .preset-btn .preset-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .preset-btn .preset-description {
    font-size: 0.75rem;
  }

  /* Technical Card Responsive */
  .technical-card .card-body {
    padding: 1.5rem;
  }

  .technical-card .card-body .row {
    gap: 1rem;
  }

  .technical-card .card-body .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }

  .technical-section {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .technical-section h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .technical-section h6 i {
    font-size: 1.1rem;
    padding: 0.375rem;
    margin-right: 0.5rem;
  }

  .technical-list li {
    padding: 0.5rem 0;
  }

  .technical-list li .tech-text {
    font-size: 0.85rem;
  }

  .technical-list li .tech-text .tech-highlight {
    font-size: 0.8rem;
    padding: 0.1rem 0.25rem;
  }

  /* Breadcrumb Responsive */
  .breadcrumb {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 0.5rem;
  }

  .breadcrumb-item a,
  .breadcrumb-item.active {
    padding: 0.25rem 0.5rem;
  }

  .breadcrumb-item a .bi-house {
    padding: 0.2rem;
    margin-right: 0.375rem;
    font-size: 0.75rem;
  }
}

/* Responsive Filter Body */
@media (max-width: 768px) {
  .filter-body {
    padding: 1.5rem;
  }

  .filter-group {
    margin-bottom: 1.25rem;
  }

  .quick-filters {
    padding: 1rem;
  }

  .quick-filters .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .filter-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-actions .btn {
    width: 100%;
  }

  .filter-toggle-stats {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .filter-accordion .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Success Modal Variant */
.modal.modal-success .modal-header::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modal.modal-success .modal-title i {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Warning Modal Variant */
.modal.modal-warning .modal-header::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modal.modal-warning .modal-title i {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Danger Modal Variant */
.modal.modal-danger .modal-header::before {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal.modal-danger .modal-title i {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* ===== FOOTER STYLES ===== */

.footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
  z-index: 1;
}

/* Footer Links */
.footer-links {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--text-muted) !important;
  font-size: 0.875rem;
    transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  border-radius: 4px;
  text-decoration: none !important;
}

.footer-links a:hover {
  color: var(--text-primary) !important;
  transform: translateX(5px);
  background-color: rgba(99, 102, 241, 0.1);
  padding-left: 0.5rem;
}

.footer-links a i {
  opacity: 0.7;
  transition: all 0.3s ease;
  width: 16px;
  text-align: center;
}

.footer-links a:hover i {
  opacity: 1;
  color: #6366f1;
}

/* Footer Info Lists */
.footer-info {
  margin: 0;
  padding: 0;
}

.footer-info li {
  padding: 0.25rem 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-info li:hover {
  background-color: rgba(99, 102, 241, 0.05);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Footer Contact */
.footer-contact {
  position: relative;
}

.footer-contact .d-flex {
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-radius: 4px;
}

.footer-contact .d-flex:hover {
  background-color: rgba(99, 102, 241, 0.05);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.footer-contact a {
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--text-primary) !important;
}

/* Footer Badges */
.footer .badge {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer .badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Footer Buttons */
.footer .btn {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .footer .col-md-6:first-child {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer .col-md-6:last-child {
    text-align: center;
  }

  .footer .d-flex.justify-content-md-end {
    justify-content: center !important;
  }

  .footer-contact .d-flex {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer .d-flex.gap-2 {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .badge {
    font-size: 0.7rem;
  }

  .footer .btn-sm {
    padding: 0.25rem 0.5rem;
  }
}

/* Footer Dark Theme */
.theme-dark .footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-top-color: var(--border-color);
}

.theme-dark .footer::before {
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.4) 50%, transparent 100%);
}

.theme-dark .footer-links a:hover {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--text-primary) !important;
}

.theme-dark .footer-info li:hover {
  background-color: rgba(99, 102, 241, 0.1);
}

.theme-dark .footer-contact .d-flex:hover {
  background-color: rgba(99, 102, 241, 0.1);
}

/* Footer Animation */
.footer {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Hover Effects */
.footer h5:hover {
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.footer h6:hover {
  color: #6366f1 !important;
  transition: all 0.3s ease;
}

/* Technology Stack Badges Animation */
.footer .badge {
  position: relative;
  overflow: hidden;
}

.footer .badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.footer .badge:hover::before {
  left: 100%;
}

/* Footer Sticky Effect - Simple approach */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  padding-bottom: 50px; /* Footer için minimal boşluk */
}

.footer {
  position: relative;
  margin-top: 2rem;
  clear: both;
}

/* Footer Border Gradient */
.footer .border-secondary-subtle {
  border-color: var(--border-color) !important;
  position: relative;
}

.footer hr {
  position: relative;
  overflow: hidden;
}

.footer hr::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  opacity: 0.6;
}

/* Talivio Branding Styles */
.talivio-brand-link {
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.talivio-brand-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
  transition: all 0.6s ease;
}

.talivio-brand-link:hover::before {
  left: 100%;
}

.talivio-brand-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 100%);
  border-color: rgba(0, 0, 0, 0.2);
}

.talivio-icon {
  font-size: 1.1rem;
  color: #1a202c;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.talivio-brand-link:hover .talivio-icon {
  color: #2d3748;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.talivio-brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a202c;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.talivio-brand-link:hover .talivio-brand-text {
  color: #000000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Dark Theme Talivio Branding */
.theme-dark .talivio-brand-link {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .talivio-brand-link::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.theme-dark .talivio-brand-link:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.theme-dark .talivio-icon {
  color: #f7fafc;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.8) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .talivio-brand-link:hover .talivio-icon {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(71, 85, 105, 0.9) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.theme-dark .talivio-brand-text {
  color: #f7fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.theme-dark .talivio-brand-link:hover .talivio-brand-text {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Talivio Branding */
@media (max-width: 576px) {
  .talivio-brand-link {
    padding: 0.4rem 0.8rem;
  }

  .talivio-brand-text {
    font-size: 1rem;
  }

  .talivio-icon {
    font-size: 1rem;
    padding: 0.3rem;
  }
}

/* Small Talivio Branding - Footer Right */
.talivio-brand-link-small {
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.talivio-brand-link-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
  transition: all 0.4s ease;
}

.talivio-brand-link-small:hover::before {
  left: 100%;
}

.talivio-brand-link-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

.talivio-icon-small {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.talivio-brand-link-small:hover .talivio-icon-small {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.talivio-brand-text-small {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1f2937;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.talivio-brand-link-small:hover .talivio-brand-text-small {
  color: #111827;
  transform: scale(1.02);
}

/* Dark Theme Small Talivio Branding */
.theme-dark .talivio-brand-link-small {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .talivio-brand-link-small::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.theme-dark .talivio-brand-link-small:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-dark .talivio-brand-link-small:hover .talivio-icon-small {
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.theme-dark .talivio-brand-text-small {
  color: #f9fafb;
}

.theme-dark .talivio-brand-link-small:hover .talivio-brand-text-small {
  color: #ffffff;
}

/* Responsive Small Talivio Branding */
@media (max-width: 768px) {
  .talivio-brand-link-small {
    padding: 0.2rem 0.4rem;
  }

  .talivio-brand-text-small {
    font-size: 0.8rem;
  }

  .talivio-icon-small {
    width: 14px;
    height: 14px;
  }
}

/* Empty State - Theme aware */
.empty-state { color: var(--text-muted); }
.empty-state .empty-icon { color: var(--text-muted); }
.empty-state .empty-title { color: var(--text-secondary); font-weight: 600; }
.empty-state .empty-text { color: var(--text-muted); }
.empty-state .btn { margin-top: 0.25rem; }

.theme-dark .empty-state { color: var(--text-secondary); }
.theme-dark .empty-state .empty-icon { color: var(--text-secondary); }
.theme-dark .empty-state .empty-title { color: var(--text-primary); }
.theme-dark .empty-state .empty-text { color: var(--text-secondary); }
