/* ============================================
   goodtembox — 도메인·호스팅·서버 통합 서비스
   Gabia-inspired professional infrastructure
============================================ */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --surface-dark: #0F172A;
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Primary: deep professional blue */
  --primary: #0369A1;
  --primary-hover: #075985;
  --primary-soft: #E0F2FE;
  --primary-deep: #0C4A6E;

  /* Accent */
  --cyan: #06B6D4;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 14px rgba(15,23,42,0.06);
  --shadow-lg: 0 16px 36px rgba(15,23,42,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --nav-h: 68px;
  --max-w: 1200px;

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   Top Navigation
============================================ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.topnav-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 32px; width: auto; display: block; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s ease;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-ghost {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
  padding: 10px 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s ease;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
}
.menu-toggle {
  display: none; font-size: 22px; padding: 8px; margin-left: auto;
}
@media (max-width: 900px) { .menu-toggle { display: block; } }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
}
.mobile-menu a:last-child { border-bottom: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ============================================
   Hero — Domain search centered
============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, #0284C7 100%);
  padding: 70px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(6,182,212,0.2), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(59,130,246,0.15), transparent 50%);
  pointer-events: none;
}
.hero::after {
  /* Dots pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.4px;
  margin-bottom: 16px;
}
.hero-title .accent {
  background: linear-gradient(90deg, #BAE6FD, #7DD3FC);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 640px) { .hero-title { font-size: 30px; } }
.hero-desc {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 34px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Domain search box (signature) */
.domain-search {
  background: var(--surface);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-width: 640px;
  margin: 0 auto;
}
.domain-search input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  font: inherit;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
}
.domain-search input::placeholder { color: var(--text-muted); font-weight: 400; }
.domain-search button {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.domain-search button:hover { background: var(--primary-hover); }
@media (max-width: 540px) {
  .domain-search { flex-direction: column; padding: 12px; }
  .domain-search button { width: 100%; padding: 14px; }
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  opacity: 0.85;
}
.hero-trust .pt { display: flex; align-items: center; gap: 6px; }

/* ============================================
   Section heads
============================================ */
.section { padding: 70px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-center { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}
.section-center .section-title { font-size: 34px; }
.section-sub { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.section-center .section-sub { font-size: 16px; color: var(--text-soft); margin-top: 12px; }
.section-more { font-size: 13px; color: var(--text-soft); font-weight: 700; }
.section-more:hover { color: var(--primary); }

/* ============================================
   Service Grid (6 services)
============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  transition: height 0.3s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-card .svc-price {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.service-card .svc-price strong {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  display: block;
  margin-top: 4px;
  letter-spacing: -0.3px;
}
.service-card .svc-price .unit { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-left: 2px; }

/* ============================================
   Feature cards (Why us)
============================================ */
.feature-band {
  background: var(--surface);
  padding: 70px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-item {
  text-align: center;
  padding: 10px;
}
.feature-item .icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), #BAE6FD);
  color: var(--primary);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.feature-item h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* ============================================
   Pricing Table (Plan comparison)
============================================ */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pricing-table { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: all 0.22s ease;
}
.plan-card.featured {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .plan-card.featured { transform: none; }
}
.plan-card.featured::before {
  content: "추천";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-tagline {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 24px;
  min-height: 2.5em;
}
.plan-price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.plan-price .won { font-size: 18px; font-weight: 700; color: var(--text-muted); }
.plan-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
}
.plan-features .chk { color: var(--green); font-weight: 900; flex-shrink: 0; }
.plan-features .dash { color: var(--text-muted); flex-shrink: 0; }
.plan-features li.muted { color: var(--text-muted); }
.plan-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.15s ease;
}
.plan-cta:hover { background: var(--primary-hover); }
.plan-card:not(.featured) .plan-cta {
  background: var(--surface);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.plan-card:not(.featured) .plan-cta:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   Stats band
============================================ */
.stats-band {
  background: var(--surface-dark);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(6,182,212,0.15), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.stat-item .val {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1;
  background: linear-gradient(90deg, #7DD3FC, #BAE6FD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.stat-item .label { font-size: 13px; opacity: 0.85; }

/* ============================================
   CTA band (bottom of homepage)
============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--primary-soft), #BAE6FD);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.cta-band .btn-primary {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 10px;
}

/* ============================================
   Domain Search Results Page
============================================ */
.domain-results {
  padding: 40px 0 60px;
}
.search-bar-top {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.search-bar-top input {
  flex: 1;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  border: none;
  outline: none;
  background: transparent;
}
.search-bar-top button {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}
.search-bar-top button:hover { background: var(--primary-hover); }

.search-summary {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.search-summary strong { color: var(--primary); font-family: var(--mono); }

.domain-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  flex-wrap: wrap;
}
.domain-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.domain-name {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--mono);
  flex: 1;
  min-width: 160px;
}
.domain-status {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.domain-status.available {
  background: #DCFCE7;
  color: #166534;
}
.domain-status.taken {
  background: #FEE2E2;
  color: #991B1B;
}
.domain-status.premium {
  background: #FEF3C7;
  color: #92400E;
}
.domain-desc {
  font-size: 12px;
  color: var(--text-muted);
  flex-basis: 100%;
  margin-top: -8px;
  padding-left: 4px;
}
.domain-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.3px;
  min-width: 90px;
  text-align: right;
}
.domain-price .per { font-size: 11px; color: var(--text-muted); font-weight: 600; display: block; }
.domain-action {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.domain-action.register {
  background: var(--primary);
  color: white;
}
.domain-action.register:hover { background: var(--primary-hover); }
.domain-action.disabled {
  background: var(--surface-soft);
  color: var(--text-muted);
  cursor: not-allowed;
}

.domain-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================================
   Notice List
============================================ */
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.page-hero { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.page-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.page h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
@media (max-width: 640px) { .page h1 { font-size: 28px; } }
.page-lead { font-size: 17px; color: var(--text-soft); line-height: 1.6; }

.notice-list {
  list-style: none;
  padding: 0;
}
.notice-item {
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: background 0.15s ease;
  cursor: pointer;
}
.notice-item:hover {
  background: var(--surface-soft);
  padding-left: 12px;
  padding-right: 12px;
}
.notice-cat {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.notice-cat.important { background: #FEE2E2; color: #991B1B; }
.notice-cat.event { background: #DCFCE7; color: #166534; }
.notice-cat.update { background: #FEF3C7; color: #92400E; }
.notice-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.notice-date {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.notice-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

/* Notice detail */
.notice-detail-head {
  padding: 24px 0 28px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 30px;
}
.notice-detail-head .meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.notice-detail-head h1 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.3;
}
.notice-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}
.notice-body h2 { font-size: 22px; font-weight: 800; margin: 28px 0 12px; letter-spacing: -0.3px; }
.notice-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.notice-body p { margin-bottom: 14px; }
.notice-body ul, .notice-body ol { padding-left: 22px; margin-bottom: 14px; }
.notice-body li { margin-bottom: 6px; }
.notice-body a { color: var(--primary); text-decoration: underline; }
.notice-body code {
  background: var(--surface-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 14px;
}

/* ============================================
   Pages (about/privacy/contact)
============================================ */
.page-section { margin-bottom: 36px; }
.page-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.page-section h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.page-section p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.page-section ul { padding-left: 22px; margin-bottom: 16px; }
.page-section ul li { line-height: 1.7; margin-bottom: 6px; }

/* Contact form */
.contact-form { display: grid; gap: 16px; margin-top: 20px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button[type="submit"] {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  justify-self: start;
  transition: background 0.15s ease;
}
.contact-form button[type="submit"]:hover { background: var(--primary-hover); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.form-message.ok {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}
.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.contact-card .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.contact-card .value { font-weight: 700; font-size: 14px; }

/* ============================================
   Admin page
============================================ */
.admin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.admin-page h1 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.admin-page .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.admin-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}
.admin-section h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th, .admin-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.admin-table .row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.admin-table .row-actions form {
  display: inline;
}
.btn-xs {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  background: var(--surface);
  color: var(--text-soft);
}
.btn-xs:hover { border-color: var(--primary); color: var(--primary); }
.btn-xs.danger { color: var(--red); }
.btn-xs.danger:hover { border-color: var(--red); }
.login-form {
  max-width: 420px;
  margin: 80px auto;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.login-form h1 { font-size: 24px; margin-bottom: 18px; }
.login-form label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 8px; }
.login-form input[type=password] {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  margin-bottom: 16px;
}
.login-form button {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  border-radius: 10px;
}

/* ============================================
   Footer
============================================ */
.footer {
  background: var(--surface-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand .logo { margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 320px; }
.footer h4 { color: white; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; transition: color 0.15s ease; }
.footer-col a:hover { color: #7DD3FC; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   Utility
============================================ */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--primary); }
