/* ==========================================================================
   MEDVERSE 2026 — EXHIBITOR & STALL BOOKING APPLICATION STYLES
   Colors: Dark Navy (#0B1F3A), Professional Blue (#123D6A), Light BG (#F5F7FB)
   ========================================================================== */

:root {
  --color-navy: #0B1F3A;
  --color-blue: #123D6A;
  --color-blue-light: #1A5490;
  --color-blue-accent: #2563EB;
  --color-accent-teal: #0EA5E9;
  --color-bg-page: #F5F7FB;
  --color-card-bg: #FFFFFF;
  
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  --color-border-active: #123D6A;
  
  --color-error: #EF4444;
  --color-error-bg: #FEF2F2;
  --color-error-border: #FCA5A5;
  
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 31, 58, 0.08), 0 2px 4px -1px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(11, 31, 58, 0.12), 0 4px 10px -2px rgba(11, 31, 58, 0.06);
  --shadow-xl: 0 20px 40px -8px rgba(11, 31, 58, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Universal Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page Wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   HERO HEADER
   ========================================================================== */
.hero-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, #08172C 50%, var(--color-blue) 100%);
  color: #FFFFFF;
  padding: 4.5rem 1.5rem 6.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Decorative background glowing grid/orbs */
.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.hero-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Banner Image Styling */
.header-image-wrapper {
  max-width: 100%;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(11, 31, 58, 0.6);
  backdrop-filter: blur(8px);
}

.header-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-banner-img:hover {
  transform: scale(1.008);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38BDF8;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38BDF8;
  animation: pulseDot 2s infinite;
}

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

.main-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  font-weight: 400;
}

.header-highlights {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item svg {
  width: 16px;
  height: 16px;
  stroke: #38BDF8;
}

/* ==========================================================================
   MAIN CONTENT & FORM CONTAINER
   ========================================================================== */
.main-container {
  flex: 1;
  max-width: 920px;
  width: 100%;
  margin: -3.5rem auto 4rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}

.form-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Alert Banner */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.925rem;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.alert-banner.hidden {
  display: none;
}

.alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Form Sections */
.form-section {
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--color-border);
}

.form-section.border-0 {
  border-bottom: none;
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(18, 61, 106, 0.08);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon svg {
  width: 22px;
  height: 22px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Grid Layout */
.grid-layout {
  display: grid;
  gap: 1.25rem 1.5rem;
}

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

.grid-layout.cols-1 {
  grid-template-columns: 1fr;
}

.col-span-2 {
  grid-column: span 2;
}

/* Form Controls & Fields */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required-star {
  color: var(--color-error);
  font-weight: 700;
}

.optional-tag {
  font-size: 0.775rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: var(--color-text-light);
}

.form-control:hover {
  border-color: var(--color-border-hover);
}

.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(18, 61, 106, 0.12);
}

.form-control.is-invalid {
  border-color: var(--color-error) !important;
  background-color: rgba(239, 68, 68, 0.02);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

/* Custom Select Styling */
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 0.85rem;
  width: 18px;
  height: 18px;
  stroke: var(--color-text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.select-wrapper select:focus + .select-arrow {
  stroke: var(--color-blue);
  transform: rotate(180deg);
}

/* Error Text */
.error-text {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  font-weight: 500;
  display: none;
}

.error-text.visible {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RADIO CARDS (STALL SIZE SELECTION)
   ========================================================================== */
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.25rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.15rem;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  height: 100%;
}

.radio-card:hover .card-content {
  border-color: var(--color-blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.radio-card input[type="radio"]:checked + .card-content {
  border-color: var(--color-blue);
  background-color: rgba(18, 61, 106, 0.03);
  box-shadow: 0 0 0 2px var(--color-blue), var(--shadow-md);
}

.card-radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.card-radio-mark::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--color-blue);
  border-radius: 50%;
  transform: scale(0);
  transition: var(--transition-fast);
}

.radio-card input[type="radio"]:checked + .card-content .card-radio-mark {
  border-color: var(--color-blue);
}

.radio-card input[type="radio"]:checked + .card-content .card-radio-mark::after {
  transform: scale(1);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-page);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.card-info {
  display: flex;
  flex-direction: column;
}

.stall-dim {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.stall-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-top: 2px;
}

.stall-price-tag {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F766E;
  margin-top: 2px;
}

.stall-price-tag small {
  font-size: 0.725rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.stall-desc {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

/* Premium Card Special Badge */
.radio-card.premium .card-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, #0EA5E9, #2563EB);
  color: #FFFFFF;
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  z-index: 2;
}

/* Error highlight on radio grid */
.radio-card-grid.is-invalid .card-content {
  border-color: var(--color-error-border);
  background-color: rgba(239, 68, 68, 0.01);
}

/* ==========================================================================
   CHECKBOX CHIPS (PARTICIPATION OBJECTIVES)
   ========================================================================== */
.checkbox-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.chip-checkbox {
  position: relative;
  cursor: pointer;
}

.chip-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: var(--transition-fast);
  user-select: none;
}

.chip-checkbox:hover .chip-content {
  border-color: var(--color-blue-light);
  background-color: rgba(18, 61, 106, 0.02);
}

.check-icon {
  width: 16px;
  height: 16px;
  stroke: var(--color-blue);
  opacity: 0.25;
  transition: var(--transition-fast);
}

.chip-checkbox input[type="checkbox"]:checked + .chip-content {
  border-color: var(--color-blue);
  background-color: rgba(18, 61, 106, 0.06);
  color: var(--color-navy);
  font-weight: 600;
}

.chip-checkbox input[type="checkbox"]:checked + .chip-content .check-icon {
  opacity: 1;
  stroke: var(--color-blue);
}

/* ==========================================================================
   FORM ACTIONS & BUTTONS
   ========================================================================== */
.form-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  max-width: 420px;
  padding: 1.05rem 2rem;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.4);
  background: linear-gradient(135deg, #0A1A31 0%, var(--color-blue-light) 100%);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.3);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-submit:hover:not(:disabled) .btn-arrow {
  transform: translateX(4px);
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-loader.hidden {
  display: none;
}

/* Circular Spinner Animation */
.spinner {
  animation: rotate 2s linear infinite;
  width: 22px;
  height: 22px;
}

.spinner .path {
  stroke: #FFFFFF;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.security-note {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-text-light);
}

/* ==========================================================================
   SUCCESS SCREEN CARD
   ========================================================================== */
.success-screen {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-screen.hidden {
  display: none;
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: var(--color-success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Checkmark SVG */
.checkmark-svg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--color-success);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--color-success);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--color-success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.submission-summary {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.9rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.summary-value {
  color: var(--color-navy);
  font-weight: 600;
  text-align: right;
}

.summary-value.highlight {
  font-family: monospace;
  color: var(--color-blue);
  background: rgba(18, 61, 106, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.success-actions {
  display: flex;
  justify-content: center;
}

.btn-secondary {
  padding: 0.85rem 1.75rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-blue);
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-hover);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--color-bg-page);
  border-color: var(--color-blue);
  color: var(--color-navy);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   HALL PREFERENCE & STALL LAYOUT STYLES
   ========================================================================== */
.hall-selection-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hall-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

/* Tab Switcher */
.hall-tabs {
  display: flex;
  gap: 12px;
  background-color: var(--color-bg-page);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  width: fit-content;
}

.hall-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hall-tab-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-light);
  transition: var(--transition-fast);
}

.hall-tab-btn:hover:not(.active) {
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.6);
}

.hall-tab-btn.active {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.2);
}

.hall-tab-btn.active svg {
  stroke: #38BDF8;
}

/* Layout Image Card */
.layout-image-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-fast);
}

