/* ============================================================
   Evento Sky — Frontend CSS
   Premium Event Marketplace · v1.0.0
   Design: Luxury Dark-on-Light with Electric Violet + Coral
   Font Stack: Outfit (UI) + Fraunces (Display)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --es-primary:    #6C63FF;
  --es-secondary:  #FF6B6B;
  --es-accent:     #FFD93D;
  --es-dark:       #0D0D1A;
  --es-dark-2:     #1A1A2E;
  --es-dark-3:     #16213E;
  --es-mid:        #4A4A6A;
  --es-muted:      #8B8BAA;
  --es-light:      #F4F4FF;
  --es-white:      #FFFFFF;
  --es-border:     rgba(108,99,255,.15);
  --es-shadow-sm:  0 2px 8px rgba(108,99,255,.08);
  --es-shadow:     0 8px 32px rgba(108,99,255,.12);
  --es-shadow-lg:  0 20px 60px rgba(108,99,255,.18);
  --es-radius-sm:  8px;
  --es-radius:     16px;
  --es-radius-lg:  24px;
  --es-radius-xl:  32px;
  --es-transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --es-font-body:  'Outfit', -apple-system, sans-serif;
  --es-font-display: 'Fraunces', Georgia, serif;
}

/* ---------- Reset & Base ---------- */
.es-*, .es-*::before, .es-*::after { box-sizing: border-box; }

/* ---------- Utility ---------- */
.es-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.es-container { width:100%;max-width:1280px;margin:0 auto;padding:0 24px; }
.es-section { padding:80px 0; }

