:root {
  --sky-cyan: #00cfd8;
  --sky-cyan-deep: #00b2be;
  --sun-yellow: #f5e700;
  --berry-pink: #f63764;
  --royal-blue: #006ede;
  --lime-green: #6ccd28;
  --coral-red: #fc3939;
  --ink: #1a2433;
  --ink-muted: #4b5b6b;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.94);
  --shadow-lg: 0 22px 50px rgba(0, 86, 102, 0.24);
  --shadow-md: 0 12px 28px rgba(0, 86, 102, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --font-heading: 'Berkshire Swash', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--sky-cyan);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

/* ==========================================================================
   Themed Sky Scene Backdrop (inspired by bg.svg)
   ========================================================================== */

.sky-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #00d6df 0%, #00cfd8 58%, #22dde5 100%);
}

.sky-backdrop svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sky-bunting-left,
.sky-bunting-right {
  position: fixed;
  top: 0;
  z-index: 2;
  pointer-events: none;
  width: clamp(160px, 24vw, 310px);
  height: auto;
}

.sky-bunting-left {
  left: 0;
}

.sky-bunting-right {
  right: 0;
}

.sky-sparkle {
  animation: twinkle 3.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.sky-sparkle:nth-child(2n) {
  animation-delay: 1.2s;
}

.sky-sparkle:nth-child(3n) {
  animation-delay: 2.3s;
}

.sky-cloud-drift {
  animation: cloudDrift 28s ease-in-out infinite alternate;
}

.sky-cloud-drift-slow {
  animation: cloudDrift 38s ease-in-out infinite alternate-reverse;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

@keyframes cloudDrift {
  0% {
    transform: translateX(-16px);
  }
  100% {
    transform: translateX(18px);
  }
}

/* ==========================================================================
   Buttons & Shared Controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  box-shadow: 0 6px 18px rgba(0, 74, 88, 0.18);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 74, 88, 0.24);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--berry-pink);
  color: #ffffff;
}

.btn-primary:hover {
  background: #e32755;
}

.btn-yellow {
  background: var(--sun-yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: #ebd900;
}

.btn-blue {
  background: var(--royal-blue);
  color: #ffffff;
}

.btn-blue:hover {
  background: #005dc0;
}

.btn-green {
  background: var(--lime-green);
  color: #ffffff;
}

.btn-green:hover {
  background: #5ab61c;
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
}

.btn-white:hover {
  background: #f4f9fb;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #ffffff;
}

.btn-danger {
  background: var(--coral-red);
  color: #ffffff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Kite SVG Animations
   ========================================================================== */

.kite-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(0, 78, 92, 0.2));
}

.kite-tail {
  transform-origin: 110px 185px;
  animation: tailFlutter 3.2s ease-in-out infinite;
}

@keyframes tailFlutter {
  0%,
  100% {
    transform: rotate(-3.5deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

/* ==========================================================================
   Page 1: Sky Canvas & Event Auto-Play Slideshow (GET /)
   ========================================================================== */

.sky-page {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
}

.sky-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
  pointer-events: none;
  max-width: min(760px, 76vw);
  padding: 8px 24px;
}

.sky-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  color: #ffffff;
  text-shadow: 0 3px 0 rgba(0, 110, 222, 0.24), 0 8px 22px rgba(0, 72, 86, 0.26);
  line-height: 1.15;
}

.sky-header p {
  margin: 4px 0 0;
  font-size: clamp(0.85rem, 1.3vw, 1.02rem);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 72, 86, 0.24);
}

.sky-controls {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.sky-page.kiosk-mode .sky-controls,
.sky-page.kiosk-mode .sky-fullscreen-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sky-page.kiosk-mode:hover .sky-controls,
.sky-page.kiosk-mode:hover .sky-fullscreen-btn {
  opacity: 0.92;
  pointer-events: auto;
}

.sky-fullscreen-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 35;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, opacity 0.25s ease;
}

