/* =============================================
   events.css — Zyndora Events Page Redesign
   Light, modern aesthetic matching events-rede reference
   ============================================= */

/* ---- Page Body ---- */
body {
  background-color: #f8f9fa;
  color: #1a1a2e;
}

/* ---- Events Hero (replaces dark heading-page for this pg) ---- */
.events-hero {
  background: #ffffff;
  padding-top: 90px;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef0f2;
}

.events-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.events-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #097969;
  margin-bottom: 1rem;
}

.events-hero-eyebrow span {
  color: #b0b8c1;
  margin: 0 4px;
}

.events-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #0d1b2a;
  margin-bottom: 1.1rem;
  font-family: var(--font-gibed, 'Gibed', sans-serif);
}

.events-hero-title em {
  font-style: italic;
  color: #097969;
}

.events-hero-desc {
  font-size: 1rem;
  color: #6b7280;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 0;
}

.events-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.events-hero-reg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #097969;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.events-hero-reg-btn:hover {
  background: #085D36;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 121, 105, 0.3);
}

.events-hero-gmail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.events-hero-gmail-btn:hover {
  border-color: #097969;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.events-hero-gmail-btn img {
  width: 20px;
  height: auto;
}

/* ---- Filters / Tabs Bar ---- */
.events-filter-bar {
  background: #ffffff;
  border-bottom: 1px solid #eef0f2;
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 0;
}

.events-filter-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  flex-wrap: wrap;
}

.filters {
  margin-bottom: 0 !important;
  position: static !important;
  z-index: auto !important;
}

.filters ul {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  list-style: none;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters ul::-webkit-scrollbar {
  display: none;
}

.filters ul li {
  text-transform: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  background-color: transparent !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 7px 20px !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

.filters ul li small {
  background: #e2e8f0 !important;
  color: #6b7280;
  padding: 1px 7px !important;
  border-radius: 10px !important;
  margin-left: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700;
}

.filters ul li.active,
.filters ul li:hover {
  background-color: #097969 !important;
  border-color: #097969 !important;
  color: #ffffff !important;
}

.filters ul li.active small,
.filters ul li:hover small {
  background: rgba(255,255,255,0.25) !important;
  color: #fff;
}

/* Sort dropdown */
.events-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: #6b7280;
  white-space: nowrap;
}

.events-sort-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

#sort-dropdown {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

#sort-dropdown:hover, #sort-dropdown:focus {
  border-color: #097969;
}

/* ---- Main Events Grid Section ---- */
.events-main-section {
  background: #f8f9fa;
  padding: 2.5rem 15px;
}

.events-main-inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* ---- Event Cards Light Redesign ---- */
.event-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #eef0f2 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}

.event-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
  border-color: rgba(9, 121, 105, 0.2) !important;
}

.event-image-container {
  position: relative !important;
  width: 100% !important;
  padding-top: 60% !important;
  overflow: hidden !important;
}

.event-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.event-card:hover .event-image {
  transform: scale(1.05) !important;
}

/* Date badge — circular like ref */
.event-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: rgba(13, 27, 42, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  z-index: 2 !important;
  border: none !important;
  line-height: 1.2;
}