/* ---------- Typography ---------- */
.es-display-title {
  font-family: var(--es-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--es-dark);
  letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.es-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--es-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border-radius: var(--es-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--es-transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.es-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.es-btn:hover::before { background: rgba(255,255,255,0.1); }
.es-btn:active { transform: translateY(1px); }

.es-btn--primary {
  background: var(--es-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,.35);
}
.es-btn--primary:hover {
  box-shadow: 0 8px 30px rgba(108,99,255,.5);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.es-btn--secondary {
  background: var(--es-secondary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,107,.3);
}
.es-btn--secondary:hover {
  box-shadow: 0 8px 30px rgba(255,107,107,.45);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.es-btn--outline {
  background: transparent;
  color: var(--es-primary);
  border-color: var(--es-primary);
}
.es-btn--outline:hover {
  background: var(--es-primary);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.es-btn--ghost {
  background: transparent;
  color: var(--es-mid);
  border-color: var(--es-border);
}
.es-btn--ghost:hover {
  border-color: var(--es-primary);
  color: var(--es-primary);
}

.es-btn--sm { padding: 8px 18px; font-size: 13px; }
.es-btn--lg { padding: 16px 40px; font-size: 17px; border-radius: var(--es-radius); }
.es-btn--full { width: 100%; }
.es-btn--icon { padding: 10px; width: 40px; height: 40px; }
.es-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ---------- Badges ---------- */
.es-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.es-badge--upcoming  { background: rgba(108,99,255,.1);  color: var(--es-primary); }
.es-badge--ongoing   { background: rgba(76,217,100,.1);  color: #28a745; }
.es-badge--completed { background: rgba(108,117,125,.1); color: #666; }
.es-badge--cancelled { background: rgba(255,107,107,.1); color: var(--es-secondary); }
.es-badge--postponed { background: rgba(255,193,7,.15);  color: #b8860b; }
.es-badge--free      { background: rgba(76,217,100,.12); color: #1a8f3c; }
.es-badge--featured  { background: var(--es-accent); color: #5a4a00; }

/* ---------- Cards ---------- */
.es-card {
  background: var(--es-white);
  border-radius: var(--es-radius);
  border: 1px solid var(--es-border);
  box-shadow: var(--es-shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.es-card:hover {
  box-shadow: var(--es-shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(108,99,255,.25);
}

/* ---------- Event Card ---------- */
.es-event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.es-event-card__thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--es-light);
}
.es-event-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.es-event-card:hover .es-event-card__thumbnail img {
  transform: scale(1.05);
}
.es-event-card__thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 48px;
  background: linear-gradient(135deg, var(--es-light) 0%, rgba(108,99,255,.08) 100%);
}

.es-event-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.es-event-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}
.es-event-card__wishlist:hover { transform: scale(1.15); }

.es-event-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.es-event-card__category {
  font-size: 12px;
  font-weight: 600;
  color: var(--es-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-decoration: none;
}
.es-event-card__category:hover { color: var(--es-secondary); text-decoration: none; }

.es-event-card__title {
  font-family: var(--es-font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--es-dark);
  line-height: 1.3;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.es-event-card__title a {
  color: inherit;
  text-decoration: none;
}
.es-event-card__title a:hover { color: var(--es-primary); }

.es-event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.es-event-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--es-muted);
}
.es-event-card__meta-item svg { width:14px;height:14px;flex-shrink:0; }
.es-event-card__meta-item strong { color: var(--es-mid); font-weight: 600; }

.es-event-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--es-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.es-event-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--es-dark);
  line-height: 1;
}
.es-event-card__price span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--es-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.es-event-card__price--free { color: #1a8f3c; }

.es-event-card__attendees {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--es-muted);
}
.es-event-card__attendees-avatars {
  display: flex;
}
.es-event-card__attendees-avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--es-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  margin-left: -6px;
}
.es-event-card__attendees-avatars span:first-child { margin-left: 0; }

/* ---------- Events Grid / Archive ---------- */
.es-archive {
  padding: 40px 0 80px;
}
.es-archive__header {
  margin-bottom: 40px;
}
.es-archive__title {
  font-family: var(--es-font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--es-dark);
  margin: 0 0 8px;
}
.es-archive__subtitle {
  color: var(--es-muted);
  font-size: 16px;
  margin: 0;
}

/* Filter Bar */
.es-filter-bar {
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--es-shadow-sm);
}
.es-filter-bar__search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.es-filter-bar__search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  font-size: 14px;
  font-family: var(--es-font-body);
  color: var(--es-dark);
  background: var(--es-light);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.es-filter-bar__search input:focus {
  border-color: var(--es-primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
  background: white;
}
.es-filter-bar__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--es-muted);
  font-size: 16px;
  pointer-events: none;
}
.es-filter-bar select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  font-size: 14px;
  font-family: var(--es-font-body);
  color: var(--es-dark);
  background: var(--es-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B8BAA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.es-filter-bar select:focus {
  border-color: var(--es-primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}

/* Layout toggle */
.es-layout-toggle {
  display: flex;
  gap: 4px;
}
.es-layout-toggle button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--es-border);
  background: var(--es-light);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--es-muted);
  transition: all 0.2s;
  font-size: 14px;
}
.es-layout-toggle button.active,
.es-layout-toggle button:hover {
  background: var(--es-primary);
  color: white;
  border-color: var(--es-primary);
}

/* Events Grid */
.es-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.es-events-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.es-events-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Events List */
.es-events-list { display: flex; flex-direction: column; gap: 20px; }
.es-events-list .es-event-card {
  flex-direction: row;
}
.es-events-list .es-event-card__thumbnail {
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-radius: 16px 0 0 16px;
}
.es-events-list .es-event-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Featured Slider */
.es-featured-hero {
  background: linear-gradient(135deg, var(--es-dark) 0%, var(--es-dark-3) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.es-featured-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(108,99,255,.25) 0%, transparent 60%);
  pointer-events: none;
}
.es-featured-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.es-featured-hero__content { position: relative; z-index: 2; }
.es-featured-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--es-accent);
  margin-bottom: 16px;
}
.es-featured-hero__title {
  font-family: var(--es-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin: 0 0 16px;
}
.es-featured-hero__desc {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.es-featured-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.es-featured-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.es-featured-hero__image {
  border-radius: var(--es-radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  aspect-ratio: 4/3;
  position: relative;
  z-index: 2;
}
.es-featured-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Single Event ---------- */
.es-single-event { padding: 0 0 80px; }

.es-single-event__hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--es-dark);
}
.es-single-event__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.es-single-event__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,.9) 0%, rgba(13,13,26,.2) 60%, transparent 100%);
}
.es-single-event__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
}
.es-single-event__hero-title {
  font-family: var(--es-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin: 12px 0 0;
  line-height: 1.15;
}

.es-single-event__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 40px;
}