.sky-fullscreen-btn:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.sky-fullscreen-btn:active {
  transform: scale(0.98);
}

.sky-fullscreen-btn .icon-exit {
  display: none;
}

.sky-fullscreen-btn.is-fullscreen .icon-enter {
  display: none;
}

.sky-fullscreen-btn.is-fullscreen .icon-exit {
  display: block;
}

.sky-stage {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  transform-origin: 0 0;
}

.sky-stage.is-dimmed .flying-kite:not(.is-focused) {
  opacity: 0.28;
  filter: blur(1.5px);
}

.flying-kite {
  position: absolute;
  top: 0;
  left: 0;
  width: 148px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  text-align: center;
  will-change: transform;
  transition: opacity 0.45s ease, filter 0.45s ease;
  outline: none;
}

.flying-kite:focus-visible .kite-tag,
.flying-kite:hover .kite-tag {
  background: var(--sun-yellow);
  transform: translateX(-50%) scale(1.06);
}

.flying-kite:hover .kite-visual {
  transform: scale(1.08);
}

.kite-visual {
  transition: transform 0.24s ease;
}

.kite-tag {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 74, 88, 0.2);
  white-space: nowrap;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sky-empty-state {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #ffffff;
}

.sky-empty-state h2 {
  font-size: 2.2rem;
  margin: 0 0 8px;
  text-shadow: 0 4px 16px rgba(0, 72, 86, 0.25);
}

.sky-empty-state p {
  margin: 0 0 20px;
  max-width: 440px;
  font-size: 1.05rem;
}

/* Spotlight / Zoomed Message Modal */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 72, 88, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.spotlight-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(260px, 460px);
  align-items: center;
  gap: 28px;
  max-width: min(820px, 94vw);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 30px;
  padding: 36px 40px;
  box-shadow: 0 30px 70px rgba(0, 62, 78, 0.34);
  border: 4px solid #ffffff;
  transform: scale(0.76) translateY(24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.spotlight-overlay.is-open .spotlight-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.spotlight-kite {
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  animation: gentleBob 4.2s ease-in-out infinite;
}

@keyframes gentleBob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.spotlight-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--royal-blue);
  background: rgba(0, 110, 222, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.spotlight-to {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: var(--berry-pink);
  line-height: 1.12;
  word-break: break-word;
}

.spotlight-body {
  margin: 0 0 22px;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.spotlight-from {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
  color: var(--ink-muted);
}

.spotlight-from span {
  font-family: var(--font-heading);
  font-size: 1.25em;
  color: var(--royal-blue);
  font-weight: 400;
  margin-left: 4px;
}

.spotlight-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 36, 51, 0.08);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.spotlight-close:hover {
  background: rgba(26, 36, 51, 0.16);
  transform: scale(1.06);
}

.spotlight-progress-track {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 14px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(0, 110, 222, 0.12);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.spotlight-progress-track.is-active {
  opacity: 1;
}

.spotlight-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--berry-pink), var(--sun-yellow), var(--lime-green));
  border-radius: var(--radius-pill);
}

.autoplay-pill {
  position: fixed;
  top: 18px;
  right: 64px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.autoplay-pill.is-visible {
  opacity: 1;
}

.autoplay-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-green);
  animation: pulseDot 1.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

@media (max-width: 720px) {
  .spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px 32px;
    gap: 14px;
  }
  .spotlight-kite {
    max-width: 140px;
  }
  .sky-controls {
    width: calc(100vw - 24px);
    bottom: 12px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   Page 2: Student Submit & Kite Builder (GET /submit)
   ========================================================================== */

.page-shell {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 60px;
}

.top-nav {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 72, 86, 0.25);
}

.submit-card {
  width: 100%;
  max-width: 920px;
  background: var(--surface-soft);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.submit-intro {
  text-align: center;
  margin-bottom: 26px;
}

.submit-intro h1 {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--royal-blue);
}

