/* =====================================================================
   OrthoWay — Əsas stil faylı (plain CSS, heç bir build addımı tələb etmir)
   ===================================================================== */

:root {
  --navy-950: #0a1322;
  --navy-900: #0d1b2e;
  --navy-800: #11203a;
  --navy-700: #172a47;
  --navy-600: #1f3a5f;

  --brand-50: #fcf9f0;
  --brand-100: #f7f1de;
  --brand-200: #efe2b8;
  --brand-300: #e3cd87;
  --brand-400: #d8ba57;
  --brand-500: #d2ae3c;
  --brand-600: #c4a02d;
  --brand-700: #a08225;
  --brand-800: #7f671d;
  --brand-900: #5d4c15;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;

  --amber-50: #fffbeb;  --amber-500: #f59e0b;  --amber-700: #b45309;
  --sky-50: #f0f9ff;     --sky-500: #0ea5e9;     --sky-700: #0369a1;
  --emerald-50: #ecfdf5; --emerald-500: #10b981; --emerald-700: #047857;
  --violet-50: #f5f3ff;  --violet-500: #8b5cf6;  --violet-700: #6d28d9;
  --cyan-50: #ecfeff;    --cyan-500: #06b6d4;    --cyan-700: #0e7490;
  --rose-50: #fff1f2;    --rose-500: #f43f5e;    --rose-700: #be123c;

  --radius: 1.1rem;
  --shadow-card: 0 2px 14px -2px rgba(15, 27, 45, 0.07);
  --shadow-soft: 0 18px 40px -16px rgba(15, 27, 45, 0.18);
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--navy-950); margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.lead { color: var(--slate-500); font-size: 17px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; } .gap-3 { gap: 22px; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; padding: 12px 24px; border-radius: 12px;
  border: 1px solid transparent; transition: all .15s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--slate-200); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-700); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-block { width: 100%; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 28px;
}
.card-soft { box-shadow: var(--shadow-soft); }

.icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon { width: 24px; height: 24px; }
.icon-sm-circle { width: 40px; height: 40px; border-radius: 50%; display:flex; align-items:center; justify-content:center; }

.theme-amber .icon-wrap, .theme-amber.icon-wrap { background: var(--amber-50); color: var(--amber-500); }
.theme-sky .icon-wrap, .theme-sky.icon-wrap { background: var(--sky-50); color: var(--sky-500); }
.theme-emerald .icon-wrap, .theme-emerald.icon-wrap { background: var(--emerald-50); color: var(--emerald-500); }
.theme-violet .icon-wrap, .theme-violet.icon-wrap { background: var(--violet-50); color: var(--violet-500); }
.theme-cyan .icon-wrap, .theme-cyan.icon-wrap { background: var(--cyan-50); color: var(--cyan-500); }
.theme-rose .icon-wrap, .theme-rose.icon-wrap { background: var(--rose-50); color: var(--rose-500); }

.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.tag-green { background: var(--emerald-50); color: var(--emerald-700); }
.tag-amber { background: var(--amber-50); color: var(--amber-700); }
.tag-red { background: var(--rose-50); color: var(--rose-700); }
.tag-violet { background: var(--violet-50); color: var(--violet-700); }
.tag-sky { background: var(--sky-50); color: var(--sky-700); }
.tag-gray { background: var(--slate-100); color: var(--slate-600); }
.tag-theme-amber { background: var(--amber-50); color: var(--amber-700); }
.tag-theme-sky { background: var(--sky-50); color: var(--sky-700); }
.tag-theme-emerald { background: var(--emerald-50); color: var(--emerald-700); }
.tag-theme-violet { background: var(--violet-50); color: var(--violet-700); }
.tag-theme-cyan { background: var(--cyan-50); color: var(--cyan-700); }
.tag-theme-rose { background: var(--rose-50); color: var(--rose-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--navy-950); }
.logo span { color: var(--brand-600); }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--slate-600); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--navy-950); border-color: var(--brand-600); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; align-items: center; gap: 2px; background: var(--slate-50); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; color: var(--slate-500); text-decoration: none; transition: background .15s, color .15s; }
.lang-switch a.active { background: var(--brand-600); color: #fff; }
.lang-switch a:hover:not(.active) { color: var(--navy-950); }
.menu-toggle { display: none; background: none; border: none; }
.hamburger { flex-direction: column; gap: 5px; padding: 6px; width: 38px; height: 38px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy-950); transition: all .2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; padding: 10px 20px 20px; gap: 4px; border-top: 1px solid var(--slate-200); }
.mobile-nav a { padding: 12px 4px; font-weight: 600; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.mobile-nav.open { display: flex; }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-primary { display: none; }
}

