/* ============================================
   LATELA HIJAB — Global Stylesheet
   ============================================ */

:root {
  --white: #ffffff;
  --soft-pink: #fff0f5;
  --soft-pink-2: #ffe4ee;
  --magenta: #e83e8c;
  --magenta-dark: #c2185b;
  --charcoal: #1f1f24;
  --charcoal-2: #2a2a30;
  --text: #2b2b2f;
  --text-muted: #6b6b73;
  --gray-bg: #f4f4f6;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(232, 62, 140, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }

p { margin: 0 0 1em; color: var(--text); }

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

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

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--magenta);
  display: inline-block;
  margin-bottom: 1rem;
}

.magenta { color: var(--magenta); }
.italic { font-style: italic; }

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  transition: all .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 42px;
  width: auto;
  transition: height .3s var(--ease);
}
.nav.scrolled .nav-logo img { height: 36px; }
.nav-logo-fallback {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--magenta);
  letter-spacing: .02em;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--magenta);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--magenta); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.shop-link {
  padding: 9px 20px;
  background: var(--magenta);
  color: var(--white);
  border-radius: 999px;
  font-weight: 500;
}
.nav-links a.shop-link:hover {
  background: var(--magenta-dark);
  color: var(--white);
}
.nav-links a.shop-link::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px; height: 32px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--charcoal);
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 28px;
    gap: 18px;
    border-top: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline {
  border-color: var(--magenta);
  color: var(--magenta);
  background: transparent;
}
.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-solid {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}
.btn-solid:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   SECTIONS — Shared
   ============================================ */
section { padding: clamp(70px, 9vw, 120px) 0; }
.section-pink { background: var(--soft-pink); }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-bg); }
.section-dark { background: var(--charcoal); color: #e9e9ec; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: .4em;
}
.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(232, 62, 140, .06) 0 14px,
      rgba(232, 62, 140, .11) 14px 28px
    ),
    var(--soft-pink);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-ph .ph-label {
  position: absolute;
  bottom: 18px; left: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  color: var(--charcoal);
  background: rgba(255,255,255,.85);
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}
.img-ph.square { aspect-ratio: 1 / 1; }
.img-ph.landscape { aspect-ratio: 16 / 10; }
.img-ph.doc { aspect-ratio: 3 / 4.2; border-radius: 10px; background:
  repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 14px, rgba(0,0,0,.08) 14px 28px),
  #fbfbfc; }

/* ============================================
   HERO — index
   ============================================ */
.hero {
  padding-top: clamp(140px, 16vw, 180px);
  padding-bottom: clamp(70px, 9vw, 110px);
  background: linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px; right: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle at center, rgba(232, 62, 140, .12), transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  margin-bottom: 1.4rem;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}

/* ============================================
   MILESTONES
   ============================================ */
.milestones {
  background: var(--charcoal);
  color: #efeff1;
}
.milestones .container {
  text-align: center;
}
.milestones h2 { color: #fff; margin-bottom: 12px; }
.milestones .section-lede { color: rgba(255,255,255,.6); margin: 0 auto 60px; }
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}
@media (max-width: 820px) { .counters { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; } }
.counter {
  text-align: center;
  position: relative;
}
.counter:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px; top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,.1);
}
@media (max-width: 820px) { .counter::after { display: none; } }
.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  color: var(--magenta);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.counter-label {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ============================================
   COMMITMENTS
   ============================================ */
.commit-vision {
  max-width: 68ch;
  margin: 0 auto 70px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--charcoal);
  line-height: 1.55;
}
.commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .commit-grid { grid-template-columns: 1fr; } }
.commit-card {
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all .35s var(--ease);
}
.commit-card:hover {
  transform: translateY(-6px);
  border-color: var(--magenta);
  box-shadow: var(--shadow-lg);
}
.commit-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--magenta);
  font-size: 1.1rem;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.commit-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.commit-card p { font-size: .94rem; color: var(--text-muted); margin: 0; }

/* ============================================
   CORE VALUES
   ============================================ */
.values-header { text-align: center; margin-bottom: 60px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 36px 24px;
  background: var(--soft-pink);
  border-radius: var(--radius);
  text-align: left;
  transition: all .4s var(--ease);
  border: 1px solid transparent;
}
.value-card:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.value-card:hover h3,
.value-card:hover .value-icon svg { color: #fff; stroke: #fff; }
.value-card:hover p { color: rgba(255,255,255,.7); }
.value-icon {
  width: 44px; height: 44px;
  color: var(--magenta);
  margin-bottom: 22px;
  transition: color .3s var(--ease);
}
.value-icon svg { width: 100%; height: 100%; stroke: currentColor; transition: stroke .3s var(--ease); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; transition: color .3s var(--ease); }
.value-card p { font-size: .88rem; color: var(--text-muted); margin: 0; transition: color .3s var(--ease); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.75);
  padding: 80px 0 32px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.footer-brand-italic {
  font-style: italic;
  color: var(--magenta);
}
.footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer p { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; }
.footer a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer a:hover { color: var(--magenta); }
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  transition: all .3s var(--ease);
  border: 1px solid rgba(255,255,255,.08);
}
.social-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  transform: translateY(-3px);
}
.social-btn svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .3s var(--ease);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================
   AOS-lite — scroll reveal
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--aos-delay, 0ms);
}
[data-aos="fade-right"] { transform: translateX(-32px); }
[data-aos="fade-left"] { transform: translateX(32px); }
[data-aos="zoom-in"] { transform: scale(.92); }
[data-aos].in-view {
  opacity: 1;
  transform: none;
}

