/* Supa.Ng contrast/accessibility correction — 2026-11-07
   Targeted overrides for shared navigation and dark account/organizer panels.
   No application logic is modified. */

/* Keep the site header readable on every public page. */
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > .nav-link,
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > button.nav-link {
  color: #f9fcff !important;
  opacity: 1 !important;
  font-weight: 750;
  text-shadow: none !important;
}
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > .nav-link:hover,
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > .nav-link:focus-visible,
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > button.nav-link:hover,
html body.supa-event-theme nav.su-site-header .navbar-nav > .nav-item > button.nav-link:focus-visible {
  color: #9cfff2 !important;
  background: rgba(255,255,255,.12) !important;
}
/* Bootstrap dropdown: links must not inherit the header's white font. */
html body.supa-event-theme nav.su-site-header .dropdown-menu {
  min-width: 195px;
  padding: 8px;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #102044 !important;
  border: 1px solid #d5e3f3 !important;
  box-shadow: 0 18px 42px rgba(3,14,40,.19) !important;
  z-index: 1050;
}
html body.supa-event-theme nav.su-site-header .dropdown-menu:not(.show) {
  display: none !important;
}
html body.supa-event-theme nav.su-site-header .dropdown-menu .dropdown-item,
html body.supa-event-theme nav.su-site-header .dropdown-menu .dropdown-item * {
  color: #142746 !important;
  font-weight: 650;
  background: transparent;
  opacity: 1 !important;
}
html body.supa-event-theme nav.su-site-header .dropdown-menu .dropdown-item {
  display: block;
  padding: 10px 13px;
  border-radius: 10px;
}
html body.supa-event-theme nav.su-site-header .dropdown-menu .dropdown-item:hover,
html body.supa-event-theme nav.su-site-header .dropdown-menu .dropdown-item:focus-visible {
  background: #eaf3ff !important;
  color: #084a9e !important;
}
html body.supa-event-theme nav.su-site-header .navbar-toggler {
  border-color: rgba(255,255,255,.55) !important;
}
html body.supa-event-theme nav.su-site-header .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2) !important;
}
@media (max-width:1199.98px) {
  html body.supa-event-theme nav.su-site-header .navbar-collapse {
    padding: 12px;
    border-radius: 0 0 20px 20px;
    background: #091d47 !important;
  }
  html body.supa-event-theme nav.su-site-header .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    box-shadow: none !important;
    margin-top: 4px;
  }
}

/* Attendee account has intentionally dark cards. Don't apply global light-panel
   heading/label colors to this section. */
html body.supa-event-theme .su-account .su-account-panel,
html body.supa-event-theme .su-account .su-account-panel form {
  color: #eaf5ff !important;
}
html body.supa-event-theme .su-account .su-account-panel h1,
html body.supa-event-theme .su-account .su-account-panel h2,
html body.supa-event-theme .su-account .su-account-panel h3,
html body.supa-event-theme .su-account .su-account-panel h4,
html body.supa-event-theme .su-account .su-account-panel h5,
html body.supa-event-theme .su-account .su-account-panel h6 {
  color: #ffffff !important;
  opacity: 1 !important;
}
html body.supa-event-theme .su-account .su-account-panel label,
html body.supa-event-theme .su-account .su-account-panel .form-label,
html body.supa-event-theme .su-account .su-account-panel .form-check-label {
  color: #e8f4ff !important;
  opacity: 1 !important;
  font-weight: 750;
}
html body.supa-event-theme .su-account .su-account-heading p,
html body.supa-event-theme .su-account .su-account-panel .su-helper,
html body.supa-event-theme .su-account .su-account-details p {
  color: #c7d9ee !important;
  opacity: 1 !important;
}
html body.supa-event-theme .su-account .su-account-panel .form-control::placeholder {
  color: #5b6e88 !important;
  opacity: 1 !important;
}
html body.supa-event-theme .su-account .su-account-panel .form-control {
  color: #102044 !important;
  background: #fff !important;
  border-color: #b5cde8 !important;
}

/* Organizer login hero is dark gradient: keep all title fragments legible. */
html body.supa-event-theme .supa-login-hero .supa-login-title {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html body.supa-event-theme .supa-login-hero .supa-login-title span {
  background: linear-gradient(90deg,#31f1df,#34b7ff,#bb7bff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
html body.supa-event-theme .supa-login-hero .supa-login-kicker,
html body.supa-event-theme .supa-login-hero .supa-login-sub {
  color: #f0f7ff !important;
  opacity: 1 !important;
}
html body.supa-event-theme .supa-login-hero .mini-box,
html body.supa-event-theme .supa-login-hero .mini-box .mini-text {
  color: #102044 !important;
}
html body.supa-event-theme .supa-login-card h1,
html body.supa-event-theme .supa-login-card h2,
html body.supa-event-theme .supa-login-card h3,
html body.supa-event-theme .supa-login-card .form-label {
  color: #102044 !important;
  opacity: 1 !important;
}
html body.supa-event-theme .supa-login-card .form-control {
  color: #102044 !important;
  background: #fff !important;
}
html body.supa-event-theme .supa-login-card .form-control::placeholder {
  color: #657892 !important;
  opacity: 1 !important;
}
