/* =========================================================
   새소망교회 홈페이지 스타일시트
   ========================================================= */

:root {
  /* Color tokens */
  --color-primary: #29446a;
  --color-primary-dark: #16283f;
  --color-primary-light: #2f527e;
  --color-accent: #c9a227;
  --color-accent-dark: #a9861a;
  --color-bg: #faf8f5;
  --color-bg-alt: #f1ede5;
  --color-white: #ffffff;
  --color-text: #2b2b2b;
  --color-text-muted: #6b6b6b;
  --color-border: #e2ddd1;

  /* Type scale */
  --font-heading: 'Noto Serif KR', 'Malgun Gothic', serif;
  --font-body: 'Noto Sans KR', 'Malgun Gothic', sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(31, 58, 95, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 58, 95, 0.10);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 var(--space-2); color: var(--color-text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-6) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-5);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-1);
}

.section-header p {
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: inherit;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  color: var(--color-text);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open { max-height: 400px; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--space-3);
  }

  .main-nav li { border-bottom: 1px solid var(--color-border); }
  .main-nav li:last-child { border-bottom: none; }

  .main-nav a {
    display: block;
    padding: var(--space-2) 0.2rem;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    linear-gradient(100deg, rgba(18, 32, 51, 0.95) 0%, rgba(22, 40, 63, 0.88) 38%, rgba(22, 40, 63, 0.62) 65%, rgba(22, 40, 63, 0.4) 100%),
    url('../images/3L0A8023.JPG');
  background-size: cover;
  background-position: right center;
  color: var(--color-white);
  padding: var(--space-6) 0;
}

.hero-inner {
  display: grid;
  gap: var(--space-4);
  max-width: 720px;
}

.hero .eyebrow { color: var(--color-accent); }
.hero h1 { color: var(--color-white); }

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta strong {
  display: block;
  color: var(--color-white);
  font-size: 1.05rem;
}

/* Page header (non-home pages) */
.page-header {
  background:
    linear-gradient(100deg, rgba(18, 32, 51, 0.95) 0%, rgba(22, 40, 63, 0.88) 38%, rgba(22, 40, 63, 0.62) 65%, rgba(22, 40, 63, 0.4) 100%),
    url('../images/3L0A8023.JPG');
  background-size: cover;
  background-position: right center;
  color: var(--color-white);
  padding: var(--space-5) 0 var(--space-4);
  text-align: center;
}
.page-header h1 { color: var(--color-white); }
.page-header p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* =========================================================
   Cards / Grids
   ========================================================= */
.grid {
  display: grid;
  gap: var(--space-3);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.card-icon svg { width: 24px; height: 24px; }

/* Welcome / about preview split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.split > * { min-width: 0; }

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}

.portrait-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-bg-alt), #e4dcc9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.portrait-frame svg { width: 40%; height: 40%; opacity: 0.55; }

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* 담임목사 사진 하단 - 교회 스냅샷 자동 슬라이드 */
.portrait-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-border);
}

.portrait-slider::before,
.portrait-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 2;
  pointer-events: none;
}

.portrait-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg), transparent);
}

.portrait-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg), transparent);
}

.portrait-slider-track {
  display: flex;
  width: max-content;
  animation: portrait-slide-scroll 16s linear infinite;
}

.portrait-slider:hover .portrait-slider-track {
  animation-play-state: paused;
}

.portrait-slide {
  flex: 0 0 auto;
  width: 132px;
  height: 92px;
  padding: 4px;
}

.portrait-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

@keyframes portrait-slide-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-slider-track { animation: none; }
}

@media (max-width: 480px) {
  .portrait-slide { width: 108px; height: 76px; }
}

.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 62.5%; /* 16:10 비율 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-alt);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   Timeline (연혁)
   ========================================================= */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-border);
}

.timeline li {
  position: relative;
  padding: 0 0 var(--space-4) var(--space-4);
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-border);
}