/* ---------- Hero (sadə, alt-səhifələr üçün) ---------- */
.hero { background: var(--navy-950); color: #fff; padding: 64px 0 76px; }
.hero h1 { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.hero p.lead { color: var(--slate-300); max-width: 560px; }
.hero .eyebrow { background: rgba(255,255,255,.1); color: var(--brand-300); }
@media (max-width: 540px) { .hero h1 { font-size: 30px; } }

.placeholder-visual {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center; border-radius: 20px; min-height: 220px;
}
.placeholder-visual .icon { width: 64px; height: 64px; color: rgba(255,255,255,.22); }

/* ---------- Home dark hero ---------- */
.hero-dark { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero-dark .bg-layer { position: absolute; inset: 0; opacity: .35; }
.hero-dark .bg-layer img { width: 100%; height: 100%; object-fit: cover; }
.hero-dark .bg-layer.placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.hero-dark .bg-layer.placeholder .icon { width: 120px; height: 120px; color: rgba(255,255,255,.12); }
.hero-dark .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(10,19,34,.9) 55%, rgba(10,19,34,.45) 100%); }
.hero-dark .content { position: relative; padding: 90px 0 110px; display: grid; grid-template-columns: 1.1fr .85fr; gap: 50px; align-items: center; }
@media (max-width: 980px) { .hero-dark .content { grid-template-columns: 1fr; padding: 60px 0 70px; } }
.hero-dark .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.1); border-radius: 999px; padding: 9px 16px; margin-bottom: 24px; }
.hero-dark .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-500); }
.hero-dark h1 { color: #fff; font-size: 50px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero-dark h1 .accent { color: var(--brand-400); }
.hero-dark p.lead { color: var(--slate-300); margin: 20px 0 30px; max-width: 440px; }
@media (max-width: 540px) { .hero-dark h1 { font-size: 36px; } }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.hero-rating-row { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-700); border: 2px solid var(--navy-950); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: -8px; }
.avatar-stack span:first-child { margin-left: 0; }
.hero-stars { display: flex; gap: 2px; }
.hero-stars .icon { width: 14px; height: 14px; color: var(--amber-500); fill: var(--amber-500); }
.hero-rating-text { font-size: 12px; color: var(--slate-400); }

.hero-widget { display: none; background: rgba(13,27,46,.9); border: 1px solid var(--navy-700); border-radius: 18px; padding: 22px; backdrop-filter: blur(6px); }
@media (min-width: 981px) { .hero-widget { display: block; } }
.hero-widget .widget-label { font-size: 12px; color: var(--slate-400); font-weight: 600; margin-bottom: 12px; }
.widget-slot-row { display: flex; align-items: center; justify-content: space-between; background: var(--navy-800); border-radius: 10px; padding: 10px 16px; font-size: 14px; margin-bottom: 8px; }
.widget-slot-row .pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-free { background: rgba(16,185,129,.15); color: #34d399; }
.pill-taken { background: rgba(100,116,139,.15); color: var(--slate-400); }
.widget-progress-track { height: 6px; background: var(--navy-700); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.widget-progress-fill { height: 100%; background: var(--brand-500); border-radius: 999px; }

.stats-bar-brand { background: var(--brand-600); }
.stats-bar-brand .stat-box .num { color: #fff; }
.stats-bar-brand .stat-box .label { color: var(--brand-100); }

.stat-dark-box { background: var(--navy-800); border-radius: 14px; padding: 18px; }
.stat-dark-box .num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
.stat-dark-box .label { font-size: 11.5px; color: var(--slate-400); margin-top: 4px; font-weight: 600; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--navy-950); padding: 36px 0; }
.stats-bar .grid-4 { gap: 10px; }
.stat-box { text-align: center; color: #fff; }
.stat-box .num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--brand-300); }
.stat-box .label { font-size: 12px; letter-spacing: .06em; color: var(--slate-400); margin-top: 4px; }

/* ---------- Service cards ---------- */
.service-card { transition: box-shadow .2s ease, transform .2s ease; }
.service-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.service-card h3 { font-size: 19px; margin-bottom: 6px; }
.service-card .subtitle { color: var(--brand-600); font-weight: 600; font-size: 13.5px; margin-bottom: 10px; }
.service-card .desc { color: var(--slate-500); font-size: 14.5px; margin-bottom: 16px; }
.service-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--slate-600); margin-bottom: 8px; }
.feature-list .icon { width: 17px; height: 17px; color: var(--emerald-500); flex-shrink: 0; margin-top: 2px; }