.submit-intro p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.submit-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 32px;
  align-items: start;
}

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

.kite-picker-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #00d4de 0%, #7eeef3 100%);
  border-radius: 22px;
  padding: 22px 18px 20px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
}

.kite-preview-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 195px;
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.kite-preview-btn:hover {
  transform: scale(1.04) rotate(2deg);
}

.kite-preview-btn.is-popping {
  animation: kitePop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kite-preview-btn.is-launching {
  animation: kiteLaunch 1.15s cubic-bezier(0.2, 0.85, 0.3, 1) forwards;
}

@keyframes kitePop {
  0% {
    transform: scale(0.84) rotate(-8deg);
  }
  60% {
    transform: scale(1.09) rotate(4deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes kiteLaunch {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  30% {
    transform: translateY(12px) scale(0.96) rotate(-5deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-420px) translateX(70px) scale(0.65) rotate(14deg);
    opacity: 0;
  }
}

.kite-picker-hint {
  margin: 8px 0 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 72, 86, 0.3);
}

.form-group {
  margin-bottom: 18px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.char-count {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.form-control {
  width: 100%;
  border: 2px solid #d7e6ec;
  border-radius: 14px;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(0, 110, 222, 0.14);
}

textarea.form-control {
  resize: vertical;
  min-height: 128px;
  line-height: 1.5;
}

.form-error {
  background: rgba(252, 57, 57, 0.1);
  color: #b71c1c;
  border: 1px solid rgba(252, 57, 57, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.submit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.release-success {
  text-align: center;
  padding: 20px 10px;
}

.release-success-kite {
  width: 155px;
  margin: 0 auto 12px;
  animation: gentleBob 3.6s ease-in-out infinite;
}

.release-success h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--berry-pink);
}

.release-success p {
  margin: 0 auto 24px;
  max-width: 480px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Page 3: Lightweight Admin Moderation (GET /admin & /admin/login)
   ========================================================================== */

.login-card {
  width: 100%;
  max-width: 420px;
  margin-top: 6vh;
  background: var(--surface-soft);
  border-radius: 26px;
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: var(--royal-blue);
}

.login-card p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.login-card .form-group {
  text-align: left;
}

.admin-panel {
  width: 100%;
  max-width: 1040px;
  background: var(--surface-soft);
  backdrop-filter: blur(12px);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(0, 110, 222, 0.1);
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--royal-blue);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: #edf6f8;
  color: var(--ink-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tab-link:hover {
  background: #dff0f4;
  color: var(--ink);
}

.tab-link.is-active {
  background: var(--royal-blue);
  color: #ffffff;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(26, 36, 51, 0.1);
}

.tab-link.is-active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 20px;
  border: 2px solid #e6f1f4;
  box-shadow: 0 4px 14px rgba(0, 72, 86, 0.06);
  transition: border-color 0.15s ease, opacity 0.25s ease;
}

.admin-card:hover {
  border-color: #bfe7ef;
}

@media (max-width: 720px) {
  .admin-card {
    grid-template-columns: 60px 1fr;
  }
  .admin-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

.admin-kite-thumb {
  width: 72px;
}

.admin-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.admin-card-to {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--berry-pink);
}

.status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.status-pending {
  background: #fff5cc;
  color: #8c6500;
}

.status-approved {
  background: #e4f7d6;
  color: #2d6a08;
}

.status-rejected {
  background: #ffe1e1;
  color: #a61c1c;
}

.admin-card-body {
  margin: 0 0 8px;
  line-height: 1.5;
  color: var(--ink);
  white-space: pre-wrap;
}

.admin-card-from {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.admin-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-empty {
  text-align: center;
  padding: 44px 16px;
  color: var(--ink-muted);
}

.admin-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.admin-edit-form .form-control {
  padding: 8px 12px;
  font-size: 0.92rem;
}

.admin-edit-form textarea.form-control {
  min-height: 76px;
}
