/* Havoc Bazaar - Bootstrap Custom Overrides + Green Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root {
  /* Override Bootstrap primary with green theme */
  --bs-primary: #16a34a;
  --bs-primary-rgb: 22, 163, 74;
  --hb-green: #16a34a;
  --hb-green-dark: #15803d;
  --hb-green-light: #22c55e;
  --hb-green-50: #f0fdf4;
  --hb-green-100: #dcfce7;
  --hb-green-200: #bbf7d0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* Override Bootstrap primary color */
.btn-primary {
  background-color: var(--hb-green);
  border-color: var(--hb-green);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--hb-green-dark) !important;
  border-color: var(--hb-green-dark) !important;
}
.btn-outline-primary {
  color: var(--hb-green);
  border-color: var(--hb-green);
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: var(--hb-green) !important;
  border-color: var(--hb-green) !important;
}
.btn-online-payment {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2563eb;
  --bs-btn-border-color: #2563eb;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1d4ed8;
  --bs-btn-hover-border-color: #1d4ed8;
  --bs-btn-focus-shadow-rgb: 37, 99, 235;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1e40af;
  --bs-btn-active-border-color: #1e40af;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #93c5fd;
  --bs-btn-disabled-border-color: #93c5fd;
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}
.btn-online-payment:hover,
.btn-online-payment:focus,
.btn-online-payment:active {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}
.btn-online-payment:disabled {
  background-color: #93c5fd !important;
  border-color: #93c5fd !important;
  color: #fff !important;
  opacity: 0.75;
}
.text-primary { color: var(--hb-green) !important; }
.bg-primary { background-color: var(--hb-green) !important; }
.border-primary { border-color: var(--hb-green) !important; }

.form-control:focus,
.form-select:focus {
  border-color: var(--hb-green);
  box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.15);
}

a { color: var(--hb-green); }
a:hover { color: var(--hb-green-dark); }

/* Selection */
::selection { background: var(--hb-green); color: white; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--hb-green); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--hb-green-dark); }

/* Header */
.hb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 1030;
  height: 64px;
}

.hb-logo-icon {
  width: 44px; height: 44px;
  background: #ffffff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  flex: 0 0 44px;
}

.hb-logo-icon img {
  display: block;
  width: 28px;
  height: 30px;
  object-fit: contain;
}

.hb-brand-icon {
  display: block;
  width: 34px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hb-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.invoice-brand-logo {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
}

.hb-account-toggle {
  max-width: 220px;
  display: inline-flex;
  align-items: center;
}

.hb-account-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-account-menu {
  min-width: 220px;
}

/* Hero */
.hb-hero {
  background:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.55), rgba(17, 24, 39, 0.34)),
    url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?w=1800') center/cover;
  color: white;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 163, 74, 0.18);
}

.hb-hero .container {
  position: relative;
  z-index: 2;
}

.hb-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.hb-hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.95);
}

.hb-btn-white {
  background: white;
  color: var(--hb-green);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.hb-btn-white:hover {
  transform: scale(1.03);
  color: var(--hb-green-dark);
  background: var(--hb-green-50);
}

/* Stat icons */
.stat-icon-circle {
  width: 64px; height: 64px;
  background: var(--hb-green-100);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-green);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
}

/* Event cards */
.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  height: 100%;
}

button.event-gallery-trigger {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.event-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
  transform: scale(1.05);
}

.event-status-badge {
  position: absolute;
  top: 1rem; right: 1rem;
}

.event-card-img.has-ribbon .event-status-badge {
  right: auto;
  left: 1rem;
}

