/* ==========================================================================
   QR ETKİNLİK SİSTEMİ - DASHBOARD (FESTİVAL / DÜĞÜN YÖNETİM PANELİ)
   Ultra-Modern SaaS Glassmorphism, Floating Dock & Pudra Pembe Detaylar
   Tipografi: 'Plus Jakarta Sans', system-ui, sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --murdum-dark: #421d37;
  --murdum-text: #5c3551;
  --pink-primary: #FF007F;
  --pink-deep: #d84577;
  --pink-soft: rgba(255, 140, 186, 0.7);
  --yellow-primary: #FFB703;
  --yellow-warm: #FF9E00;
  --grad-fest: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  --grad-fest-hover: linear-gradient(135deg, #FF1A8C 0%, #FFC300 100%);
}

body,
.dashboard-container,
input,
button,
select,
textarea {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

/* Konteyner */
.dashboard-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   3. ÜST BAR (NAVBAR) - Floating Glassmorphism Dock
   ========================================================================== */
.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(255, 0, 127, 0.04);
  flex-wrap: wrap;
  gap: 14px;
  transition: all 0.3s ease;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--murdum-dark);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.dashboard-brand svg {
  color: var(--pink-primary);
  filter: drop-shadow(0 2px 6px rgba(255, 0, 127, 0.3));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-brand:hover svg {
  transform: rotate(90deg) scale(1.1);
}

.dashboard-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.nav-link-btn.primary {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
  border: none;
}

.nav-link-btn.primary:hover {
  background: linear-gradient(135deg, #FF1A8C 0%, #FFC300 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(255, 0, 127, 0.45);
}

.nav-link-btn.light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--murdum-dark);
  border: 1.5px solid rgba(255, 182, 193, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.nav-link-btn.light:hover {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(255, 0, 127, 0.3);
}

/* ==========================================================================
   HERO / BAŞLIK KARTI (Dalgalı Festival Banner'ı & Işıltılar)
   ========================================================================== */
.hero-card {
  background: var(--grad-card-header);
  background-size: 200% 200%;
  animation: headerGradientFlow 12s ease infinite;
  border-radius: 28px;
  padding: 38px 34px;
  margin-bottom: 32px;
  box-shadow: 0 16px 40px rgba(255, 0, 127, 0.28), 0 6px 18px rgba(255, 165, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseLight 5s ease-in-out infinite alternate;
}

.hero-info {
  flex: 1;
  min-width: 280px;
  z-index: 2;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge-code {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-date {
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  line-height: 1.25;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  max-width: 520px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 2;
}

/* Hap (Pill) Butonlar */
.hero-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  cursor: pointer;
  border: none;
  line-height: 1.2;
  will-change: transform, box-shadow;
}

.hero-btn-gold {
  background: linear-gradient(135deg, #FFD166 0%, #FF9E00 100%) !important;
  color: #1F1924 !important;
  box-shadow: 0 8px 24px rgba(255, 158, 0, 0.4) !important;
}

.hero-btn-gold:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(255, 158, 0, 0.55) !important;
}

.hero-btn-pink {
  background: linear-gradient(135deg, #FF007F 0%, #D10068 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.45) !important;
}

.hero-btn-pink:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(255, 0, 127, 0.6) !important;
}

.hero-btn-guestbook {
  background: rgba(255, 0, 127, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #FF007F !important;
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.35) !important;
}

.hero-btn-guestbook:hover {
  background: linear-gradient(135deg, #FF007F 0%, #D10068 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(255, 0, 127, 0.55) !important;
}


.hero-btn-white {
  background: #FFFFFF !important;
  color: #FF007F !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.hero-btn-white:hover {
  background: #FFF5F9 !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 8px 22px rgba(255, 0, 127, 0.25) !important;
}

.hero-btn-glass {
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.hero-btn-glass:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-3px) scale(1.05) !important;
}

.hero-btn-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  border-radius: 999px !important;
  padding: 13px 24px !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.1px;
}

/* ==========================================================================
   2. İSTATİSTİK KARTLARI (Çiğ Renklerden Lüks Glassmorphism Tasarıma Geçiş)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 20px !important;
  padding: 24px 22px !important;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(255, 0, 127, 0.04) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 30px rgba(255, 0, 127, 0.12) !important;
  border-color: rgba(255, 182, 193, 0.8) !important;
}

/* İkonlar: Yuvarlak Degrade (Pembe-Sarı) Parıldayan Rozetler */
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50% !important;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(255, 0, 127, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:nth-child(1) .stat-icon {
  background: linear-gradient(135deg, #FF007F 0%, #FF5EA8 100%) !important;
}

.stat-card:nth-child(2) .stat-icon {
  background: linear-gradient(135deg, #FFB703 0%, #FF9E00 100%) !important;
}

.stat-card:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, #E0218A 0%, #FF007F 100%) !important;
}

.stat-card:nth-child(4) .stat-icon {
  background: linear-gradient(135deg, #FF9E00 0%, #FF5E36 100%) !important;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(6deg);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1.15;
  margin-bottom: 2px;
  color: #3d2134 !important;
  letter-spacing: -0.5px;
}

.stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.88rem !important;
  color: #6b4f63 !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   1. KESİN KARE, TEK VE ŞIK QR KOD ALANI
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

@media (max-width: 880px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.panel-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 20px 45px rgba(255, 0, 127, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(255, 182, 193, 0.45);
}

.panel-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--murdum-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.2px;
}

.panel-card-title svg {
  color: var(--pink-primary);
  filter: drop-shadow(0 2px 4px rgba(255, 0, 127, 0.25));
}

.dashboard-qr-box {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  margin: 0 auto 15px auto !important;
  padding: 10px !important;
  background: linear-gradient(145deg, #fff5f8 0%, #ffe8f0 100%) !important;
  border: 1.5px solid rgba(255, 182, 193, 0.7) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
}

.dashboard-qr-img {
  width: 180px !important;
  height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 10px !important;
}

.qr-layout {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-details {
  flex: 1;
  min-width: 220px;
}

.qr-url-box {
  background: rgba(255, 245, 248, 0.85);
  border: 1.5px solid rgba(255, 182, 193, 0.4);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pink-deep);
  word-break: break-all;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qr-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   4. MİSAFİRLER VE FOTOĞRAF GALERİSİ
   ========================================================================== */
.uploaders-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px 10px 12px 8px; /* Butonların scale ve gölge animasyonlarının köşelerde kesilmesini engeller */
}

.uploader-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 245, 248, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 182, 193, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--murdum-dark);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 127, 0.04);
  cursor: pointer;
  outline: none;
  font-family: inherit;
  user-select: none;
}

.uploader-pill:hover {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(255, 0, 127, 0.28);
}

.uploader-pill:hover .uploader-count {
  background: #FFFFFF;
  color: var(--pink-primary);
}

.uploader-pill.active {
  background: linear-gradient(135deg, #FF007F 0%, #FF7A00 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.38) !important;
  transform: translateY(-2px) scale(1.04);
}

.uploader-pill.active .uploader-count {
  background: #FFFFFF !important;
  color: #FF007F !important;
  font-weight: 800 !important;
}

.uploader-count {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.gallery-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--murdum-dark);
  letter-spacing: -0.3px;
}

.gallery-count-badge {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 0, 127, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 220, 235, 0.8);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease !important;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  will-change: transform, box-shadow, opacity;
}

.gallery-item.filtered-out {
  display: none !important;
}

.gallery-item.filtering-in {
  animation: photoFilterIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes photoFilterIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   FOTOĞRAF KARTLARINA GÖNDEREN BİLGİSİ & NOT ROZETİ (SOL ALT)
   ========================================================================== */
.gallery-guest-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  padding: 6px 12px !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.8rem !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  max-width: calc(100% - 20px) !important;
  transition: all 0.25s ease !important;
  pointer-events: auto !important;
}

.gallery-guest-badge:hover {
  background: rgba(0, 0, 0, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.badge-main-info {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.badge-author {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 125px;
  letter-spacing: -0.1px;
}

.badge-time {
  font-weight: 500;
  opacity: 0.85;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.badge-note-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 1px;
}

.badge-note-icon {
  font-size: 0.95rem;
  animation: pulseNote 2.2s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

@keyframes pulseNote {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

.badge-note-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-75%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  background: rgba(28, 16, 26, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 182, 193, 0.45);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  width: max-content;
  max-width: 215px;
  z-index: 100;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
}

.badge-note-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 75%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(28, 16, 26, 0.96) transparent transparent transparent;
}

.badge-note-wrap:hover .badge-note-tooltip,
.badge-note-wrap:focus-within .badge-note-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-75%) translateY(0);
}

.tooltip-header {
  font-weight: 800;
  color: #FFB703;
  font-size: 0.74rem;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tooltip-text {
  margin: 0;
  font-style: italic;
  color: #FFF0F5;
  word-break: break-word;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(255, 0, 127, 0.14);
  border-color: rgba(255, 182, 193, 0.8);
}

.gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #FFF5F9;
  position: relative;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 0, 127, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1);
}

.gallery-info {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 182, 193, 0.3);
}

.gallery-uploader {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--murdum-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.gallery-time {
  font-size: 0.8rem;
  color: #7d6575;
  display: block;
  margin-top: 2px;
}

.gallery-download-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 245, 248, 0.9);
  border: 1.5px solid rgba(255, 182, 193, 0.4);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  flex-shrink: 0;
}

.gallery-download-btn:hover {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

/* Çöp Kutusu Sil Butonu: Varsayılanda Gizli, Hover ile Yumuşakça Belirir */
.gallery-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  outline: none;
}

.gallery-item:hover .gallery-delete-btn {
  opacity: 1;
}

.gallery-delete-btn:hover {
  background: linear-gradient(135deg, #FF1744 0%, #D50000 100%) !important;
  transform: scale(1.15) !important;
  box-shadow: 0 6px 16px rgba(213, 0, 0, 0.6) !important;
}

.gallery-item.deleting {
  opacity: 0 !important;
  transform: scale(0.6) translateY(25px) !important;
  filter: blur(6px);
  transition: all 0.4s ease !important;
  pointer-events: none !important;
}

/* Boş Durum (Empty Gallery State) */
.empty-gallery,
.empty-gallery-state {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px dashed rgba(255, 182, 193, 0.5);
  border-radius: 28px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 48px 24px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.12) 0%, rgba(255, 183, 3, 0.15) 100%);
  color: var(--pink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px !important;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.12);
}