.timeline .year {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

/* =========================================================
   Tables (예배 시간표)
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
}

thead th {
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--color-bg-alt); }

/* =========================================================
   Info list (연락처/오시는길)
   ========================================================= */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.info-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.info-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent-dark);
  margin-top: 3px;
}

/* =========================================================
   Sermon / News cards
   ========================================================= */
.list-card {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  transition: box-shadow 0.15s ease;
}

.list-card:hover { box-shadow: var(--shadow-md); }

.list-date {
  flex-shrink: 0;
  width: 84px;
  text-align: center;
  padding: 0.6rem 0.4rem;
  background: var(--color-bg-alt);
  border-radius: 8px;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.list-date .d-year { display: block; font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; }
.list-date .d-day { display: block; font-size: 1.3rem; font-family: var(--font-heading); }

.list-body h3 { margin-bottom: 0.3rem; }
.list-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: rgba(201, 162, 39, 0.12);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.list-links { margin-top: 0.6rem; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.list-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}
.list-links a:hover { color: var(--color-accent-dark); border-color: var(--color-accent-dark); }

@media (max-width: 560px) {
  .list-card { flex-direction: column; }
  .list-date { width: fit-content; }
}

/* Notice banner */
.notice-banner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0.9rem var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.notice-banner .tag {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius);
}

.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,0.85); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--space-5) 0 var(--space-2);
  margin-top: var(--space-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.footer-col p, .footer-col a { color: rgba(255, 255, 255, 0.75); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-col a:hover { color: var(--color-accent); }

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: var(--space-3) 0 0;
}

/* =========================================================
   Video embed (최신 설교 영상)
   ========================================================= */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--color-primary-dark);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3);
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.video-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.video-caption h3 { margin: 0; }
.video-caption .list-links { margin-top: 0.2rem; }

/* =========================================================
   Photo gallery (사진한컷) + Lightbox
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  margin: 0;
  font: inherit;
  appearance: none;
  cursor: zoom-in;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .gallery-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 40, 63, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gallery-item .gallery-zoom svg { width: 16px; height: 16px; }
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(15, 23, 33, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(90vw, 960px);
  max-height: 78vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

body.no-scroll { overflow: hidden; }

.is-hidden { display: none; }

/* =========================================================
   Admin page (관리자 페이지 - 로컬 데모)
   ========================================================= */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.7rem 1.2rem;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.admin-tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-accent); }

.admin-panel-section { display: none; }
.admin-panel-section.is-active { display: block; }

.admin-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  display: grid;
  gap: 0.9rem;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

@media (max-width: 640px) {
  .admin-form-row { grid-template-columns: 1fr; }
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form select,
.admin-form textarea,
.admin-form input[type="file"] {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
}

.admin-form textarea { resize: vertical; }

.admin-form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.admin-list { display: grid; gap: 0.7rem; }

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}

.admin-item-info { display: grid; gap: 0.2rem; }
.admin-item-info strong { color: var(--color-primary-dark); }
.admin-item-info span { font-size: 0.85rem; color: var(--color-text-muted); }
.admin-item-info p { margin: 0.2rem 0 0; font-size: 0.9rem; }

.admin-item-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

.admin-item-actions button {
  font: inherit;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-item-actions button.danger { color: #a33; border-color: #e2b8b8; background: #fdf1f1; }

.admin-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-2);
}

.admin-photo-item {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.admin-photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.admin-photo-item figcaption { padding: 0.5rem 0.7rem; font-size: 0.82rem; color: var(--color-text-muted); }

.admin-photo-item .admin-item-actions { position: absolute; top: 6px; right: 6px; }
.admin-photo-item .admin-item-actions button { background: rgba(255, 255, 255, 0.92); }

.admin-login-card { max-width: 420px; margin: 0 auto; }

.admin-photo-preview {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.admin-photo-preview img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.admin-demo-banner {
  background: #6d2b2b;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.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;
}
