/* ============================================================
   Niğde VIP — Custom Design System
   No external CSS dependencies. Self-contained production CSS.
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:         #1e3a5f;
  --navy-dark:    #162d4a;
  --navy-light:   #2a4f7c;
  --gold:         #b45309;
  --gold-light:   #d97706;
  --gold-pale:    #fef3c7;
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-300:     #cbd5e1;
  --gray-400:     #94a3b8;
  --gray-500:     #64748b;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1e293b;
  --gray-900:     #0f172a;
  --green-50:     #f0fdf4;
  --green-200:    #bbf7d0;
  --green-700:    #15803d;
  --red-50:       #fef2f2;
  --red-200:      #fecaca;
  --red-600:      #dc2626;
  --red-700:      #b91c1c;
  --yellow-50:    #fffbeb;
  --yellow-200:   #fde68a;
  --yellow-700:   #b45309;
  --blue-50:      #eff6ff;
  --blue-200:     #bfdbfe;
  --blue-700:     #1d4ed8;

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-md:    10px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:    0 10px 15px rgba(0,0,0,.07), 0 4px 6px rgba(0,0,0,.04);
  --shadow-lg:    0 20px 25px rgba(0,0,0,.08), 0 8px 10px rgba(0,0,0,.04);
  --transition:   all .2s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.hide-sm { display: table-cell; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn--outline:hover { border-color: var(--gray-500); color: var(--gray-900); background: var(--gray-50); }
.btn--danger {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}
.btn--danger:hover { background: var(--red-700); border-color: var(--red-700); }
.btn--ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--gray-100); color: var(--gray-800); }
.btn--ghost-light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.2);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: .35rem .85rem; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--icon { padding: .35rem; border-radius: var(--radius-sm); }

/* ── Form Elements ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.5rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.form-required { color: var(--red-600); margin-left: .1rem; }
.form-hint { font-size: .78rem; color: var(--gray-500); }
.form-input,
.form-textarea {
  width: 100%;
  padding: .6rem .9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
  line-height: 1.5;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}
.form-textarea { resize: vertical; min-height: 200px; }
.form-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
  margin-top: 1rem;
}

.form-errors {
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--red-700);
  font-size: .875rem;
}
.form-errors strong { display: block; margin-bottom: .5rem; font-weight: 700; }
.form-errors ul { padding-left: 1.2rem; list-style: disc; display: flex; flex-direction: column; gap: .25rem; }

/* File upload */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color .2s, background .2s;
  overflow: hidden;
}
.file-upload-area:hover, .file-upload-area:focus-within {
  border-color: var(--navy-light);
  background: var(--blue-50);
}
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 2rem;
  color: var(--gray-500);
  font-size: .875rem;
  text-align: center;
}
.file-upload-label svg { color: var(--gray-400); }
.file-upload-hint { font-size: .78rem; color: var(--gray-400); }