/* Sidebar */
.es-single-event__sidebar {}
.es-booking-card {
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-lg);
  padding: 28px;
  box-shadow: var(--es-shadow);
  position: sticky;
  top: 24px;
}
.es-booking-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.es-booking-card__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--es-dark);
  line-height: 1;
}
.es-booking-card__price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--es-muted);
  display: block;
  margin-bottom: 4px;
}
.es-booking-card__availability {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.es-booking-card__availability.low { color: var(--es-secondary); }
.es-booking-card__availability.ok  { color: #1a8f3c; }

.es-ticket-selector { margin-bottom: 20px; }
.es-ticket-option {
  border: 2px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.es-ticket-option:hover { border-color: var(--es-primary); background: rgba(108,99,255,.03); }
.es-ticket-option.selected { border-color: var(--es-primary); background: rgba(108,99,255,.06); }
.es-ticket-option__radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--es-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}
.es-ticket-option.selected .es-ticket-option__radio {
  border-color: var(--es-primary);
}
.es-ticket-option.selected .es-ticket-option__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--es-primary);
  border-radius: 50%;
}
.es-ticket-option__info { flex: 1; }
.es-ticket-option__name { font-weight: 600; font-size: 14px; color: var(--es-dark); }
.es-ticket-option__desc { font-size: 12px; color: var(--es-muted); margin-top: 2px; }
.es-ticket-option__price { font-weight: 700; font-size: 16px; color: var(--es-dark); }
.es-ticket-option__price.free { color: #1a8f3c; }
.es-ticket-option__sold-out {
  font-size: 11px;
  font-weight: 600;
  color: var(--es-secondary);
  background: rgba(255,107,107,.08);
  padding: 2px 8px;
  border-radius: 100px;
}

.es-qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  overflow: hidden;
  width: 140px;
}
.es-qty-selector button {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--es-light);
  font-size: 18px;
  cursor: pointer;
  color: var(--es-mid);
  transition: all 0.2s;
  flex-shrink: 0;
}
.es-qty-selector button:hover { background: var(--es-primary); color: white; }
.es-qty-selector input {
  flex: 1;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--es-font-body);
  color: var(--es-dark);
  padding: 0;
  outline: none;
  height: 44px;
  width: 0;
}

.es-booking-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--es-border);
  border-bottom: 1px solid var(--es-border);
  margin: 16px 0 20px;
}
.es-booking-total__label { font-size: 14px; color: var(--es-muted); }
.es-booking-total__amount { font-size: 22px; font-weight: 800; color: var(--es-dark); }

/* RSVP form */
.es-rsvp-section {
  background: linear-gradient(135deg, rgba(108,99,255,.05) 0%, rgba(255,107,107,.05) 100%);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 28px;
  margin-top: 24px;
}
.es-rsvp-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--es-dark);
  margin: 0 0 6px;
}
.es-rsvp-section p {
  font-size: 14px;
  color: var(--es-muted);
  margin: 0 0 20px;
}

/* Info boxes */
.es-info-card {
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.es-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--es-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--es-border);
}

.es-detail-list { list-style: none; margin: 0; padding: 0; }
.es-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--es-border);
  font-size: 14px;
}
.es-detail-list li:last-child { border-bottom: none; }
.es-detail-list__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(108,99,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.es-detail-list__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--es-muted);
  margin-bottom: 2px;
}
.es-detail-list__value { color: var(--es-dark); font-weight: 500; }

/* Share */
.es-share-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.es-share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.es-share-link--facebook { background: #1877F2; color: white; }
.es-share-link--twitter  { background: #1DA1F2; color: white; }
.es-share-link--linkedin { background: #0A66C2; color: white; }
.es-share-link--whatsapp { background: #25D366; color: white; }
.es-share-link--email    { background: var(--es-light); color: var(--es-mid); border: 1px solid var(--es-border); }
.es-share-link:hover { opacity: 0.9; transform: translateY(-2px); text-decoration: none; color: inherit; }

/* ---------- Countdown ---------- */
.es-countdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.es-countdown__unit {
  text-align: center;
  background: var(--es-dark);
  color: white;
  border-radius: var(--es-radius-sm);
  padding: 16px 20px;
  min-width: 72px;
}
.es-countdown__number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--es-primary);
  font-variant-numeric: tabular-nums;
}
.es-countdown__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* ---------- Booking Popup (Modal) ---------- */
.es-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,26,.7);
  backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.es-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.es-modal {
  background: white;
  border-radius: var(--es-radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s var(--es-transition);
}
.es-modal-overlay.active .es-modal {
  transform: translateY(0) scale(1);
}
.es-modal__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--es-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.es-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--es-dark);
  margin: 0;
  line-height: 1.3;
}
.es-modal__subtitle { font-size: 13px; color: var(--es-muted); margin: 4px 0 0; }
.es-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--es-border);
  border-radius: 50%;
  background: var(--es-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--es-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}
