/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #12212f;
  background: #f5f7fb;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

/* ============ LAYOUT HELPERS ============ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-main {
  padding: 1.5rem 0 3rem;
}

.page {
  display: none;
  padding: 2rem 0 3rem;
}

.page.active {
  display: block;
}

/* ============ HEADER ============ */

.site-header {
  background: linear-gradient(135deg, #072b4f, #0c4477);
  color: #fff;
  padding: 1rem 0 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

/* Logos row */
.header-logos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

/* Match HTML: <img class="logo-img"> */
.header-logos .logo-img {
  /* Uniform logo sizing (same height for all logos) */
  height: 48px;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Title + subtitle under logos */
.header-title h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
}

.header-title p {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Smaller on phones */
@media (max-width: 600px) {
  .header-logos .logo-img {
    height: 34px;
    max-height: 34px;
    width: auto;
    object-fit: contain;
  }

  .header-title h1 {
    font-size: 1.8rem;
  }

  .header-title p {
    font-size: 0.9rem;
  }
}

/* ============ NAVIGATION ============ */

.header-nav-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.main-nav li {
  position: relative;
}

/* Support .nav-item-has-submenu */
.main-nav li.nav-item-has-submenu {
  position: relative;
}

.main-nav a.nav-link {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: #eaf3ff;
  font-size: 0.94rem;
  transition: background 0.2s, color 0.2s;
}

.main-nav a.nav-link:hover,
.main-nav a.nav-link.active-link {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Submenu vertical dropdown */
.nav-item-has-submenu > .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: #12212f;
  border-radius: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  min-width: 210px;
  padding: 0.4rem 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.nav-item-has-submenu:hover > .submenu,
.nav-item-has-submenu:focus-within > .submenu {
  display: flex;
}

.submenu li {
  display: block;
}

.submenu a,
.submenu button {
  display: block;
  width: 100%;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  color: #12212f;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.submenu a:hover,
.submenu button:hover {
  background: #eef4ff;
}

/* nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.signed-in-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.signed-email {
  font-weight: 600;
}

/* ============ BUTTONS ============ */

.btn {
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: #ffb100;
  color: #12212f;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid #ffb100;
  color: #ffdd8a;
}

.btn-outline:hover {
  background: rgba(255, 177, 0, 0.15);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
}

.btn-small {
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
}


/* ============ ANNOUNCEMENTS ============ */

.announcement-bar {
  margin-top: 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #7c2d12;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(13, 27, 56, 0.06);
}

.announcement-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.2rem;
  padding: 0.55rem 0;
  animation: spikes-marquee 20s linear infinite;
}

.announcement-track span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0 1rem;
}

.announcement-bar strong {
  font-weight: 800;
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

@keyframes spikes-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track {
    animation: none;
    width: 100%;
    justify-content: center;
  }
}

/* Important Dates: deadline announcement */
.deadline-announce {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #7c2d12;
}

.deadline-announce-badge {
  flex: 0 0 auto;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fed7aa;
  color: #7c2d12;
  border: 1px solid #fb923c;
}

.deadline-announce-text {
  font-size: 0.9rem;
  line-height: 1.45;
}

.deadline-announce-text strong {
  font-weight: 900;
}

/* ============ HERO ============ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-text h2 {
  margin-top: 0;
  font-size: 1.9rem;
}

.hero-text p {
  margin-top: 0.5rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-meta {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.meta-item {
  background: #ffffff;
  padding: 0.45rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
}

.meta-label {
  display: block;
  font-weight: 600;
  color: #0c4477;
}

.meta-value {
  display: block;
}

.visitor-counter {
  margin-top: 0.8rem;
  background: #ffffff;
  padding: 0.45rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: 10rem;
  box-shadow: 0 3px 8px rgba(13, 27, 56, 0.06);
}

.visitor-counter .meta-value {
  font-weight: 700;
}

/* ============ CARDS, LAYOUT ============ */

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 10px rgba(13, 27, 56, 0.08);
}

.page-header h2 {
  margin: 0 0 0.4rem;
}

.page-header p {
  margin: 0 0 1.4rem;
  color: #475569;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.2rem;
}

.left-col,
.right-col {
  min-width: 0;
}

.bullet-list {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0;
}

.bullet-list li {
  margin-bottom: 0.2rem;
}


/* ============ SPONSORS ============ */
.sponsor-card {
  /* Stretch both columns to the same height so we can vertically centre content */
  align-items: stretch;
}

.sponsor-card .left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sponsor-type {
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.sponsor-logo {
  width: 100%;
  /* Increase logo size by ~50% */
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto 0.6rem;
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

/* ============ FORMS ============ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

/* Force single-column on login/reset forms (email above password/code) */
#signinForm .form-grid,
#adminLoginForm .form-grid,
#forgotForm .form-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Login forms should be single-column even on desktop */
#signinForm .form-grid,
#adminLoginForm .form-grid {
  grid-template-columns: minmax(0, 1fr);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.form-field label {
  font-weight: 600;
  color: #1e293b;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
}

.form-field textarea {
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: #64748b;
}

.auth-page .form-hint a {
  color: #0c4477;
  text-decoration: underline;
  font-weight: 600;
}

.req {
  color: #e11d48;
}

.form-message {
  margin: 0.5rem 0 0.3rem;
  font-size: 0.85rem;
  min-height: 1.1rem;
}

.form-message.error {
  color: #b91c1c;
}

.form-message.success {
  color: #166534;
}


.auth-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.auth-links .sep {
  opacity: 0.6;
}

.text-link {
  color: #0c4477;
  text-decoration: underline;
  font-weight: 600;
}

.text-link:hover {
  background: transparent;
}

/* ============ ALERTS ============ */

.alert {
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.86rem;
}

.alert-info {
  background: #e0f2fe;
  color: #075985;
}

/* ============ EVENTS ============ */

.events-section {
  margin-top: 1.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.event-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.9rem 0.9rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.event-card h4 {
  margin-top: 0;
}

.event-tagline {
  font-size: 0.9rem;
  color: #475569;
}


.event-meta {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #334155;
}

/* ============ QR & SUMMARY ============ */

.qr-card {
  margin-top: 0.6rem;
  text-align: center;
}

.qr-image {
  max-width: 220px;
  margin: 0.5rem auto;
}

.summary-card {
  margin-top: 0.7rem;
  font-size: 0.86rem;
}

/* ============ ACCOMMODATION ============ */

.accommodation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.nested-card {
  margin-top: 0.7rem;
}


.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.2rem 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}

.acc-summary {
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.muted {
  opacity: 0.75;
  font-weight: 500;
  margin-left: 0.35rem;
}

/* ============ TABLES (still available if needed) ============ */

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table th,
.data-table td {
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.5rem;
  text-align: left;
}

.data-table thead {
  background: #e5edff;
}

.data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* dates-table (legacy) */
.dates-table td:nth-child(1) {
  font-weight: 600;
  white-space: nowrap;
}

.dates-table td:nth-child(2) {
  font-weight: 500;
}

.dates-table td:nth-child(3) {
  min-width: 220px;
}

/* ============ IMPORTANT DATES – MODERN TIMELINE ============ */

.dates-highlight {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #0c4477, #072b4f);
  color: #e5f0ff;
  margin-bottom: 1.4rem;
}

.dates-highlight h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dates-highlight-main {
  margin: 0;
  font-size: 0.95rem;
}

.dates-highlight-sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  opacity: 0.9;
}

.dates-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.dates-item {
  display: flex;
  gap: 0.85rem;
}

/* vertical line + dot */
.dates-marker {
  position: relative;
  width: 18px;
  flex: 0 0 18px;
}

.dates-marker::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffb100;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 177, 0, 0.35);
}

.dates-marker::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: -16px;
  width: 2px;
  background: rgba(15, 23, 42, 0.18);
}

.dates-item:last-child .dates-marker::after {
  display: none;
}

.dates-body {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.dates-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e0f2fe;
  color: #075985;
  margin-bottom: 0.25rem;
}

.dates-time {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 0.1rem;
}

.dates-title {
  margin: 0.1rem 0 0.15rem;
  font-size: 0.98rem;
}

.dates-venue {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* responsive tweaks for timeline */
@media (max-width: 600px) {
  .dates-body {
    padding: 0.55rem 0.7rem;
  }

  .dates-title {
    font-size: 0.94rem;
  }

  .dates-time,
  .dates-venue {
    font-size: 0.78rem;
  }
}

/* ============ IMPORTANT DATES – DAY-WISE AGENDA ============ */

.important-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.important-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.important-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.important-deadline {
  background: linear-gradient(135deg, #0c4477, #072b4f);
  border: 0;
  color: #e5f0ff;
}

.important-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(2, 132, 199, 0.12);
  color: #075985;
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.important-deadline .important-chip {
  background: rgba(255, 177, 0, 0.16);
  color: #ffe8b5;
  border: 1px solid rgba(255, 177, 0, 0.28);
}

.important-title {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.05rem;
}

.important-main {
  margin: 0;
  font-size: 0.95rem;
}

.important-sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  opacity: 0.92;
}

.important-days {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.day-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.day-card-muted {
  background: #f8fafc;
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.day-date {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.day-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #075985;
}

.day-title {
  margin: 0.25rem 0 0.6rem;
  font-size: 1.05rem;
}

.agenda-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.agenda-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.agenda-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.agenda-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.agenda-meta {
  margin-top: 0.18rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.agenda-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: #eef2ff;
  color: #3730a3;
}

.agenda-venue {
  font-size: 0.8rem;
  color: #64748b;
}

.agenda-sub {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #475569;
}

@media (max-width: 820px) {
  .important-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .agenda-item {
    grid-template-columns: 1fr;
  }

  .agenda-time {
    white-space: normal;
  }
}

/* ============ ADMIN ============ */

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.stat-card h3 {
  margin-top: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

.stat-row strong {
  font-weight: 700;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.filters-actions {
  display: flex;
  gap: 0.4rem;
  align-items: flex-end;
}

/* ============ FOOTER & SOCIAL ============ */

.site-footer {
  background: #020617;
  color: #cbd5f5;
  padding: 1.8rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-branding h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-social h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.social-links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  background: #0f172a;
  color: #e5e7eb;
}

.social-icon:hover {
  background: #1e293b;
}

.whatsapp-channel-link {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #022c22;
  color: #a7f3d0;
}

.whatsapp-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* ============ DASHBOARD / DETAILS ============ */

.details-list dt {
  font-weight: 600;
}

.details-list dd {
  margin: 0 0 0.2rem;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .header-nav-row {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 0.4rem;
  }

  .nav-item-has-submenu > .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0.4rem;
    background: rgba(15, 23, 42, 0.08);
    margin-top: 0.1rem;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 550px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Admin embedded preview */
.admin-preview-body {
  margin-top: 12px;
}

.admin-preview-frame {
  width: 100%;
  height: 520px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.admin-preview-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

/* ===== Workshop + Other events grouping (Dashboard) ===== */
.workshop-grid {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.workshop-item {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.workshop-item .meta {
  font-size: 0.95rem;
  line-height: 1.35;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ===== Paper Presentation (Step 10) ===== */
.mini-list {
  margin: 8px 0 0 18px;
  padding: 0;
}
.mini-list li {
  margin: 4px 0;
}

.word-counter {
  margin-top: 6px;
  font-size: 0.85rem;
  text-align: right;
  opacity: 0.8;
}

.status-strip {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  background: rgba(0,0,0,0.03);
}

.status-strip.success {
  border-color: rgba(0, 128, 0, 0.35);
  background: rgba(0, 128, 0, 0.06);
}

.status-strip.error {
  border-color: rgba(200, 0, 0, 0.35);
  background: rgba(200, 0, 0, 0.06);
}

.coauthor-list {
  margin: 0;
  padding-left: 18px;
}

.coauthor-list li {
  margin: 6px 0;
}

.coauthor-ok {
  font-weight: 600;
}

.coauthor-bad {
  font-weight: 600;
}


.form-grid.single {
  grid-template-columns: 1fr;
}


/* ===== Schedule Advisor (Clash Check) ===== */
.schedule-hint{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(0,0,0,0.22);
  border-radius: 14px;
  background: rgba(0,0,0,0.02);
}
.schedule-hint-title{
  font-weight: 700;
  margin-bottom: 6px;
}
.schedule-hint-sub{
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 10px;
}
.schedule-hint-ok{
  font-weight: 600;
  margin: 6px 0 10px;
}
.schedule-hint-warn{
  font-weight: 700;
  margin: 6px 0 10px;
}
.schedule-hint-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.schedule-hint-coltitle{
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.schedule-hint ul{
  margin: 0 0 0 18px;
  padding: 0;
}
@media (max-width: 720px){
  .schedule-hint-cols{ grid-template-columns: 1fr; }
}