.layout-image-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.layout-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue);
  background-color: rgba(18, 61, 106, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 61, 106, 0.1);
}

.btn-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-blue);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-zoom:hover {
  background-color: var(--color-bg-page);
  border-color: var(--color-blue);
  color: var(--color-navy);
}

.btn-zoom svg {
  width: 14px;
  height: 14px;
}

/* Image Viewport */
.layout-image-viewport {
  width: 100%;
  background-color: #FAFAFA;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  min-height: 240px;
}

.hall-layout-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.layout-image-viewport:hover .hall-layout-img {
  transform: scale(1.015);
}

/* Disclaimer Note */
.hall-disclaimer-note {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  background-color: rgba(245, 247, 251, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.hall-disclaimer-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.margin-top-lg {
  margin-top: 0.5rem;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR LAYOUT ZOOM
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.lightbox-modal.hidden {
  display: none;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(6px);
}

.lightbox-container {
  position: relative;
  z-index: 1001;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-page);
}

.lightbox-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy);
}

.lightbox-title-group svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-blue);
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-close-lightbox {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0 0.5rem;
  transition: var(--transition-fast);
}

.btn-close-lightbox:hover {
  color: var(--color-error);
  transform: scale(1.1);
}

.lightbox-body {
  padding: 1.5rem;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
}

.lightbox-body img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* Responsive adjust for mobile lightbox & tabs */
@media (max-width: 768px) {
  .hall-tabs {
    width: 100%;
  }

  .hall-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .lightbox-container {
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }

  .lightbox-header {
    padding: 1rem;
  }

  .lightbox-title {
    font-size: 0.95rem;
  }

  .lightbox-body {
    padding: 0.75rem;
  }

  .lightbox-body img {
    max-height: 70vh;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  background: #FFFFFF;
}

.footer-sub {
  font-size: 0.775rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
  .hero-header {
    padding: 3rem 1.25rem 5rem;
  }

  .main-title {
    font-size: 2.1rem;
  }

  .sub-title {
    font-size: 1.15rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .header-highlights {
    gap: 0.75rem;
  }

  .main-container {
    margin-top: -3rem;
    padding: 0 1rem;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .grid-layout.cols-2 {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .radio-card-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-chip-grid {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    max-width: 100%;
  }

  .submission-summary {
    padding: 1rem;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .summary-value {
    text-align: left;
  }
}

@media (min-width: 769px) {
  /* On desktop, keep title field slightly smaller if preferred or inline */
  .col-span-2-desktop-small {
    grid-column: span 1;
  }
}