.es-modal__close:hover { background: var(--es-secondary); color: white; border-color: var(--es-secondary); }
.es-modal__body { padding: 24px 28px; }
.es-modal__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--es-border);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  background: white;
}

/* Steps */
.es-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.es-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.es-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--es-border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--es-muted);
  flex-shrink: 0;
  transition: all 0.3s;
}
.es-step.active .es-step__num { border-color: var(--es-primary); background: var(--es-primary); color: white; }
.es-step.done .es-step__num { border-color: #1a8f3c; background: #1a8f3c; color: white; }
.es-step__label { font-size: 12px; font-weight: 600; color: var(--es-muted); }
.es-step.active .es-step__label { color: var(--es-primary); }
.es-step-line { flex: 1; height: 2px; background: var(--es-border); margin: 0 8px; }
.es-step-line.done { background: #1a8f3c; }

/* ---------- Forms ---------- */
.es-form-group { margin-bottom: 18px; }
.es-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.es-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--es-mid);
  margin-bottom: 6px;
}
.es-form-label .req { color: var(--es-secondary); margin-left: 2px; }
.es-form-input, .es-form-select, .es-form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-sm);
  font-size: 14px;
  font-family: var(--es-font-body);
  color: var(--es-dark);
  background: var(--es-white);
  outline: none;
  transition: all 0.2s;
}
.es-form-input:focus, .es-form-select:focus, .es-form-textarea:focus {
  border-color: var(--es-primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}
.es-form-input::placeholder { color: var(--es-muted); }
.es-form-textarea { min-height: 100px; resize: vertical; }
.es-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B8BAA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
}
.es-form-hint { font-size: 12px; color: var(--es-muted); margin-top: 4px; }
.es-form-error { font-size: 12px; color: var(--es-secondary); margin-top: 4px; }

/* ---------- Dashboard (frontend) ---------- */
.es-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 80vh;
  font-family: var(--es-font-body);
}

.es-dashboard__sidebar {
  background: var(--es-dark);
  border-radius: var(--es-radius-lg) 0 0 var(--es-radius-lg);
  padding: 32px 0;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.es-dashboard__logo {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
}
.es-dashboard__logo-text {
  font-size: 18px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.es-dash-nav { list-style: none; margin: 0; padding: 8px 12px; }
.es-dash-nav li { margin-bottom: 2px; }
.es-dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--es-radius-sm);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.es-dash-nav a:hover { background: rgba(255,255,255,.07); color: white; text-decoration: none; }
.es-dash-nav a.active { background: var(--es-primary); color: white; }
.es-dash-nav a .icon { font-size: 16px; width: 20px; text-align: center; }

.es-dashboard__main {
  background: var(--es-light);
  border-radius: 0 var(--es-radius-lg) var(--es-radius-lg) 0;
  padding: 32px;
  min-height: 600px;
}

.es-dashboard__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.es-dashboard__page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--es-dark);
  margin: 0;
}

/* Stats Row */
.es-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.es-stat-card {
  background: white;
  border-radius: var(--es-radius);
  padding: 20px;
  border: 1px solid var(--es-border);
  position: relative;
  overflow: hidden;
}
.es-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color, var(--es-primary));
}
.es-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg, rgba(108,99,255,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.es-stat-card__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--es-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.es-stat-card__label { font-size: 12px; color: var(--es-muted); font-weight: 500; }
.es-stat-card__delta {
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}
.es-stat-card__delta.up { color: #1a8f3c; }
.es-stat-card__delta.down { color: var(--es-secondary); }

/* Events Table */
.es-table-wrapper {
  background: white;
  border-radius: var(--es-radius);
  border: 1px solid var(--es-border);
  overflow: hidden;
}
.es-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--es-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.es-table-header h3 { font-size: 16px; font-weight: 700; color: var(--es-dark); margin: 0; }
.es-table {
  width: 100%;
  border-collapse: collapse;
}
.es-table th {
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--es-muted);
  background: var(--es-light);
  border-bottom: 1px solid var(--es-border);
}
.es-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--es-mid);
  border-bottom: 1px solid var(--es-border);
  vertical-align: middle;
}
.es-table tr:last-child td { border-bottom: none; }
.es-table tbody tr:hover { background: rgba(108,99,255,.02); }
.es-table__event-title {
  font-weight: 600;
  color: var(--es-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.es-table__event-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--es-light);
}
.es-table__actions { display: flex; gap: 6px; }