.empty-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--murdum-dark);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.empty-desc {
  margin-bottom: 24px !important;
  max-width: 480px !important;
  line-height: 1.6 !important;
  color: #7a586e !important;
  font-size: 0.95rem !important;
}

.empty-gallery .btn-primary,
.btn-empty-upload {
  margin-top: 12px !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.35) !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.empty-gallery .btn-primary:hover,
.btn-empty-upload:hover {
  background: linear-gradient(135deg, #FF1A8C 0%, #FFC300 100%) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(255, 0, 127, 0.45) !important;
}

/* ==========================================================================
   LIGHTBOX MODAL (Fotoğraf İnceleme Ekranı)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.lightbox-modal.active {
  display: flex !important;
  opacity: 1;
}

.lightbox-header {
  position: relative;
  width: 100%;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(24, 12, 28, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(255, 182, 193, 0.2);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  z-index: 30;
  flex-shrink: 0;
  box-sizing: border-box;
  gap: 16px;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.lightbox-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox-uploader {
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.lightbox-sub {
  font-size: 0.85rem;
  color: #FFB703;
  font-weight: 600;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.lightbox-note-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 127, 0.14);
  border: 1px solid rgba(255, 0, 127, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
  width: fit-content;
  max-width: min(650px, 80vw);
}

.lightbox-note-bubble .note-quote-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.lightbox-note-bubble .note-quote-text {
  font-size: 0.86rem;
  color: #FFF2F7;
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0;
}

.lightbox-btn {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  border: none;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 0, 127, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-close:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: rotate(90deg) scale(1.1);
}

.lightbox-content {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 80px;
  box-sizing: border-box;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 0, 127, 0.25);
  animation: zoomInSuccess 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-video-wrap {
  position: relative;
  width: auto;
  min-width: min(92vw, 360px);
  min-height: min(60vh, 240px);
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 0, 127, 0.2);
}

.lightbox-video {
  width: auto;
  min-width: min(92vw, 340px);
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 16px;
  outline: none;
  background: #000000;
  display: block;
  object-fit: contain;
}

.video-error-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 5, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
  text-align: center;
}

.video-error-card {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 26px 22px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.video-error-icon {
  font-size: 38px;
  line-height: 1;
}

.video-error-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.video-error-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0 0 6px;
}

.video-error-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-video-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-video-action.primary {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 0, 127, 0.45);
}

.btn-video-action.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(255, 0, 127, 0.6);
}

.btn-video-action.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-video-action.secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}


.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 25;
}

.lightbox-nav-btn:hover {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
}

.lightbox-nav-btn.prev {
  left: 20px;
}

.lightbox-nav-btn.next {
  right: 20px;
}

/* ==========================================================================
   GALERİ LAZY LOADING & DAHA FAZLA GÖSTER BUTONU
   ========================================================================== */
.gallery-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  margin-bottom: 24px;
  text-align: center;
}