.event-card-ribbon {
  position: absolute;
  top: 28px;
  right: -48px;
  z-index: 3;
  width: 190px;
  padding: 0.42rem 0;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.event-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-meta i {
  color: var(--hb-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-green);
  font-family: 'Poppins', sans-serif;
}

/* Section */
section { padding: 5rem 0; }
.bg-section { background: #f9fafb; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: #6b7280; }

.about-hero-section {
  padding-top: 7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.about-logo-panel {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  text-align: center;
}

.about-logo-panel img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
}

/* Status badges */
.badge-upcoming { background: var(--hb-green-100); color: var(--hb-green-dark); }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: var(--hb-green-100); color: var(--hb-green-dark); }
.badge-cancelled { background: #fee2e2; color: #dc2626; }

.whatsapp-floating-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
  text-decoration: none;
}

.whatsapp-floating-link:hover,
.whatsapp-floating-link:focus {
  color: white;
  background: #1fb857;
  transform: translateY(-1px);
}

.whatsapp-floating-link i {
  font-size: 1.75rem;
}

/* Event hero */
.event-hero-section {
  background: linear-gradient(to bottom, var(--hb-green-50), white);
  padding: 6rem 0 3rem;
}

.event-hero-img {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.event-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Booth cards */
.booth-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.booth-card:hover {
  border-color: var(--hb-green);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.booth-price-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--hb-green);
  font-family: 'Poppins', sans-serif;
}

.booth-availability {
  background: var(--hb-green-100);
  color: var(--hb-green-dark);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.event-layout-trigger {
  color: inherit;
}

.event-layout-card-link {
  display: block;
}

.event-layout-card-link:hover {
  color: inherit;
}

.event-layout-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.event-layout-image-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.booth-map-page {
  background: #f3f4f6;
}

.booth-map-page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.booth-map-page-main {
  padding-top: 1rem;
}

.min-w-0 {
  min-width: 0;
}

.booth-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  font-size: 0.875rem;
  color: #4b5563;
}

.booth-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.booth-map-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.booth-map-dot.available {
  background: #16a34a;
}

.booth-map-dot.partial {
  background: #f59e0b;
}

.booth-map-dot.booked {
  background: #6b7280;
}

.booth-map-dot.inquiry {
  background: #0ea5e9;
}

.booth-map-wrap {
  position: relative;
  width: 100%;
  min-height: 280px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.booth-map-wrap-full {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.booth-map-public-viewport {
  width: 100%;
  max-height: 78vh;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #eef2f7;
}

.booth-map-editor-page {
  background: #f3f4f6;
}

.booth-map-editor-body {
  padding-top: 2rem;
}

.booth-map-editor-wrap {
  min-height: 420px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.booth-map-editor-viewport {
  width: 100%;
  max-height: 74vh;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background:
    linear-gradient(45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(-45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f8fafc 75%),
    linear-gradient(-45deg, transparent 75%, #f8fafc 75%);
  background-color: #eef2f7;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.booth-map-editor-viewport .booth-map-editor-wrap {
  border: 0;
  border-radius: 0;
}

.booth-map-editor-area {
  cursor: move;
  appearance: none;
  padding: 0;
}

.booth-map-editor-area.selected {
  z-index: 5;
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.booth-map-selectable {
  cursor: pointer;
  appearance: none;
  padding: 0;
}

.booth-map-area.selected {
  z-index: 6;
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.88);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.booth-map-selectable.selected::after {
  content: "\2713";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.booth-map-resize-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  cursor: nwse-resize;
}

.booth-map-editor-panel {
  position: sticky;
  top: 96px;
}

.booth-map-wrap img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.booth-map-area {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  border: 2px solid currentColor;
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.booth-map-area span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  padding: 0.2rem;
  text-overflow: ellipsis;
}

.booth-map-area.rectangle {
  border-radius: 6px;
}

.booth-map-area.circle {
  border-radius: 999px;
}

.booth-map-area.available {
  color: #15803d;
  background: rgba(220, 252, 231, 0.82);
}

.booth-map-area.partial {
  color: #b45309;
  background: rgba(254, 243, 199, 0.84);
}

.booth-map-area.booked,
.booth-map-area.disabled {
  color: #4b5563;
  background: rgba(229, 231, 235, 0.78);
}

.booth-map-area.inquiry {
  color: #0369a1;
  background: rgba(224, 242, 254, 0.84);
}

a.booth-map-area:hover,
a.booth-map-area:focus-visible,
button.booth-map-area:hover,
button.booth-map-area:focus-visible {
  color: #111827;
  transform: translateY(-2px) scale(1.04);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.26);
}

.booth-map-area.disabled {
  cursor: not-allowed;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1rem;
}

.booking-calendar-month {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.booking-calendar-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.booking-calendar-weekdays,
.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.booking-calendar-weekdays {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.booking-calendar-empty,
.booking-calendar-day {
  aspect-ratio: 1;
}

.booking-calendar-day {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  font-weight: 600;
}

.booking-calendar-day:hover:not(:disabled) {
  border-color: var(--hb-green);
  color: var(--hb-green-dark);
}

.booking-calendar-day.is-selected {
  background: var(--hb-green);
  border-color: var(--hb-green);
  color: white;
}

.booking-calendar-day.is-disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.booking-calendar-day.is-booked {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.booth-features li {
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #374151;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.booth-features li i {
  color: var(--hb-green);
  margin-top: 4px;
}

/* Accordion overrides */
.accordion-button:not(.collapsed) {
  background-color: var(--hb-green-50);
  color: var(--hb-green-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.15);
  border-color: var(--hb-green);
}

.accordion-button i {
  color: var(--hb-green);
  margin-right: 0.75rem;
}

/* Booking progress */
.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #d1d5db;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.progress-step.active .step-number {
  background: var(--hb-green);
  color: white;
}

.progress-step.completed .step-number {
  background: var(--hb-green);
  color: white;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: #1a1a1a;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: #d1d5db;
  margin-top: -24px;
}

.progress-line.active {
  background: var(--hb-green);
}

/* Admin */
.admin-header {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-body {
  background: #f9fafb;
  min-height: calc(100vh - 64px);
  padding: 2rem 0;
}

.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-card-icon.green { background: var(--hb-green-100); color: var(--hb-green); }
.stat-card-icon.yellow { background: #fef3c7; color: #ca8a04; }
.stat-card-icon.purple { background: #ede9fe; color: #7c3aed; }
.stat-card-icon.red { background: #fee2e2; color: #dc2626; }

.stat-card-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.text-purple { color: #7c3aed !important; }
.text-indigo { color: #4f46e5 !important; }
.text-teal { color: #0f766e !important; }
.text-pink { color: #db2777 !important; }

.admin-function-button {
  min-height: 76px;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-function-button span {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.admin-function-button i {
  font-size: 1.75rem;
  flex: 0 0 auto;
}

a.admin-function-button:hover,
a.admin-function-button:focus {
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.admin-function-button.disabled {
  background: #f9fafb;
  color: #9ca3af;
  box-shadow: none;
}

.admin-function-button.disabled span,
.admin-function-button.disabled i {
  color: #9ca3af;
}

.admin-module-card {
  border: 1px solid transparent !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.admin-module-card:hover,
.admin-module-card:focus {
  background-color: #f8fbff;
  border-color: #dbeafe !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1) !important;
  transform: translateY(-2px);
}

/* Footer */
.hb-footer {
  background: #111827;
  color: white;
  padding: 3rem 0 1.5rem;
}

.hb-footer h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.hb-footer p, .hb-footer a {
  color: #9ca3af;
  font-size: 0.875rem;
}

.hb-footer a {
  text-decoration: none;
}

.hb-footer a:hover {
  color: var(--hb-green);
}

.hb-footer .footer-powered-link:hover {
  color: #dc3545;
}

.hb-footer ul {
  list-style: none;
  padding: 0;
}

.hb-footer ul li {
  margin-bottom: 0.625rem;
}

.hb-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.hb-footer-contact i {
  color: var(--hb-green);
  margin-top: 4px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: #1f2937;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s ease;
  margin-right: 0.5rem;
}

.social-link:hover {
  background: var(--hb-green);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid #1f2937;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ============== FLOOR PLAN EDITOR ============== */
.floorplan-editor-container {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.floorplan-canvas-wrapper {
  position: relative;
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-canvas-wrapper.has-image {
  border: 1px solid #e5e7eb;
  background: white;
}

.floorplan-image {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.floorplan-canvas-wrapper.editing .floorplan-image {
  cursor: crosshair;
}

.floorplan-canvas-wrapper.preview .floorplan-image {
  cursor: default;
}

.floorplan-empty-state {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.floorplan-empty-state i {
  font-size: 3rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--hb-green);
  border: 3px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
  transition: all 0.2s ease;
  z-index: 2;
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--hb-green-dark);
}

.hotspot.selected {
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25), 0 4px 12px rgba(220, 38, 38, 0.4);
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hotspot:hover .hotspot-tooltip {
  opacity: 1;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
}

.hotspot.preview-mode {
  cursor: pointer;
}

/* Hotspot list */
.hotspot-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.hotspot-list-item.active {
  background: var(--hb-green-50);
  border: 1px solid var(--hb-green);
}

.hotspot-marker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--hb-green);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.editor-toolbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
}

/* Commission management */
.commission-ledger-row {
  background-color: #ffffff;
}

.commission-ledger-row-alt {
  background-color: #f2fdf3;
}

.commission-ledger-row .table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: transparent;
  background-color: transparent;
}

.commission-ledger-row .table > :not(caption) > * > * {
  background-color: transparent;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .hb-hero { padding: 6rem 0 4rem; }
  .event-hero-img { height: 280px; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}
