/*
Theme Name: esnafkurye.TR
Theme URI: https://esnafkurye.tr
Author: esnafkurye
Description: Türkiye'nin Kurye İlan Platformu — Motor, Ekipman, İş İlanı
Version: 1.0
*/

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  color-scheme: light;
  --orange: #FF6B00;
  --orange-dark: #E05A00;
  --navy: #1A2E4A;
  --navy-light: #243d61;
  --gold: #F9A825;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #1A202C;
  --text-muted: #718096;
  --success: #2E7D32;
  --danger: #E53935;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-xs: 6px;
  --radius-pill: 100px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,.12);
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-size-base: 15px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: var(--font-size-base); line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
body, input, select, textarea, button { word-wrap: break-word; }
.ek-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-bar .ek-header { top: 32px; }

body[data-theme="dark"] {
  --bg: #0F172A;
  --surface: #111827;
  --border: #243041;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --navy: #0B1220;
  --navy-light: #172033;
  --shadow: 0 4px 18px rgba(0,0,0,.35);
  --shadow-md: 0 12px 34px rgba(0,0,0,.45);
  color-scheme: dark;
}
body[data-theme="dark"] .ek-alert-success { background:#11321B; border-color:#1C6B2D; color:#D2F6D9; }
body[data-theme="dark"] .ek-alert-error { background:#341515; border-color:#7F1D1D; color:#FFDADA; }
body[data-theme="dark"] .ek-alert-info { background:#12263A; border-color:#1D4E89; color:#D9ECFF; }
body[data-theme="dark"] .ek-alert-warn { background:#3A2811; border-color:#8B5E13; color:#FFE6BA; }
body[data-theme="dark"] .ek-footer { background:#020617; }
body[data-theme="dark"] .ek-theme-toggle { background:#1E293B; color:#fff; border-color:#334155; }
body[data-theme="dark"] .ek-nav a { color: rgba(255,255,255,.86); }
body[data-theme="dark"] .ek-nav a:hover, body[data-theme="dark"] .ek-nav a.aktif { background: rgba(255,255,255,.08); }

@media (max-width: 600px) { .admin-bar .ek-header { top: 46px; } }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.ek-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ek-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.ek-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ek-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 768px) {
  .ek-grid-3, .ek-grid-4 { grid-template-columns: repeat(2,1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .ek-grid-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   HEADER & NAV
═══════════════════════════════════════ */
.ek-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.ek-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 60px; max-width: 1200px; margin: 0 auto;
}
.ek-logo { display: flex; align-items: center; gap: 10px; }
.ek-logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.ek-logo-text span { color: var(--orange); }
.ek-logo-badge { background: var(--orange); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: 1px; }
.ek-nav { display: flex; align-items: center; gap: 6px; }

.ek-theme-toggle {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
  margin-right: 4px;
}
.ek-theme-toggle:hover { transform: translateY(-1px); background: rgba(255,255,255,.16); }
.ek-nav a {
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: all .2s;
}
.ek-nav a:hover, .ek-nav a.aktif { color: #fff; background: rgba(255,255,255,.1); }
.ek-nav .ek-btn-nav-primary {
  background: var(--orange); color: #fff !important;
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.ek-nav .ek-btn-nav-primary:hover { background: var(--orange-dark); }
.ek-mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: #fff; font-size: 24px; padding: 8px;
}
@media (max-width: 768px) {
  .ek-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px; gap: 4px; }
  .ek-nav.open { display: flex; }
  .ek-nav a { width: 100%; text-align: center; padding: 12px; }
  .ek-mobile-menu-btn { display: block; }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.ek-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243d61 60%, #1a3a5c 100%);
  padding: 56px 16px 48px; text-align: center; position: relative; overflow: hidden;
}
.ek-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ek-hero-badge {
  display: inline-block; background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.4);
  color: var(--gold); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.ek-hero h1 { font-size: clamp(26px, 5vw, 48px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.ek-hero h1 span { color: var(--orange); }
.ek-hero p { color: rgba(255,255,255,.7); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.ek-search-box {
  background: #fff; border-radius: 14px; padding: 8px; display: flex;
  max-width: 700px; margin: 0 auto 40px; box-shadow: var(--shadow-md);
  gap: 8px; flex-wrap: wrap;
}
.ek-search-box select {
  border: none; background: var(--bg); border-radius: 8px; padding: 10px 14px;
  font-weight: 500; flex: 1; min-width: 120px; cursor: pointer; outline: none;
  color: var(--text);
}
.ek-search-box input {
  border: none; background: var(--bg); border-radius: 8px; padding: 10px 14px;
  flex: 2; min-width: 160px; outline: none; color: var(--text);
}
.ek-search-box input::placeholder { color: var(--text-muted); }
.ek-search-btn {
  background: var(--orange); color: #fff; border: none; border-radius: 10px;
  padding: 12px 28px; font-weight: 700; cursor: pointer; font-size: 15px; white-space: nowrap;
  transition: background .2s;
}
.ek-search-btn:hover { background: var(--orange-dark); }
.ek-hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.ek-hero-stat { color: rgba(255,255,255,.9); }
.ek-hero-stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--orange); }
.ek-hero-stat span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════
   KATEGORİ İKONLARI
═══════════════════════════════════════ */
.ek-cats { padding: 40px 0; }
.ek-cats-title { text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 24px; }
.ek-cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 640px) { .ek-cat-grid { grid-template-columns: repeat(2,1fr); } }
.ek-cat-card {
  background: var(--surface); border-radius: var(--radius); padding: 24px 16px;
  text-align: center; border: 2px solid var(--border); cursor: pointer;
  transition: all .2s; display: block;
}
.ek-cat-card:hover, .ek-cat-card.aktif {
  border-color: var(--orange); background: #FFF8F4; transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ek-cat-icon { font-size: 36px; margin-bottom: 10px; }
.ek-cat-label { font-size: 14px; font-weight: 600; color: var(--text); }
.ek-cat-count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════
   SECTION BAŞLIK
═══════════════════════════════════════ */
.ek-section { padding: 48px 0; }
.ek-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ek-section-title { font-size: 22px; font-weight: 800; color: var(--text); }
.ek-section-title span { color: var(--orange); }
.ek-section-link { color: var(--orange); font-size: 14px; font-weight: 600; }
.ek-section-link:hover { text-decoration: underline; }
.ek-divider { width: 40px; height: 4px; background: var(--orange); border-radius: 2px; margin: 8px 0 0; }

/* ═══════════════════════════════════════
   İLAN KARTI
═══════════════════════════════════════ */
.ek-listing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 900px) { .ek-listing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .ek-listing-grid { grid-template-columns: 1fr; } }

.ek-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all .2s; display: block; position: relative;
}
.ek-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--orange); }
.ek-card-featured { border: 2px solid var(--gold); }
.ek-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.ek-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ek-card:hover .ek-card-img img { transform: scale(1.04); }
.ek-card-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.ek-badge-featured {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: #000; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: 0.5px;
}
.ek-badge-urgent {
  position: absolute; top: 10px; left: 10px;
  background: var(--danger); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: 0.5px;
}
.ek-badge-type {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px;
}
.ek-card-body { padding: 14px; }
.ek-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ek-card-price { font-size: 20px; font-weight: 800; color: var(--orange); margin-bottom: 8px; }
.ek-card-price .nego { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.ek-card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.ek-card-meta span { display: flex; align-items: center; gap: 4px; }
.ek-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); }
.ek-verified-badge { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--success); font-weight: 600; }
.ek-card-date { font-size: 11px; color: var(--text-muted); }

/* ═══════════════════════════════════════
   İŞ İLANI KARTI
═══════════════════════════════════════ */
.ek-job-list { display: flex; flex-direction: column; gap: 12px; }
.ek-job-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; align-items: center; gap: 16px; transition: all .2s;
}
.ek-job-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.ek-job-card.urgent { border-left: 4px solid var(--danger); }
.ek-job-logo { width: 52px; height: 52px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.ek-job-logo img { width: 100%; height: 100%; object-fit: contain; }
.ek-job-info { flex: 1; min-width: 0; }
.ek-job-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ek-job-company { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.ek-job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ek-tag { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.ek-tag.orange { background: #FFF3E8; border-color: #FFD4A8; color: var(--orange); }
.ek-tag.green { background: #E8F5E9; border-color: #A5D6A7; color: var(--success); }
.ek-job-action { flex-shrink: 0; }
.ek-job-salary { font-size: 15px; font-weight: 700; color: var(--navy); }
.ek-job-apply-btn { background: var(--orange); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s; display: block; text-align: center; margin-top: 6px; }
.ek-job-apply-btn:hover { background: var(--orange-dark); }

/* ═══════════════════════════════════════
   FİRMA VİTRİNİ
═══════════════════════════════════════ */
.ek-companies { display: flex; flex-wrap: wrap; gap: 12px; }
.ek-company-logo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  flex: 0 0 auto; transition: all .2s;
}
.ek-company-logo-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.ek-company-logo-card img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.ek-company-logo-card .name { font-size: 13px; font-weight: 700; }
.ek-company-logo-card .badge-v { font-size: 11px; color: var(--success); }

/* ═══════════════════════════════════════
   FİLTRE PANELİ
═══════════════════════════════════════ */
.ek-filter-bar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 24px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.ek-filter-bar select, .ek-filter-bar input {
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px;
  font-size: 14px; background: var(--bg); color: var(--text); flex: 1; min-width: 120px;
}
.ek-filter-bar select:focus, .ek-filter-bar input:focus { outline: none; border-color: var(--orange); }
.ek-filter-btn { background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 9px 20px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.ek-filter-reset { background: none; border: 1px solid var(--border); color: var(--text-muted); border-radius: 8px; padding: 9px 14px; font-size: 14px; cursor: pointer; }

/* ═══════════════════════════════════════
   FORM
═══════════════════════════════════════ */
.ek-form-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 32px; max-width: 560px; margin: 32px auto;
}
.ek-form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.ek-form-card .subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.ek-field { margin-bottom: 20px; }
.ek-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.ek-field input, .ek-field select, .ek-field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; font-size: 15px; color: var(--text); background: var(--bg);
  transition: border-color .2s;
}
.ek-field input:focus, .ek-field select:focus, .ek-field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.ek-field textarea { resize: vertical; min-height: 100px; }
.ek-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .ek-field-row { grid-template-columns: 1fr; } }
.ek-field-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.ek-field-required { color: var(--danger); }
.ek-form-divider { text-align: center; color: var(--text-muted); font-size: 13px; margin: 20px 0; position: relative; }
.ek-form-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.ek-form-divider span { background: var(--surface); padding: 0 12px; position: relative; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.ek-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-weight: 600; border-radius: 10px;
  transition: all .2s; font-size: 15px; min-height: 48px; padding: 0 24px;
}
.ek-btn-primary { background: var(--orange); color: #fff; }
.ek-btn-primary:hover { background: var(--orange-dark); }
.ek-btn-primary-full { width: 100%; }
.ek-btn-secondary { background: var(--navy); color: #fff; }
.ek-btn-secondary:hover { background: var(--navy-light); }
.ek-btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); }
.ek-btn-outline:hover { background: var(--orange); color: #fff; }
.ek-btn-ghost { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.ek-btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.ek-btn-danger { background: var(--danger); color: #fff; }
.ek-btn-whatsapp { background: #25D366; color: #fff; }
.ek-btn-whatsapp:hover { background: #1DA851; }
.ek-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.ek-btn-full { width: 100%; }

/* ═══════════════════════════════════════
   PANEL
═══════════════════════════════════════ */
.ek-panel { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 32px 0; align-items: start; }
@media (max-width: 768px) { .ek-panel { grid-template-columns: 1fr; } }
.ek-panel-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 80px; }
.ek-panel-user { background: var(--navy); padding: 24px 20px; text-align: center; }
.ek-panel-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; font-weight: 700; margin: 0 auto 12px; }
.ek-panel-name { font-weight: 700; color: #fff; font-size: 16px; }
.ek-panel-plan { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }
.ek-panel-plan-badge { display: inline-block; margin-top: 8px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.ek-panel-nav { padding: 12px 0; }
.ek-panel-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  font-size: 14px; font-weight: 500; color: var(--text); border-left: 3px solid transparent;
  transition: all .2s;
}
.ek-panel-nav a:hover, .ek-panel-nav a.aktif { background: #FFF8F4; border-left-color: var(--orange); color: var(--orange); }
.ek-panel-nav .nav-icon { font-size: 18px; width: 22px; text-align: center; }
.ek-panel-content { display: flex; flex-direction: column; gap: 20px; }
.ek-panel-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.ek-panel-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ═══════════════════════════════════════
   UPSELL BANNER
═══════════════════════════════════════ */
.ek-upsell {
  background: linear-gradient(135deg, var(--navy) 0%, #243d61 100%);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ek-upsell-text { color: #fff; }
.ek-upsell-text strong { display: block; font-size: 16px; margin-bottom: 4px; }
.ek-upsell-text span { font-size: 13px; color: rgba(255,255,255,.7); }
.ek-upsell-btn { background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }

/* ═══════════════════════════════════════
   PLAN KARTLARI
═══════════════════════════════════════ */
.ek-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 768px) { .ek-plans { grid-template-columns: 1fr; } }
.ek-plan-card {
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; position: relative; transition: all .2s;
}
.ek-plan-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.ek-plan-card.popular { border-color: var(--orange); transform: scale(1.03); }
.ek-plan-popular-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.5px;
}
.ek-plan-name { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.ek-plan-price { font-size: 40px; font-weight: 800; color: var(--text); line-height: 1; }
.ek-plan-price sup { font-size: 18px; vertical-align: top; margin-top: 8px; }
.ek-plan-price sub { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.ek-plan-features { text-align: left; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.ek-plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ek-plan-feature .check { color: var(--success); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.ek-plan-feature .cross { color: #CBD5E0; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════
   İLAN DETAY
═══════════════════════════════════════ */
.ek-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 32px 0; align-items: start; }
@media (max-width: 900px) { .ek-detail-layout { grid-template-columns: 1fr; } }
.ek-gallery { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); margin-bottom: 20px; }
.ek-gallery-main { aspect-ratio: 4/3; overflow: hidden; }
.ek-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.ek-gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.ek-thumb { width: 72px; height: 54px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.ek-thumb.aktif { border-color: var(--orange); }
.ek-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ek-detail-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.ek-detail-title { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.ek-detail-price { font-size: 32px; font-weight: 800; color: var(--orange); margin-bottom: 16px; }
.ek-detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.ek-detail-meta-item { background: var(--bg); border-radius: 8px; padding: 10px 14px; }
.ek-detail-meta-item .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.ek-detail-meta-item .value { font-size: 14px; font-weight: 600; }
.ek-detail-desc { font-size: 15px; line-height: 1.7; color: var(--text); }
.ek-contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 80px; }
.ek-contact-seller { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.ek-contact-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; flex-shrink: 0; }
.ek-contact-name { font-weight: 700; font-size: 16px; }
.ek-contact-type { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ek-phone-reveal { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; text-align: center; cursor: pointer; margin-bottom: 12px; font-weight: 600; color: var(--text); transition: all .2s; }
.ek-phone-reveal:hover { border-color: var(--orange); color: var(--orange); }

/* Sticky Contact Bar — Mobile */
.ek-sticky-contact { display: none; }
@media (max-width: 900px) {
  .ek-sticky-contact {
    display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0;
    padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border);
    z-index: 900; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  }
  .ek-sticky-contact a { flex: 1; text-align: center; border-radius: 10px; padding: 14px; font-weight: 700; font-size: 15px; }
}
.ek-page-bottom-pad { padding-bottom: 90px; }
@media (min-width: 901px) { .ek-page-bottom-pad { padding-bottom: 0; } }

/* ═══════════════════════════════════════
   ALERTS
═══════════════════════════════════════ */
.ek-alert { border-radius: 10px; padding: 14px 18px; font-size: 14px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ek-alert-success { background: #E8F5E9; border: 1px solid #A5D6A7; color: #1B5E20; }
.ek-alert-error { background: #FFEBEE; border: 1px solid #EF9A9A; color: #B71C1C; }
.ek-alert-info { background: #E3F2FD; border: 1px solid #90CAF9; color: #0D47A1; }
.ek-alert-warn { background: #FFF8E1; border: 1px solid #FFE082; color: #E65100; }

/* ═══════════════════════════════════════
   TABLE
═══════════════════════════════════════ */
.ek-table-wrap { overflow-x: auto; }
.ek-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ek-table th { background: var(--bg); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.ek-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ek-table tr:hover td { background: var(--bg); }
.ek-table .status-active { color: var(--success); font-weight: 600; }
.ek-table .status-pending { color: #E65100; font-weight: 600; }
.ek-table .status-expired { color: var(--text-muted); font-weight: 600; }

/* ═══════════════════════════════════════
   STAT KARTLARI
═══════════════════════════════════════ */
.ek-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 600px) { .ek-stats-grid { grid-template-columns: repeat(2,1fr); } }
.ek-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.ek-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.ek-stat-value { font-size: 28px; font-weight: 800; color: var(--text); }
.ek-stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.ek-stat-card.orange .ek-stat-value { color: var(--orange); }
.ek-stat-card.navy .ek-stat-value { color: var(--navy); }
.ek-stat-card.green .ek-stat-value { color: var(--success); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.ek-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 0 24px; margin-top: 64px; }
.ek-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 768px) { .ek-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ek-footer-grid { grid-template-columns: 1fr; } }
.ek-footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ek-footer-logo span { color: var(--orange); }
.ek-footer-desc { font-size: 14px; line-height: 1.6; }
.ek-footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.ek-footer-col a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.ek-footer-col a:hover { color: var(--orange); }
.ek-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.ek-footer-bottom a { color: rgba(255,255,255,.5); }
.ek-footer-bottom a:hover { color: var(--orange); }

/* ═══════════════════════════════════════
   YÜKLEME & BOŞLUK
═══════════════════════════════════════ */
.ek-loading { text-align: center; padding: 48px; color: var(--text-muted); font-size: 16px; }
.ek-empty { text-align: center; padding: 64px 24px; }
.ek-empty-icon { font-size: 56px; margin-bottom: 16px; }
.ek-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.ek-empty p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.ek-limit-bar { background: var(--bg); border-radius: 100px; height: 8px; overflow: hidden; margin-top: 8px; }
.ek-limit-fill { height: 100%; background: var(--orange); border-radius: 100px; transition: width .4s; }
.ek-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.ek-pagination a, .ek-pagination span { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; border: 1px solid var(--border); background: var(--surface); }
.ek-pagination .current { background: var(--orange); color: #fff; border-color: var(--orange); }
.ek-pagination a:hover { border-color: var(--orange); color: var(--orange); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }

/* ═══════════════════════════════════════
   MESAJLAŞMA
═══════════════════════════════════════ */
.ek-msg-wrap { display: grid; grid-template-columns: 300px 1fr; min-height: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
@media (max-width: 640px) { .ek-msg-wrap { grid-template-columns: 1fr; } }
.ek-msg-sidebar { border-right: 1px solid var(--border); overflow-y: auto; max-height: 600px; }
.ek-msg-sidebar-header { padding: 16px; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; }
.ek-unread-badge { background: var(--orange); color: #fff; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; padding: 2px 8px; }
.ek-unread-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; display: inline-block; margin-left: 6px; }
.ek-msg-conv-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; text-decoration: none; }
.ek-msg-conv-item:hover { background: var(--bg); }
.ek-msg-conv-item.aktif { background: #FFF8F4; border-left: 3px solid var(--orange); }
.ek-msg-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.ek-msg-conv-info { flex: 1; min-width: 0; }
.ek-msg-conv-name { font-weight: 600; font-size: 14px; color: var(--text); display: flex; align-items: center; }
.ek-msg-conv-preview { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ek-msg-conv-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ek-msg-content { display: flex; flex-direction: column; }
.ek-msg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-muted); padding: 40px; }
.ek-msg-topbar { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: var(--bg); }
.ek-msg-thread { flex: 1; overflow-y: auto; max-height: 400px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ek-msg-bubble-wrap { display: flex; }
.ek-msg-bubble-wrap.mine { justify-content: flex-end; }
.ek-msg-bubble-wrap.theirs { justify-content: flex-start; }
.ek-msg-bubble { max-width: 72%; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; position: relative; }
.mine .ek-msg-bubble { background: var(--orange); color: #fff; border-bottom-right-radius: 4px; }
.theirs .ek-msg-bubble { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.ek-msg-time { font-size: 10px; opacity: .7; margin-top: 4px; display: block; text-align: right; }
.ek-msg-ilan-ref { text-align: center; font-size: 12px; padding: 6px 12px; background: var(--bg); border-radius: 20px; margin: 0 auto 8px; }
.ek-msg-compose { padding: 14px; border-top: 1px solid var(--border); }
.ek-msg-form { display: flex; gap: 10px; align-items: flex-end; }
.ek-msg-form textarea { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; resize: none; font-size: 14px; min-height: 56px; }
.ek-msg-form textarea:focus { outline: none; border-color: var(--orange); }

/* ═══════════════════════════════════════
   FORUM
═══════════════════════════════════════ */
.ek-forum-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; text-align: center; }

/* ═══════════════════════════════════════
   YILDIZ PUANLAMA
═══════════════════════════════════════ */
.ek-stars { display: inline-flex; gap: 2px; }

/* ═══════════════════════════════════════
   MOBİL GÜÇLENDIRME (v4)
═══════════════════════════════════════ */

/* Touch-friendly minimum tap size: 48px everywhere */
button, .ek-btn, a.ek-btn,
.ek-filter-btn, .ek-filter-reset,
.ek-search-btn, .ek-plan-feature { min-height: 48px; }

/* Hero arama mobilde tek kolon */
@media (max-width: 540px) {
  .ek-search-box { flex-direction: column; }
  .ek-search-box select,
  .ek-search-box input,
  .ek-search-btn  { width: 100%; min-height: 48px; }
  .ek-hero { padding: 32px 16px 28px; }
  .ek-hero-stats { gap: 20px; }
  .ek-hero-stat strong { font-size: 22px; }
}

/* İlan kartları mobilde full-width */
@media (max-width: 400px) {
  .ek-listing-grid { grid-template-columns: 1fr; }
}

/* Kategori ikonları daha büyük dokunma alanı */
@media (max-width: 640px) {
  .ek-cat-card { padding: 20px 12px; }
  .ek-cat-icon { font-size: 30px; }
}

/* Panel mobilde */
@media (max-width: 768px) {
  .ek-panel { gap: 16px; }
  .ek-panel-sidebar { position: static; }
  .ek-panel-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .ek-panel-nav a { flex: 1 1 140px; border-radius: var(--radius-sm); border-left: none !important; background: var(--bg); justify-content: center; min-height: 48px; }
  .ek-panel-nav a.aktif { background: var(--orange); color: #fff !important; }
}

/* Filtre bar mobilde */
@media (max-width: 640px) {
  .ek-filter-bar { flex-direction: column; }
  .ek-filter-bar select,
  .ek-filter-bar input { width: 100%; min-width: unset; }
}

/* İlan detay sayfası mobil */
@media (max-width: 900px) {
  .ek-detail-layout { padding-bottom: 100px; } /* sticky bar için boşluk */
}

/* Sticky iletişim bar - geliştirilmiş */
.ek-sticky-contact {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.ek-sticky-contact a {
  flex: 1;
  text-align: center;
  border-radius: var(--radius);
  padding: 14px 10px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Form mobilde */
@media (max-width: 600px) {
  .ek-form-card { padding: 20px 16px; margin: 16px; }
  .ek-detail-meta-grid { grid-template-columns: 1fr; }
}

/* İş ilanı kartı mobilde stack */
@media (max-width: 540px) {
  .ek-job-card { flex-direction: column; gap: 12px; }
  .ek-job-action { display: flex; align-items: center; justify-content: space-between; width: 100%; }
}

/* Firma sayfası mobil */
@media (max-width: 768px) {
  .ek-detail-layout > div:last-child { position: static; }
}

/* Plan kartları mobilde full-width */
@media (max-width: 640px) {
  .ek-plans { grid-template-columns: 1fr; }
  .ek-plan-card.popular { transform: none; }
}

/* Mesajlaşma mobil */
@media (max-width: 640px) {
  .ek-msg-wrap { grid-template-columns: 1fr; }
  .ek-msg-sidebar { max-height: 280px; }
  .ek-msg-thread { max-height: 260px; }
}

/* SSS mobil */
@media (max-width: 640px) {
  .ek-a-stats { grid-template-columns: 1fr 1fr; }
}

/* İletişim sayfası mobil */
@media (max-width: 640px) {
  .ek-container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Footer mobil */
@media (max-width: 480px) {
  .ek-footer-grid { grid-template-columns: 1fr; }
  .ek-footer-bottom { flex-direction: column; text-align: center; }
}

/* Büyük butonlar - genel dokunma iyileştirmesi */
@media (max-width: 768px) {
  .ek-btn { min-height: 52px; font-size: 15px; }
  .ek-btn-sm { min-height: 44px; }
  .ek-nav a { padding: 14px 16px; }
}

/* Yazı boyutu - mobil okunabilirlik */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ek-card-title { font-size: 14px; }
  .ek-card-price { font-size: 18px; }
  .ek-section-title { font-size: 20px; }
}

/* Hakkımızda & istatistik mobil */
@media (max-width: 640px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════
   MODERN GÖRÜNÜM İYİLEŞTİRMELERİ (v5)
═══════════════════════════════════════ */

/* ── Smooth scroll & selection rengi ── */
html { scroll-behavior: smooth; }
::selection { background: var(--orange); color: #fff; }
::-moz-selection { background: var(--orange); color: #fff; }

/* ── Focus ring erişilebilirlik ── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ── Improved scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Kart hover geçiş iyileştirme ── */
.ek-card { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.ek-job-card { transition: box-shadow .2s ease, border-color .2s ease; }
.ek-plan-card { transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }

/* ── Buton loading state ── */
.ek-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.ek-btn:not(:disabled):active { transform: scale(.97); }

/* ── Input geçiş ── */
.ek-field input,
.ek-field select,
.ek-field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.ek-field input:focus,
.ek-field select:focus,
.ek-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}

/* ── Skeleton loading (ilan yüklenmeden önce) ── */
.ek-skeleton {
  background: linear-gradient(90deg, var(--bg) 25%, #e9ecef 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: ek-shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes ek-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Header: giriş yapınca okunmamış mesaj sayacı ── */
.ek-nav-badge {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: top;
  line-height: 16px;
  display: inline-block;
}

/* ── İlan kartı: görsel yok durumu rengi ── */
.ek-card-no-img {
  background: linear-gradient(135deg, var(--bg), #e2e8f0);
  color: var(--text-muted);
}

/* ── Hero: metin animasyonu ── */
@media (prefers-reduced-motion: no-preference) {
  .ek-hero h1 { animation: ek-fadein .5s ease both; }
  .ek-hero p  { animation: ek-fadein .5s .1s ease both; }
  .ek-search-box { animation: ek-fadein .5s .2s ease both; }
  .ek-hero-stats  { animation: ek-fadein .5s .3s ease both; }
}
@keyframes ek-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Kategori kartı: icon büyüme ── */
.ek-cat-card:hover .ek-cat-icon {
  transform: scale(1.12);
  transition: transform .2s ease;
}
.ek-cat-icon { transition: transform .2s ease; }

/* ── Plan kartı: popular parlama efekti ── */
.ek-plan-card.popular::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  z-index: -1;
  opacity: .15;
  pointer-events: none;
}

/* ── Firma vitrin sayfası: logo hover ── */
.ek-company-logo-card { transition: box-shadow .2s, border-color .2s, transform .15s; }
.ek-company-logo-card:hover { transform: translateY(-2px); }

/* ── Badge animasyonu ── */
.ek-badge-featured,
.ek-badge-urgent {
  animation: ek-badge-pulse 2.5s infinite;
}
@keyframes ek-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .8; }
}

/* ── Mesaj thread scroll behavior ── */
.ek-msg-thread {
  scroll-behavior: smooth;
}

/* ── Forum satır hover çizgisi ── */
.ek-forum-row-link:hover {
  border-left: 3px solid var(--orange);
  padding-left: 15px !important;
  transition: all .15s;
}

/* ── Yıldız hover renk ── */
.ek-stars-interactive label:hover,
.ek-stars-interactive label:hover ~ label {
  color: var(--gold) !important;
}

/* ── Admin: tablo row hover ── */
.ek-a-table tbody tr:hover td {
  background: #f8fafc;
  transition: background .15s;
}

/* ── Bildirim geçiş efekti ── */
.ek-alert {
  animation: ek-alert-in .25s ease both;
}
@keyframes ek-alert-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Sticky contact bar: blur backdrop ── */
@supports (backdrop-filter: blur(8px)) {
  .ek-sticky-contact {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.92);
  }
}

/* ── Section title alt çizgi animasyonu ── */
.ek-divider {
  transition: width .4s ease;
}

/* ── Okunmamış mesaj dot animasyonu ── */
.ek-unread-dot {
  animation: ek-dot-blink 1.8s infinite;
}
@keyframes ek-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ── Form submit buton loading ── */
.ek-btn-loading {
  position: relative;
  color: transparent !important;
}
.ek-btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ek-spin .6s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
@keyframes ek-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ═══════════════════════════════════════
   REKLAM & İŞBİRLİĞİ PANELİ
═══════════════════════════════════════ */
.ek-ad-option {
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.ek-ad-option:hover {
  border-color: var(--orange) !important;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  /* Reklam seçenek grid 2 kolon mobilde */
  div:has(> .ek-ad-option) {
    grid-template-columns: repeat(2,1fr) !important;
  }
}

/* ═══════════════════════════════════════
   İL/İLÇE DROPDOWN
═══════════════════════════════════════ */
select:disabled {
  opacity: .55;
  cursor: wait;
}

/* ═══════════════════════════════════════
   GÜVENLİK: Form honey-pot (bot koruması)
═══════════════════════════════════════ */
.ek-hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}


/* ═══════════════════════════════════════
   EKSTRA MOBİL İYİLEŞTİRMELER
═══════════════════════════════════════ */
.ek-responsive-table { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ek-table { min-width: 680px; }
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .ek-container { padding: 0 12px; }
  .ek-header-inner { height: 56px; padding: 0 12px; }
  .ek-hero p, .ek-detail-desc, .ek-empty p { font-size: 14px; }
  .ek-job-card, .ek-card, .ek-form-card, .ek-contact-card, .ek-panel-card { border-radius: 10px; }
  .ek-card-price, .ek-job-salary { font-size: 18px; }
  .ek-detail-price { font-size: 26px; }
  .ek-plan-price { font-size: 34px; }
  .ek-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .ek-btn, .ek-btn-full, .ek-job-apply-btn, .ek-filter-btn { width: 100%; }
  .ek-nav { max-width: calc(100vw - 24px); }
  .ek-hero h1 { font-size: clamp(24px, 7vw, 34px); }
  .ek-section-title { font-size: 20px; }
  .ek-detail-title { font-size: 22px; }
  .ek-contact-avatar, .ek-panel-avatar { width: 48px; height: 48px; }
}


.ek-mobile-tabbar { display:none; }
@media (max-width: 900px) {
  .ek-mobile-tabbar {
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left:0; right:0; bottom:0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(0,0,0,.12);
    z-index: 999;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .ek-mobile-tabbar a {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-height:50px;
    font-size:18px;
    color: var(--text-muted);
    border-radius: 12px;
  }
  .ek-mobile-tabbar a span { font-size:11px; font-weight:700; }
  .ek-mobile-tabbar a.aktif { color: var(--orange); background: rgba(255,107,0,.08); }
  .ek-mobile-tabbar-badge {
    position:absolute; top:2px; right:14px; font-style:normal;
    background: var(--danger); color:#fff; border-radius:999px; padding:1px 5px; font-size:10px; font-weight:700;
  }
  body { padding-bottom: 78px; }
}



.ek-compare-btn { appearance:none; border:1px solid var(--border); background:var(--bg); color:var(--text-muted); border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; cursor:pointer; transition:.2s ease; }
.ek-compare-btn:hover, .ek-compare-btn.aktif { border-color:var(--orange); color:var(--orange); background:rgba(244,115,32,.08); }
.ek-compare-inline-hint { font-size:13px; color:var(--text-muted); }
.ek-compare-inline-hint a { color:var(--orange); font-weight:700; }
.ek-compare-panel { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px; margin:0 0 18px; box-shadow:var(--shadow-sm); }
.ek-compare-table-wrap { overflow:auto; }
.ek-compare-table { width:100%; border-collapse:collapse; min-width:760px; }
.ek-compare-table th, .ek-compare-table td { border-top:1px solid var(--border); padding:12px; text-align:left; vertical-align:top; font-size:14px; }
.ek-compare-table thead th { border-top:none; font-size:13px; color:var(--text-muted); }
.ek-compare-table tbody td:first-child, .ek-compare-table thead th:first-child { position:sticky; left:0; background:var(--surface); z-index:1; }
.ek-seller-rating-box { display:flex; align-items:center; gap:8px; flex-wrap:wrap; background:var(--bg); border:1px solid var(--border); border-radius:10px; padding:10px 12px; margin-bottom:10px; font-size:13px; color:var(--text-muted); }
.ek-compare-dock { position:fixed; left:0; right:0; bottom:62px; z-index:60; }
.ek-compare-dock-inner { display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--surface); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-lg); padding:14px 16px; }
.ek-compare-dock-text { font-size:13px; color:var(--text-muted); margin-top:2px; }
.ek-compare-dock-actions { display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 768px) {
  .ek-compare-dock { bottom:74px; }
  .ek-compare-dock-inner { border-radius:12px; padding:12px; }
  .ek-compare-dock-actions { width:100%; }
  .ek-compare-dock-actions .ek-btn { flex:1; justify-content:center; }
}

/* ═══════════════════════════════════════
   DARK MODE — Kapsamlı Kapsam v16
═══════════════════════════════════════ */
body[data-theme="dark"] {
  --bg:      #0F172A;
  --surface: #1E293B;
  --border:  #334155;
  --text:    #F1F5F9;
  --text-muted: #94A3B8;
  --shadow:  0 2px 12px rgba(0,0,0,.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,.5);
}

/* Kartlar */
body[data-theme="dark"] .ek-card,
body[data-theme="dark"] .ek-job-card,
body[data-theme="dark"] .ek-plan-card {
  background: var(--surface);
  border-color: var(--border);
}
body[data-theme="dark"] .ek-card:hover { border-color: var(--orange); }
body[data-theme="dark"] .ek-card-no-img { background: #1E293B; }

/* Formlar */
body[data-theme="dark"] .ek-field input,
body[data-theme="dark"] .ek-field select,
body[data-theme="dark"] .ek-field textarea,
body[data-theme="dark"] .ek-filter-bar input,
body[data-theme="dark"] .ek-filter-bar select,
body[data-theme="dark"] .ek-search-box input,
body[data-theme="dark"] .ek-search-box select {
  background: #1E293B;
  border-color: #334155;
  color: #F1F5F9;
}
body[data-theme="dark"] .ek-field input::placeholder,
body[data-theme="dark"] .ek-filter-bar input::placeholder { color: #64748B; }

/* Header */
body[data-theme="dark"] .ek-header { background: #020617; border-bottom: 1px solid #1E293B; }

/* Panel */
body[data-theme="dark"] .ek-panel-sidebar { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-panel-nav a { color: #94A3B8; }
body[data-theme="dark"] .ek-panel-nav a.aktif,
body[data-theme="dark"] .ek-panel-nav a:hover { background: rgba(255,107,0,.12); color: var(--orange); border-color: var(--orange); }
body[data-theme="dark"] .ek-panel-section { background: #1E293B; border-color: #334155; }

/* Mesajlaşma */
body[data-theme="dark"] .ek-msg-sidebar { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-msg-item { border-color: #334155; }
body[data-theme="dark"] .ek-msg-item:hover,
body[data-theme="dark"] .ek-msg-item.aktif { background: #0F172A; }
body[data-theme="dark"] .ek-msg-thread { background: #0F172A; }
body[data-theme="dark"] .ek-msg-bubble { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-msg-bubble.mine { background: rgba(255,107,0,.2); border-color: rgba(255,107,0,.3); }
body[data-theme="dark"] .ek-msg-input { background: #1E293B; border-color: #334155; color: #F1F5F9; }

/* Forum */
body[data-theme="dark"] .ek-forum-row-link { border-color: #334155; }
body[data-theme="dark"] .ek-forum-row-link:hover { background: #1E293B; }
body[data-theme="dark"] .ek-filter-btn { background: #1E293B; border-color: #334155; color: #F1F5F9; }

/* Tablo */
body[data-theme="dark"] .ek-table th { background: #1E293B; border-color: #334155; color: #94A3B8; }
body[data-theme="dark"] .ek-table td { border-color: #334155; }
body[data-theme="dark"] .ek-table tr:hover td { background: #0F172A; }

/* Filtre ve arama */
body[data-theme="dark"] .ek-filter-bar { background: #1E293B; border-color: #334155; }

/* Karşılaştırma tablosu */
body[data-theme="dark"] .ek-compare-panel { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-compare-table th,
body[data-theme="dark"] .ek-compare-table td { border-color: #334155; }
body[data-theme="dark"] .ek-compare-table tbody td:first-child,
body[data-theme="dark"] .ek-compare-table thead th:first-child { background: #1E293B; }

/* Hero + CTA */
body[data-theme="dark"] .ek-upsell { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-empty { color: #94A3B8; }

/* Pagination */
body[data-theme="dark"] .ek-pagination a,
body[data-theme="dark"] .ek-pagination span { background: #1E293B; border-color: #334155; color: #F1F5F9; }

/* Bildirimler */
body[data-theme="dark"] .ek-notice-item { background: #1E293B; border-color: #334155; }

/* Dropdown */
body[data-theme="dark"] .ek-nav-dropdown-menu { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-nav-dropdown-menu a { color: #F1F5F9 !important; }
body[data-theme="dark"] .ek-nav-dropdown-menu a:hover { background: #0F172A !important; color: var(--orange) !important; }
body[data-theme="dark"] .ek-nav-dropdown-divider { background: #334155; }

/* Şirket profil sayfası */
body[data-theme="dark"] .ek-company-card { background: #1E293B; border-color: #334155; }

/* Detay sayfası */
body[data-theme="dark"] .ek-detail-box { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-contact-card { background: #1E293B; border-color: #334155; }
body[data-theme="dark"] .ek-tag { background: #334155; color: #F1F5F9; }

/* Scrollbar dark */
body[data-theme="dark"] ::-webkit-scrollbar-track { background: #0F172A; }
body[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #334155; }

/* Mobil nav dark */
@media (max-width: 768px) {
  body[data-theme="dark"] .ek-nav { background: #020617; }
  body[data-theme="dark"] .ek-nav.open { border-color: #1E293B; }
}

/* ═══════════════════════════════════════
   PAYLAŞIM BUTONLARI
═══════════════════════════════════════ */
.ek-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  flex: 1;
  justify-content: center;
  line-height: 1;
}
.ek-share-btn:hover { opacity: .88; transform: translateY(-1px); }
.ek-share-btn:active { transform: scale(.96); }

@media (max-width: 400px) {
  .ek-share-btn { font-size: 12px; padding: 9px 10px; }
}

/* ═══════════════════════════════════════
   FİRMA PUANI WİDGET
═══════════════════════════════════════ */
.ek-rating-widget {
  container-type: inline-size;
}
@container (max-width: 420px) {
  .ek-rating-widget > div > div:last-child { flex-direction: column; }
}

@media (max-width: 540px) {
  .ek-rating-widget > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Dark mode uyumu */
body[data-theme="dark"] .ek-share-btn[style*="navy"] { background: var(--navy) !important; }
body[data-theme="dark"] .ek-rating-widget { background: var(--surface); border-color: var(--border); }

/* ═══════════════════════════════════════
   SAYFA CTA BARI (İlan Ver / İş İlanı Ver)
═══════════════════════════════════════ */
.ek-page-cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.ek-page-cta-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--text);
}
.ek-page-cta-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ek-page-cta-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.ek-dot {
  color: var(--border);
  font-size: 16px;
}

/* Limit progress mini bar */
.ek-limit-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}
.ek-limit-inline-bar {
  width: 48px;
  height: 5px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.ek-limit-inline-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--orange);
  transition: width .4s;
}

/* Mobil */
@media (max-width: 640px) {
  .ek-page-cta-bar { flex-direction: column; align-items: flex-start; }
  .ek-page-cta-actions { width: 100%; }
  .ek-page-cta-actions .ek-btn { flex: 1; justify-content: center; }
  .ek-page-cta-title { font-size: 22px; }
}

/* Dark mode */
body[data-theme="dark"] .ek-page-cta-bar { border-color: var(--border); }
body[data-theme="dark"] .ek-limit-inline { background: var(--surface); border-color: var(--border); }


/* ═══════════════════════════════════════
   PWA / Ana Ekrana Ekle Banner
═══════════════════════════════════════ */
.ek-install-banner{
  position:fixed;
  left:12px;
  right:12px;
  bottom:82px;
  z-index:9999;
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.ek-install-banner.show{opacity:1;transform:translateY(0);pointer-events:auto;}
.ek-install-inner{
  background:var(--surface,#fff);
  border:1px solid var(--border,#e2e8f0);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(15,23,42,.16);
  padding:14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.ek-install-copy{display:flex;flex-direction:column;gap:4px;min-width:0;}
.ek-install-copy strong{font-size:15px;line-height:1.2;color:var(--text,#0f172a);}
.ek-install-copy span{font-size:13px;color:var(--text-muted,#475569);line-height:1.35;}
.ek-install-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.ek-install-close{
  appearance:none;border:none;background:transparent;color:var(--text-muted,#64748b);
  font-size:24px;line-height:1;cursor:pointer;padding:4px 6px;border-radius:10px;
}
.ek-install-close:hover{background:rgba(148,163,184,.12);}
.ek-install-helpbox{
  margin-top:8px;background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);
  border-radius:16px;padding:12px 14px;box-shadow:0 10px 24px rgba(15,23,42,.12);
}
.ek-install-helptext{font-size:13px;line-height:1.55;color:var(--text,#0f172a);}
@media (min-width: 769px){.ek-install-banner{max-width:560px;left:auto;right:20px;bottom:20px;}}
@media (max-width: 768px){
  .ek-install-inner{flex-direction:column;align-items:flex-start;}
  .ek-install-actions{width:100%;}
  .ek-install-actions .ek-btn{flex:1;justify-content:center;}
}
body[data-theme="dark"] .ek-install-inner,
body[data-theme="dark"] .ek-install-helpbox{background:var(--surface);border-color:var(--border);box-shadow:0 12px 28px rgba(0,0,0,.45);}
body[data-theme="dark"] .ek-install-copy strong,
body[data-theme="dark"] .ek-install-helptext{color:var(--text);} 
body[data-theme="dark"] .ek-install-copy span,
body[data-theme="dark"] .ek-install-close{color:var(--text-muted);} 
