/* Araclar Page - Professional Styling */ :root {
  --page-bg: #f5f7fa;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
  --shadow-strong: 0 18px 44px rgba(2, 6, 23, 0.12);
  --primary: #0d6efd;
  --primary-600: #0b5ed7;
  --accent: linear-gradient(135deg, #4f46e5, #0ea5e9);
}
/* WOW.js - Animasyon öncesi gizle */
.wow {
  visibility: hidden;
}
.araclar-page {
  padding-top: calc(var(--header-safe, 96px) + 16px);
  background: var(--page-bg);
  color: var(--text);
}
/* Breadcrumbs */
.breadcrumb {
  background: #fff !important;
  border-radius: 10px;
}
.breadcrumbs, .breadcrumb {
  box-shadow: 0 6px 18px rgba(2, 6, 23, .04);
  border: 1px solid var(--border);
}
.breadcrumb .breadcrumb-item a {
  color: var(--muted);
  font-weight: 500;
}
.breadcrumb .breadcrumb-item.active {
  color: var(--text);
  font-weight: 600;
}
/* Page Title */
.main__title--page h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #0f172a, #334155);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Filter Panel */
.filter-wrap__btn {
  display: none;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.filter {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 15px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.filter--sticky {
  position: sticky;
  top: 24px;
  z-index: 5;
  overflow-y: auto;
}
.filter--sticky::-webkit-scrollbar {
  width: 6px;
}
.filter--sticky::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 8px;
}
.filter__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
#btnClear {
  font-size: 12px;
  border: 0;
  color: #ef4444;
  background: rgba(239, 68, 68, .08);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}
#btnClear:hover {
  background: #ef4444;
  color: #fff;
}
.filter__group {
  margin-bottom: 18px;
}
.filter__label {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: #0f172a;
}
.filter__input {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
}
.filter__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}
/* Checkbox list */
.filter__checkboxes li {
  margin-bottom: 8px;
}
.filter__checkboxes input[type="checkbox"] {
  display: none;
}
.filter__checkboxes label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 14px;
  color: #111;
  display: flex;
  align-items: center;
  width: 100%;
}
.filter__checkboxes label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}
.filter__checkboxes input:checked + label {
  color: var(--primary);
  font-weight: 600;
}
.filter__checkboxes input:checked + label::before {
  background: var(--primary);
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='14px' height='14px'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.facet-count {
  margin-left: auto;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.facet-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #374151;
  font-size: 14px;
  background: #fafafa;
  margin-bottom: 8px;
}
.facet-link:hover, .facet-link.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 12px rgba(13, 110, 253, .08);
}
.facet-link.is-disabled {
  opacity: .55;
  pointer-events: none;
}
/* Car Card */
.car {
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.car:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.car__img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #f3f4f6;
}
.car__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0));
  opacity: .55;
  transition: opacity .35s ease;
}
.car:hover .car__img::after {
  opacity: .75;
}
.car__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.car:hover .car__img img {
  transform: scale(1.06);
}
.car__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.39);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  z-index: 2;
}
.car__badge--lux {
  background: #ef4444;
}
.car__badge--suv {
  background: #f59e0b;
}
.car__title {
  padding: 18px 18px 8px;
}
.car__name {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car__name a {
  color: #111827;
}
.car__name a:hover {
  color: var(--primary);
}
.car__year {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
  font-weight: 700;
}
.car__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-top: auto;
}
.car__list li {
  font-size: 13px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 8px;
}
.car__list li i {
  color: var(--primary);
  font-size: 14px;
}
.car__footer {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.car__price {
  font-size: 22px;
  font-weight: 900;
  color: #111827;
  display: flex;
  line-height: 1;
  align-items: center;
  gap: 5px;
}
.car__price sub {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  margin-top: 3px;
  bottom: 0;
}
.car__more {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(13, 110, 253, .25);
}
.car__more:hover {
  background: var(--primary-600);
  color: #fff;
  transform: translateX(3px);
}
/* No result */
.no-result-card {
  width: 100%;
  padding: 40px 25px;
  border-radius: 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .08);
  animation: fadeIn .35s ease;
}
.no-result-icon {
  font-size: 48px;
  color: #e74c3c;
  margin-bottom: 10px;
  animation: pulse .6s ease-in-out;
}
.no-result-text {
  color: #6b7280;
  margin-bottom: 20px;
}
.btn-clear-filter {
  margin-top: 10px;
  border: none;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
}
.btn-clear-filter:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* Pagination */
.pagination .page-link {
  border: none;
  color: #4b5563;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin: 0 4px;
  font-weight: 800;
}
.pagination .page-item.active .page-link {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 110, 253, .25);
}
.pagination .page-item.disabled .page-link {
  background: transparent;
  color: #cbd5e1;
}
/* Responsive */
@media (max-width: 1199px) {
  .filter-wrap__btn {
    display: block;
  }
  .filter {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .filter--sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .car__img {
    height: 200px;
  }
}
/* ====== MODERN ARAÇ KARTLARI ====== */
.car-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
.car-card__gallery {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  background: linear-gradient(135deg, #ffffff 0%, #dc7f0d14 100%);
  overflow: hidden;
}
.car-card__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.car-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.car-card__img.active {
  opacity: 1;
  z-index: 1;
}
.car-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.car-card__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.car-card__gallery:hover .car-card__dots {
  opacity: 1;
}
.car-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.car-card__dot:hover, .car-card__dot.active {
  background: #fff;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.car-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.car-card__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.car-card__title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}
.car-card__title a:hover {
  color: #667eea;
}
.car-card__year {
  display: inline-block;
  color: #666;
  font-size: 13px;
  margin-bottom: 16px;
  font-weight: 500;
}
.car-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.car-card__spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}
.car-card__spec i {
  font-size: 18px;
  color: rgb(220 127 13 / 65%);
}
.car-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.car-card__price {
  display: flex;
  flex-direction: column;
}
.car-card__price-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}
.car-card__price-unit {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}
.car-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #dc7f0d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.car-card__btn:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: #fff;
}
.car-card__btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.car-card__btn:hover i {
  transform: translateX(4px);
}
/* ====== AKTİF FİLTRE ROZETLERİ ====== */
.active-filters {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}
.active-filters__label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}
.active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.active-filter-badge:hover {
  background: #ff4757;
  border-color: #ff4757;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}
.active-filter-badge i {
  font-size: 14px;
  opacity: 0.7;
}
/* Responsive - Car Cards */
@media (max-width: 768px) {
  .car-card__specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .car-card__spec {
    font-size: 11px;
  }
  .car-card__spec i {
    font-size: 16px;
  }
  .car-card__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .car-card__btn {
    width: 100%;
    justify-content: center;
  }
}
.breadcrumb {
    background: #fff !important;
    border-radius: 10px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
.main {
    min-height: 60vh;
}
/* Hero Title Section */
.hero-title-section {
    margin-bottom: 2rem;
}
.hero-title-bg {
    background: linear-gradient(135deg, #ff8c00 0%, #fff1e0 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(220, 127, 13, 0.3);
    position: relative;
    overflow: hidden;
}
.hero-title-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 14%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}
.hero-title-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-image: url('<?=SITE.htmlspecialchars($resimler[0])?>');
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(2.1);
    filter: brightness(1.2);
}
@keyframes pulse {
0%, 100% {
transform: scale(1) translateY(0);
}
50% {
transform: scale(1.1) translateY(-20px);
}
}
.hero-title-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}
.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hero-badge {
    background: rgb(127 127 127 / 25%);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.hero-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.hero-badge i {
    margin-right: 0.4rem;
}

@media (max-width: 768px) {
.hero-title {
    font-size: 1.75rem;
}
.hero-title-bg {
    padding: 1.5rem 1.25rem;
}
.hero-title-bg::before {
    display: none;
}
.hero-title-bg::after {
    width: 180px;
    opacity: 0.15;
}
}
/* Kartlar */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(30,35,90,.08);
}
.card .card-title {
    font-weight: 600;
}
.card-img-top {
    border-radius: 16px 16px 0 0;
    min-height: 160px;
    object-fit: cover;
    background: #eee;
}
/* Carousel */
.carousel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(30,35,90,.06);
}
.carousel-inner img {
    background: #f8fafd;
    min-height: 260px;
    max-height: 420px;
    object-fit: contain; /* Resim kesilmesin diye contain yaptım, istersen cover yap */
    border-radius: 16px;
    width: 100%;
}
/* Thumbnails */
.carousel-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}
.carousel-thumbs img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7ef;
    cursor: pointer;
    opacity: .75;
    transition: border .2s, opacity .2s;
    background: #fff;
}
.carousel-thumbs img.active {
    border-color: #dc7f0d;
    opacity: 1;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-whatsapp:hover {
    background: #128C7E;
    color: #fff;
}
/* Özellik kartları */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.spec-item {
    border: 1px solid #e7eaf3;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.spec-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fef3e6;
    color: #dc7f0d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.spec-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}
.spec-value {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}
.feature-wrap {
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
}
.feature-pill {
    border: 1px solid #e7eaf3;
    background: #fdfefe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.feature-pill i {
    color: #16a34a;
}
/* Accordion */
.accordion-button:not(.collapsed) {
    background: #fef3e6;
    color: #dc7f0d;
}
.accordion-item {
    border-radius: 12px;
    margin-bottom: .8rem;
    box-shadow: 0 1px 6px rgba(10,40,80,.05);
    border: none;
    overflow: hidden;
}
/* Benzer Araçlar */
.benzer-card:hover {
    box-shadow: 0 4px 16px rgba(32, 52, 120, 0.10);
    transform: translateY(-4px) scale(1.015);
    transition: all 0.3s;
}
.benzer-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #26b3e2;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
}

@media (max-width: 768px) {
.carousel-inner img {
    min-height: 200px;
    max-height: 250px;
}
.carousel-thumbs img {
    width: 44px;
    height: 30px;
}
}/* === ANA MAVİ TEMA === */
.btn-primary {
    background-color: #162033;
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
      background-color: #27395C;
  box-shadow: 0 0.75rem 1.5rem rgba(13,110,253,.3);
  transform: translateY(-2px);
}

/* === HOVER KUTUSU === */
.ara-hover-card {
  position: absolute;
  display: none;
  top: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0.97);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 18px;
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(13,110,253,0.15);
  transition: all .25s ease;
  opacity: 0;
  z-index: 20;
}
.ara-hover-card.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* === TELEFON LİSTESİ === */
.phone-list {
  display: flex;
  flex-direction: column;
}
.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #212529;
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.phone-item:hover {
  color: #0d6efd;
  background: rgba(13,110,253,0.08);
  border-radius: 8px;
  padding-left: 6px;
}