/* ---------- Process steps ---------- */
.process-step { text-align: center; }
.process-step .num { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--brand-200); margin-bottom: 6px; }
.process-step h4 { font-size: 17px; margin-bottom: 6px; }
.process-step p { color: var(--slate-500); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 26px; }
.testimonial-card .quote-icon { width: 24px; height: 24px; color: var(--brand-400); margin-bottom: 12px; }
.testimonial-card p.quote-text { color: var(--slate-300); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.testimonial-card .person { display: flex; align-items: center; justify-content: space-between; }
.testimonial-card .person-info { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-600); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.testimonial-card .name { font-size: 14px; font-weight: 600; color: #fff; }
.testimonial-card .role { font-size: 12px; color: var(--slate-500); }
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-stars .icon { width: 14px; height: 14px; color: var(--amber-500); fill: var(--amber-500); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); border-radius: 28px; padding: 56px 40px; color: #fff; text-align: center; }
.cta-banner .eyebrow { background: rgba(255,255,255,.1); color: var(--brand-200); }
.cta-banner h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.cta-banner p { color: var(--slate-300); max-width: 520px; margin: 0 auto 26px; }

/* ---------- Team / Doctor cards ---------- */
.doctor-card { text-align: center; }
.doctor-photo { border-radius: 18px; overflow: hidden; margin-bottom: 16px; min-height: 220px; }
.doctor-card h3 { font-size: 17px; }
.doctor-card .role { color: var(--brand-600); font-weight: 600; font-size: 13.5px; margin: 4px 0 8px; }
.doctor-card .edu { color: var(--slate-400); font-size: 12.5px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--slate-600); margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid var(--slate-200); border-radius: 10px; padding: 11px 14px;
  font-size: 14.5px; font-family: inherit; background: #fff; color: var(--slate-700);
}
.input:focus, select.input:focus, textarea.input:focus { outline: 2px solid var(--brand-200); border-color: var(--brand-400); }
textarea.input { resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-checkbox { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px; padding: 9px 14px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tag-checkbox input { accent-color: var(--brand-600); }
.tag-checkbox.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.tag-checkbox.slot-btn { padding: 9px 16px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--rose-50); color: var(--rose-700); }
.alert-success { background: var(--emerald-50); color: var(--emerald-700); }

/* ---------- History timeline ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--slate-200); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-600); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-200); }
.timeline-item .year { color: var(--brand-600); font-weight: 700; font-family: var(--font-display); font-size: 15px; }
.timeline-item h4 { font-size: 16px; margin: 2px 0 4px; }
.timeline-item p { color: var(--slate-500); font-size: 14px; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-sidebar { background: var(--navy-950); border-radius: var(--radius); padding: 30px; color: #fff; }
.contact-sidebar h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.contact-row { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-row .icon { width: 19px; height: 19px; color: var(--brand-300); flex-shrink: 0; margin-top: 2px; }
.contact-row .label { font-size: 13px; color: var(--slate-400); }
.contact-row .value { font-size: 14.5px; font-weight: 600; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); margin-top: 18px; }
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; margin-bottom: 12px; }
.checklist .icon { width: 18px; height: 18px; color: var(--emerald-500); margin-top: 2px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 56px 0 26px; margin-top: 40px; }
.site-footer .logo { color: #fff; }
.site-footer h5 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-700); }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.social-row .icon { width: 16px; height: 16px; }

/* =====================================================================
   ADMIN PANEL
   ===================================================================== */
.admin-body { background: var(--slate-50); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--navy-950); color: #fff; flex-shrink: 0; padding: 24px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .logo { color: #fff; margin-bottom: 30px; display: block; padding: 0 8px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--slate-400); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.admin-nav a .icon { width: 18px; height: 18px; }
.admin-nav a:hover { background: var(--navy-800); color: #fff; }
.admin-nav a.active { background: var(--brand-600); color: #fff; }
.admin-logout-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--navy-700); }
.admin-logout-form button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: none; border: none; color: var(--slate-400); font-size: 14px; font-weight: 600; }
.admin-logout-form button:hover { color: #fff; }
.admin-main { flex: 1; padding: 36px 40px; max-width: 1100px; }
.admin-topbar { display: none; background: var(--navy-950); color: #fff; padding: 16px 20px; align-items: center; justify-content: space-between; }
.admin-topbar button { background: none; border: none; color: #fff; }
@media (max-width: 900px) {
  .admin-sidebar { display: none; }
  .admin-sidebar.open { display: block; position: fixed; z-index: 60; width: 80%; }
  .admin-topbar { display: flex; }
  .admin-main { padding: 24px 18px; }
}
.admin-page-title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.admin-page-sub { color: var(--slate-500); font-size: 14px; margin-bottom: 28px; }
.admin-section-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.admin-section-sub { color: var(--slate-500); font-size: 13.5px; margin-bottom: 18px; }
.admin-stack > * + * { margin-top: 20px; }
.admin-list-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--slate-100); }
.admin-list-item:last-child { border-bottom: none; }
.admin-actions { display: flex; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--slate-200); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--slate-500); }
.icon-btn:hover { color: var(--brand-600); border-color: var(--brand-300); }
.icon-btn.danger:hover { color: var(--rose-600); border-color: var(--rose-300); }
.icon-btn .icon { width: 16px; height: 16px; }
.badge-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-active { background: var(--emerald-50); color: var(--emerald-700); }
.badge-inactive { background: var(--rose-50); color: var(--rose-700); }
.badge-pending { background: var(--amber-50); color: var(--amber-700); }
.badge-confirmed { background: var(--emerald-50); color: var(--emerald-700); }
.badge-cancelled { background: var(--rose-50); color: var(--rose-700); }
.badge-completed { background: var(--slate-100); color: var(--slate-600); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; color: var(--slate-400); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--slate-200); }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--slate-100); }
.admin-table tr.clickable-row { cursor: pointer; }
.admin-table tr.clickable-row:hover { background: var(--slate-50); }