/* Progress bars */
.es-progress {
  height: 6px;
  background: var(--es-border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 6px;
}
.es-progress__bar {
  height: 100%;
  background: var(--es-primary);
  border-radius: 100px;
  transition: width 0.5s ease;
}
.es-progress__bar.danger { background: var(--es-secondary); }
.es-progress__bar.success { background: #1a8f3c; }

/* Create Event Form */
.es-create-event {
  background: white;
  border-radius: var(--es-radius-lg);
  border: 1px solid var(--es-border);
  overflow: hidden;
}
.es-create-event__tabs {
  display: flex;
  border-bottom: 1px solid var(--es-border);
  padding: 0 24px;
  background: var(--es-light);
  gap: 0;
  overflow-x: auto;
}
.es-create-event__tab {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--es-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.es-create-event__tab.active {
  color: var(--es-primary);
  border-bottom-color: var(--es-primary);
}
.es-create-event__tab:hover { color: var(--es-primary); }
.es-create-event__body { padding: 32px; }

/* Image Upload */
.es-image-upload {
  border: 2px dashed var(--es-border);
  border-radius: var(--es-radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.es-image-upload:hover { border-color: var(--es-primary); background: rgba(108,99,255,.03); }
.es-image-upload__icon { font-size: 36px; margin-bottom: 12px; }
.es-image-upload__text { font-size: 15px; font-weight: 600; color: var(--es-dark); margin-bottom: 4px; }
.es-image-upload__hint { font-size: 13px; color: var(--es-muted); }
.es-image-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.es-image-preview {
  position: relative;
  border-radius: var(--es-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.es-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.es-image-preview__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,107,107,.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toggle switch */
.es-toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--es-border);
}
.es-toggle-field:last-child { border-bottom: none; }
.es-toggle-field__info { flex: 1; }
.es-toggle-field__label { font-size: 14px; font-weight: 600; color: var(--es-dark); }
.es-toggle-field__desc { font-size: 12px; color: var(--es-muted); margin-top: 2px; }
.es-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.es-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.es-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--es-border);
  border-radius: 100px;
  transition: all 0.3s;
  cursor: pointer;
}
.es-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.es-toggle input:checked + .es-toggle-slider { background: var(--es-primary); }
.es-toggle input:checked + .es-toggle-slider::before { transform: translateX(20px); }

/* ---------- Login Prompt ---------- */
.es-login-prompt {
  padding: 80px 20px;
  text-align: center;
}
.es-login-prompt__inner {
  max-width: 420px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl);
  padding: 48px 40px;
  box-shadow: var(--es-shadow);
}
.es-login-prompt__icon { font-size: 48px; display: block; margin-bottom: 16px; }
.es-login-prompt__inner h3 { font-size: 22px; font-weight: 700; color: var(--es-dark); margin: 0 0 8px; }
.es-login-prompt__inner p { color: var(--es-muted); font-size: 15px; margin: 0 0 24px; }
.es-login-prompt__sep { display: block; margin: 12px 0; color: var(--es-muted); font-size: 13px; }

/* ---------- Alerts & Notices ---------- */
.es-alert {
  padding: 14px 18px;
  border-radius: var(--es-radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.es-alert--success { background: rgba(26,143,60,.08); border-left: 3px solid #1a8f3c; color: #1a8f3c; }
.es-alert--error   { background: rgba(255,107,107,.08); border-left: 3px solid var(--es-secondary); color: #c0392b; }
.es-alert--info    { background: rgba(108,99,255,.08); border-left: 3px solid var(--es-primary); color: var(--es-primary); }
.es-alert--warning { background: rgba(255,193,7,.12); border-left: 3px solid var(--es-accent); color: #856404; }

/* ---------- Empty State ---------- */
.es-empty {
  padding: 80px 20px;
  text-align: center;
}
.es-empty__icon { font-size: 56px; display: block; margin-bottom: 16px; opacity: 0.7; }
.es-empty__title { font-size: 22px; font-weight: 700; color: var(--es-dark); margin: 0 0 8px; }
.es-empty__text  { color: var(--es-muted); font-size: 15px; margin: 0 0 24px; }

/* ---------- Loading ---------- */
.es-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--es-muted);
  font-size: 14px;
  padding: 40px;
}
.es-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--es-border);
  border-top-color: var(--es-primary);
  border-radius: 50%;
  animation: es-spin 0.7s linear infinite;
}
@keyframes es-spin { to { transform: rotate(360deg); } }

/* Skeleton loader */
.es-skeleton {
  background: linear-gradient(90deg, var(--es-light) 25%, #e8e8f0 50%, var(--es-light) 75%);
  background-size: 200% 100%;
  animation: es-shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes es-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Pagination ---------- */
.es-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.es-pagination a, .es-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--es-radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--es-border);
  color: var(--es-mid);
  background: white;
  transition: all 0.2s;
}
.es-pagination a:hover { border-color: var(--es-primary); color: var(--es-primary); }
.es-pagination .current { background: var(--es-primary); color: white; border-color: var(--es-primary); }

/* ---------- Map ---------- */
.es-map-container {
  border-radius: var(--es-radius);
  overflow: hidden;
  border: 1px solid var(--es-border);
  height: 220px;
}
.es-map-container iframe { width: 100%; height: 100%; border: none; }

/* ---------- Attendees ---------- */
.es-attendee-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--es-border);
}
.es-attendee-row:last-child { border-bottom: none; }
.es-attendee-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--es-primary);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.es-attendee-name { font-weight: 600; font-size: 14px; color: var(--es-dark); }
.es-attendee-email { font-size: 12px; color: var(--es-muted); }
.es-checked-in-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(26,143,60,.1);
  color: #1a8f3c;
}