/* === İKON STİLİ === */
.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.icon-circle.blue {
  background: linear-gradient(135deg, #0d6efd, #007bff);
}
.icon-circle.indigo {
  background: linear-gradient(135deg, #6610f2, #5a3dfd);
}
.icon-circle i {
  font-size: 14px;
}

/* GÖLGE & YUMUŞAK GEÇİŞ */
.btn, .phone-item {
  transition: all 0.25s ease;
}.modal .modal-content {
    margin: 0 auto;
    max-width: 420px;
    background-color: #ffffff;
    border: none;
    border-radius: 20px;
}

/* ========================= YPANEL BENOM TABLO (Modern DataTables) ========================= */
:root {
  --tbl-bg: #f5f7fa;
  --tbl-border: #e2e8f0;
  --tbl-header-bg: linear-gradient(135deg, #475569 0%, #334155 100%);
  --tbl-header-text: #ffffff;
  --tbl-row-bg: #ffffff;
  --tbl-row-hover: #f8fafc;
  --tbl-primary: #3b82f6;
  --tbl-danger: #dc2626;
  --focus-ring: 0 0 0 3px rgba(59, 130, 246, .35);
  --card-shadow: 0 8px 24px rgba(15, 23, 42, .12);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
}

[data-layout-mode="dark"] {
  --tbl-bg: #0f172a;
  --tbl-border: #1e293b;
  --tbl-header-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --tbl-header-text: #e2e8f0;
  --tbl-row-bg: #1e293b;
  --tbl-row-hover: #334155;
  --tbl-primary: #60a5fa;
  --focus-ring: 0 0 0 3px rgba(96, 165, 250, .35);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

.page-content { background: var(--tbl-bg); }

.table-responsive { 
  background: var(--tbl-row-bg);
  border: 1px solid var(--tbl-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

#example {
  border-collapse: separate;
  border-spacing: 0 .75rem;
  width: 100%;
}

#example thead th {
  background: var(--tbl-header-bg);
  color: var(--tbl-header-text);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1rem .8rem;
  border: none;
  box-shadow: 0 4px 12px rgba(71, 85, 105, .2);
  white-space: nowrap;
}

#example thead th:first-child { border-radius: 12px 0 0 12px; }
#example thead th:last-child { border-radius: 0 12px 12px 0; }

#example tbody tr {
  background: var(--tbl-row-bg);
  border: 1px solid var(--tbl-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

#example tbody tr:hover {
  background: var(--tbl-row-hover);
  box-shadow: 0 8px 20px rgba(102, 126, 234, .15);
}

#example th, #example td {
  vertical-align: middle;
  text-align: center;
  padding: .85rem .7rem;
  font-size: 13px;
}

#example tbody tr td:first-child { border-radius: 12px 0 0 12px; }
#example tbody tr td:last-child { border-radius: 0 12px 12px 0; }

#example td img {
  display: block;
  max-width: 82px;
  max-height: 82px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: transform .25s ease;
  margin: 0 auto;
}

#example td img:hover {
  transform: scale(1.05);
}

td.reorder-handle { cursor: grab; color: var(--text-muted); font-size: 18px; }
td.reorder-handle:hover { color: var(--tbl-primary); }
td.reorder-handle * { pointer-events: none; }

#example [contenteditable="true"] {
  border-radius: 6px;
  outline: none;
  transition: all .2s ease;
}