/* ============================================
   CSR — Hero
   ============================================ */
.csr-hero {
  background: var(--soft-pink);
  padding-top: clamp(160px, 18vw, 200px);
  padding-bottom: clamp(80px, 10vw, 120px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.csr-hero::before, .csr-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232, 62, 140, .12), transparent 70%);
}
.csr-hero::before { top: -100px; left: -100px; width: 360px; height: 360px; }
.csr-hero::after { bottom: -140px; right: -140px; width: 460px; height: 460px; }
.csr-hero .container { position: relative; z-index: 2; }
.yubi-logo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 6px solid #fff;
}
.yubi-logo img { width: 100%; height: 100%; object-fit: contain; }
.csr-tag {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 18px;
}
.csr-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 20ch;
  margin: 0 auto 20px;
}
.csr-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 44ch;
  margin: 0 auto;
}

/* CSR Quote */
.quote-block {
  text-align: center;
  padding: clamp(80px, 10vw, 130px) 0;
}
.quote-block::before {
  content: '“';
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: .8;
  color: var(--magenta);
  margin-bottom: 20px;
  font-weight: 700;
}
.quote-block blockquote {
  margin: 0 auto;
  max-width: 26ch;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--charcoal);
}

/* CSR Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-bottom: 50px;
}
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item .img-ph { height: 100%; aspect-ratio: auto; border-radius: var(--radius); }
.gallery-cta { text-align: center; }

/* Legality docs */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
}
.doc-card { text-align: center; }
.doc-card h4 {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ============================================
   CAREER
   ============================================ */
.career-hero {
  background: var(--soft-pink);
  padding-top: clamp(160px, 18vw, 200px);
  padding-bottom: clamp(80px, 10vw, 110px);
}
.career-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.career-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 46ch; }