.load-more-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--murdum-text);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 220, 235, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF007F 0%, #D84577 50%, #FFB703 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 0, 127, 0.35);
  background-position: right center;
}

.btn-load-more:active {
  transform: translateY(0);
}

.btn-load-more svg {
  transition: transform 0.35s ease;
}

.btn-load-more:hover svg {
  transform: rotate(90deg);
}

#infiniteScrollTrigger {
  width: 100%;
  height: 20px;
  pointer-events: none;
}

/* ==========================================================================
   CANLI DUVAR MODERASYONU (SWITCH DOCK, STATUS TABS & KART ROZETLERİ)
   ========================================================================== */
.gallery-header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.moderation-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 182, 193, 0.5);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(255, 0, 127, 0.05);
  transition: all 0.3s ease;
}

.moderation-dock:hover {
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: 0 6px 22px rgba(255, 0, 127, 0.1);
}

.moderation-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.moderation-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.15) 0%, rgba(255, 183, 3, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(255, 0, 127, 0.15);
  flex-shrink: 0;
}

.moderation-text {
  display: flex;
  flex-direction: column;
}

.moderation-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--murdum-dark);
  line-height: 1.2;
}

.moderation-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink-deep);
}

/* Modern iOS / SaaS Switch Toggle */
.modern-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.modern-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.modern-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #E5E0E3;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.modern-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.modern-switch input:checked+.slider {
  background: linear-gradient(135deg, #FF007F 0%, #FFB703 100%);
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.4);
}