#example [contenteditable="true"]:hover {
  background: rgba(59, 130, 246, .05);
}

#example [contenteditable="true"]:focus {
  background: var(--tbl-row-bg);
  box-shadow: var(--focus-ring);
}

.switch { width: 44px; height: 24px; }
.slider:before { width: 18px; height: 18px; }

#example td:last-child .dropdown > .btn {
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--tbl-border);
  background: var(--tbl-row-bg);
  color: var(--text-primary);
  transition: all .2s ease;
}

#example td:last-child .dropdown > .btn:hover {
  background: var(--tbl-row-hover);
  transform: translateY(-2px);
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--tbl-border);
  border-radius: 8px;
  padding: .5rem;
}

.dataTables_wrapper .dataTables_paginate .pagination { gap: 4px; }
.dataTables_wrapper .dataTables_paginate .page-item .page-link {
  border-radius: 8px;
  border: 1px solid var(--tbl-border);
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
  background: var(--tbl-primary);
  border-color: var(--tbl-primary);
  color: #fff;
}

/* Sticky columns sabit genişlikler */
#example thead th:nth-child(1), #example tbody td:nth-child(1) { width: 50px; }
#example thead th:nth-child(2), #example tbody td:nth-child(2) { width: 50px; }
#example thead th:nth-child(3), #example tbody td:nth-child(3) { width: 70px; }
#example thead th:nth-child(4), #example tbody td:nth-child(4) { width: 130px; }
#example thead th:nth-child(8), #example tbody td:nth-child(8) { width: 100px; }
#example thead th:last-child, #example tbody td:last-child { min-width: 200px; }

