/* ==========================================================================
   INDONESIA-KOREA HEALTHCARE COLLABORATION PROGRAM
   DESIGN SYSTEM & STYLESHEET (Compliant with design.md)
   ========================================================================== */

/* 1. DESIGN TOKENS */
:root {
  /* Brand Colors */
  --blue-600: #0B75C3;
  --blue-700: #0A5FA0;
  --blue-800: #1B3A6B;
  --cyan-500: #1AA9E0;
  --blue-mid: #1F5FAD;

  /* Surface Colors */
  --bg-page: #F7FAFC;
  --bg-sky: #E4F3FB;
  --bg-sky-strong: #A9DAF5;
  --surface: #FFFFFF;
  --border: #D6E6F2;

  /* Text Colors */
  --text-strong: #12233F;
  --text-body: #1E2433;
  --text-muted: #5B6B80;
  --text-inverse: #FFFFFF;

  /* Accent & States */
  --sakura: #F4B6C2;
  --success: #2E9E5B;
  --error: #D64545;
  --focus-ring: rgba(11, 117, 195, 0.35);

  /* Gradients (design.md Section 2) */
  --grad-title: linear-gradient(90deg, #0B6DBF 0%, #1AA9E0 100%);
  --grad-hero: linear-gradient(180deg, #F7FAFC 0%, #CBE9F8 55%, #8FCDEF 100%);
  --grad-cta: linear-gradient(90deg, #0B75C3 0%, #1AA9E0 100%);
  --grad-footer: linear-gradient(180deg, #1B3A6B 0%, #12284C 100%);

  /* Typography (design.md Section 3) */
  --font-heading: 'Montserrat', 'Noto Sans KR', sans-serif;
  --font-body: 'Poppins', 'Noto Sans KR', sans-serif;

  /* Shape & Elevation (design.md Section 12) */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 16px 48px rgba(18, 40, 76, 0.08);
  --shadow-btn: 0 8px 24px rgba(11, 117, 195, 0.28);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;

  /* Backward Compatibility Aliases */
  --primary: var(--blue-600);
  --dark: var(--blue-800);
  --line: var(--border);
  --muted: var(--text-muted);
  --background: var(--bg-page);
  --foreground: var(--text-body);
}

/* 2. BASE RESET & ACCESSIBILITY */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.2;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* 3. BUTTONS (design.md Section 6.3) */
.btn-primary {
  background: var(--grad-cta);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s cubic-bezier(.2,.8,.2,1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 117, 195, 0.36);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.btn-primary .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  border: 2px solid var(--blue-600);
  color: var(--blue-600);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--blue-600);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-outline:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.full-button {
  width: 100%;
}

/* 4. NAVBAR (design.md Section 6.1) */
.topbar {
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.topbar-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Segmented Language Switcher (design.md Section 6.1 & 9) */
.lang-segmented {
  display: inline-flex;
  align-items: center;
  background: #EAF3FA;
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-item {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-800);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lang-item:hover:not(.active) {
  color: var(--blue-600);
}

.lang-item.active {
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(11, 117, 195, 0.25);
}

/* 5. HERO SECTION (design.md Section 6.2) */
.hero-section {
  position: relative;
  background: var(--grad-hero);
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.hero-main-title {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-strong);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.title-bold {
  color: var(--text-strong);
}

.title-gradient {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-date-venue-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--blue-800);
  box-shadow: 0 4px 16px rgba(18, 40, 76, 0.05);
  margin-bottom: 28px;
}

.hero-date-venue-pill svg {
  color: var(--blue-600);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-welcome-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-banner-frame {
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid #ffffff;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.hero-banner-frame:hover {
  transform: translateY(-4px);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  display: block;
}

.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-wave-bottom svg {
  width: 100%;
  height: 48px;
  display: block;
}

/* 6. INFO STRIP (design.md Section 6.4) */
.info-strip-section {
  padding: 24px 24px 48px;
  background: var(--bg-page);
}

.info-strip-container {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(18, 40, 76, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(18, 40, 76, 0.06);
}

.info-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #EBF4FA;
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.info-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.25;
}

/* 7. PARTNER BLOCK (Unified Collaboration Strip + Organizer) */
.partner-block-section {
  padding: 40px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-container {
  max-width: var(--container);
  margin: 0 auto;
}

.partner-collaboration-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.partner-all-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.partner-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.partner-single-strip-wrap {
  width: 100%;
  display: flex;
  align-items: center;
}

.partner-single-strip-standalone {
  justify-content: center;
}

.partner-single-strip-standalone .partner-strip-img {
  max-width: 1100px;
  max-height: 105px;
  object-position: center;
  margin: 0 auto;
}

.partner-strip-img {
  width: 100%;
  max-width: 980px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: transform 0.2s ease;
}

.partner-strip-img:hover {
  transform: scale(1.01);
}

.partner-v-separator {
  width: 1px;
  height: 84px;
  background: var(--border);
  flex-shrink: 0;
}

.partner-organizer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.partner-organizer-wrap {
  display: flex;
  align-items: center;
  min-height: 60px;
}

.partner-organizer-logo {
  height: 60px;
  max-width: 170px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.partner-organizer-logo:hover {
  transform: scale(1.03);
}

/* 8. EVENT FLOW & RUNDOWN (design.md Section 6.6 & 6.7) */
.rundown-section {
  padding: 96px 24px;
  background: var(--bg-sky);
}

.rundown-container {
  max-width: var(--container);
  margin: 0 auto;
}

.rundown-heading {
  text-align: left;
  max-width: 700px;
  margin-bottom: 40px;
}

.program-structure-pill {
  display: inline-block;
  padding: 6px 18px;
  background: var(--blue-600);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(11, 117, 195, 0.2);
}

.rundown-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--blue-800);
  margin: 12px 0 6px;
  letter-spacing: -0.03em;
}

.rundown-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stepper 8 Langkah (design.md Section 6.6) */
.event-flow-wrapper {
  overflow-x: auto;
  padding: 10px 0 25px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-600) rgba(0,0,0,0.05);
}

.event-flow-wrapper::-webkit-scrollbar {
  height: 6px;
}

.event-flow-wrapper::-webkit-scrollbar-thumb {
  background: var(--blue-600);
  border-radius: 4px;
}

.event-flow-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 8px 4px;
}

.flow-card {
  position: relative;
  width: 165px;
  min-height: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 18px rgba(18, 40, 76, 0.04);
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s cubic-bezier(.2,.8,.2,1);
}

.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 117, 195, 0.12);
}

.flow-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--blue-600);
  background: #ffffff;
  color: var(--blue-600);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.flow-card:hover .flow-card-badge {
  background: var(--blue-600);
  color: #ffffff;
}

.flow-card-icon {
  margin-top: 14px;
  margin-bottom: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-strong);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.flow-card-time {
  margin-top: 12px;
  padding: 5px 10px;
  background: #f0f7ff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.flow-arrow {
  color: var(--blue-600);
  font-size: 20px;
  font-weight: 900;
  opacity: 0.6;
  user-select: none;
}

/* Detailed Rundown Table (design.md Section 6.7) */
.rundown-table-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.rundown-table-header {
  display: grid;
  grid-template-columns: 160px 100px 1fr;
  gap: 20px;
  padding: 18px 26px;
  background: var(--blue-800);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-items: center;
}

.col-time, .col-duration, .col-agenda {
  display: block;
}

.rundown-session-banner {
  background: linear-gradient(90deg, #E8F4FD 0%, #F5FAFD 100%);
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 2px solid var(--blue-600);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.rundown-session-banner::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 18px;
  background: var(--blue-600);
  border-radius: 3px;
  flex-shrink: 0;
}

.rundown-row {
  display: grid;
  grid-template-columns: 160px 100px 1fr;
  gap: 20px;
  padding: 20px 26px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
  transition: background 0.15s ease;
}

.rundown-row:nth-child(even) {
  background: #F7FAFD;
}

.row-time-cell {
  display: flex;
  align-items: flex-start;
}

.row-time {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.row-duration-cell {
  display: flex;
  align-items: flex-start;
}

.row-duration-pill {
  display: inline-block;
  padding: 4px 10px;
  background: #EBF4FA;
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.row-agenda-cell {
  display: flex;
  flex-direction: column;
}

.row-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

.row-detail {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.row-detail strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* 9. RSVP & PERSONAL ACCESS (#rsvp) (design.md Section 6.8 & 6.9) */
.rsvp-section {
  padding: 96px 24px;
  background: var(--bg-page);
}

.rsvp-container {
  max-width: var(--container);
  margin: 0 auto;
}

.rsvp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: flex-start;
}

.rsvp-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.rsvp-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-strong);
  margin: 8px 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rsvp-subtext {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.rsvp-main-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-strong);
}

.form-group label .req {
  color: var(--blue-600);
}

.form-group label .opt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
}

.form-group input {
  height: 50px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #FAFDFF;
  color: var(--text-strong);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--blue-600);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.confirmed-action-box {
  margin-top: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--grad-cta);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 117, 195, 0.35);
}

/* E-Ticket Panel (design.md Section 6.9) */
.rsvp-ticket-panel {
  position: sticky;
  top: 96px;
}

.ticket-notch-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ticket-label {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ticket-pass-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.ticket-pass-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: -0.03em;
}

.ticket-category-pill {
  font-size: 11px;
  font-weight: 800;
  background: #e8f0fe;
  color: var(--blue-800);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* Ticket Notches & Dashed Divider */
.ticket-divider-wrap {
  position: relative;
  margin: 22px -26px 18px;
  display: flex;
  align-items: center;
}

.ticket-notch {
  width: 22px;
  height: 22px;
  background: var(--bg-page);
  border-radius: 50%;
  position: absolute;
  z-index: 2;
}

.notch-left {
  left: -11px;
  border-right: 1px solid var(--border);
}

.notch-right {
  right: -11px;
  border-left: 1px solid var(--border);
}

.ticket-divider {
  border: none;
  border-top: 1.5px dashed #c9d8e9;
  width: 100%;
}

.ticket-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.ticket-guest-info {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ticket-field-label {
  display: block;
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ticket-guest-name {
  display: block;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ticket-guest-aff {
  display: block;
  color: #52748c;
  font-size: 11.5px;
  line-height: 1.35;
  margin-top: 2px;
}

.ticket-seat-box {
  margin-top: 12px;
}

.ticket-seat-val {
  display: block;
  color: var(--blue-800);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.ticket-qr-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 4px 14px rgba(18, 40, 76, 0.05);
}

#qr-code-canvas {
  display: block;
  width: 100px;
  height: 100px;
  max-width: 100%;
}

.qr-sublabel {
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue-800);
  margin-top: 4px;
  text-align: center;
}

.ticket-1d-box {
  margin-top: 16px;
  padding: 10px 8px 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

#barcode-1d-svg {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 56px;
  display: block;
  margin: 0 auto;
}

.barcode-sublabel {
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

.ticket-token-badge {
  font-family: monospace;
  font-weight: 800;
  color: var(--blue-600);
  background: #eef7ff;
  padding: 1px 5px;
  border-radius: 3px;
}

/* Placeholder Sebelum RSVP (design.md Section 6.9) */
.ticket-placeholder-card {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 480px;
  box-sizing: border-box;
}

.placeholder-icon {
  color: var(--text-muted);
  opacity: 0.6;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.4;
}

.placeholder-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}

/* 10. FOOTER (design.md Section 6.10) */
.site-footer {
  background: var(--grad-footer);
  color: #ffffff;
  margin-top: auto;
}

.footer-partner-strip {
  background: #ffffff;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}

.footer-partner-container {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-collaboration-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-collaboration-layout .partner-strip-img {
  max-height: 80px;
  max-width: 920px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-collaboration-layout .partner-organizer-logo {
  height: 54px;
}

.footer-main-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.85;
}

.poster-strip-lines {
  display: flex;
  height: 5px;
  width: 100%;
}

.poster-strip-lines span {
  flex: 1;
  height: 100%;
}

/* 11. ADMIN DASHBOARD STYLES (Preserved & Enhanced) */
.admin-shell {
  min-height: 100vh;
  background: #f4f8fc;
  color: var(--dark);
}
.admin-topbar {
  height: 74px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  gap: 28px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.admin-badge {
  color: var(--primary);
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 800;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.back-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.back-link svg { width: 14px; }
.admin-hero {
  padding: 48px 8vw 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(120deg, #eef8ff, #fff);
}
.admin-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin: 0 0 10px;
}
.admin-hero p:not(.section-label) {
  color: var(--muted);
  font-size: 14px;
}
.event-meta {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(7, 58, 117, .08);
  font-size: 12px;
  border-radius: var(--radius-sm);
}
.admin-content {
  padding: 0 8vw 70px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: -18px;
  position: relative;
}
.stats-grid > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.stats-grid strong { font-size: 26px; }
.admin-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 18px;
  margin-top: 18px;
}
.panel {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.guest-table { display: flex; flex-direction: column; }
.guest-row {
  display: grid;
  grid-template-columns: 34px minmax(150px, 1fr) 92px 80px auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #edf2f7;
}

/* 12. RESPONSIVE BREAKPOINTS (design.md Section 4) */
@media (max-width: 1024px) {
  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    order: 2; /* Mobile: teks dulu, gambar di bawah (design.md Section 6.2) */
    margin-top: 20px;
  }
  .hero-banner-frame {
    max-width: 480px;
  }
  .info-strip-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .partner-collaboration-layout, .footer-collaboration-layout {
    gap: 24px;
  }
  .rsvp-grid {
    grid-template-columns: 1fr;
  }
  .rsvp-ticket-panel {
    position: static;
  }
  .rundown-table-header, .rundown-row {
    grid-template-columns: 140px 90px 1fr;
    gap: 12px;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 68px;
  }
  .topbar-inner {
    padding: 0 16px;
  }
  .brand-title {
    font-size: 13px;
  }
  .brand-sub {
    font-size: 8.5px;
  }
  .topbar-actions {
    gap: 8px;
  }
  .nav-btn {
    display: none;
  }
  .hero-section {
    padding: 36px 16px 54px;
  }
  .hero-main-title {
    font-size: 32px;
  }
  .hero-date-venue-pill {
    padding: 8px 14px;
    font-size: 12px;
  }
  .partner-collaboration-layout, .footer-collaboration-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }
  .partner-all-group {
    align-items: center;
    width: 100%;
  }
  .partner-single-strip-wrap {
    justify-content: center;
  }
  .partner-block-section {
    padding: 30px 16px;
  }
  .partner-strip-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-position: center;
    object-fit: contain;
    display: block;
  }
  .footer-collaboration-layout .partner-strip-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }
  .partner-v-separator {
    width: 80px;
    height: 1px;
    background: var(--border);
    margin: 4px auto;
  }
  .partner-organizer-group {
    align-items: center;
  }
  .partner-organizer-wrap {
    justify-content: center;
  }
  .partner-organizer-logo {
    height: 48px;
    max-width: 150px;
  }
  .rundown-section {
    padding: 60px 16px;
  }
  .rundown-table-header {
    display: none;
  }
  .rundown-row {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "time duration"
      "agenda agenda";
    gap: 8px 12px;
    padding: 18px 16px;
  }
  .row-time-cell {
    grid-area: time;
    align-items: center;
  }
  .row-duration-cell {
    grid-area: duration;
    align-items: center;
  }
  .row-agenda-cell {
    grid-area: agenda;
  }
  .rsvp-section {
    padding: 60px 16px;
  }
  .rsvp-form-card {
    padding: 28px 20px;
  }
  .ticket-notch-card {
    padding: 20px 16px;
  }
  .ticket-divider-wrap {
    margin: 16px -16px 14px;
  }
  .notch-left { left: -8px; }
  .notch-right { right: -8px; }
  .ticket-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ticket-guest-info {
    text-align: left;
  }
  .ticket-qr-box {
    align-self: center;
    margin: 4px auto 0;
  }
  #qr-code-canvas {
    width: 110px !important;
    height: 110px !important;
  }
  .footer-main-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   REGISTRATION CLOSED / QUOTA FULL COMPONENT STYLES
   ========================================================================== */
.quota-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: pulseQuota 1.8s infinite;
}
@keyframes pulseQuota {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-cta-closed {
  background: #FFF1F2 !important;
  color: #BE123C !important;
  border: 1.5px solid #FDA4AF !important;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hero-cta-closed:hover {
  background: #FFE4E6 !important;
  border-color: #F43F5E !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}

.card-closed-state {
  border: 1.5px solid #FECDD3 !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%) !important;
}

.reg-closed-badge-wrap {
  margin-bottom: 14px;
}
.reg-closed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  color: #9F1239;
  border: 1px solid #FECDD3;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reg-closed-title-text {
  color: #881337 !important;
  margin-bottom: 12px !important;
}

.reg-closed-desc-text {
  color: #4C0519 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
}

.reg-closed-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E0F2FE;
  border-left: 4px solid #0B75C3;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(11, 117, 195, 0.06);
}
.reg-closed-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-closed-info-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.reg-closed-info-body strong {
  font-size: 13.5px;
  font-family: var(--font-heading);
  color: #0F172A;
}
.reg-closed-info-body span {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
}

.reg-closed-action-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticket-placeholder-closed {
  background: #FFF5F5 !important;
  border-color: #FECDD3 !important;
}
.ticket-placeholder-closed .placeholder-title {
  color: #881337 !important;
}
.ticket-placeholder-closed .placeholder-desc {
  color: #713F12 !important;
}

/* Smartphone Screen Optimization (< 480px) */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .topbar-inner {
    padding: 0 12px;
  }
  .brand-title {
    font-size: 11.5px;
  }
  .brand-sub {
    font-size: 7.5px;
  }
  .lang-segmented {
    padding: 2px;
    gap: 2px;
  }
  .lang-item {
    padding: 3px 7px;
    font-size: 10px;
  }
  .hero-section {
    padding: 24px 12px 42px;
  }
  .hero-main-title {
    font-size: 26px !important;
  }
  .hero-subtext {
    font-size: 13px !important;
  }
  .hero-date-venue-pill {
    font-size: 11px;
    padding: 7px 10px;
    gap: 6px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }
  .reg-closed-info-box {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }
  .reg-closed-desc-text {
    font-size: 13px !important;
  }
  .rsvp-form-card {
    padding: 22px 14px;
    border-radius: 16px;
  }
  .ticket-notch-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .ticket-pass-title {
    font-size: 18px;
  }
  .ticket-category-pill {
    font-size: 9.5px;
    padding: 2px 8px;
  }
  .download-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