.modern-switch input:checked+.slider:before {
  transform: translateX(20px);
}

/* Durum Filtre Sekmeleri (Tümü / Onay Bekleyenler / Yayındakiler) */
.status-filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}

.status-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 220, 235, 0.8);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--murdum-text);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-tab:hover {
  background: #FFFFFF;
  border-color: rgba(255, 0, 127, 0.35);
  transform: translateY(-1px);
}

.status-tab.active {
  background: linear-gradient(135deg, #FF007F 0%, #D84577 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.28);
}

.status-tab.pending-tab.active {
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.35);
}

.status-tab.approved-tab.active {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.tab-badge {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
}

/* Fotoğraf Kartı Üzerindeki Durum Rozetleri */
.card-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.2px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card-status-badge.pending {
  background: rgba(255, 183, 3, 0.92);
  color: #1A1200;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: pendingPulse 2.5s infinite;
}

@keyframes pendingPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

.card-status-badge.approved {
  background: rgba(16, 185, 129, 0.9);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Onayla (Duvara Yansıt) Butonu */
.gallery-approve-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.gallery-approve-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

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

/* ==========================================================================
   GLOBAL MOBİL TASARIM STANDARDI - DASHBOARD
   Tüm mobil taşma, hizalama ve bozulma sorunlarını kalıcı olarak çözer.
   ========================================================================== */

/* ---- Tablet & Mobil (≤ 768px) ---- */
@media screen and (max-width: 768px) {

  /* 1. Genel Kapsayıcılar & Taşma Önleme */
  html {
    overflow-x: hidden !important;
  }

  body {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .dashboard-container {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding: 16px 14px 48px !important;
  }

  /* 2. Üst Menü (Navbar) - Dar ekrana uyumlu */
  .dashboard-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 12px 16px !important;
    border-radius: 20px !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .dashboard-brand {
    justify-content: center !important;
    font-size: 1.15rem !important;
  }

  .dashboard-nav-links {
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .nav-link-btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
    flex: 0 1 auto !important;
  }

  /* 3. Hero Kartı - Tam genişlik, alt alta dizilim */
  .hero-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 28px 18px !important;
    border-radius: 20px !important;
    gap: 18px !important;
    margin-bottom: 22px !important;
  }

  .hero-info {
    min-width: 0 !important;
    width: 100% !important;
  }

  .hero-badges {
    justify-content: center !important;
  }

  .hero-title {
    font-size: 1.65rem !important;
    text-align: center !important;
  }

  .hero-desc {
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .hero-actions {
    justify-content: center !important;
    width: 100% !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .hero-btn-pill {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 4. İstatistik Gridleri - Tek sütun */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
  }

  .stat-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .stat-value {
    font-size: 1.5rem !important;
  }

  /* 5. Araç Gridleri - Tek sütun */
  .tools-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
  }

  /* 6. Panel Kartları */
  .panel-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .panel-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .panel-card-title {
    font-size: 1.15rem !important;
  }

  /* 7. QR Kodu Alanı */
  .qr-layout {
    flex-direction: column !important;
    align-items: center !important;
  }

  .qr-details {
    min-width: 0 !important;
    width: 100% !important;
  }

  .qr-url-box {
    font-size: 0.82rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .qr-actions-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* 8. Galeri Alanı */
  .gallery-section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .gallery-title {
    font-size: 1.4rem !important;
    text-align: center !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 14px !important;
  }

  .gallery-header-controls {
    justify-content: center !important;
    width: 100% !important;
  }

  /* 9. Moderasyon Dock */
  .moderation-dock {
    padding: 8px 12px !important;
    gap: 10px !important;
  }

  .moderation-title {
    font-size: 0.78rem !important;
  }

  /* 10. Durum Filtre Sekmeleri */
  .status-filter-tabs {
    justify-content: center !important;
    gap: 8px !important;
  }

  .status-tab {
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
  }

  /* 11. Misafir Pill'leri */
  .uploaders-list {
    justify-content: center !important;
  }

  .uploader-pill {
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
  }

  /* 12. Lightbox Mobil */
  .lightbox-header {
    top: 14px !important;
    left: 14px !important;
    right: 14px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .lightbox-uploader {
    font-size: 1rem !important;
  }

  .lightbox-image {
    max-width: 96vw !important;
    max-height: 75vh !important;
    border-radius: 12px !important;
  }

  .lightbox-nav-btn {
    width: 42px !important;
    height: 42px !important;
  }

  .lightbox-nav-btn.prev {
    left: 10px !important;
  }

  .lightbox-nav-btn.next {
    right: 10px !important;
  }

  /* 13. Boş Galeri Durumu */
  .empty-gallery,
  .empty-gallery-state {
    padding: 32px 16px !important;
    border-radius: 20px !important;
  }

  .empty-title {
    font-size: 1.25rem !important;
  }

  .empty-desc {
    font-size: 0.88rem !important;
  }

  /* 14. Fotoğraf Yükleme Butonları */
  .gallery-load-more-wrap {
    margin-top: 24px !important;
  }

  .btn-load-more {
    padding: 11px 26px !important;
    font-size: 0.88rem !important;
  }
}

/* ---- Küçük Mobil Ekranlar (≤ 480px) ---- */
@media screen and (max-width: 480px) {

  .dashboard-container {
    padding: 12px 10px 40px !important;
  }

  .dashboard-nav {
    padding: 10px 12px !important;
    border-radius: 16px !important;
  }

  .nav-link-btn {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }

  .hero-card {
    padding: 22px 14px !important;
    border-radius: 18px !important;
  }

  .hero-title {
    font-size: 1.4rem !important;
  }

  .hero-desc {
    font-size: 0.92rem !important;
  }

  .stat-card {
    padding: 14px 12px !important;
    gap: 12px !important;
  }

  .stat-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .stat-value {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.82rem !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .gallery-guest-badge {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
  }

  .badge-author {
    max-width: 85px !important;
  }

  .gallery-info {
    padding: 10px 12px !important;
  }

  .gallery-uploader {
    font-size: 0.82rem !important;
    max-width: 110px !important;
  }

  .panel-card {
    padding: 16px 12px !important;
    border-radius: 16px !important;
  }

  .dashboard-qr-box {
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    min-height: 160px !important;
  }

  .dashboard-qr-img {
    width: 140px !important;
    height: 140px !important;
  }
}