.app-center {
  padding: clamp(70px, 9vw, 110px) 0;
}
.app-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.app-card h2 { margin-bottom: 12px; }
.app-card .section-lede { margin: 0 auto 50px; }
.app-options {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: stretch;
  text-align: left;
  margin-top: 20px;
}
@media (max-width: 780px) {
  .app-options { grid-template-columns: 1fr; gap: 40px; }
  .app-divider { display: none; }
}
.app-divider { background: var(--border); }
.app-option .opt-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--magenta);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.app-option h3 { font-size: 1.4rem; margin-bottom: 12px; }
.app-option p { color: var(--text-muted); font-size: .96rem; }
.qr-box {
  width: 160px; height: 160px;
  margin-top: 22px;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qr-inner {
  width: 100%; height: 100%;
  background:
    linear-gradient(#000 0 0) top left / 30% 30% no-repeat,
    linear-gradient(#000 0 0) top right / 30% 30% no-repeat,
    linear-gradient(#000 0 0) bottom left / 30% 30% no-repeat,
    repeating-conic-gradient(#000 0 25%, #fff 0 50%) 50% 50% / 14px 14px,
    #fff;
  border-radius: 6px;
}
.email-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--magenta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.email-link:hover { color: var(--magenta-dark); }

/* Dynamic application and admin */
.application-form { display: grid; gap: 13px; text-align: left; }
.application-form label, .admin-form label, .settings-form label { display: grid; gap: 6px; color: var(--text); font-size: .86rem; font-weight: 600; }
.application-form input, .application-form textarea, .admin-form input, .admin-form textarea, .admin-form select, .settings-form input, .settings-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); padding: 10px 12px; font: inherit; font-size: .92rem;
}
.application-form textarea, .admin-form textarea, .settings-form textarea { resize: vertical; }
.application-form input:focus, .application-form textarea:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .settings-form input:focus, .settings-form textarea:focus { outline: 2px solid rgba(232,62,140,.25); border-color: var(--magenta); }
.application-form small { color: #b42318; margin-top: -9px; }
.application-form .btn { justify-self: start; margin-top: 5px; }
.flash-success, .flash-error { margin: 18px 0; padding: 12px 15px; border-radius: 8px; font-size: .9rem; text-align: left; }
.flash-success { background: #ecfdf3; border: 1px solid #a6f4c5; color: #067647; }
.flash-error { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }

.admin-body, .login-body { background: #f8f7f8; color: #242126; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0,1fr); }
.admin-sidebar { padding: 32px 20px; background: #241920; color: #f9edf2; display: flex; flex-direction: column; gap: 32px; }
.admin-brand, .login-brand { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.admin-brand em, .login-brand em { color: var(--magenta); font-weight: 500; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { color: #e7dce1; padding: 10px 12px; border-radius: 7px; text-decoration: none; font-size: .9rem; }
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-logout { margin-top: auto; border: 0; background: transparent; color: #f5c5d8; padding: 0 12px; cursor: pointer; font: inherit; }
.admin-main { max-width: 1400px; width: 100%; padding: 38px clamp(24px, 5vw, 64px); margin: 0 auto; }
.admin-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-header span { color: var(--magenta); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.admin-header h1 { margin: 4px 0 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.admin-user { color: var(--text-muted); font-size: .85rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat, .admin-panel { background: #fff; border: 1px solid #eee3e8; border-radius: 14px; box-shadow: 0 6px 20px rgba(66,31,46,.05); }
.admin-stat { padding: 22px; display: grid; gap: 8px; }
.admin-stat span { color: var(--text-muted); font-size: .82rem; }.admin-stat strong { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--magenta); }
.admin-panel { padding: clamp(20px, 3vw, 32px); margin-bottom: 22px; }.admin-panel h2 { font-size: 1.3rem; margin: 0 0 18px; }.panel-intro { color: var(--text-muted); margin: 0 0 22px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }.panel-title h2 { margin: 0; }.panel-title a, .application-row a { color: var(--magenta); font-size: .88rem; font-weight: 600; }
.recent-row { padding: 15px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); }.recent-row div { display: grid; gap: 4px; }.recent-row span { color: var(--text-muted); font-size: .85rem; }
.status-badge { align-self: center; background: var(--soft-pink); color: var(--magenta) !important; padding: 4px 8px; border-radius: 999px; font-weight: 600; }
.admin-form { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px 18px; align-items: end; }.admin-form .btn { justify-self: start; }.compact-form { grid-template-columns: repeat(5, minmax(0,1fr)); }.item-form { padding: 20px 0 12px; border-top: 1px solid var(--border); }.check-label { display: flex !important; align-items: center; gap: 8px !important; align-self: end; padding: 10px 0; }.check-label input { width: auto; }
.delete-form { margin: -6px 0 14px; }.delete-form button { border: 0; padding: 0; background: transparent; color: #b42318; font: inherit; font-size: .82rem; cursor: pointer; }
.settings-form { display: grid; gap: 18px; max-width: 900px; }.settings-form .btn { justify-self: start; }
.settings-form { max-width: 1100px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.settings-field-wide { grid-column: 1 / -1; }
.settings-section h2 { margin-bottom: 22px; }
.settings-form small, .branding-field small { color: var(--text-muted); font-size: .76rem; font-weight: 400; line-height: 1.4; }
.form-error { color: #b42318 !important; }
.branding-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.branding-field { display: grid; gap: 11px; align-content: start; }
.branding-label { color: var(--text-muted); font-size: .8rem; font-weight: 600; }
.logo-preview, .favicon-preview { display: grid; place-items: center; min-height: 104px; padding: 18px; border: 1px dashed #dfcbd4; border-radius: 10px; background: #fff8fb; }
.logo-preview img { max-width: min(100%, 260px); max-height: 76px; object-fit: contain; }.favicon-preview { width: 104px; }.favicon-preview img { width: 56px; height: 56px; object-fit: contain; }
.admin-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }.admin-gallery-item { padding: 16px; border: 1px solid var(--border); border-radius: 10px; }.admin-gallery-item > img { height: 220px; width: 100%; border-radius: 7px; object-fit: cover; margin-bottom: 14px; }.admin-gallery-item .admin-form { grid-template-columns: 1fr 1fr; }
.applications-list { display: grid; }.application-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px 0; border-top: 1px solid var(--border); }.application-row:first-child { border-top: 0; padding-top: 0; }.application-copy h2 { margin: 0 0 5px; font-size: 1.15rem; }.application-copy p { margin: 8px 0; color: var(--text-muted); font-size: .9rem; white-space: pre-line; }.status-form { display: grid; align-content: start; gap: 8px; min-width: 140px; }.status-form select { border: 1px solid var(--border); border-radius: 7px; padding: 8px; font: inherit; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #fff7fa, #f3eaf0); }.login-card { width: min(100%, 410px); background: #fff; padding: 42px; border-radius: 16px; box-shadow: 0 15px 40px rgba(66,31,46,.12); }.login-card h1 { font-size: 2rem; margin: 34px 0 8px; }.login-card > p { color: var(--text-muted); margin-bottom: 28px; }
@media (max-width: 950px) { .admin-shell { grid-template-columns: 1fr; }.admin-sidebar { padding: 20px; gap: 16px; }.admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }.admin-sidebar form { display:none; }.admin-stats { grid-template-columns: repeat(2, 1fr); }.admin-form, .compact-form { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .admin-main { padding: 28px 16px; }.admin-sidebar nav { grid-template-columns: 1fr 1fr; }.admin-header { align-items: flex-start; flex-direction: column; }.admin-stats, .admin-form, .compact-form, .admin-gallery, .settings-grid, .branding-grid { grid-template-columns: 1fr; }.application-row { grid-template-columns: 1fr; }.status-form { min-width: 0; }.login-card { padding: 30px 22px; } }