/* Status badge */
.event-status {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  z-index: 2 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.status-upcoming {
  background: #097969 !important;
  color: white !important;
}

.status-ongoing {
  background: #d63384 !important;
  color: white !important;
  animation: pulse 2s infinite !important;
}

.status-ended {
  background: #6c757d !important;
  color: white !important;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

/* Card content */
.event-content {
  padding: 20px 22px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.event-category {
  color: #097969 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 8px !important;
}

.event-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0d1b2a !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

.event-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
  font-size: 0.82rem !important;
  color: #6b7280 !important;
  flex-wrap: wrap;
}

.event-meta i {
  color: #097969 !important;
  width: 14px !important;
  text-align: center !important;
}

.event-desc {
  color: #6b7280 !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  flex-grow: 1 !important;
}

/* Card footer */
.event-footer {
  margin-top: auto !important;
  border-top: 1px solid #f0f2f5 !important;
  padding-top: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Fee container */
.fee-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(9, 121, 105, 0.07) !important;
  border: 1px solid rgba(9, 121, 105, 0.2) !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 0.7rem !important;
  color: #374151 !important;
  line-height: 1.2 !important;
}

.fee-row {
  font-weight: 700 !important;
  color: #097969 !important;
}

.fee-conversions {
  font-size: 0.65rem !important;
  opacity: 0.8 !important;
}

/* Register button in card */
.register-text-highlight {
  color: #097969 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: rgba(9, 121, 105, 0.08) !important;
  padding: 5px 14px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(9, 121, 105, 0.2) !important;
  transition: all 0.2s ease !important;
}

.register-text-highlight:hover {
  background: #097969 !important;
  color: #fff !important;
}

/* Info link */
.info-link {
  font-size: 0.7rem !important;
  color: #097969 !important;
  text-decoration: none !important;
  border: 1px solid rgba(9, 121, 105, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  transition: all 0.25s ease !important;
  background: rgba(9, 121, 105, 0.05) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.info-link:hover {
  background: #097969 !important;
  color: #fff !important;
  border-color: #097969 !important;
}

/* Empty state */
.no-events {
  width: 100% !important;
  text-align: center !important;
  padding: 60px 20px !important;
  color: #9ca3af !important;
}

.no-events i {
  font-size: 3rem !important;
  margin-bottom: 20px !important;
  opacity: 0.5 !important;
}

/* ---- Pagination Light Theme ---- */
.pagination-container {
  display: flex !important;
  justify-content: center !important;
  margin-top: 40px !important;
  width: 100% !important;
}

.pagination-wrapper {
  display: flex !important;
  gap: 8px !important;
  background: #ffffff !important;
  padding: 6px !important;
  border-radius: 50px !important;
  border: 1px solid #eef0f2 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}

.page-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: transparent !important;
  color: #374151 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.page-btn:hover:not(.disabled) {
  background: rgba(9, 121, 105, 0.08) !important;
  border-color: #097969 !important;
  color: #097969 !important;
}

.page-btn.active {
  background: #097969 !important;
  border-color: #097969 !important;
  box-shadow: 0 4px 10px rgba(9, 121, 105, 0.3) !important;
  color: #fff !important;
}

.page-btn.disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

/* ---- Fee Tooltip (unchanged functionality) ---- */
.fee-tooltip-container {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
}

.fee-info-icon {
  color: #097969;
  font-size: 0.7rem;
  background: rgba(9, 121, 105, 0.12);
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  border: 1px solid rgba(9, 121, 105, 0.3);
}

.fee-tooltip-container:hover .fee-info-icon {
  background: #097969;
  color: #fff;
}

.fee-tooltip-content {
  visibility: hidden;
  width: 280px;
  background-color: #fff;
  color: #333;
  text-align: left;
  border-radius: 12px;
  padding: 14px;
  position: absolute;
  z-index: 1000;
  bottom: 120%;
  left: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  font-size: 0.83rem;
  border: 1px solid #eef0f2;
  pointer-events: none;
}

.fee-tooltip-container:hover .fee-tooltip-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5px);
}

.fee-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 14px;
  margin-left: 0;
  border-width: 7px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.fee-tooltip-content h6 {
  margin: 0 0 10px 0;
  font-size: 0.85rem;
  color: #097969;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 6px;
  font-weight: 700;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table td {
  padding: 5px 0;
  border-bottom: 1px dashed #f5f5f5;
  vertical-align: top;
  font-size: 0.8rem;
}

.fee-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.fee-sub-label {
  display: block;
  font-size: 0.72em;
  color: #999;
}

/* ---- Banner buttons (kept for JS compatibility) ---- */
.banner-btn-reg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #097969 !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: none !important;
  margin-top: 0 !important;
}

.banner-btn-reg:hover {
  background: #085D36 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(9, 121, 105, 0.3) !important;
}

.gmail-btn-reg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 50% !important;
  margin-left: 0 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  backdrop-filter: none !important;
}

.gmail-btn-reg:hover {
  border-color: #097969 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.gmail-btn-reg img {
  width: 20px !important;
  height: auto !important;
  filter: none !important;
}

/* ---- Dark heading-page override for this page ---- */
.events-page .heading-page {
  display: none !important;
}

/* ---- Meetings section override ---- */
.events-page .meetings-page {
  background-image: none !important;
  background: #f8f9fa !important;
  padding-top: 0 !important;
}

.events-page .meetings-page > .container {
  max-width: 1320px;
  padding: 0 15px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 767px) {
  .events-hero {
    padding-top: 70px;
  }
  .events-filter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .events-sort-wrap {
    margin-bottom: 8px;
  }
}
/* Platform Fees / Calculation Promo Section - Scaled down 15% */
.calculator-promo-box {
  background: #e9f8f2;
  border: 1px solid rgba(9, 121, 105, 0.1);
  border-radius: 20px;
  padding: 1.85rem;
  width: 272px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.calculator-promo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(9, 121, 105, 0.2);
}

.promo-icon-circle {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
}

.promo-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0d1b2a;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.promo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.7rem;
}

.promo-desc {
  font-size: 0.7rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.promo-btn {
  background: #ffffff;
  color: #0b5394;
  border: 1.5px solid #e2e8f0;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.promo-btn:hover {
  background: #0b5394;
  color: #ffffff;
  border-color: #0b5394;
  box-shadow: 0 5px 15px rgba(11, 83, 148, 0.2);
}

@media (max-width: 991px) {
  .events-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-content-left {
    margin-bottom: 2.2rem;
  }
  .events-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .events-hero-actions {
    justify-content: center;
  }
}