/* ── Flash Messages ─────────────────────────────────────────── */
.flash-wrapper { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.flash {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .875rem;
}
.flash-icon { flex-shrink: 0; margin-top: .05rem; }
.flash-message { flex: 1; line-height: 1.5; }
.flash-close {
  flex-shrink: 0;
  padding: .1rem;
  border-radius: var(--radius-sm);
  color: currentColor;
  opacity: .6;
  transition: opacity .15s;
}
.flash-close:hover { opacity: 1; }
.flash--success { background: var(--green-50);  border-color: var(--green-200);  color: var(--green-700); }
.flash--error   { background: var(--red-50);    border-color: var(--red-200);    color: var(--red-700); }
.flash--warning { background: var(--yellow-50); border-color: var(--yellow-200); color: var(--yellow-700); }
.flash--info    { background: var(--blue-50);   border-color: var(--blue-200);   color: var(--blue-700); }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

/* Info bar */
.info-bar {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.info-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.info-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.8);
  transition: color .15s;
  font-size: .78rem;
}
a.info-item:hover { color: var(--white); }
.info-item--text { cursor: default; }
.info-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.2);
}
.info-bar-social {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.social-link {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.social-link:hover { color: var(--white); }

/* Main nav */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.logo-accent { color: var(--gold); }

/* Desktop nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  position: relative;
}
.nav-link:hover { color: var(--navy); background: var(--gray-50); }
.nav-link--active { color: var(--navy); font-weight: 600; }
.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: .85rem;
  right: .85rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px 2px 0 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
  transition: background .15s;
}
.hamburger:hover { background: var(--gray-100); }
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--gray-100);
  padding: .75rem 0 1rem;
  background: var(--white);
}
.mobile-nav[aria-hidden="false"] { display: block; }
.mobile-nav ul { padding: 0 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.mobile-nav-link {
  display: block;
  padding: .65rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.mobile-nav-link:hover { color: var(--navy); background: var(--gray-50); }
.mobile-nav-link--active { color: var(--navy); font-weight: 600; background: var(--gray-50); }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── Site Main ──────────────────────────────────────────────── */
.site-main { flex: 1; min-height: calc(100vh - 200px); }
body { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: .75rem 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--gray-500);
}
.breadcrumb-link { color: var(--gray-500); transition: color .15s; }
.breadcrumb-link:hover { color: var(--navy); }
.breadcrumb-separator { display: flex; align-items: center; color: var(--gray-400); }
.breadcrumb-list li:last-child { color: var(--gray-700); font-weight: 500; }

/* ── Under Construction ─────────────────────────────────────── */
.uc-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 60%, #eef4ff 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.uc-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.uc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.uc-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
}
.uc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.uc-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}
.uc-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 2px;
  margin: 1.5rem auto;
}
.uc-brand {
  font-size: .9rem;
  color: var(--gray-400);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.uc-brand strong { color: var(--gold); font-weight: 700; }

/* ── News Section ───────────────────────────────────────────── */
.news-section { padding: 3rem 0 5rem; }
.section-header { margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--gray-100); }
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: .5rem;
}

/* News list */
.news-list { display: flex; flex-direction: column; gap: 2.5rem; }

/* News card */
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-card-media { background: var(--gray-100); }

/* Single image */
.news-single-img { aspect-ratio: 16/9; overflow: hidden; }
.news-single-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* News card body */
.news-card-body { padding: 1.75rem 2rem; }
.news-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.news-card-content {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--gray-700);
  word-break: break-word;
}
.news-card-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}
.news-card-date {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--gray-400);
}
.empty-state-icon { margin: 0 auto 1rem; }
.empty-state-text { font-size: .95rem; color: var(--gray-500); }

/* ── Image Slider ────────────────────────────────────────────── */
.slider { position: relative; user-select: none; }
.slider:focus { outline: 2px solid var(--navy-light); outline-offset: 2px; }

.slider-main { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--gray-900); }
.slider-track {
  display: flex;
  height: 100%;
  transition: none; /* JS controls this */
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.slide--active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .15s, transform .15s;
  opacity: 0;
}
.slider:hover .slider-btn, .slider:focus-within .slider-btn { opacity: 1; }
.slider-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.05); }
.slider-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.slider-btn--prev { left: .75rem; }
.slider-btn--next { right: .75rem; }