/* ---------- My Tickets ---------- */
.es-ticket-card {
  background: white;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.es-ticket-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--es-primary);
}
.es-ticket-card__event-img {
  width: 80px;
  height: 60px;
  border-radius: var(--es-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--es-light);
}
.es-ticket-card__info { flex: 1; }
.es-ticket-card__title { font-weight: 700; font-size: 16px; color: var(--es-dark); margin-bottom: 4px; }
.es-ticket-card__date  { font-size: 13px; color: var(--es-muted); margin-bottom: 6px; }
.es-ticket-card__ref   { font-size: 12px; font-weight: 600; color: var(--es-primary); font-family: monospace; letter-spacing: 1px; }
.es-ticket-card__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.es-ticket-qr {
  width: 60px;
  height: 60px;
  background: var(--es-light);
  border-radius: var(--es-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--es-muted);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .es-events-grid { grid-template-columns: repeat(2, 1fr); }
  .es-stats-row { grid-template-columns: repeat(2, 1fr); }
  .es-single-event__layout { grid-template-columns: 1fr; }
  .es-featured-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .es-dashboard { grid-template-columns: 1fr; }
  .es-dashboard__sidebar {
    border-radius: var(--es-radius-lg);
    position: relative;
    top: auto;
  }
  .es-dashboard__main { border-radius: var(--es-radius-lg); }
}

@media (max-width: 768px) {
  .es-container { padding: 0 16px; }
  .es-events-grid { grid-template-columns: 1fr; }
  .es-filter-bar { flex-direction: column; align-items: stretch; }
  .es-filter-bar__search { min-width: auto; }
  .es-form-row { grid-template-columns: 1fr; }
  .es-stats-row { grid-template-columns: 1fr 1fr; }
  .es-events-list .es-event-card { flex-direction: column; }
  .es-events-list .es-event-card__thumbnail { width: 100%; border-radius: 16px 16px 0 0; aspect-ratio: 16/9; }
  .es-modal { max-height: 95vh; }
  .es-single-event__hero { height: 320px; }
  .es-booking-card { position: relative; top: auto; }
  .es-countdown { justify-content: center; }
  .es-ticket-card { flex-direction: column; text-align: center; }
  .es-ticket-card::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 4px; }
}