.modal-overlay { position: fixed; inset: 0; background: rgba(10,19,34,.6); display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-card { background: #fff; border-radius: 18px; max-width: 540px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 30px; position: relative; box-shadow: 0 20px 60px rgba(10,19,34,.3); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--slate-100); color: var(--slate-500); font-size: 20px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--slate-200); }
.modal-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--slate-100); font-size: 14px; }
.modal-row:last-child { border-bottom: none; }
.modal-row .label { color: var(--slate-400); font-weight: 600; flex-shrink: 0; }
.modal-row .value { color: var(--navy-950); font-weight: 600; text-align: right; }

/* ----- Admin: AZ/EN/RU tərcümə qutusu (hər redaktə formasında) ----- */
.i18n-translate-box { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--slate-200); }
.i18n-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.i18n-tab { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--slate-200); background: #fff; color: var(--slate-500); cursor: pointer; }
.i18n-tab.active { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.i18n-autotranslate { margin-left: auto; font-size: 13px; padding: 7px 14px; white-space: nowrap; }
.i18n-autotranslate[disabled] { opacity: .6; cursor: wait; }
.i18n-panel { display: none; }
.i18n-panel.active { display: block; }
.i18n-status { font-size: 12.5px; color: var(--slate-400); margin-top: 8px; }
.i18n-status.success { color: var(--emerald-700); }
.i18n-status.error { color: var(--rose-700); }
.admin-filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
@media (max-width: 760px) { .admin-filter-bar { grid-template-columns: 1fr 1fr; } }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-950); padding: 20px; }
.admin-login-card { background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 380px; }
.collapsible-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 16px 0; }
.collapsible-header .collapse-arrow { transition: transform .15s; }
.collapsible-header.open .collapse-arrow { transform: rotate(180deg); }
.collapsible-body { display: none; padding-bottom: 18px; }
.collapsible-body.open { display: block; }
.sticky-save-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--slate-200); padding: 16px 0; margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.empty-state { text-align: center; color: var(--slate-400); padding: 40px 0; font-size: 14.5px; }
.search-preview { border: 1px solid var(--slate-200); border-radius: 10px; padding: 16px; background: var(--slate-50); margin-bottom: 18px; }
.search-preview .gtitle { color: #1a0dab; font-size: 16px; }
.search-preview .gurl { color: #006621; font-size: 12.5px; margin: 2px 0; }
.search-preview .gdesc { color: var(--slate-600); font-size: 13.5px; }
.dashboard-stat { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px; }
.dashboard-stat .num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--navy-950); }
.dashboard-stat .label { color: var(--slate-500); font-size: 13px; margin-top: 4px; }