/* Başarılı güncelleme animasyonu */
@keyframes pulse-success {
  0%, 100% { background: var(--tbl-row-bg); }
  50% { background: rgba(16, 185, 129, 0.2); }
}

.updated-cell {
  animation: pulse-success 0.8s ease;
}

#example [contenteditable="true"]:hover {
  background: rgba(59, 130, 246, 0.1);
  cursor: text;
}

#example [contenteditable="true"]:focus {
  background: var(--tbl-row-bg);
  box-shadow: var(--focus-ring);
  outline: 2px solid var(--tbl-primary);
  outline-offset: -2px;
}

/* Mobile card view (≤768px) */
@media (max-width: 768px) {
  .table-responsive { overflow-x: visible; }
  table#example { border-spacing: 0 10px; }
  
  #example thead { display: none; }
  
  #example tbody tr {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  
  #example tbody td {
    display: flex;
    justify-content: space-between;
    padding: .6rem 0;
    border: none !important;
    text-align: left !important;
  }
  
  #example tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 1rem;
  }
  
  #example tbody tr td:first-child,
  #example tbody tr td:last-child { border-radius: 0; }
  
  #example tbody td:nth-child(4) img {
    max-width: 120px;
    max-height: 120px;
  }
  
  #example tbody td:last-child .dropdown > .btn {
    width: 100%;
    justify-content: space-between;
  }
  
  /* SEO kolonlarını gizle (mobil) */
  #example thead th:nth-child(6),
  #example tbody td:nth-child(6),
  #example thead th:nth-child(7),
  #example tbody td:nth-child(7) { display: none; }
}

table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>* {
  box-shadow: none !important;
}

/* Bulk Action Bar (Kurumsal tasarımı) */
.bulk-action-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  animation: slideUp 0.3s ease;
  font-weight: 600;
  font-size: 14px;
}

.bulk-action-bar.hidden {
  display: none;
}

.bulk-action-bar .count {
  font-weight: 700;
  margin-right: 1rem;
}

.bulk-action-bar button {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s ease;
}

.bulk-action-bar button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.bulk-action-bar .close-bulk {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.bulk-action-bar .close-bulk:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  .bulk-action-bar {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .bulk-action-bar .count {
    font-size: 13px;
  }
  
  .bulk-action-bar button {
    padding: 0.5rem 1rem;
    font-size: 13px;
  }
}