@media (max-width: 480px) {
  .es-stats-row { grid-template-columns: 1fr; }
  .es-section { padding: 48px 0; }
  .es-modal__header, .es-modal__body, .es-modal__footer { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Animations ---------- */
.es-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: esFadeUp 0.5s ease forwards;
}
@keyframes esFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.es-fade-up:nth-child(1) { animation-delay: 0.05s; }
.es-fade-up:nth-child(2) { animation-delay: 0.10s; }
.es-fade-up:nth-child(3) { animation-delay: 0.15s; }
.es-fade-up:nth-child(4) { animation-delay: 0.20s; }
.es-fade-up:nth-child(5) { animation-delay: 0.25s; }
.es-fade-up:nth-child(6) { animation-delay: 0.30s; }

@keyframes esSlideIn {
  from { opacity:0; transform:translateX(-20px); }
  to   { opacity:1; transform:translateX(0); }
}
.es-slide-in { animation: esSlideIn 0.4s ease forwards; }

/* ---------- Elementor Compat ---------- */
.elementor-widget-es_event_grid .es-events-grid,
.elementor-widget-es_event_list .es-events-list { margin: 0; }

/* ========================================
   Add to Calendar Buttons
   ======================================== */
.es-add-to-cal-section { margin: 2rem 0; }
.es-atc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}
.es-atc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    cursor: pointer;
    white-space: nowrap;
}
.es-atc-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.14); opacity:.9; }
.es-atc-google  { background: #fff; border-color: #e2e8f0; color: #374151; }
.es-atc-apple   { background: #000; color: #fff; }
.es-atc-outlook { background: #0078D4; color: #fff; }
.es-atc-yahoo   { background: #6001D2; color: #fff; }
.es-atc-ics     { background: var(--es-primary, #6C63FF); color: #fff; }

/* Admin cards & gcal status */
.es-admin-grid-2col { display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start; }
.es-gcal-status { display:flex;align-items:center;gap:14px;padding:16px;border-radius:10px;background:#f9fafb;border:1px solid #e5e7eb;flex-wrap:wrap; }
.es-gcal-connected { background:#f0fdf4;border-color:#bbf7d0; }
.es-gcal-disconnected { background:#fef2f2;border-color:#fecaca; }
.es-gcal-status-dot { width:12px;height:12px;border-radius:50%;flex-shrink:0; }
.es-gcal-connected .es-gcal-status-dot { background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.25); }
.es-gcal-disconnected .es-gcal-status-dot { background:#ef4444; }
.es-gcal-status-text { flex:1; display:flex;flex-direction:column;gap:2px; }
.es-gcal-status-actions { display:flex;gap:8px;flex-wrap:wrap; }
.es-gcal-connect-btn { background:#6C63FF!important;color:#fff!important;border-color:#6C63FF!important; }
.es-gcal-sync-progress { padding:12px;background:#f9fafb;border-radius:8px; }

@media (max-width: 768px) {
    .es-admin-grid-2col { grid-template-columns:1fr; }
    .es-atc-buttons { gap:8px; }
    .es-atc-btn { font-size:13px;padding:8px 12px; }
}

/* ============================================================
   ADD TO CALENDAR WIDGET
   ============================================================ */
.es-add-to-calendar {
    position: relative;
    display: inline-block;
}

.es-atc-trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    background: var(--es-primary);
    color: #fff;
    border: none;
    border-radius: var(--es-radius);
    font-family: var(--es-font-ui);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.es-atc-trigger:hover { background: var(--es-primary-dark, #5a52e0); transform: translateY(-1px); }
.es-atc-trigger svg { flex-shrink: 0; }
.es-atc-chevron { transition: transform .2s; }
.es-atc-trigger[aria-expanded="true"] .es-atc-chevron { transform: rotate(180deg); }

.es-atc-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 999;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: var(--es-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    overflow: hidden;
    animation: esAtcFadeIn .15s ease;
}
@keyframes esAtcFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.es-atc-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--es-text, #1a1a2e);
    text-decoration: none;
    transition: background .15s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}
.es-atc-option:hover { background: rgba(108,99,255,.06); color: var(--es-primary); }
.es-atc-option svg { flex-shrink: 0; }
.es-atc-hint { font-size: .75rem; color: #888; margin-left: auto; }
.es-atc-divider { height: 1px; background: rgba(0,0,0,.07); margin: .25rem 0; }

/* Section on single event page */
.es-atc-section { padding: 2rem 0; }
.es-atc-subtitle { margin: 0 0 1.25rem; color: #666; font-size: .95rem; }

/* Sidebar card (booking sidebar) */
.es-sidebar-atc-card {
    background: var(--es-surface, #fff);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--es-radius);
    padding: 1.25rem;
    margin-top: 1rem;
}
.es-sidebar-atc-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
    margin-bottom: .75rem;
}
.es-sidebar-atc-card .es-atc-trigger {
    width: 100%;
    justify-content: center;
    font-size: .85rem;
}
.es-sidebar-atc-card .es-atc-dropdown { left: 0; right: 0; min-width: unset; }
