/* ============================================
   AfyonIlan.com — PHP-SSR web sürümü stili
   Mobil uyumlu, SEO odaklı, AfyonIlan kimliğinde
   ============================================ */

/* ---- Reset & Base ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f2f2f2;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
a { color: #003399; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.hidden { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* CSS Değişkenleri */
:root {
  --primary: #F3BF2B;
  --primary-dark: #E5851E;
  --header-bg: #2D2D2D;
  --header-border: #3A3A3A;
  --text-white: #FFFFFF;
  --text-light: #CCCCCC;
  --text-med: #AAAAAA;
  --text-dark: #333333;
  --text-muted: #666666;
  --link: #003399;
  --bg: #f2f2f2;
  --card: #FFFFFF;
  --divider: #E8E8E8;
  --success: #1E956D;
  --error: #E53935;
  --warning: #FFC107;
  --info: #2196F3;
  --emlak: #43A047;
  --vasita: #1E88E5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.10);
}

/* ============================================
   HEADER (sahibinden.com tarzı 3 katmanlı)
   ============================================ */
.site-header {
  background: var(--header-bg);
  color: var(--text-white);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* --- 1) Üst yardımcı şerit --- */
.header-utility {
  background: #1F1F1F;
  border-bottom: 1px solid #161616;
  font-size: 12px;
  color: var(--text-med);
}
.header-utility-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.utility-left, .utility-right {
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.utility-link {
  color: var(--text-light);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  transition: color 0.15s;
}
.utility-link:hover { color: var(--primary); text-decoration: none; }
.utility-static { cursor: default; }
.utility-static:hover { color: var(--text-light); }
.utility-link-strong { color: #fff; font-weight: 600; }
.utility-link-danger { color: #ff8a80; }
.utility-link-danger:hover { color: #ff5252; }
.utility-divider { color: #444; }
.utility-greeting { color: var(--text-light); }
.utility-greeting strong { color: #fff; font-weight: 600; }

/* --- 2) Ana header satırı --- */
.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  height: 64px;
  max-width: 1320px;
  margin: 0 auto;
}
.header-menu-btn { color: var(--text-white); font-size: 18px; padding: 8px 10px; border-radius: 4px; }
.header-menu-btn:hover { background: rgba(255,255,255,0.06); }

.header-logo { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.header-logo:hover { text-decoration: none; }
.header-logo img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px;
  max-height: 38px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.header-logo-tag {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 19px;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: -0.6px;
  line-height: 1;
}
.header-logo-tag .logo-com {
  font-weight: 600;
  font-size: 15px;
  color: #444;
}

/* --- Arama (kategori dropdown'lı) --- */
.header-search {
  display: flex;
  align-items: stretch;
  flex: 1;
  max-width: 640px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid transparent;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.search-cat-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-right: 1px solid #e2e2e2;
}
.search-cat {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  background: transparent;
  color: #333;
  font-weight: 600;
  font-size: 13px;
  padding: 0 28px 0 14px;
  height: 100%;
  cursor: pointer;
  min-width: 130px;
}
.search-cat-caret {
  position: absolute;
  right: 10px;
  font-size: 10px;
  color: #777;
  pointer-events: none;
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  color: #333;
  font-size: 13px;
  min-width: 0;
  background: #fff;
}
.header-search input::placeholder { color: #999; }
.header-search button {
  width: 56px;
  background: var(--primary);
  color: #1a1a1a;
  font-size: 16px;
  transition: background 0.15s;
}
.header-search button:hover { background: var(--primary-dark); color: #fff; }

/* --- Eylemler --- */
.header-actions { display:flex; align-items:center; gap:4px; margin-left:auto; }
.header-action-btn {
  color: var(--text-light);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 4px;
  line-height: 1.2;
  min-width: 60px;
}
.header-action-btn i { font-size: 17px; }
.header-action-btn:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.header-action-login {
  flex-direction: row;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 14px;
  border: 1px solid #4a4a4a;
}
.header-action-login i { font-size: 18px; }
.header-action-login:hover { border-color: var(--primary); color: var(--primary); background: transparent; }

.btn-post-ad {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-left: 8px;
  transition: background 0.15s, transform 0.15s;
}
.btn-post-ad:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }

.header-search-mobile { padding: 8px 12px 12px; background: var(--header-bg); }
.header-search-mobile .header-search { max-width: none; height: 40px; }

/* --- 3) Kategori navigasyon şeridi --- */
.header-catnav {
  background: #232323;
  border-top: 1px solid #1a1a1a;
}
.header-catnav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-catnav-inner::-webkit-scrollbar { display: none; }
.catnav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.catnav-link:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,0.04); }
.catnav-link i { font-size: 12px; opacity: 0.85; }
.catnav-emlak:hover { color: #66BB6A; border-bottom-color: #43A047; }
.catnav-vasita:hover { color: #64B5F6; border-bottom-color: #1E88E5; }

/* --- Profil dropdown --- */
.profile-menu { position: relative; margin-left: 4px; }
.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  color: var(--text-white);
  border-radius: 4px;
  border: 1px solid transparent;
}
.profile-trigger:hover { background: rgba(255,255,255,0.06); border-color: #4a4a4a; }
.profile-trigger-name {
  font-size: 13px;
  font-weight: 600;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-trigger-caret { font-size: 10px; opacity: 0.8; }
.profile-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: #fff; color: #333;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border: 1px solid #e0e0e0;
  display: none;
  z-index: 100;
  padding: 4px 0;
}
.profile-dropdown.open { display: block; }
.profile-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
}
.profile-dropdown a:hover { background: #f5f5f5; text-decoration: none; }
.profile-dropdown .divider { height: 1px; background: #eee; margin: 4px 0; }
.profile-dropdown .danger { color: var(--error); }

/* ============================================
   ANA YAPISAL DÜZEN
   ============================================ */
.layout {
  display: flex;
  gap: 16px;
  max-width: 1320px;
  margin: 16px auto;
  padding: 0 12px;
  width: 100%;
  flex: 1;
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background:
    linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  border-radius: 12px;
  border: 1px solid var(--divider);
  align-self: flex-start;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow:
    0 2px 8px rgba(20,30,60,0.05),
    0 0 0 1px rgba(255,255,255,0.6) inset;
  animation: sidebar-in 0.5s cubic-bezier(.2,.8,.2,1) both;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
  background: #e0e3eb;
  border-radius: 6px;
}
.sidebar::-webkit-scrollbar-thumb:hover { background: #c8ccd6; }
@keyframes sidebar-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.main-content { flex: 1; min-width: 0; }

.sidebar-section {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-link {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 13px; color: #444;
  overflow: hidden;
  transition: color 0.2s, padding 0.25s ease, background 0.2s;
  animation: sidebar-link-in 0.45s ease both;
}
.sidebar-link::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.sidebar-link:hover {
  background: linear-gradient(90deg, #fff8e1 0%, transparent 70%);
  color: var(--primary-dark);
  text-decoration: none;
  padding-left: 22px;
}
.sidebar-link:hover::before { transform: scaleY(1); }
.sidebar-link i {
  width: 16px; color: #888;
  transition: color 0.2s, transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.sidebar-link:hover i { color: var(--primary-dark); transform: scale(1.15) rotate(-4deg); }

/* ============================================
   ACİL ACİL — alev animasyonlu özel link
   ============================================ */
.sidebar-link-acil {
  position: relative;
  margin: 6px 8px 4px;
  padding: 11px 14px !important;
  background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 50%, #FFEBEE 100%);
  background-size: 200% 200%;
  border: 1px solid #FFCDD2;
  border-radius: 10px;
  color: #B71C1C !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  overflow: hidden;
  animation:
    sidebar-link-in 0.45s ease both,
    acil-bg 4s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(229,57,53,0.15);
}
.sidebar-link-acil::before { display: none; }
.sidebar-link-acil:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
  border-color: #B71C1C;
  padding-left: 14px !important;
  box-shadow: 0 4px 16px rgba(229,57,53,0.45);
}
.sidebar-link-acil:hover .acil-flame i { color: #fff; }
.sidebar-link-acil:hover .acil-flame-1,
.sidebar-link-acil:hover .acil-flame-2,
.sidebar-link-acil:hover .acil-flame-3 {
  filter: brightness(1.2);
}
@keyframes acil-bg {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Alev konteyneri */
.acil-flame {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.acil-flame i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #E53935;
  z-index: 4;
  animation: acil-icon 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(229,57,53,0.6));
}
@keyframes acil-icon {
  0%, 100% { transform: translateY(0) scale(1) rotate(-2deg); }
  25%      { transform: translateY(-1px) scale(1.08) rotate(3deg); }
  50%      { transform: translateY(-2px) scale(1.15) rotate(-3deg); }
  75%      { transform: translateY(-1px) scale(1.08) rotate(2deg); }
}
/* 3 katmanlı alev — orange/yellow titrek glow */
.acil-flame-1, .acil-flame-2, .acil-flame-3 {
  position: absolute;
  bottom: 1px;
  left: 50%;
  border-radius: 50% 50% 35% 35% / 70% 70% 30% 30%;
  transform-origin: bottom center;
  pointer-events: none;
}
.acil-flame-1 {
  width: 14px; height: 18px;
  margin-left: -7px;
  background: radial-gradient(ellipse at center bottom, #FFD54F 0%, #FF9800 50%, #E53935 100%);
  filter: blur(0.5px);
  z-index: 1;
  animation: acil-flame-flicker-1 0.45s ease-in-out infinite alternate;
  opacity: 0.7;
}
.acil-flame-2 {
  width: 10px; height: 14px;
  margin-left: -5px;
  background: radial-gradient(ellipse at center bottom, #FFEB3B 0%, #FFB300 60%, #F57C00 100%);
  filter: blur(0.3px);
  z-index: 2;
  animation: acil-flame-flicker-2 0.55s ease-in-out infinite alternate;
  opacity: 0.85;
}
.acil-flame-3 {
  width: 6px; height: 10px;
  margin-left: -3px;
  background: radial-gradient(ellipse at center bottom, #FFF59D 0%, #FFEB3B 70%, #FFA000 100%);
  z-index: 3;
  animation: acil-flame-flicker-3 0.35s ease-in-out infinite alternate;
}
@keyframes acil-flame-flicker-1 {
  from { transform: translateX(-50%) scaleY(1) rotate(-3deg) skewX(-2deg); }
  to   { transform: translateX(-50%) scaleY(0.88) rotate(2deg) skewX(3deg); }
}
@keyframes acil-flame-flicker-2 {
  from { transform: translateX(-50%) scaleY(1.05) rotate(2deg); }
  to   { transform: translateX(-50%) scaleY(0.85) rotate(-3deg); }
}
@keyframes acil-flame-flicker-3 {
  from { transform: translateX(-50%) scaleY(1.1); }
  to   { transform: translateX(-50%) scaleY(0.8); }
}

/* Sağ tarafta nabız halkası */
.acil-pulse {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E53935;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(229,57,53,0.6);
  animation: acil-pulse 1.4s ease-out infinite;
}
@keyframes acil-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(229,57,53,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(229,57,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}
.acil-text { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  .sidebar-link-acil,
  .acil-flame i,
  .acil-flame-1, .acil-flame-2, .acil-flame-3,
  .acil-pulse {
    animation: none !important;
  }
}

@keyframes sidebar-link-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}
.sidebar-section .sidebar-link:nth-child(1) { animation-delay: 0.05s; }
.sidebar-section .sidebar-link:nth-child(2) { animation-delay: 0.10s; }
.sidebar-section .sidebar-link:nth-child(3) { animation-delay: 0.15s; }

.cat-group {
  margin: 8px 8px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20,30,60,0.06);
  animation: sidebar-link-in 0.5s ease both;
  transition: box-shadow 0.25s ease;
}
.cat-group:hover { box-shadow: 0 4px 14px rgba(20,30,60,0.10); }
.cat-group[data-cat="emlak"]  { animation-delay: 0.20s; }
.cat-group[data-cat="vasita"] { animation-delay: 0.30s; }

.cat-group-header {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  color: #fff; font-weight: 700; font-size: 14px;
  cursor: pointer; user-select: none;
  overflow: hidden;
  letter-spacing: 0.2px;
  transition: padding 0.2s, filter 0.2s;
}
.cat-group-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 0%, transparent 35%,
    rgba(255,255,255,0.32) 50%,
    transparent 65%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.cat-group-header:hover::before { transform: translateX(110%); }
.cat-group-header:hover         { filter: brightness(1.05); }
.cat-group-header > i:first-child {
  font-size: 16px;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.cat-group-header:hover > i:first-child { transform: scale(1.15) rotate(-6deg); }
.cat-group-header.emlak  { background: linear-gradient(135deg, #43A047 0%, #66BB6A 100%); }
.cat-group-header.vasita { background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%); }
.cat-group-header .cat-count {
  margin-left: auto;
  background: rgba(255,255,255,0.28);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.cat-group-header:hover .cat-count {
  background: rgba(255,255,255,0.45);
  transform: scale(1.05);
}
.cat-group-header .toggle-icon {
  font-size: 11px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.cat-group.open .cat-group-header .toggle-icon { transform: rotate(180deg); }

/* max-height ile yumuşak collapse animasyonu */
.cat-list {
  display: block;
  background: #fafafa;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(.2,.8,.2,1),
              opacity 0.25s ease;
}
.cat-group.open .cat-list {
  max-height: 600px;
  opacity: 1;
}
.cat-list a {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px 9px 42px;
  font-size: 13px; color: #555;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s, padding 0.25s cubic-bezier(.2,.8,.2,1);
}
.cat-list a::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 6px; height: 6px;
  background: #d9d9d9;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  transition: background 0.2s, transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.cat-list a:last-child { border-bottom: none; }
.cat-list a:hover {
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  padding-left: 48px;
}
.cat-list a:hover::before {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1);
}
.cat-list a.active {
  background: linear-gradient(90deg, #fff3c4 0%, #fffbe6 60%, #fff 100%);
  color: #1a1a1a;
  font-weight: 700;
  border-left: 3px solid var(--primary);
  padding-left: 39px;
  box-shadow: inset 0 0 0 1px rgba(243,191,43,0.20);
}
.cat-list a.active::before {
  background: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 3px rgba(243,191,43,0.25),
              0 0 8px rgba(229,133,30,0.45);
  animation: cat-active-pulse 2.2s ease-in-out infinite;
}
@keyframes cat-active-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(243,191,43,0.25), 0 0 8px rgba(229,133,30,0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(243,191,43,0.10), 0 0 14px rgba(229,133,30,0.65); }
}
.cat-list a .badge {
  background: #eaeaea;
  font-size: 10.5px;
  color: #777;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cat-list a:hover .badge {
  background: var(--primary);
  color: #1a1a1a;
  transform: scale(1.06);
}
.cat-list a.active .badge {
  background: var(--primary-dark);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .sidebar-link, .cat-group { animation: none !important; }
  .cat-list a.active::before { animation: none !important; }
  .cat-group-header::before { display: none; }
  .cat-list { transition: none; }
}

/* ============================================
   İLAN KARTLARI
   ============================================ */
.section-bar {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--divider);
  flex-wrap: wrap; gap: 8px;
  box-shadow: 0 1px 3px rgba(20,30,60,0.04);
  overflow: hidden;
}
.section-bar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, #E5851E 100%);
  transform: scaleY(0.4);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.section-bar:hover::before { transform: scaleY(1); }
.section-bar h1, .section-bar h2 {
  position: relative;
  font-size: 15px; color: #2a2a2a; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  margin: 0;
  letter-spacing: 0;
}
.section-bar h2 i { font-size: 14px; opacity: 0.85; }

/* ====== Acil İlanlar — kırmızı vurgu ====== */
.section-bar-acil {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEE 100%);
  border-color: #FFCDD2;
  box-shadow: 0 2px 10px rgba(229,57,53,0.10);
}
.section-bar-acil::before {
  background: linear-gradient(180deg, #E53935 0%, #B71C1C 100%);
  transform: scaleY(1);
}
.section-bar-acil h2 { color: #B71C1C; }
.section-bar-acil h2::after { background: linear-gradient(90deg, #E53935, transparent 90%); }
.section-bar-acil .see-all { color: #B71C1C; }
.section-bar-acil .see-all:hover { background: #FFCDD2; color: #7f1d1d; }
.acil-flame-sm { width: 20px; height: 20px; }
.acil-flame-sm i { font-size: 15px; }
.acil-flame-sm .acil-flame-1 { width: 12px; height: 16px; margin-left: -6px; }
.acil-flame-sm .acil-flame-2 { width: 9px;  height: 13px; margin-left: -4.5px; }
.acil-flame-sm .acil-flame-3 { width: 5px;  height: 9px;  margin-left: -2.5px; }

/* Acil grid — kartların kendisi de kırmızı kenarlık + ışıltı */
.listing-grid-acil > .listing-card {
  border-color: #FFCDD2;
  box-shadow: 0 2px 8px rgba(229,57,53,0.10);
  position: relative;
}
.listing-grid-acil > .listing-card::after {
  content: "ACİL";
  position: absolute;
  top: 8px; right: 8px;
  background: #E53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(229,57,53,0.35);
  animation: acil-card-pulse 1.6s ease-in-out infinite;
}
.listing-grid-acil > .listing-card .badge-feat { display: none; }
.listing-grid-acil > .listing-card:hover {
  border-color: #E53935;
  box-shadow: 0 8px 22px rgba(229,57,53,0.25);
}
@keyframes acil-card-pulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(229,57,53,0.45), 0 0 0 0 rgba(229,57,53,0.5); }
  50%      { box-shadow: 0 2px 6px rgba(229,57,53,0.45), 0 0 0 8px rgba(229,57,53,0); }
}
@media (prefers-reduced-motion: reduce) {
  .listing-grid-acil > .listing-card::after { animation: none; }
}

/* ====== Öne Çıkan — altın vurgu ====== */
.section-bar-featured {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF3C4 100%);
  border-color: rgba(243,191,43,0.45);
  box-shadow: 0 2px 10px rgba(229,133,30,0.10);
}
.section-bar-featured::before {
  background: linear-gradient(180deg, var(--primary) 0%, #E5851E 100%);
  transform: scaleY(1);
}
.section-bar-featured h2 i { color: var(--primary-dark); }

/* ====== En Yeni — mavi vurgu ====== */
.section-bar-latest {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-color: rgba(14,165,233,0.30);
  box-shadow: 0 2px 10px rgba(14,165,233,0.10);
}
.section-bar-latest::before {
  background: linear-gradient(180deg, #0EA5E9 0%, #0369A1 100%);
  transform: scaleY(1);
}
.section-bar-latest h2 { color: #0369A1; }
.section-bar-latest h2 i { color: #0EA5E9; }
.section-bar-latest h2::after { background: linear-gradient(90deg, #0EA5E9, transparent 90%); }
.section-bar-latest .see-all { color: #0369A1; }
.section-bar-latest .see-all:hover { background: #E0F2FE; color: #075985; }

.home-cat-count {
  display: inline-flex; align-items: center;
  background: #f5f5f5;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  transition: background 0.2s, color 0.2s;
}
.section-bar:hover .home-cat-count {
  background: #fff8e1;
  color: var(--primary-dark);
}
.section-bar h2::after {
  content: "";
  position: absolute;
  left: 28px; right: -4px; bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent 90%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.section-bar:hover h2::after { transform: scaleX(1); }
.section-bar .see-all {
  font-size: 12px;
  color: #777;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.section-bar .see-all:hover {
  color: var(--primary-dark);
  background: #fff8e1;
  transform: translateX(2px);
  text-decoration: none;
}
.section-bar .filter-tabs { display: flex; gap: 4px; }
.tab {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 5px;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { text-decoration: none; background: #ececec; }
.tab.active {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 600;
}

/* Satılık / Kiralık filter tabs — emlak kategori başlıklarında */
.filter-tabs.satis-tabs { gap: 6px; }
.filter-tabs.satis-tabs .tab {
  border: 1px solid transparent;
  cursor: pointer;
}
.filter-tabs.satis-tabs .tab .tab-count {
  display: inline-flex;
  align-items: center;
  background: rgba(0,0,0,0.08);
  color: inherit;
  font-size: 10.5px;
  font-weight: 600;
  padding: 0 6px;
  margin-left: 4px;
  border-radius: 999px;
  min-width: 18px; height: 16px;
  justify-content: center;
}
.filter-tabs.satis-tabs .tab-satilik.active {
  background: rgba(220,38,38,0.10);
  color: #DC2626;
  border-color: rgba(220,38,38,0.30);
}
.filter-tabs.satis-tabs .tab-satilik.active .tab-count {
  background: rgba(220,38,38,0.20);
}
.filter-tabs.satis-tabs .tab-kiralik.active {
  background: rgba(14,165,233,0.10);
  color: #0284C7;
  border-color: rgba(14,165,233,0.30);
}
.filter-tabs.satis-tabs .tab-kiralik.active .tab-count {
  background: rgba(14,165,233,0.20);
}
.filter-tabs.satis-tabs .tab-all.active {
  background: var(--primary);
  color: #1a1a1a;
}
.filter-tabs.satis-tabs .tab-all.active .tab-count {
  background: rgba(0,0,0,0.18);
}


.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.listing-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--divider);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.25s ease,
              border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  animation: card-in 0.5s cubic-bezier(.2,.8,.2,1) both;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(20,30,60,0.10);
  border-color: rgba(229,133,30,0.35);
  text-decoration: none;
}
.listing-card:hover .img-wrap img { transform: scale(1.05); }
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
/* Stagger — ilk 12 karta artan delay */
.listing-grid > .listing-card:nth-child(1)  { animation-delay: 0.04s; }
.listing-grid > .listing-card:nth-child(2)  { animation-delay: 0.08s; }
.listing-grid > .listing-card:nth-child(3)  { animation-delay: 0.12s; }
.listing-grid > .listing-card:nth-child(4)  { animation-delay: 0.16s; }
.listing-grid > .listing-card:nth-child(5)  { animation-delay: 0.20s; }
.listing-grid > .listing-card:nth-child(6)  { animation-delay: 0.24s; }
.listing-grid > .listing-card:nth-child(7)  { animation-delay: 0.28s; }
.listing-grid > .listing-card:nth-child(8)  { animation-delay: 0.32s; }
.listing-grid > .listing-card:nth-child(9)  { animation-delay: 0.36s; }
.listing-grid > .listing-card:nth-child(10) { animation-delay: 0.40s; }
.listing-grid > .listing-card:nth-child(11) { animation-delay: 0.44s; }
.listing-grid > .listing-card:nth-child(12) { animation-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .listing-card { animation: none !important; }
  .listing-card:hover .img-wrap img { transform: none; }
}

/* ============================================
   ANASAYFA — "Tüm İlanları Gör" CTA
   ============================================ */
.home-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.home-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #E5851E 100%);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(229,133,30,0.30);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.home-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229,133,30,0.45);
}
.home-cta-btn i {
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.home-cta-btn:hover i { transform: translateX(4px); }

/* ============================================
   ANASAYFA — SEO bloğu
   ============================================ */
.seo-block {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #fff 0%, #fffbf2 100%);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(20,30,60,0.04);
  position: relative;
  overflow: hidden;
}
.seo-block::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,191,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.seo-block-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #E5851E 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(229,133,30,0.30);
  position: relative;
  z-index: 1;
}
.seo-block-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.seo-block-body h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.seo-block-body p {
  color: #555;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.seo-block-body strong { color: #1a1a1a; }
@media (max-width: 599.98px) {
  .seo-block { padding: 16px 18px; gap: 12px; }
  .seo-block-icon { width: 40px; height: 40px; font-size: 18px; }
}
.listing-card .img-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #f5f5f5;
  overflow: hidden;
}
.listing-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.listing-card .img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size: 42px; color: #ccc;
}
.listing-card .badge-cat {
  position: absolute; top: 8px; left: 8px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: #555;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
/* Generic fallback'ler */
.listing-card .badge-cat.vasita { background: var(--vasita); }
.listing-card .badge-cat.emlak  { background: var(--emlak); }

/* ==========================================================
   Kategori bazlı renk paleti — slug'a göre (listing-card.php)
   ========================================================== */
/* Emlak (gayrimenkul) */
.listing-card .badge-cat.badge-cat-daire        { background: #2563EB; } /* mavi    — apartman */
.listing-card .badge-cat.badge-cat-mustakil-ev,
.listing-card .badge-cat.badge-cat-mustakil     { background: #059669; } /* yeşil   — ev */
.listing-card .badge-cat.badge-cat-villa        { background: #7C3AED; } /* mor     — lüks */
.listing-card .badge-cat.badge-cat-arsa         { background: #A16207; } /* kahve   — toprak */
.listing-card .badge-cat.badge-cat-tarla        { background: #15803D; } /* koyu yeşil */
.listing-card .badge-cat.badge-cat-ciftlik      { background: #0E7490; } /* teal */
.listing-card .badge-cat.badge-cat-ofis         { background: #475569; } /* slate */
.listing-card .badge-cat.badge-cat-dukkan       { background: #EA580C; } /* turuncu */
.listing-card .badge-cat.badge-cat-isyeri       { background: #C2410C; } /* koyu turuncu */
.listing-card .badge-cat.badge-cat-depo         { background: #64748B; } /* gri */
.listing-card .badge-cat.badge-cat-bina         { background: #0369A1; } /* gök mavisi */
.listing-card .badge-cat.badge-cat-yazlik       { background: #0891B2; } /* açık teal */
.listing-card .badge-cat.badge-cat-bag-bahce,
.listing-card .badge-cat.badge-cat-bahce        { background: #16A34A; } /* yeşil */
.listing-card .badge-cat.badge-cat-fabrika      { background: #6B7280; } /* gri */
.listing-card .badge-cat.badge-cat-otel         { background: #BE185D; } /* magenta */

/* Vasıta (arac) */
.listing-card .badge-cat.badge-cat-otomobil     { background: #DC2626; } /* kırmızı */
.listing-card .badge-cat.badge-cat-motosiklet   { background: #DB2777; } /* pembe */
.listing-card .badge-cat.badge-cat-ticari-arac  { background: #D97706; } /* amber */
.listing-card .badge-cat.badge-cat-arazi-suv-pick-up,
.listing-card .badge-cat.badge-cat-arazi,
.listing-card .badge-cat.badge-cat-suv          { background: #0F766E; } /* koyu teal */
.listing-card .badge-cat.badge-cat-minibus,
.listing-card .badge-cat.badge-cat-otobus       { background: #7C2D12; } /* koyu kahve */
.listing-card .badge-cat.badge-cat-kamyon       { background: #4D7C0F; } /* zeytin */
.listing-card .badge-cat.badge-cat-traktor      { background: #166534; } /* koyu yeşil */
.listing-card .badge-cat.badge-cat-karavan      { background: #B45309; } /* turuncu-kahve */
.listing-card .badge-cat.badge-cat-deniz-araci,
.listing-card .badge-cat.badge-cat-tekne        { background: #1E40AF; } /* lacivert */
.listing-card .badge-feat {
  position:absolute; top:8px; right:8px;
  font-size: 10px; font-weight: 700; color: #333;
  background: var(--warning);
  padding: 3px 7px; border-radius: 4px;
}
.listing-card .body { padding: 10px 12px 12px; display:flex; flex-direction:column; gap:4px; flex:1; }

/* Satılık / Kiralık rozeti — kart body'sinde başlık üstünde */
.listing-card .badge-satis {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 2px;
  position: relative;
}
.listing-card .badge-satis::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}
.listing-card .badge-satis-satilik {
  background: rgba(220,38,38,0.10);
  color: #DC2626;
  border: 1px solid rgba(220,38,38,0.25);
}
.listing-card .badge-satis-kiralik {
  background: rgba(14,165,233,0.10);
  color: #0284C7;
  border: 1px solid rgba(14,165,233,0.25);
}
.listing-card .price-suffix {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin-left: 2px;
}
.listing-card .price-kiralik { color: #0369A1; }
.listing-card .title {
  font-size: 14px; font-weight: 700; color: #222;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 38px;
}
.listing-card .price { font-size: 16px; font-weight: 700; color: var(--primary-dark); }
.listing-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #888;
}

.empty-state, .loading-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--divider);
}
.empty-state i { font-size: 42px; color: #ccc; margin-bottom: 12px; }
.spinner {
  width: 32px; height: 32px;
  border: 3px solid #eee; border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #2D2D2D;
  color: #aaa;
  margin-top: 40px;
  font-size: 13px;
}

/* --- 1) Üst CTA şeridi --- */
.footer-cta {
  background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
  border-bottom: 1px solid #1a1a1a;
}
.footer-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-cta-text h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-cta-text h3 span { color: var(--primary); }
.footer-cta-text p { color: #bbb; font-size: 13px; margin: 0; }
.footer-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta-actions .btn-post-ad { margin-left: 0; padding: 12px 22px; font-size: 14px; }
.footer-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.footer-cta-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(243,191,43,0.06);
  text-decoration: none;
}

/* --- 2) Bağlantı sütunları --- */
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 16px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a { display:block; color:#bbb; font-size:13px; padding:5px 0; transition: color 0.15s, padding 0.15s; }
.footer-col a:hover { color: var(--primary); text-decoration: none; padding-left: 3px; }
.footer-col p { color: #888; }

.footer-col-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 12px;
}
.footer-col-brand .footer-logo:hover { padding-left: 0; text-decoration: none; }
.footer-col-brand .footer-logo img { width: 40px; height: 40px; border-radius: 6px; }
.footer-logo-tag {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 17px;
  padding: 6px 11px;
  border-radius: 4px;
  letter-spacing: -0.6px;
  line-height: 1;
}
.footer-logo-tag .logo-com { font-weight: 600; font-size: 14px; color: #444; }
.footer-about {
  color: #999;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  border-radius: 50%;
  color: #bbb;
  padding: 0;
  font-size: 14px;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}
.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(243,191,43,0.08);
  transform: translateY(-1px);
  padding-left: 0;
}

.footer-col-contact .footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #bbb;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-col-contact .footer-contact-line i {
  color: var(--primary);
  margin-top: 3px;
  width: 14px;
  text-align: center;
}
.footer-col-contact .footer-contact-line a { display: inline; padding: 0; color: #bbb; }
.footer-col-contact .footer-contact-line a:hover { color: var(--primary); padding-left: 0; }

.footer-eids {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-eids > i {
  font-size: 22px;
  color: var(--primary);
  margin-top: 2px;
}
.footer-eids strong {
  color: #fff;
  display: block;
  font-size: 12.5px;
  margin-bottom: 2px;
}
.footer-eids span {
  color: #999;
  font-size: 11.5px;
  line-height: 1.4;
}

/* --- 3) Alt çubuk --- */
.footer-bottom {
  background: #1a1a1a;
  border-top: 1px solid #161616;
}
.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #888;
}
.footer-copy { color: #999; }
.footer-legal { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer-legal a { color: #999; transition: color 0.15s; }
.footer-legal a:hover { color: var(--primary); text-decoration: none; }
.footer-legal span { color: #555; }

@media (max-width: 1023.98px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px 16px 20px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 599.98px) {
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-cta-text h3 { font-size: 17px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn-post-ad,
  .footer-cta-btn-secondary { flex: 1; justify-content: center; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   İLAN DETAY
   ============================================ */
.detail-wrap { max-width: 1180px; margin: 16px auto; padding: 0 12px; width: 100%; }
.breadcrumb {
  font-size: 12px; color: #888;
  margin-bottom: 12px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--divider); border-radius: 4px;
  overflow-x: auto; white-space: nowrap;
}
.breadcrumb a { color: var(--link); }
.breadcrumb .current { color: #333; font-weight: 600; }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.detail-card { background:#fff; border-radius:6px; border:1px solid var(--divider); padding:16px; }
.detail-gallery { background:#fff; border-radius:6px; border:1px solid var(--divider); overflow:hidden; }
.gallery-main {
  width: 100%; aspect-ratio: 4/3;
  background: #f4f4f4;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width:100%; height:100%; object-fit:contain; background:#000; }
.gallery-thumbs { display:flex; gap:6px; padding:8px; overflow-x:auto; }
.gallery-thumbs img {
  width: 70px; height: 50px; object-fit: cover;
  border-radius: 4px; cursor: pointer;
  border: 2px solid transparent;
}
.gallery-thumbs img.active { border-color: var(--primary); }

.detail-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #222; }
.detail-price { font-size: 28px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.detail-loc { color:#666; font-size:14px; display:flex; align-items:center; gap:6px; }
.detail-loc i { color: var(--error); }

.eids-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(30,149,109,0.10);
  color: var(--success);
  border: 1px solid rgba(30,149,109,0.3);
  border-radius: 4px;
  font-size: 12px; font-weight: 600;
}

.detail-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.attr-item { background:#fafafa; border:1px solid #eee; border-radius:4px; padding:8px 12px; }
.attr-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.3px; }
.attr-value { font-size: 14px; color: #222; font-weight: 600; margin-top: 2px; }

.section-title {
  font-size: 15px; font-weight: 700; color: #333;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 6px; margin-bottom: 10px;
  display: inline-block;
}
.detail-desc { color: #444; font-size: 14px; line-height: 1.6; }

.contact-card { position: sticky; top: 16px; }
.contact-user {
  display:flex; align-items:center; gap:10px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.contact-user-avatar {
  width: 44px; height: 44px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #333; font-weight: 700; font-size: 18px;
}
.contact-name { font-weight: 700; color: #333; }
.contact-firma { font-size: 12px; color: #888; }
.btn-call {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 700; padding: 13px;
  border-radius: 8px; font-size: 14.5px;
  margin-top: 12px;
  width: 100%; border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.btn-call:hover {
  background: #15803d;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* ============================================
   İLAN DETAY — Geliştirilmiş öğeler
   ============================================ */
/* Section fade-in stagger */
.detail-fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: detail-fade-up 0.5s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes detail-fade-up {
  to { opacity: 1; transform: none; }
}

/* Section title — ikon eklendi */
.detail-card .section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--primary);
}
.detail-card .section-title i {
  font-size: 13px;
  color: var(--primary-dark);
}

/* Title — sade siyah */
.detail-title {
  color: #1a1a1a;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

/* EIDS badge — sade */
.eids-badge {
  background: #f0fdf4;
  color: #047857;
  border-color: #bbf7d0;
  font-weight: 600;
}

/* Galeri — büyük resim üzerinde nav butonları + counter + zoom */
.gallery-main {
  position: relative;
  cursor: zoom-in;
  background: #1a1a1a !important;
}
.gallery-main img {
  transition: opacity 0.25s ease;
}
.gallery-main img.is-swapping { opacity: 0.4; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: #666;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: rgba(0,0,0,0.85); transform: translateY(-50%) scale(1.06); }
.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }
.gallery-counter {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.gallery-zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.gallery-main:hover .gallery-zoom { opacity: 1; }
.gallery-zoom:hover { background: rgba(0,0,0,0.85); transform: scale(1.1); }

/* Thumbs — hover lift + active accent */
.gallery-thumbs img {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gallery-thumbs img:hover {
  transform: translateY(-2px);
  border-color: rgba(243,191,43,0.45);
  box-shadow: 0 4px 10px rgba(20,30,60,0.10);
}
.gallery-thumbs img.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(229,133,30,0.30);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-img.is-swapping { opacity: 0.4; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.lightbox-close {
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  font-size: 18px;
}
.lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 22px;
}
.lightbox-nav-prev { left: 24px; }
.lightbox-nav-next { right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.40);
  transform: scale(1.06);
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}
@media (max-width: 599px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 16px; }
  .lightbox-nav-prev { left: 10px; }
  .lightbox-nav-next { right: 10px; }
  .lightbox-close   { top: 12px; right: 12px; width: 38px; height: 38px; }
}

/* ============================================
   DETAIL HERO — sade, profesyonel
   ============================================ */
.detail-hero { padding: 18px 20px 20px; }

.detail-badges {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 10px;
}
.d-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  background: #f3f4f6;
  color: #4b5563;
  border-color: #e5e7eb;
}
.d-badge i { font-size: 10px; opacity: 0.8; }
.d-badge-satilik {
  background: #fff;
  color: #DC2626;
  border-color: #fecaca;
}
.d-badge-kiralik {
  background: #fff;
  color: #0284C7;
  border-color: #bae6fd;
}
.d-badge-acil {
  background: #fef2f2;
  color: #B91C1C;
  border-color: #fecaca;
  font-weight: 700;
}
.d-badge-acil i { color: #DC2626; opacity: 1; }
.d-badge-vitrin {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}
.d-badge-vitrin i { color: var(--primary-dark); opacity: 1; }
.d-badge-eids {
  background: #f0fdf4;
  color: #047857;
  border-color: #bbf7d0;
}
.d-badge-eids i { color: #047857; opacity: 1; }

.detail-loc-quick {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #555;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.detail-loc-quick > i { color: #6b7280; }
.detail-loc-quick .loc-sep { color: #ccc; }
.detail-loc-quick .loc-time { color: #888; }
.detail-loc-quick .loc-time i { color: #999; margin-right: 3px; }

/* Fiyat kartı — sade beyaz */
.detail-price-card {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  margin: 10px 0 16px;
}
.price-label {
  display: block;
  font-size: 11px; font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.detail-price {
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.4px;
  line-height: 1;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  background: none;
}
.detail-price .price-unit {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  -webkit-text-fill-color: #888;
  margin-left: 2px;
}
.price-pazarlik-badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px;
  font-size: 11px; font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 3px 8px;
  border-radius: 4px;
}

.detail-stats {
  display: flex; gap: 14px;
  flex-wrap: wrap;
  padding-left: 14px;
  border-left: 1px solid #e5e7eb;
}
@media (max-width: 599.98px) {
  .detail-stats { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid #e5e7eb; width: 100%; justify-content: space-around; }
}
.stat-item {
  display: flex; flex-direction: column;
  align-items: center;
  min-width: 60px;
  border: 0;
  background: transparent;
  padding: 0;
}
.stat-item i {
  color: #9ca3af;
  font-size: 13px;
}
.stat-item strong {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  letter-spacing: -0.1px;
}
.stat-item .stat-mono { font-size: 12px; color: #6b7280; font-weight: 600; }
.stat-item span {
  font-size: 10.5px;
  color: #9ca3af;
  margin-top: 1px;
}

/* attr-item — sade gri */
.attr-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-color: #e5e7eb;
  padding: 10px 12px;
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
  animation: attr-fade 0.4s ease both;
}
.attr-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  display: grid; place-items: center;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
}
.attr-text { flex: 1; min-width: 0; }
.attr-item:hover {
  background: #fafbfd;
  border-color: #d1d5db;
}
.attr-item:hover .attr-icon {
  background: var(--primary);
  color: #1a1a1a;
}
@keyframes attr-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.detail-attrs > .attr-item:nth-child(1)  { animation-delay: 0.05s; }
.detail-attrs > .attr-item:nth-child(2)  { animation-delay: 0.08s; }
.detail-attrs > .attr-item:nth-child(3)  { animation-delay: 0.11s; }
.detail-attrs > .attr-item:nth-child(4)  { animation-delay: 0.14s; }
.detail-attrs > .attr-item:nth-child(5)  { animation-delay: 0.17s; }
.detail-attrs > .attr-item:nth-child(6)  { animation-delay: 0.20s; }
.detail-attrs > .attr-item:nth-child(7)  { animation-delay: 0.23s; }
.detail-attrs > .attr-item:nth-child(8)  { animation-delay: 0.26s; }

/* Konum / Harita */
.detail-loc-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.detail-loc-text { flex: 1; min-width: 0; }
.detail-loc-line {
  font-size: 14px;
  color: #1a1a1a;
}
.detail-loc-line i {
  color: #DC2626;
  margin-right: 4px;
}
.detail-loc-sub {
  font-size: 12.5px;
  color: #777;
  margin-top: 2px;
}
.detail-loc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-direction,
.btn-direction-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
  border: 1px solid transparent;
}
.btn-direction {
  background: #1f2937;
  color: #fff !important;
}
.btn-direction:hover {
  background: #111827;
  transform: translateY(-1px);
}
.btn-direction-ghost {
  background: #fff;
  color: #1f2937;
  border-color: #d1d5db;
}
.btn-direction-ghost:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  transform: translateY(-1px);
}
.btn-direction i,
.btn-direction-ghost i { font-size: 12px; }

.detail-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
#ilan-map {
  width: 100%;
  height: 360px;
  background: #e7eef5;
  z-index: 0;
}
/* Leaflet attribution & control sade */
.leaflet-control-attribution {
  font-size: 10.5px !important;
  background: rgba(255,255,255,0.85) !important;
}
.leaflet-control-zoom a {
  background: #fff !important;
  color: #374151 !important;
  border-color: #e5e7eb !important;
}
.leaflet-control-zoom a:hover { background: #f9fafb !important; }
.leaflet-popup-content-wrapper {
  border-radius: 6px !important;
}
.detail-map-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 18px;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  color: #6b7280;
  font-size: 13.5px;
}
.detail-map-empty i { font-size: 22px; color: #9ca3af; }

/* ============================================
   AÇIKLAMA — devamını oku/gizle
   ============================================ */
.detail-desc.is-collapsible {
  max-height: 6.4em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}
.detail-desc.is-collapsible::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.4em;
  background: linear-gradient(180deg, transparent 0%, #fff 95%);
  pointer-events: none;
  transition: opacity 0.25s;
}
.detail-desc.is-collapsible.is-open {
  max-height: 4000px;
}
.detail-desc.is-collapsible.is-open::after { opacity: 0; }
.detail-desc-toggle {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(229,133,30,0.30);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.detail-desc-toggle:hover {
  background: #fff8e1;
  transform: translateY(-1px);
}
.detail-desc-toggle i { transition: transform 0.2s; }

/* ============================================
   CONTACT CARD — profesyonel
   ============================================ */
.contact-card {
  border-radius: 10px;
  border-color: #e7eaf0;
  box-shadow: 0 4px 14px rgba(20,30,60,0.06);
  animation: detail-fade-up 0.5s cubic-bezier(.2,.8,.2,1) 0.05s both;
  padding: 16px;
}
.contact-user {
  display: flex; align-items: center; gap: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #eee;
}
.contact-user-info { flex: 1; min-width: 0; }
.contact-user-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}
.contact-user-avatar {
  width: 52px; height: 52px;
  background: var(--primary);
  font-size: 20px;
}
.contact-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
  letter-spacing: -0.1px;
  display: flex; align-items: center; gap: 5px;
}
.contact-verified {
  color: #1d4ed8;
  font-size: 13px;
}
.contact-firma {
  font-size: 12px; color: #555;
  margin-top: 2px;
  display: flex; align-items: center; gap: 5px;
}
.contact-firma i { color: #888; font-size: 10px; }
.contact-since {
  font-size: 11px; color: #888;
  margin-top: 2px;
  display: flex; align-items: center; gap: 5px;
}
.contact-since i { font-size: 10px; }

.btn-call-disabled {
  background: #94a3b8 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.btn-call-disabled::after { display: none; }

.btn-whatsapp {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #fff;
  color: #128C7E !important;
  border: 1px solid #25D366;
  font-weight: 600;
  padding: 11px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.18s;
}
.btn-whatsapp:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}
.btn-whatsapp i { font-size: 15px; color: #25D366; }

.btn-secondary-detail {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  background: #fff;
  border: 1px solid #e0e3eb;
  color: #333;
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s;
}
.btn-secondary-detail:hover {
  background: #fafbfd;
  border-color: #c8ccd6;
  color: #1a1a1a;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-secondary-detail.is-favorited {
  background: #fef2f2;
  border-color: #fecaca;
  color: #DC2626;
}
.btn-secondary-detail.is-favorited i { color: #DC2626; }
.btn-report {
  margin-top: 14px;
  border-color: #fee2e2;
  color: #b91c1c;
  font-size: 12.5px;
}
.btn-report:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.trust-row {
  display: flex; gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.trust-item {
  flex: 1;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: #555;
  background: #f8f9fb;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 6px 8px;
}
.trust-item i {
  color: #047857;
  font-size: 12px;
}

/* ============================================
   BENZER İLANLAR
   ============================================ */
.similar-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}
.similar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.similar-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  display: flex; align-items: center; gap: 8px;
  margin: 0;
}
.similar-head h2 i { color: var(--primary-dark); }
.similar-head .see-all {
  font-size: 12.5px;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.similar-head .see-all:hover {
  background: #fff8e1;
  transform: translateX(2px);
  text-decoration: none;
}

/* ============================================
   MOBİL STICKY CTA BAR
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 12px;
  gap: 8px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid #e0e3eb;
  box-shadow: 0 -4px 16px rgba(20,30,60,0.10);
  backdrop-filter: blur(10px);
}
.m-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.2s;
}
.m-cta-fav {
  width: 48px;
  background: #f5f5f5;
  color: #555;
  flex-shrink: 0;
}
.m-cta-fav.is-favorited { color: #DC2626; background: #fef2f2; }
.m-cta-msg {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e3eb;
  color: #333;
}
.m-cta-call {
  flex: 2;
  background: #16a34a;
  color: #fff !important;
}
.m-cta:active { transform: scale(0.97); }

@media (max-width: 1023.98px) {
  .mobile-cta { display: flex; }
  .detail-wrap { padding-bottom: 80px; }
  .contact-card .btn-call,
  .contact-card .btn-whatsapp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-fade-in,
  .attr-item,
  .contact-card,
  .detail-loc i,
  .eids-badge::after,
  .btn-call::after { animation: none !important; }
  .gallery-main img.is-swapping,
  .lightbox-img.is-swapping { opacity: 1; }
}

/* ============================================
   ARAMA / FİLTRE
   ============================================ */
.filter-bar {
  background: #fff; border: 1px solid var(--divider);
  border-radius: 6px; padding: 12px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}
.filter-bar label { font-size: 11px; color: #666; display: block; margin-bottom: 4px; font-weight: 600; }
.filter-bar input, .filter-bar select {
  width: 100%; padding: 8px 10px;
  border: 1px solid #ddd; border-radius: 4px;
  background: #fff;
}
.filter-bar button {
  background: var(--primary); color: #333;
  font-weight: 700; padding: 9px 16px; border-radius: 4px;
  width: 100%;
}
.filter-bar button:hover { background: var(--primary-dark); color: #fff; }

.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 4px; flex-wrap: wrap;
  margin: 24px 0;
}
.pagination a, .pagination span {
  padding: 8px 12px; border-radius: 4px;
  font-size: 13px;
}
.pagination a {
  background: #fff; color: #333;
  border: 1px solid var(--divider);
}
.pagination a:hover { background: var(--primary); color: #fff; text-decoration: none; }
.pagination .active { background: var(--primary); color: #333; font-weight: 700; }

/* ============================================
   AUTH (Giriş / Kayıt / Profil) — Klasik (legacy)
   ============================================ */
.auth-wrap { max-width: 460px; margin: 30px auto; padding: 0 12px; width: 100%; }
.auth-card {
  background: #fff; border-radius: 8px; padding: 28px 24px;
  border: 1px solid var(--divider); box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 8px; text-align: center; }
.auth-card p.sub { text-align: center; color: #777; font-size: 13px; margin-bottom: 20px; }

/* ============================================
   AUTH 2.0 — Split-screen brand layout
   ============================================ */
body.auth-page {
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(243,191,43,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(229,133,30,0.14), transparent 60%),
    linear-gradient(180deg, #f4f5f8 0%, #eef0f4 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Auth-only mini header --- */
.auth-mini-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  height: 60px;
  flex-shrink: 0;
}
.auth-mini-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.auth-mini-logo { display: inline-flex; align-items: center; gap: 10px; }
.auth-mini-logo:hover { text-decoration: none; }
.auth-mini-logo img {
  width: 32px !important; height: 32px !important;
  max-width: 32px; max-height: 32px;
  border-radius: 6px;
}
.auth-mini-logo-tag {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.auth-mini-logo-tag .logo-com { font-weight: 600; font-size: 13px; color: #444; }
.auth-mini-nav { display: flex; align-items: center; gap: 4px; }
.auth-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.auth-mini-link:hover { color: var(--primary-dark); background: #f5f5f5; text-decoration: none; }
.auth-mini-link i { font-size: 13px; }
.auth-mini-link-back { color: #333; }

/* --- Auth-only mini footer --- */
.auth-mini-footer {
  background: #fff;
  border-top: 1px solid #ececec;
  margin-top: auto;
  flex-shrink: 0;
}
.auth-mini-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #888;
}
.auth-mini-foot-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.auth-mini-eids {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,149,109,0.10);
  color: #0d6e4f;
  border: 1px solid rgba(30,149,109,0.25);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}
.auth-mini-copy { color: #888; }
.auth-mini-foot-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.auth-mini-foot-legal a { color: #666; transition: color 0.15s; }
.auth-mini-foot-legal a:hover { color: var(--primary-dark); text-decoration: none; }

@media (max-width: 599.98px) {
  .auth-mini-foot-inner { flex-direction: column; align-items: flex-start; padding: 12px 16px; }
  .auth-mini-inner { padding: 0 16px; }
  .auth-mini-link span { display: none; }
  .auth-mini-link i { font-size: 16px; }
}

.auth-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: #fff;
  width: calc(100% - 24px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20,30,60,0.07);
  margin: 14px auto;
  max-width: 980px;
  min-height: 0;
  animation: shell-pop 0.55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes shell-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* Auth sayfasında compact footer — sadece alt çubuk gözüksün */
.site-footer.site-footer-compact { margin-top: auto; }
.site-footer.site-footer-compact .footer-bottom { background: #1a1a1a; }
.site-footer.site-footer-compact .footer-bottom-inner { padding: 10px 16px; }
@media (max-width: 1023.98px) {
  .auth-shell { grid-template-columns: 1fr !important; min-height: 0; max-width: 560px; }
  .auth-brand { display: none !important; }
  .auth-panel { padding: 24px 20px; }
}
.auth-brand {
  background:
    linear-gradient(160deg, #F3BF2B 0%, #F5C942 35%, #E89A22 75%, #E5851E 100%);
  color: #1a1a1a;
  padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  gap: 16px;
}
.auth-brand::before {
  content: ""; position: absolute;
  width: 240px; height: 240px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand::after {
  content: ""; position: absolute;
  width: 200px; height: 200px;
  bottom: -60px; left: -60px;
  background: radial-gradient(circle, rgba(45,45,45,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-top { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.auth-brand-top:hover { text-decoration: none; }
.auth-brand-top img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.auth-brand-top span {
  background: #2D2D2D; color: var(--primary);
  font-weight: 800; font-size: 16px;
  padding: 5px 10px; border-radius: 5px; letter-spacing: -0.4px;
  flex-shrink: 0;
}
.auth-brand-mid {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center;
  text-align: center;
}
.auth-brand h2 {
  font-size: 22px; line-height: 1.25; font-weight: 800;
  letter-spacing: -0.4px;
  color: #1a1a1a;
}
.auth-brand h2 em {
  font-style: normal;
  color: #2D2D2D;
}
.auth-brand p { color: #2d2d2d; font-size: 13px; line-height: 1.5; }
.auth-brand .features {
  display: flex; flex-direction: column; gap: 7px; margin-top: 4px;
  align-items: center;
  width: 100%;
}
.auth-brand .feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: #1f1f1f;
  width: 100%;
  max-width: 240px;
  justify-content: flex-start;
}
.auth-brand .feature i {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: #2D2D2D;
  color: var(--primary);
  border-radius: 6px; font-size: 11px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.auth-brand .feature strong { color: #1a1a1a; font-weight: 700; }
.auth-brand .features-numbered .feat-num {
  width: 26px; height: 26px;
  background: #2D2D2D;
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.auth-brand .badge-eids {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  background: #2D2D2D;
  color: var(--primary);
  border: none;
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.auth-brand-bot { font-size: 11px; color: #4a3c1a; font-weight: 500; }

.auth-panel {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 32px;
  background: #fff;
  overflow-y: auto;
  position: relative;
}
.auth-form {
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 12px;
}
.auth-form h1 { font-size: 22px !important; }
.auth-form .auth-head { margin-bottom: 2px; }
.auth-form .lead { font-size: 13px; }
.auth-input { padding-top: 11px !important; padding-bottom: 11px !important; padding-right: 14px !important; font-size: 13.5px; }
.auth-input:not(.with-prefix):not(.phone-input) { padding-left: 14px !important; }
.auth-btn { padding: 11px !important; font-size: 13.5px !important; }
.auth-btn-secondary { padding: 10px !important; font-size: 13px !important; }
.auth-tab { padding: 9px 12px !important; font-size: 12.5px !important; }
.otp-input { width: 42px !important; height: 50px !important; font-size: 19px !important; }
.auth-form .auth-back {
  font-size: 13px; color: #666;
  display: inline-flex; align-items: center; gap: 6px;
}
.auth-form .auth-back:hover { color: var(--primary-dark); }

/* --- Sade hiyerarşi (auth) --- */
.auth-head h1 { margin: 0; }
.auth-head .lead { margin-top: 6px; }
.auth-field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-field-link { font-size: 12px; color: var(--link); }
.auth-field-link:hover { color: var(--primary-dark); }
.label-center { text-align: center; }
.label-hint { font-size: 11px; color: #888; font-weight: 400; margin-top: 4px; display: block; }
.auth-divider span {
  background: #fff;
  padding: 0 12px;
}
.auth-divider {
  position: relative;
  text-align: center;
  color: #aaa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: #ececec; z-index: 0;
}
.auth-divider span { position: relative; z-index: 1; }
.auth-divider::after { content: none; }

.auth-stepper { display: flex; flex-direction: column; gap: 6px; }

.auth-secondary-prompt {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin: 4px 0 -4px;
  font-weight: 500;
}

/* --- Belirgin animasyonlu Kaydol butonu --- */
.auth-btn-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  background:
    linear-gradient(120deg, #1f2026 0%, #2D2D2D 50%, #1f2026 100%);
  border: none;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow:
    0 4px 14px rgba(20, 22, 28, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
  animation: reg-float 3.4s ease-in-out infinite;
}
.auth-btn-register:hover { text-decoration: none; color: #fff; }

/* Animasyonlu konik gradient halka (border yerine) */
.auth-btn-register::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: conic-gradient(from 0deg,
    #F3BF2B 0%, #FFE082 18%, #E5851E 35%, transparent 50%,
    #FFE082 65%, #F3BF2B 82%, transparent 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: reg-spin 4s linear infinite;
  z-index: -1;
}

/* İçerideki shimmer */
.auth-btn-register .reg-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(243,191,43,0.22) 48%,
    rgba(255,255,255,0.10) 50%,
    rgba(243,191,43,0.22) 52%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-repeat: no-repeat;
  animation: reg-shine 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.auth-btn-register > i,
.auth-btn-register > span:not(.reg-shine) { position: relative; z-index: 1; }

.auth-btn-register .reg-icon {
  width: 26px; height: 26px;
  background: linear-gradient(180deg, #F3BF2B 0%, #E5851E 100%);
  color: #1a1a1a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(243,191,43,0.45);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.auth-btn-register .reg-label {
  background: linear-gradient(120deg, #fff 0%, #FFE082 50%, #fff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-size: 200% 100%;
  animation: reg-text-shimmer 4s ease-in-out infinite;
}
.auth-btn-register .reg-arrow {
  font-size: 12px; opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.2s;
}

.auth-btn-register:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(20, 22, 28, 0.32),
    0 0 0 3px rgba(243,191,43,0.20),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.auth-btn-register:hover .reg-icon {
  transform: rotate(-12deg) scale(1.12);
}
.auth-btn-register:hover .reg-arrow {
  transform: translateX(5px);
  opacity: 1;
}
.auth-btn-register:active { transform: translateY(0) scale(0.99); }

@keyframes reg-spin {
  to { transform: rotate(360deg); }
}
@keyframes reg-shine {
  0%   { background-position: 220% 0; }
  60%  { background-position: -120% 0; }
  100% { background-position: -120% 0; }
}
@keyframes reg-text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes reg-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .auth-btn-register,
  .auth-btn-register::before,
  .auth-btn-register .reg-shine,
  .auth-btn-register .reg-label { animation: none !important; }
}

/* ============================================
   ŞİFRE SIFIRLAMA — REDESIGN
   ============================================ */

/* Form içindeki ana butonların üstüne nefes payı */
.auth-form form > .auth-btn { margin-top: 14px; }
.auth-form form > .auth-tab-panels + .auth-btn { margin-top: 16px; }

/* --- Görsel stepper (3 adım) --- */
.step-indicator {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 6px;
}
.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 56px;
}
.step-dot {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f1f2f5;
  border: 1.5px solid #e3e5ea;
  color: #999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step-dot .step-check {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}
.step-item.current .step-dot {
  background: linear-gradient(180deg, #F3BF2B, #E5851E);
  color: #1a1a1a;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(243,191,43,0.20), 0 4px 12px rgba(229,133,30,0.30);
  transform: scale(1.05);
  animation: step-pulse 2s ease-in-out infinite;
}
.step-item.done .step-dot {
  background: #16a34a;
  color: #fff;
  border-color: #15803d;
  box-shadow: 0 2px 8px rgba(22,163,74,0.30);
}
.step-item.done .step-dot > i:not(.step-check) { opacity: 0; transform: scale(0.6); }
.step-item.done .step-dot .step-check { opacity: 1; transform: scale(1); }
.step-label {
  font-size: 11px; font-weight: 600; color: #999;
  letter-spacing: 0.2px;
  transition: color 0.3s;
}
.step-item.current .step-label { color: #1a1a1a; }
.step-item.done .step-label    { color: #15803d; }
.step-bar-line {
  height: 3px;
  background: #e3e5ea;
  border-radius: 2px;
  align-self: center;
  margin-top: -16px;
  overflow: hidden;
  position: relative;
}
.step-bar-line.filled {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
  animation: step-fill 0.6s ease-out both;
}
@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(243,191,43,0.20), 0 4px 12px rgba(229,133,30,0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(243,191,43,0.05), 0 4px 12px rgba(229,133,30,0.30); }
}
@keyframes step-fill {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* --- Maskelenmiş kontakt rozetleri (Adım 2) --- */
.contact-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
}
.contact-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fffaf0;
  border: 1.5px solid #fbeac5;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: contact-pill-in 0.45s cubic-bezier(.2,.8,.2,1) both;
}
.contact-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.55) 50%,
    transparent 65%,
    transparent 100%);
  transform: translateX(-100%);
  animation: contact-pill-shine 2.6s ease-in-out 0.4s infinite;
  pointer-events: none;
}
.contact-pill:hover {
  border-color: var(--primary);
  background: #fff5da;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,133,30,0.18);
}
.contact-pill-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F3BF2B, #E5851E);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229,133,30,0.30);
  animation: contact-pill-icon-pop 0.55s cubic-bezier(.34,1.56,.64,1) 0.1s both;
}
@keyframes contact-pill-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes contact-pill-icon-pop {
  0%   { transform: scale(0.4) rotate(-30deg); opacity: 0; }
  60%  { transform: scale(1.12) rotate(8deg); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes contact-pill-shine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-pill, .contact-pill-icon { animation: none; }
  .contact-pill::before { display: none; }
}
.contact-pill small {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8b6f00;
  font-weight: 700;
}
.contact-pill strong {
  display: block;
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

/* --- Bilgi / Trust kartı --- */
.auth-info-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  font-size: 13px;
  color: #4b5563;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,30,60,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.auth-info-card::before {
  content: "";
  position: absolute;
  top: -55%; right: -18%;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(29,78,216,0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transition: background 0.3s;
}
.auth-info-card:hover {
  transform: translateY(-1px);
  border-color: #d4d8e1;
  box-shadow: 0 6px 18px rgba(20,30,60,0.08);
}
.auth-info-card .auth-info-icon {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow:
    0 0 0 4px rgba(29,78,216,0.10),
    0 4px 12px rgba(29,78,216,0.28);
}
.auth-info-card .auth-info-icon > i {
  font-size: 22px;
  line-height: 1;
  display: block;
}
.auth-info-icon::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid #1d4ed8;
  opacity: 0;
  animation: auth-info-halo 2.6s ease-out infinite;
  pointer-events: none;
}
.auth-info-card.privacy .auth-info-icon::after { border-color: #16a34a; }
@keyframes auth-info-halo {
  0%   { transform: scale(0.85); opacity: 0.35; }
  100% { transform: scale(1.55); opacity: 0; }
}
.auth-info-card strong {
  display: block;
  color: #0f172a;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 3px;
  letter-spacing: -0.1px;
}
.auth-info-card span {
  display: block;
  color: #6b7280;
  line-height: 1.5;
  font-size: 12px;
}

/* --- Privacy varyantı (yeşil, gizlilik/güvenlik için) --- */
.auth-info-card.privacy {
  background:
    linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}
.auth-info-card.privacy::before {
  background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, transparent 70%);
}
.auth-info-card.privacy:hover {
  border-color: #86efac;
  box-shadow: 0 6px 18px rgba(22,163,74,0.14);
}
.auth-info-card.privacy .auth-info-icon {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow:
    0 0 0 4px rgba(22,163,74,0.10),
    0 4px 12px rgba(22,163,74,0.28);
}
.auth-info-card.privacy strong { color: #064e3b; }
.auth-info-card.privacy span   { color: #166534; }

/* Privacy: küçük "KVKK" rozet köşesi */
.auth-info-card.privacy::after {
  content: "KVKK";
  position: absolute;
  top: 8px; right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #16a34a;
  background: #fff;
  border: 1px solid #bbf7d0;
  padding: 2px 6px;
  border-radius: 999px;
  z-index: 1;
}

/* --- Şifre eşleşme göstergesi --- */
.pwd-match {
  font-size: 11.5px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  min-height: 16px;
}
.pwd-match.ok  { color: #16a34a; }
.pwd-match.bad { color: #dc2626; }

/* Eşleşmiyor durumunda input border kırmızı */
.auth-input-wrap.is-invalid .auth-input {
  border-color: #dc2626;
  background: #fef2f2;
}
.auth-input-wrap.is-invalid:focus-within .auth-input {
  box-shadow: 0 0 0 4px rgba(220,38,38,0.15);
}

/* Stepper mobilde de düzgün dursun */
@media (max-width: 380px) {
  .step-item { min-width: 44px; }
  .step-dot { width: 32px; height: 32px; font-size: 12px; }
  .step-label { font-size: 10px; }
}

.auth-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.auth-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: var(--link);
  font-size: 13px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.auth-link-btn:hover { background: #f5f5f5; }
.auth-link-btn.muted { color: #888; }
.auth-link-btn.muted:hover { color: #555; }
.auth-link-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Numaralı feature listesi --- */
.features { list-style: none; padding: 0; margin: 0; }
.features-numbered .feat-num {
  width: 28px; height: 28px;
  background: rgba(243,191,43,0.18);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.features-numbered .feature i { display: none; }

/* --- Sekme: E-posta / Telefon --- */
.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f5f5f7;
  border-radius: 10px;
  padding: 4px;
  --tab-w: 0;
  --tab-x: 0;
}
.auth-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.auth-tab i { font-size: 14px; }
.auth-tab.active { color: #1a1a1a; }
.auth-tabs-indicator {
  position: absolute;
  top: 4px; bottom: 4px;
  left: 0;
  width: var(--tab-w);
  transform: translateX(var(--tab-x));
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.32s cubic-bezier(.5,.05,.2,1), width 0.32s cubic-bezier(.5,.05,.2,1);
  z-index: 0;
}

/* --- Sekme panelleri (animasyonlu) --- */
.auth-tab-panels {
  display: grid;
  position: relative;
}
.auth-tab-panel {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  visibility: hidden;
}
.auth-tab-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}

/* --- Telefon prefix --- */
.auth-phone-wrap { display: flex; align-items: stretch; }
.auth-phone-wrap > i { display: none; }
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #f5f5f7;
  border: 1.5px solid #e5e5e5;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  user-select: none;
  flex-shrink: 0;
}
.phone-prefix .tr-flag {
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  line-height: 0;
}
.phone-prefix .phone-cc { letter-spacing: 0.3px; }
.auth-phone-wrap .phone-input {
  flex: 1;
  padding-left: 14px;
  border-radius: 0 8px 8px 0;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
}
.auth-phone-wrap .phone-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(243,191,43,0.15);
}
.auth-phone-wrap:focus-within .phone-prefix {
  border-color: var(--primary);
  background: #fff8e1;
}
.auth-form h1 {
  font-size: 28px; font-weight: 800; color: #1a1a1a;
  letter-spacing: -0.5px; margin: 0 0 6px;
}
.auth-form p.lead { color: #777; font-size: 14px; margin: 0; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 12px; font-weight: 600; color: #555; }
.auth-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e5e5e5; border-radius: 8px;
  font-size: 14px; background: #fafafa;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(243,191,43,0.15);
}
.auth-input[readonly] {
  background: #f0f9f4; color: #555; cursor: not-allowed;
  border-color: #c0e0c8;
}
.auth-input.with-prefix { padding-left: 48px !important; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #b8770a; font-size: 16px;
  width: 18px; text-align: center;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s;
}
.auth-input-wrap:focus-within > i { color: var(--primary-dark); }
.auth-input-wrap > .toggle-pass { z-index: 2; }
.auth-input { background-clip: padding-box; }
.auth-input-wrap > .toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #999; cursor: pointer;
  font-size: 14px; padding: 4px;
}
.auth-input-wrap > .toggle-pass:hover { color: #333; }

.auth-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #F3BF2B 0%, #E5851E 100%);
  color: #1a1a1a;
  font-weight: 700; font-size: 14px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 2px 6px rgba(243,191,43,0.4);
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(243,191,43,0.5); }
.auth-btn:active { transform: translateY(0); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.auth-btn-secondary {
  width: 100%;
  padding: 13px;
  background: #fff; color: #555;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-btn-secondary:hover { background: #f5f5f5; border-color: #ccc; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: #aaa; font-size: 11px; text-transform: uppercase;
  margin: 6px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: #eee;
}

.auth-foot {
  font-size: 13px; color: #666;
  text-align: center;
  margin: 0;
}
.auth-foot a { color: var(--primary-dark); font-weight: 600; }

.auth-alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid;
}
.auth-alert.error   { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.auth-alert.success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.auth-alert.info    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.auth-alert i { font-size: 16px; margin-top: 2px; }

.auth-alert-actions {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(185,28,28,0.30);
}
.auth-alert-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #b91c1c;
  color: #fff !important;
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12.5px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(185,28,28,0.25);
}
.auth-alert-cta:hover {
  background: #991b1b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(185,28,28,0.35);
}
.auth-alert-cta i { font-size: 12px; margin: 0; color: #fff; }
.auth-alert-link {
  color: #b91c1c !important;
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.auth-alert-link:hover { color: #7f1d1d !important; }

/* ----- OTP kutucukları (6 input) ----- */
.otp-group {
  display: flex; gap: 10px; justify-content: center;
}
.otp-input {
  width: 48px; height: 56px;
  border: 1.5px solid #e5e5e5; border-radius: 10px;
  text-align: center;
  font-size: 22px; font-weight: 700;
  background: #fafafa;
  transition: all 0.15s;
}
.otp-input:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(243,191,43,0.15);
  transform: scale(1.05);
}
.otp-input.filled {
  background: #fff8e1; border-color: var(--primary);
}

/* ----- Hesap türü kart seçici ----- */
.tur-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tur-card {
  position: relative;
  padding: 16px 14px;
  border: 1.5px solid #e5e5e5; border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; flex-direction: column; gap: 6px;
}
.tur-card:hover { border-color: #ccc; background: #f5f5f5; }
.tur-card input { position: absolute; opacity: 0; pointer-events: none; }
.tur-card .tur-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #eee; color: #666;
  font-size: 16px;
}
.tur-card .tur-name { font-size: 13px; font-weight: 700; color: #333; }
.tur-card .tur-desc { font-size: 11px; color: #888; line-height: 1.3; }
.tur-card.selected {
  border-color: var(--primary);
  background: #fff8e1;
  box-shadow: 0 2px 8px rgba(243,191,43,0.25);
}
.tur-card.selected .tur-icon { background: var(--primary); color: #333; }
.tur-card.selected::after {
  content: "✓";
  position: absolute; top: 8px; right: 10px;
  width: 18px; height: 18px;
  background: var(--primary); color: #333;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ----- Şifre güçlülük çubuğu ----- */
.pwd-strength {
  display: flex; gap: 4px; margin-top: 6px;
}
.pwd-strength span {
  flex: 1; height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  transition: background 0.2s;
}
.pwd-strength.s1 span:nth-child(-n+1) { background: #ef4444; }
.pwd-strength.s2 span:nth-child(-n+2) { background: #f59e0b; }
.pwd-strength.s3 span:nth-child(-n+3) { background: #eab308; }
.pwd-strength.s4 span:nth-child(-n+4) { background: var(--success); }
.pwd-strength + .pwd-hint { font-size: 11px; color: #888; margin-top: 4px; }

/* ----- Telefon doğrulama box (kayit-tamamla) ----- */
.phone-verify-row {
  display: flex; gap: 8px; align-items: stretch;
}
.phone-verify-row .auth-input { flex: 1; }
.phone-verify-row .auth-btn,
.phone-verify-row .auth-btn-secondary {
  width: auto; flex-shrink: 0; padding: 0 18px;
  white-space: nowrap;
}
.sms-box {
  margin-top: 10px;
  padding: 14px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
}
.sms-box-head {
  font-size: 12px; color: #8b6f00; font-weight: 600;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.sms-countdown { color: #555; font-weight: 600; }

/* ----- Adım göstergesi (yeni) ----- */
.step-bar {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 8px;
}
.step-bar .pill {
  flex: 1; height: 4px;
  background: #eee;
  border-radius: 2px;
  margin: 0 3px;
  transition: background 0.3s;
}
.step-bar .pill.active { background: var(--primary); }
.step-meta {
  font-size: 11px; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 600;
}

@media (max-width: 1023.98px) {
  .auth-shell { grid-template-columns: 1fr !important; }
  .auth-brand { display: none !important; }
  .auth-panel { padding: 24px 20px; align-items: flex-start; }
  .auth-form { gap: 12px; }
  .auth-form h1 { font-size: 20px !important; }
}
@media (max-width: 380px) {
  .otp-input { width: 40px; height: 48px; font-size: 18px; }
  .otp-group { gap: 6px; }
  .tur-cards { grid-template-columns: 1fr; }
}

/* ============================================
   ANİMASYON KÜTÜPHANESİ
   ============================================ */

/* Genel keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243,191,43,0.6); }
  50%      { box-shadow: 0 0 0 12px rgba(243,191,43,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33%      { transform: translate(20px, -30px) scale(1.1); opacity: 0.6; }
  66%      { transform: translate(-15px, 20px) scale(0.9); opacity: 0.5; }
}
@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.18); }
  40%      { transform: scale(0.95); }
  60%      { transform: scale(1.06); }
  80%      { transform: scale(0.98); }
}
@keyframes successPop {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(0); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}

/* Yardımcı sınıflar */
.anim-fade        { animation: fadeIn       0.4s ease both; }
.anim-fade-up     { animation: fadeInUp     0.5s ease both; }
.anim-fade-down   { animation: fadeInDown   0.5s ease both; }
.anim-fade-left   { animation: fadeInLeft   0.5s ease both; }
.anim-fade-right  { animation: fadeInRight  0.5s ease both; }
.anim-scale       { animation: scaleIn      0.4s ease both; }
.anim-float       { animation: float        3s   ease-in-out infinite; }
.anim-pulse-glow  { animation: pulseGlow    2s   ease-out   infinite; }

/* Stagger gecikmeler */
.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.18s; }
.delay-4 { animation-delay: 0.24s; }
.delay-5 { animation-delay: 0.30s; }
.delay-6 { animation-delay: 0.36s; }

/* ============================================
   AUTH 2.0 — Animasyon entegrasyonu
   ============================================ */

/* Marka paneli — hareketli arka plan kabarcıkları */
.auth-brand {
  background-size: 200% 200%;
  animation: bgShift 18s ease infinite;
}
.auth-brand::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(243,191,43,0.20) 0%, transparent 12%),
    radial-gradient(circle at 80% 20%, rgba(243,191,43,0.14) 0%, transparent 14%),
    radial-gradient(circle at 70% 75%, rgba(110,221,168,0.12) 0%, transparent 12%),
    radial-gradient(circle at 25% 80%, rgba(243,191,43,0.10) 0%, transparent 14%);
  animation: floatBubble 10s ease-in-out infinite;
  pointer-events: none;
}
.auth-brand-top   { animation: fadeInDown 0.5s ease both; }
.auth-brand-top img { animation: pulseGlow 2.5s ease-out infinite; border-radius: 8px; }
.auth-brand-mid   { animation: fadeInLeft 0.6s ease 0.2s both; }
.auth-brand-mid h2{ animation: fadeInLeft 0.6s ease 0.3s both; }
.auth-brand-mid h2 em {
  background: linear-gradient(120deg, #F3BF2B 0%, #FFD966 30%, #F3BF2B 60%, #FFD966 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
.auth-brand-bot   { animation: fadeIn 1s ease 0.8s both; }

.badge-eids {
  animation: fadeInUp 0.5s ease 0.4s both, pulseGlow 3s ease-out 1.5s infinite;
}

.auth-brand .features { gap: 12px; }
.auth-brand .feature {
  animation: fadeInLeft 0.5s ease both;
  transition: transform 0.2s, color 0.2s;
}
.auth-brand .feature:hover {
  transform: translateX(6px);
  color: #fff;
}
.auth-brand .feature:hover i {
  background: rgba(243,191,43,0.3);
  transform: scale(1.1) rotate(-6deg);
}
.auth-brand .feature i { transition: all 0.3s; }
.auth-brand .feature:nth-of-type(1) { animation-delay: 0.5s; }
.auth-brand .feature:nth-of-type(2) { animation-delay: 0.6s; }
.auth-brand .feature:nth-of-type(3) { animation-delay: 0.7s; }
.auth-brand .feature:nth-of-type(4) { animation-delay: 0.8s; }

/* Sağ form paneli — yumuşak fade in */
.auth-panel  { animation: fadeIn 0.4s ease both; }
.auth-form   { animation: fadeInRight 0.4s ease both; }

.auth-form h1 {
  background: linear-gradient(135deg, #1a1a1a 30%, #555 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: fadeInDown 0.5s ease both;
}

/* Inputlar — focus animation */
.auth-input { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.auth-input:focus { transform: translateY(-1px); }
.auth-input-wrap > i {
  transition: color 0.2s, transform 0.2s;
}
.auth-input-wrap:focus-within > i:first-child {
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.15);
}

/* Auth buton — hover & ripple */
.auth-btn {
  position: relative;
  overflow: hidden;
  background-size: 200% 100%;
  background-position: 0% 0;
  transition: background-position 0.4s, transform 0.1s, box-shadow 0.2s;
}
.auth-btn::before {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}
.auth-btn:hover::before { left: 100%; }
.auth-btn:hover { background-position: 100% 0; }
.auth-btn:not(:disabled):active { transform: translateY(1px) scale(0.99); }
.auth-btn i { transition: transform 0.2s; }
.auth-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.auth-btn:hover i.fa-paper-plane { transform: translateX(3px) translateY(-2px) rotate(-12deg); }
.auth-btn:hover i.fa-check        { transform: scale(1.2); }

.auth-btn-secondary { transition: all 0.2s; }
.auth-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.auth-btn-secondary:hover i {
  animation: pulse 0.4s ease;
}

/* Geri butonu */
.auth-back i { transition: transform 0.2s; }
.auth-back:hover i { transform: translateX(-4px); }

/* Alertler — yumuşak iniş */
.auth-alert { animation: fadeInDown 0.35s ease both; }
.auth-alert.error i {
  animation: shake 0.5s ease;
}
.auth-alert.success i {
  animation: successPop 0.6s cubic-bezier(0.18, 1.25, 0.4, 1) both;
}

/* Step bar — adım pill animasyonu */
.step-bar .pill {
  position: relative;
  overflow: hidden;
}
.step-bar .pill.active {
  background: linear-gradient(90deg, var(--primary) 0%, #FFD966 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
.step-meta { animation: fadeIn 0.4s ease 0.3s both; }

/* OTP — focus & filled animasyonları */
.otp-input {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.otp-input:focus {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 16px rgba(243,191,43,0.25);
}
.otp-input.filled {
  animation: badgeBounce 0.4s ease;
}

/* Hesap türü kartı animasyonu */
.tur-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tur-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.tur-card.selected {
  animation: badgeBounce 0.5s ease;
}
.tur-card .tur-icon { transition: all 0.25s; }
.tur-card:hover .tur-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--primary);
  color: #333;
}
.tur-card.selected::after {
  animation: successPop 0.5s cubic-bezier(0.18, 1.25, 0.4, 1) both;
}

/* Şifre güçlülük — animasyonlu çubuk */
.pwd-strength span {
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.pwd-strength.s4 span:nth-child(-n+4)::after,
.pwd-strength.s3 span:nth-child(-n+3)::after,
.pwd-strength.s2 span:nth-child(-n+2)::after,
.pwd-strength.s1 span:nth-child(-n+1)::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.5s ease-out;
}

/* SMS kutusu açılma animasyonu */
.sms-box { animation: scaleIn 0.35s ease both, pulseGlow 2.5s ease-out 1s infinite; }
.sms-box .otp-input { animation: fadeInUp 0.3s ease both; }
.sms-box .otp-input:nth-child(1) { animation-delay: 0.05s; }
.sms-box .otp-input:nth-child(2) { animation-delay: 0.10s; }
.sms-box .otp-input:nth-child(3) { animation-delay: 0.15s; }
.sms-box .otp-input:nth-child(4) { animation-delay: 0.20s; }
.sms-box .otp-input:nth-child(5) { animation-delay: 0.25s; }
.sms-box .otp-input:nth-child(6) { animation-delay: 0.30s; }

/* Phone-verified-badge */
.phone-verified-badge {
  animation: scaleIn 0.4s cubic-bezier(0.18, 1.25, 0.4, 1) both;
}

/* Loading spinner içinde fa-spin daha smooth */
.fa-spinner.fa-spin { animation-duration: 0.7s; }

/* Header — hover'da link yumuşak parlama */
.header-action-btn { transition: background 0.2s, color 0.2s, transform 0.15s; }
.header-action-btn:hover { transform: translateY(-1px); }
.btn-post-ad i { transition: transform 0.25s; }
.btn-post-ad:hover i { transform: rotate(180deg) scale(1.15); }

/* İlan kartları — küçük dokunuşlar */
.listing-card { transition: transform 0.2s, box-shadow 0.2s; }
.listing-card:hover .badge-cat { animation: pulse 0.6s ease; }
.listing-card .img-wrap img { transition: transform 0.5s ease; }
.listing-card:hover .img-wrap img { transform: scale(1.05); }
.listing-card .badge-feat { animation: float 3s ease-in-out infinite; }

/* Toast — daha yumuşak */
.toast { transition: opacity 0.3s, bottom 0.4s cubic-bezier(0.18, 1.25, 0.4, 1); }

/* Hover'da grid kartları */
.tur-card:hover .tur-name {
  color: var(--primary-dark);
}

/* Reduced motion — kullanıcı tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.form-group { margin-bottom: 14px; flex: 1; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 14px; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > .form-group { min-width: 160px; }

.btn-primary {
  width: 100%;
  background: var(--primary); color: #333;
  font-weight: 700; padding: 12px;
  border-radius: 4px; font-size: 15px;
  transition: background 0.15s;
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-secondary {
  background: transparent; color: #555;
  padding: 10px; font-size: 13px;
}
.auth-footer { text-align: center; margin-top: 14px; font-size: 13px; color: #666; }

.alert { padding: 10px 12px; border-radius: 4px; font-size: 13px; margin-bottom: 12px; }
.alert.error { background: #fdecea; color: #c62828; border: 1px solid #f6c5c1; }
.alert.success { background: #e7f5ec; color: #1e7d3a; border: 1px solid #c0e0c8; }

/* Adım göstergesi (kayıt / şifre sıfırlama) */
.step-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 16px 0 18px;
  font-size: 11px;
}
.step-indicator .step {
  display: flex; align-items: center; gap: 5px;
  color: #aaa; font-weight: 600;
}
.step-indicator .step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #eee; color: #999;
  font-size: 11px; font-weight: 700;
}
.step-indicator .step.active { color: var(--text-dark); }
.step-indicator .step.active span { background: var(--primary); color: #333; }
.step-indicator .step-line {
  flex: 0 0 30px; height: 2px;
  background: #eee;
}
.step-indicator .step-line.done { background: var(--primary); }

/* Telefon doğrulandı rozeti */
.phone-verified-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px;
  background: #e7f5ec;
  color: var(--success);
  border: 1px solid #c0e0c8;
  border-radius: 4px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
}

/* Profil */
.profile-header {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: #fff; border: 1px solid var(--divider);
  border-radius: 8px;
}
.profile-avatar-lg {
  width: 72px; height: 72px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #333; font-weight: 700; font-size: 28px;
}
.profile-header h1 { font-size: 20px; margin-bottom: 4px; }
.profile-header p { color: #777; font-size: 13px; }
.profile-stats { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 13px; color: #555; }
.profile-stats a { color: #333; }
.profile-stats strong { color: var(--primary-dark); }

/* ============================================
   İLAN OLUŞTURMA FORMU
   ============================================ */
.form-wrap { max-width: 880px; margin: 16px auto; padding: 0 12px; width: 100%; }
.form-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.form-section {
  background: #fff; border: 1px solid var(--divider);
  border-radius: 8px; padding: 18px; margin-bottom: 16px;
}
.form-section .section-title { display: block; padding-bottom: 8px; }
.form-section .section-help { color: #888; font-size: 12px; margin: -4px 0 14px; }

/* EIDS sonuç kutusu */
.eids-result {
  margin-top: 12px; padding: 14px;
  border-radius: 6px;
  font-size: 13px;
}
.eids-result.success { background: rgba(30,149,109,0.08); border: 1px solid rgba(30,149,109,0.3); color: #333; }
.eids-result.error   { background: #fdecea; border: 1px solid #f6c5c1; color: #c62828; }
.eids-result.loading { background: #fff8e1; border: 1px solid #ffe082; color: #555; text-align: center; }
.eids-result.loading .spinner { margin: 0 auto 10px; }
.eids-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.eids-table td { padding: 5px 8px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.eids-table td:first-child { color: #888; width: 40%; }
.eids-table td:last-child { font-weight: 600; }

/* Tip seçici (ilan-ver.php) */
.type-chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-card {
  display: block; text-align: center;
  padding: 28px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--divider);
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}
.type-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.type-card.emlak { border-color: rgba(67,160,71,0.3); background: rgba(67,160,71,0.05); }
.type-card.vasita { border-color: rgba(30,136,229,0.3); background: rgba(30,136,229,0.05); }
.type-icon { font-size: 38px; margin-bottom: 8px; }
.type-card.emlak .type-icon { color: var(--emlak); }
.type-card.vasita .type-icon { color: var(--vasita); }
.type-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.type-card.emlak h3 { color: var(--emlak); }
.type-card.vasita h3 { color: var(--vasita); }
.type-card p { font-size: 13px; color: #555; margin-bottom: 8px; }
.type-card small { font-size: 11px; color: #888; }

/* Chip group */
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; }
.chip input { display: none; }
.chip span {
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  background: #fafafa;
  user-select: none;
  transition: all 0.15s;
}
.chip:hover span { background: #f0f0f0; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary-dark); color: #333; font-weight: 600; }

/* Photo upload list */
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--divider);
  background: #f4f4f4;
}
.photo-item img { width:100%; height:100%; object-fit:cover; }
.photo-actions {
  position: absolute; bottom: 4px; right: 4px;
  display: flex; gap: 4px;
}
.photo-actions button {
  width: 24px; height: 24px;
  border-radius: 4px;
  background: rgba(0,0,0,0.6); color: #fff;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.photo-actions button:hover { background: rgba(0,0,0,0.85); }
.photo-cover-badge {
  position: absolute; top: 4px; left: 4px;
  background: var(--primary); color: #333;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
}

/* ============================================
   İLANLARIM
   ============================================ */
.status-tabs { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.status-tabs a {
  padding: 6px 12px; font-size: 12px;
  border-radius: 4px;
  background: #fff; color: #555;
  border: 1px solid var(--divider);
  text-decoration: none;
}
.status-tabs a:hover { background: #f5f5f5; text-decoration: none; }
.status-tabs a.active { background: var(--primary); color: #333; font-weight: 700; border-color: var(--primary-dark); }

.my-listings { display: flex; flex-direction: column; gap: 8px; }
.my-listing-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: #fff; border: 1px solid var(--divider);
  border-radius: 6px;
}
.my-listing-info { display:flex; align-items:center; gap:12px; flex:1; text-decoration:none; color:inherit; min-width:0; }
.my-listing-info:hover { text-decoration: none; }
.my-listing-thumb {
  width: 70px; height: 60px;
  border-radius: 4px; overflow: hidden;
  background: #f4f4f4;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 22px;
  flex-shrink: 0;
}
.my-listing-thumb img { width:100%; height:100%; object-fit:cover; }
.my-listing-title {
  font-size: 14px; font-weight: 600; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.my-listing-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #888; flex-wrap: wrap; }
.durum {
  padding: 2px 8px; border-radius: 3px; font-size: 10px;
  font-weight: 700; text-transform: uppercase;
}
.durum-aktif     { background: rgba(30,149,109,0.15); color: var(--success); }
.durum-pasif     { background: rgba(229,57,53,0.15); color: var(--error); }
.durum-beklemede { background: rgba(255,193,7,0.15); color: #c89000; }

/* ============================================
   MESAJLAR
   ============================================ */
.messages-wrap {
  display: grid; grid-template-columns: 320px 1fr;
  height: calc(100vh - 120px);
  max-width: 1180px; margin: 16px auto; padding: 0 12px; width: 100%;
  gap: 12px;
}
.messages-list, .messages-thread {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.messages-list h2 {
  font-size: 14px; padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  background: #fafafa;
}
.conv-row {
  display: flex; gap: 10px; align-items: center;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none; color: inherit;
}
.conv-row:hover { background: #f8f8f8; text-decoration: none; }
.conv-row.active { background: #fff8e1; }
.conv-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #333;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.conv-body { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; font-size: 13px; }
.conv-ilan { font-size: 11px; color: #888; }
.conv-msg { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-badge {
  background: var(--error); color: #fff;
  border-radius: 10px; padding: 2px 7px; font-size: 11px; font-weight: 700;
}
.thread-header {
  padding: 12px 16px; border-bottom: 1px solid var(--divider);
  background: #fafafa;
}
.thread-ilan { display:flex; align-items:center; gap:10px; text-decoration:none; color:#333; }
.thread-ilan img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.thread-ilan small { display:block; color:#888; font-size:11px; }
.thread-other { font-size: 12px; color: #666; margin-top: 6px; }
.thread-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f9f9f9;
}
.msg { display: flex; flex-direction: column; margin-bottom: 12px; max-width: 70%; }
.msg.mine { align-self: flex-end; align-items: flex-end; margin-left: auto; }
.msg.other { align-self: flex-start; align-items: flex-start; }
.msg-bubble {
  padding: 8px 12px; border-radius: 12px;
  font-size: 13px; line-height: 1.4;
}
.msg.mine .msg-bubble { background: var(--primary); color: #333; }
.msg.other .msg-bubble { background: #fff; border: 1px solid var(--divider); }
.msg-time { font-size: 10px; color: #999; margin-top: 4px; }
.thread-compose {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid var(--divider); background: #fff;
}
.thread-compose textarea {
  flex: 1; resize: none;
  border: 1px solid #ddd; border-radius: 4px;
  padding: 8px 12px; font-size: 13px; font-family: inherit;
}
.thread-compose button { width: 48px; height: 48px; align-self: center; padding: 0; }

/* ============================================
   BİLDİRİMLER
   ============================================ */
.notif-list { display: flex; flex-direction: column; gap: 6px; }
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  background: #fff; border: 1px solid var(--divider);
  border-radius: 6px;
  text-decoration: none; color: inherit;
  transition: transform 0.1s;
}
.notif-item:hover { transform: translateX(4px); text-decoration: none; }
.notif-item.unread { border-left: 4px solid var(--primary); background: #fffbe8; }
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(33,150,243,0.1); color: var(--info);
  flex-shrink: 0;
}
.notif-mesaj   { background: rgba(76,175,80,0.1); color: var(--success); }
.notif-fiyat,
.notif-fiyat_degisikligi { background: rgba(255,193,7,0.15); color: #c89000; }
.notif-sistem,
.notif-duyuru  { background: rgba(33,150,243,0.1); color: var(--info); }
.notif-body { flex: 1; }
.notif-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.notif-text  { font-size: 12px; color: #666; line-height: 1.4; }
.notif-time  { font-size: 11px; color: #aaa; margin-top: 4px; }

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: #333; color: #fff;
  padding: 12px 20px; border-radius: 6px;
  font-size: 13px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0; transition: opacity 0.2s, bottom 0.2s;
  pointer-events: none;
  max-width: 90%;
}
.toast.show { opacity: 1; bottom: 30px; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* MOBİL DRAWER */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 90;
}
.drawer-overlay.open { display: block; }

/* SEO bloğu */
.seo-block { color: #555; }
.seo-block h2 { color: #333; font-weight: 700; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1024px) {
  .header-top { padding: 0 32px; height: 68px; }
  .header-utility-inner { padding: 0 32px; }
  .header-catnav-inner { padding: 0 32px; }
  .header-search-mobile { display: none; }
  .header-menu-btn { display: none; }
  .header-action-btn span { display: inline; }
}
@media (max-width: 1023.98px) {
  .header-utility { display: none; }
  .header-catnav { display: none; }
  .header-top { gap: 8px; height: 56px; padding: 0 10px; }
  .header-top .header-search { display: none; }
  .header-action-btn { flex-direction: row; min-width: auto; padding: 9px 9px; font-size: 16px; }
  .header-action-btn span { display: none; }
  .header-action-btn i { font-size: 18px; }
  .header-action-login { padding: 8px 10px; }
  .header-action-login span { display: inline; font-size: 12px; }
  .profile-trigger-name { display: none; }
  .layout { gap: 0; padding: 0 8px; margin-top: 8px; }
  .sidebar {
    position: fixed;
    top: 0; left: -280px;
    width: 280px;
    height: 100vh; max-height: none;
    z-index: 100;
    border-radius: 0;
    transition: left 0.25s ease;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  }
  .sidebar.open { left: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .messages-wrap { grid-template-columns: 1fr; height: auto; }
  .messages-list { max-height: 280px; overflow-y: auto; }
  .messages-thread { min-height: 500px; }
}
@media (max-width: 599.98px) {
  .header-logo-tag { font-size: 15px; padding: 4px 8px; }
  .header-logo img { width: 30px; height: 30px; }
  .btn-post-ad { padding: 8px 10px; font-size: 12px; }
  .btn-post-ad span { display: none; }
  /* Profil dropdown'unda zaten yer aldıkları için
     mobilde header'daki hızlı erişim ikonlarını gizle (taşmayı önler) */
  .header-actions > .header-action-btn:not(.header-action-login) { display: none; }
  .profile-menu { margin-left: 0; }
  .profile-trigger { padding: 4px 6px 4px 4px; gap: 4px; }
  .profile-avatar { width: 28px; height: 28px; font-size: 12px; }
  .header-top { gap: 6px; padding: 0 8px; }
  .header-actions { gap: 2px; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .listing-card .title { font-size: 13px; min-height: 34px; }
  .listing-card .price { font-size: 14px; }
  .detail-title { font-size: 18px; }
  .detail-price { font-size: 22px; }
  .section-bar { padding: 10px 12px; }
  .section-bar h1, .section-bar h2 { font-size: 14px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row > .form-group { min-width: 0; }
  .type-chooser { grid-template-columns: 1fr; }
  .form-section { padding: 14px; }
  .form-title { font-size: 18px; }
  .messages-thread { min-height: 400px; }
}
@media (max-width: 379.98px) {
  .listing-grid { grid-template-columns: 1fr; }
}

/* ============================================
   AUTH ANİMASYON KÜTÜPHANESİ
   ============================================ */

@keyframes auth-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes auth-fade-left {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes auth-fade-right {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes auth-pop {
  0%   { opacity: 0; transform: scale(0.8); }
  60%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes auth-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-7px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(3px); }
}
@keyframes auth-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243,191,43,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(243,191,43,0.0); }
}
@keyframes auth-orb-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-12px, 8px); }
}
@keyframes auth-orb-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -10px); }
}
@keyframes auth-shimmer {
  0%   { background-position: -160% 0; }
  100% { background-position: 260% 0; }
}
@keyframes auth-otp-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); }
  100% { transform: scale(1.05); }
}
@keyframes auth-bg-drift {
  0%, 100% { background-position: 0% 50%, 100% 100%, 0% 0%; }
  50%      { background-position: 100% 50%, 0% 100%, 50% 50%; }
}

/* --- Brand panel: dekoratif yüzen orblar --- */
.auth-brand::before {
  animation: auth-orb-float-1 7s ease-in-out infinite;
}
.auth-brand::after {
  animation: auth-orb-float-2 9s ease-in-out infinite;
}
/* Brand bg: çok hafif gradient kayması */
.auth-brand {
  background-size: 180% 180%;
  animation: auth-bg-drift 18s ease-in-out infinite;
}

/* --- Brand panel: kademeli giriş --- */
.auth-brand-top   { animation: auth-fade-left 0.55s ease 0.10s both; }
.auth-brand-mid   { animation: auth-fade-left 0.55s ease 0.18s both; }
.auth-brand-mid .badge-eids { animation: auth-pop 0.55s cubic-bezier(.2,.8,.2,1) 0.30s both; }
.auth-brand-mid h2          { animation: auth-fade-up 0.5s ease 0.36s both; }
.auth-brand-mid p           { animation: auth-fade-up 0.5s ease 0.44s both; }
.auth-brand .features .feature {
  opacity: 0;
  animation: auth-fade-up 0.5s ease both;
}
.auth-brand .features .feature:nth-child(1) { animation-delay: 0.55s; }
.auth-brand .features .feature:nth-child(2) { animation-delay: 0.62s; }
.auth-brand .features .feature:nth-child(3) { animation-delay: 0.69s; }
.auth-brand .features .feature:nth-child(4) { animation-delay: 0.76s; }
.auth-brand .features .feature:nth-child(5) { animation-delay: 0.83s; }
.auth-brand .features .feature:nth-child(6) { animation-delay: 0.90s; }
.auth-brand .features .feature:nth-child(7) { animation-delay: 0.97s; }
.auth-brand .features .feature:nth-child(8) { animation-delay: 1.04s; }
.auth-brand-bot { animation: auth-fade-up 0.5s ease 1.18s both; }

/* Logo görseli: yumuşak nabız */
.auth-brand-top img {
  animation: auth-fade-left 0.55s ease 0.10s both, auth-glow-pulse 2.6s ease-in-out 1.4s infinite;
}


/* --- Form panel: kademeli giriş --- */
.auth-panel { animation: auth-fade-right 0.55s ease 0.05s both; }
.auth-form > * {
  opacity: 0;
  animation: auth-fade-up 0.5s ease both;
}
.auth-form > *:nth-child(1) { animation-delay: 0.18s; }
.auth-form > *:nth-child(2) { animation-delay: 0.26s; }
.auth-form > *:nth-child(3) { animation-delay: 0.34s; }
.auth-form > *:nth-child(4) { animation-delay: 0.42s; }
.auth-form > *:nth-child(5) { animation-delay: 0.50s; }
.auth-form > *:nth-child(6) { animation-delay: 0.58s; }
.auth-form > *:nth-child(7) { animation-delay: 0.66s; }
.auth-form > *:nth-child(8) { animation-delay: 0.74s; }
.auth-form > *:nth-child(9) { animation-delay: 0.82s; }

/* --- Buton mikro etkileşimleri --- */
.auth-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s !important;
}
.auth-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.auth-btn:hover::after { transform: translateX(120%); }
.auth-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(243,191,43,0.55);
}
.auth-btn:active { transform: translateY(0) scale(0.99); }

/* --- Input focus mikro etkileşimi --- */
.auth-input {
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.18s ease !important;
}
.auth-input:focus { transform: translateY(-1px); }

/* --- Hata / Başarı reaksiyonu --- */
.auth-alert.error   { animation: auth-shake 0.45s cubic-bezier(.36,.07,.19,.97); }
.auth-alert.success { animation: auth-pop  0.5s cubic-bezier(.2,.8,.2,1); }
.auth-alert.info    { animation: auth-fade-up 0.4s ease both; }

/* --- OTP doluşunda pop --- */
.otp-input.filled { animation: auth-otp-pop 0.32s cubic-bezier(.2,.8,.2,1); }

/* --- Sekme: aktif label hafif yukarı --- */
.auth-tab.active { transform: translateY(-1px); }

/* --- Hover: brand özellik ikonu hafif sallansın --- */
.auth-brand .feature i,
.auth-brand .features-numbered .feat-num {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.auth-brand .feature:hover i,
.auth-brand .feature:hover .feat-num {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* --- Toggle-pass / link butonlar --- */
.toggle-pass { transition: color 0.2s, transform 0.2s; }
.toggle-pass:hover { transform: scale(1.12); }
.auth-link-btn { transition: background 0.2s, color 0.2s, transform 0.15s; }
.auth-link-btn:hover { transform: translateX(2px); }

/* ============================================
   AUTH PROFESYONEL DETAYLAR
   ============================================ */

/* Brand panel: noktalı dekoratif pattern */
.auth-brand {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(45,45,45,0.10) 1px, transparent 1.4px),
    linear-gradient(160deg, #F3BF2B 0%, #F5C942 35%, #E89A22 75%, #E5851E 100%);
  background-size: 18px 18px, 180% 180%;
  background-position: 0 0, 0 0;
}

/* Brand panel: alt kısım trust istatistik şeridi */
.auth-brand-stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 8px;
  background: rgba(45,45,45,0.85);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  animation: auth-fade-up 0.5s ease 1.25s both;
}
.auth-brand-stat {
  text-align: center;
  color: #fff;
  padding: 4px 2px;
  position: relative;
}
.auth-brand-stat + .auth-brand-stat::before {
  content: "";
  position: absolute;
  left: -4px; top: 18%; bottom: 18%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.auth-brand-stat strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.auth-brand-stat span {
  display: block;
  font-size: 9.5px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

/* Trust pill rozetleri (form altı) */
.auth-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
}
.auth-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f5f6f8;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.auth-trust-pill:hover { background: #fff; border-color: #d4d6db; transform: translateY(-1px); }
.auth-trust-pill i { color: var(--primary-dark); font-size: 10px; }
.auth-trust-pill.green i { color: #0d6e4f; }
.auth-trust-pill.blue  i { color: #1d4ed8; }

/* Input live-doğrulama: yeşil tik */
.auth-input-wrap .valid-check {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%) scale(0.6);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  z-index: 2;
}
.auth-input-wrap.is-valid .valid-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.auth-input-wrap.is-valid .auth-input {
  border-color: #16a34a;
  background: #f0fdf4;
}
.auth-input-wrap.is-valid:focus-within .auth-input {
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
}

/* Caps Lock uyarısı (şifre alanı altı) */
.caps-warning {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 10px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  color: #8b6f00;
  font-size: 11px;
  font-weight: 600;
  animation: auth-fade-up 0.25s ease both;
}
.caps-warning.visible { display: inline-flex; }
.caps-warning i { color: #d97706; }

/* Buton loading durumu: spinner */
.auth-btn .btn-label,
.auth-btn .btn-spinner { transition: opacity 0.2s; }
.auth-btn .btn-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.auth-btn .btn-spinner::before {
  content: "";
  width: 18px; height: 18px;
  border: 2.5px solid rgba(0,0,0,0.18);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: auth-spin 0.75s linear infinite;
}
.auth-btn.loading { pointer-events: none; cursor: wait; }
.auth-btn.loading .btn-label   { opacity: 0; }
.auth-btn.loading .btn-spinner { opacity: 1; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

/* OTP tamamlanınca yeşil cascade */
.otp-group.complete .otp-input {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  color: #166534;
  animation: auth-otp-success 0.45s cubic-bezier(.2,.8,.2,1) both;
}
.otp-group.complete .otp-input:nth-child(1) { animation-delay: 0.00s; }
.otp-group.complete .otp-input:nth-child(2) { animation-delay: 0.05s; }
.otp-group.complete .otp-input:nth-child(3) { animation-delay: 0.10s; }
.otp-group.complete .otp-input:nth-child(4) { animation-delay: 0.15s; }
.otp-group.complete .otp-input:nth-child(5) { animation-delay: 0.20s; }
.otp-group.complete .otp-input:nth-child(6) { animation-delay: 0.25s; }
@keyframes auth-otp-success {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18) rotate(-3deg); box-shadow: 0 6px 14px rgba(22,163,74,0.35); }
  100% { transform: scale(1); }
}

/* OTP caret pulse — boş input'a fokuslanınca */
.otp-input:focus { caret-color: var(--primary-dark); }

/* Auth-shell: hafif lift hover */
.auth-shell {
  transition: box-shadow 0.4s ease;
}
.auth-shell:hover { box-shadow: 0 12px 36px rgba(20,30,60,0.12); }

/* Sekme indicator: cam efekti */
.auth-tabs-indicator {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow:
    0 2px 8px rgba(20,30,60,0.10),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Sekme: hover'da renk yumuşak */
.auth-tab:not(.active):hover { color: #1a1a1a; }

/* Form panel arka planı — çok hafif vinyet */
.auth-panel {
  background:
    radial-gradient(800px 500px at 50% -10%, rgba(243,191,43,0.05), transparent 60%),
    #fff;
}

/* Şifre input'u: yazıldığında harf aralığı genişlesin */
.auth-input[type="password"] { letter-spacing: 2.5px; }
.auth-input[type="password"]::placeholder { letter-spacing: normal; }

/* Dikkat çekici uyarı kutusu (auth-notice) */
.auth-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(243,191,43,0.12) 0%, rgba(229,133,30,0.08) 100%),
    #fffaf0;
  border: 1.5px solid #F3BF2B;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5a3c00;
  position: relative;
  overflow: hidden;
  animation: auth-fade-up 0.5s ease 0.85s both;
}
.auth-notice::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 120px;
  background: radial-gradient(ellipse, rgba(243,191,43,0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-notice-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(229,133,30,0.4);
  animation: auth-notice-pulse 2.4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.auth-notice-body { color: #5a3c00; position: relative; z-index: 1; }
.auth-notice-body strong { color: #1a1a1a; font-weight: 700; }
@keyframes auth-notice-pulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(229,133,30,0.4), 0 0 0 0 rgba(229,133,30,0.5); }
  50%      { box-shadow: 0 2px 6px rgba(229,133,30,0.4), 0 0 0 10px rgba(229,133,30,0); }
}

/* prefers-reduced-motion: yeni animasyonlar da kapansın */
@media (prefers-reduced-motion: reduce) {
  .otp-group.complete .otp-input,
  .auth-brand-stats,
  .caps-warning,
  .auth-input-wrap .valid-check,
  .auth-trust-pill {
    animation: none !important;
    transform: none !important;
  }
}

/* --- prefers-reduced-motion: tümünü iptal --- */
@media (prefers-reduced-motion: reduce) {
  .auth-shell,
  .auth-brand,
  .auth-brand::before,
  .auth-brand::after,
  .auth-brand-top, .auth-brand-mid, .auth-brand-bot,
  .auth-brand-mid h2, .auth-brand-mid p, .auth-brand-mid .badge-eids,
  .auth-brand .feature, .auth-brand-top img,
  .auth-panel, .auth-form > *,
  .auth-alert, .otp-input.filled, .auth-btn::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   AUTH-FORM step geçiş animasyonu (AJAX swap)
   ============================================ */
.auth-form {
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}
.auth-form.is-leaving {
  opacity: 0;
  transform: translateX(-18px) scale(0.985);
  filter: blur(2px);
  pointer-events: none;
}
.auth-form.is-entering {
  opacity: 0;
  transform: translateX(22px) scale(0.985);
  filter: blur(3px);
  pointer-events: none;
}
.auth-form.is-entering > * {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .auth-form { transition: none; }
  .auth-form.is-leaving, .auth-form.is-entering {
    opacity: 1; transform: none; filter: none;
  }
}