/* Thumbnails */
.slider-thumbs {
  display: flex;
  gap: .5rem;
  padding: .75rem;
  background: var(--gray-50);
  overflow-x: auto;
  scrollbar-width: thin;
}
.thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .15s, opacity .15s;
  opacity: .6;
  padding: 0;
}
.thumb:hover { opacity: .85; }
.thumb--active { border-color: var(--navy); opacity: 1; }
.thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slider-btn { transition: none; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  margin-top: auto;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-tagline { margin-top: .35rem; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.footer-link {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  padding: .3rem .5rem;
  border-radius: var(--radius-sm);
  transition: color .15s;
}
.footer-link:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-admin-link {
  font-size: .7rem;
  color: rgba(255,255,255,.2);
  padding: .2rem .4rem;
  border-radius: var(--radius-sm);
  transition: color .15s;
}
.footer-admin-link:hover { color: rgba(255,255,255,.45); }

/* ── Admin Layout ───────────────────────────────────────────── */
.admin-body { background: var(--gray-50); min-height: 100vh; }
.admin-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-logo { display: flex; align-items: center; gap: .75rem; }
.admin-badge {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
}
.admin-logout-form { display: flex; }
.admin-main { padding: 2rem 0 4rem; }
.admin-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.admin-page-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.admin-page-subtitle { font-size: .83rem; color: var(--gray-500); margin-top: .2rem; }
.admin-back-link { color: var(--navy-light); font-size: .83rem; }
.admin-back-link:hover { text-decoration: underline; }

.admin-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.admin-form {}

/* Admin table */
.admin-table-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table { width: 100%; font-size: .875rem; }
.admin-table thead { background: var(--gray-50); border-bottom: 2px solid var(--gray-100); }
.admin-table th {
  padding: .85rem 1rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
}
.admin-table td {
  padding: .9rem 1rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.table-title { font-weight: 500; color: var(--gray-800); }
.table-date { font-size: .78rem; color: var(--gray-400); }
.table-actions { display: flex; justify-content: flex-end; gap: .4rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  font-size: .73rem;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 20px;
}

/* Existing images (edit page) */
.existing-images {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  min-height: 80px;
}
.existing-img-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .4rem .5rem;
  cursor: grab;
  transition: box-shadow .15s, border-color .15s;
}
.existing-img-item:active { cursor: grabbing; }
.existing-img-item.dragging { opacity: .5; border-color: var(--navy-light); box-shadow: var(--shadow-md); }
.existing-img-item.drag-over { border-color: var(--navy); background: var(--blue-50); }
.existing-img-drag { color: var(--gray-400); display: flex; flex-shrink: 0; }
.existing-img-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.existing-img-order-btns { display: flex; flex-direction: column; gap: .15rem; }

/* Image preview (upload) */
.img-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .75rem;
}
.img-preview-item {
  position: relative;
  width: 88px;
  height: 66px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.7);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  cursor: pointer;
  transition: background .15s;
}
.img-preview-remove:hover { background: var(--red-600); }

/* ── Login Page ─────────────────────────────────────────────── */
.login-body {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-page { width: 100%; max-width: 420px; }
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}
.login-header { text-align: center; margin-bottom: 2rem; }
.login-logo { margin-bottom: .75rem; }
.login-logo .logo-text { font-size: 1.6rem; }
.login-title { font-size: 1.1rem; color: var(--gray-800); font-weight: 600; margin-bottom: .25rem; }
.login-subtitle { font-size: .85rem; color: var(--gray-500); }
.login-form { display: flex; flex-direction: column; gap: 0; }
.login-form .form-group { margin-bottom: 1.1rem; }
.login-form .btn--full { margin-top: .5rem; padding: .75rem; font-size: .9rem; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal-icon {
  margin: 0 auto 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon--danger { background: var(--red-50); color: var(--red-600); }
.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.modal-body { font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.modal-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .news-card-body { padding: 1.25rem; }
  .news-card-title { font-size: 1.1rem; }
  .admin-card { padding: 1.25rem; }
  .admin-table-wrapper { overflow-x: auto; }
  .existing-images { gap: .5rem; }
  .existing-img-thumb { width: 64px; height: 48px; }
  .uc-card { padding: 2rem 1.5rem; }
  .uc-title { font-size: 1.2rem; }
  .footer-top { flex-direction: column; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .info-bar-inner { gap: .75rem; justify-content: flex-start; }
  .info-bar-contacts { gap: .75rem; }
  .info-item span { display: none; } /* Show only icons on mobile */
  .info-bar-divider { display: none; }
}

@media (max-width: 480px) {
  .info-bar { display: none; } /* Hide info bar on very small screens */
}
