/**
 * SOQ Global Theme — Blue + Yellow
 * Loaded on frontend, student panel, and admin.
 */

:root {
  --soq-blue: #0B1B3D;
  --soq-blue-dark: #071228;
  --soq-yellow: #D4AF37;
  --soq-yellow-hover: #c49f2e;
  --soq-navy: #0B1B3D;
  --soq-radius: 16px;
  --soq-radius-sm: 12px;
  --soq-radius-pill: 999px;
  --soq-shadow: 0 10px 28px rgba(18, 31, 62, 0.08);
  --soq-shadow-lg: 0 18px 40px rgba(18, 31, 62, 0.12);

  /* Shared panel type + spacing (admin + user panel + create wizards) */
  --soq-text-body: 16px;
  --soq-text-label: 14px;
  --soq-text-hint: 13px;
  --soq-text-section: 20px;
  --soq-text-page: 26px;
  --soq-space-field: 22px;
  --soq-space-section: 36px;
  --soq-control-h: 44px;
  --soq-section-pad: 24px;
  --soq-text: #121F3E;
  --soq-muted: #5A6A85;
  --soq-border: #D8E0EC;

  --primary: #0033CC !important;
  --primary-saturated: #1a4ce6 !important;
  --primary-hover: #002699 !important;
  --primary-border: #0033CC !important;
  --primary-hover-border: #002699 !important;
  --secondary: #0A1F5C !important;
  --secondary-hover: #071640 !important;
  --secondary-border: #0A1F5C !important;
  --secondary-hover-border: #071640 !important;
  --accent: #CCFF00 !important;
  --success: #CCFF00 !important;
  --info: #4D7CFF !important;
  --badge: #0033CC !important;
  --badge-counter: #0033CC !important;
  --section-bg: #EEF3FF !important;
  /* Lime accent needs dark foreground — white fails WCAG on #CCFF00 */
  --accent-btn-color: #111 !important;
  --accent-btn-hover-color: #111 !important;
  --success-btn-color: #111 !important;
  --success-btn-hover-color: #111 !important;
}

/* Discount / accent pills: lime bg needs dark foreground (never white) */
.soq-accent-pill,
.bg-accent,
.bg-accent.text-white {
  color: #111 !important;
}

.soq-accent-pill__fg,
.soq-accent-pill .icons,
.soq-accent-pill span,
.bg-accent .text-white,
.bg-accent .icons,
.bg-accent .icons.text-white,
.bg-accent span {
  color: #111 !important;
  fill: #111 !important;
  stroke: #111 !important;
}

/* ========== TYPOGRAPHY SCALE (readable floor) ==========
   Overrides design_1 app.min.css body=14/11px + responsive .font-* shrink.
   Keep sizes fixed across breakpoints. Floor: body 16, meta 14, caption 12.
*/
html,
body {
  font-size: 16px !important;
}

.btn {
  font-size: 15px !important;
}

.text-meta {
  color: #5b6b86 !important;
}

.font-8 { font-size: 8px !important; }
.font-10 { font-size: 10px !important; }
.font-12 { font-size: 12px !important; }
.font-13 { font-size: 13px !important; }
.font-14 { font-size: 14px !important; }
.font-15 { font-size: 15px !important; }
.font-16 { font-size: 16px !important; }
.font-18 { font-size: 18px !important; }
.font-20 { font-size: 20px !important; }
.font-21 { font-size: 21px !important; }
.font-22 { font-size: 22px !important; }
.font-24 { font-size: 24px !important; }
.font-30 { font-size: 30px !important; }
.font-32 { font-size: 32px !important; }
.font-36 { font-size: 36px !important; }
.font-40 { font-size: 40px !important; }
.font-44 { font-size: 44px !important; }
.font-48 { font-size: 48px !important; }
.font-64 { font-size: 64px !important; }

h1, .h1 { font-size: 28px !important; }
h2, .h2 { font-size: 24px !important; }
h3, .h3 { font-size: 20px !important; }
h4, .h4 { font-size: 18px !important; }
h5, .h5 { font-size: 16px !important; }
h6, .h6 { font-size: 14px !important; }

/* Listing cards: readable titles + meta contrast */
.job-grid-card-1 .text-gray-500,
.course-grid-card-1 .text-gray-500,
.course-grid-card-2 .text-gray-500,
.event-grid-card-1 .text-gray-500,
.product-card .text-gray-500,
.post-card .text-gray-500,
.bundle-card .text-gray-500,
.upcoming-course-card .text-gray-500,
.meeting-package-grid-card-1 .text-gray-500 {
  color: #5b6b86 !important;
}

/* Job grid footer: long salary ranges must wrap, not overlap Apply */
.job-grid-card-1__footer-meta {
  min-width: 0;
}

@media (max-width: 767px) {
  html,
  body {
    font-size: 16px !important;
  }

  h1, .h1 { font-size: 24px !important; }
  h2, .h2 { font-size: 22px !important; }
  h3, .h3 { font-size: 18px !important; }
  h4, .h4 { font-size: 16px !important; }
}

/* Re-lock utilities inside the same breakpoints that used to shrink them */
@media (max-width: 991px) {
  .font-8 { font-size: 8px !important; }
  .font-10 { font-size: 10px !important; }
  .font-12 { font-size: 12px !important; }
  .font-13 { font-size: 13px !important; }
  .font-14 { font-size: 14px !important; }
  .font-15 { font-size: 15px !important; }
  .font-16 { font-size: 16px !important; }
  .font-18 { font-size: 18px !important; }
  .font-20 { font-size: 20px !important; }
  .font-21 { font-size: 21px !important; }
  .font-22 { font-size: 22px !important; }
  .font-24 { font-size: 24px !important; }
  .font-30 { font-size: 30px !important; }
  .font-32 { font-size: 32px !important; }
  .font-36 { font-size: 36px !important; }
  .font-40 { font-size: 40px !important; }
  .font-44 { font-size: 44px !important; }
  .font-48 { font-size: 48px !important; }
  .font-64 { font-size: 64px !important; }
}

/* Typography accents */
.pixel-font,
.soq-pixel {
  font-family: 'Press Start 2P', cursive !important;
  line-height: 1.4 !important;
}

.handwritten,
.soq-script {
  font-family: 'Caveat', cursive !important;
  font-weight: 700;
}

/* ========== BUTTONS ========== */
.btn,
button.btn,
a.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-accent,
.btn-outline-primary,
.webinar-card .btn,
.panel-content .btn,
.admin-content .btn {
  border-radius: var(--soq-radius-pill) !important;
  font-weight: 700 !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.btn-primary,
.bg-primary.btn,
a.btn-primary {
  background-color: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 51, 204, 0.22) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--soq-blue-dark) !important;
  border-color: var(--soq-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-success,
.btn-accent,
a.btn-success {
  background-color: var(--soq-yellow) !important;
  border-color: var(--soq-yellow) !important;
  color: #111 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
}

.btn-success:hover,
.btn-accent:hover {
  background-color: var(--soq-yellow-hover) !important;
  border-color: var(--soq-yellow-hover) !important;
  color: #111 !important;
}

.btn-outline-primary {
  color: var(--soq-blue) !important;
  border: 2px solid var(--soq-blue) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--soq-blue) !important;
  color: #fff !important;
}

/* Lime CTA helper used sitewide */
.btn-lime,
.soq-btn-yellow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--soq-yellow) !important;
  color: #111 !important;
  font-weight: 700 !important;
  border-radius: var(--soq-radius-pill) !important;
  padding: 12px 24px !important;
  border: none !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
  text-decoration: none !important;
}

.btn-lime:hover,
.soq-btn-yellow:hover {
  background: var(--soq-yellow-hover) !important;
  color: #111 !important;
  text-decoration: none !important;
}

/* ========== LINKS ========== */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
  transition: color .15s ease;
}

.text-primary,
a.text-primary {
  color: var(--soq-blue) !important;
}

a.text-primary:hover {
  color: var(--soq-blue-dark) !important;
}

/* ========== CARDS / BOXES ========== */
.card,
.webinar-card,
.course-card,
.product-card,
.panel-box,
.panel-section,
.dashboard-stats-card,
.stat-widget,
.bg-white.rounded-16,
.bg-white.rounded-20,
.bg-white.rounded-24,
.bg-white.rounded-32,
.rounded-16.bg-white,
.rounded-20.bg-white {
  border-radius: var(--soq-radius) !important;
  box-shadow: var(--soq-shadow) !important;
  border: 1px solid rgba(205, 213, 226, 0.65) !important;
}

.webinar-card:hover,
.course-card:hover,
.product-card:hover {
  box-shadow: var(--soq-shadow-lg) !important;
  transform: translateY(-3px);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Inputs */
.form-control,
.select2-container--default .select2-selection--single,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
  border-radius: 12px !important;
}

.form-control:focus,
input:focus,
textarea:focus {
  border-color: var(--soq-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.15) !important;
}

/* Header search sits on bg-primary — force white text + caret (body color was #121F3E) */
.theme-header-1__top-navbar-search input,
.theme-header-2__top-navbar-search input {
  color: #fff !important;
  caret-color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.theme-header-1__top-navbar-search input:focus,
.theme-header-1__top-navbar-search input:active,
.theme-header-2__top-navbar-search input:focus,
.theme-header-2__top-navbar-search input:active {
  color: #fff !important;
  caret-color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

/* Badges / tags */
.badge,
.badge-primary,
span.badge {
  border-radius: var(--soq-radius-pill) !important;
}

.badge-primary,
.bg-primary {
  background-color: var(--soq-blue) !important;
}

.badge-success,
.bg-success {
  background-color: var(--soq-yellow) !important;
  color: #111 !important;
}

/* Pagination active */
.pagination .page-item.active .page-link,
.page-item.active .page-link {
  background-color: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
}

/* Checkbox / switch accents */
.custom-control-input:checked ~ .custom-control-label::before,
.form-check-input:checked {
  background-color: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
}

/* ========== FRONTEND NAV / CTA ========== */
#appHeaderArea .btn-primary,
.navbar .btn-primary,
.top-navbar .btn-primary {
  border-radius: var(--soq-radius-pill) !important;
}

/* Progress bars */
.progress-bar,
.progress .progress-bar {
  background-color: var(--soq-blue) !important;
}

/* ========== STUDENT PANEL ========== */
.panel-sidebar,
.sidebar,
.user-panel-side {
  /* keep structure; tint accents */
}

.panel-sidebar .active > a,
.sidebar .nav-item.active > a,
.panel-menu li.active > a,
.user-panel-side .active {
  background-color: rgba(0, 51, 204, 0.08) !important;
  color: var(--soq-blue) !important;
  border-radius: 12px !important;
}

.panel-content .btn-primary,
.panel-section .btn-primary {
  background: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
}

.panel-content .btn-success {
  background: var(--soq-yellow) !important;
  border-color: var(--soq-yellow) !important;
  color: #111 !important;
}

/* ========== ADMIN / STAFF PANEL — match user-panel chrome ========== */
body .main-sidebar,
.main-sidebar,
.sidebar-mini .main-sidebar,
body.soq-admin-panel .main-sidebar {
  background: #fff !important;
  border-right: 1px solid #E9EDF3 !important;
}

.main-sidebar .sidebar-menu li.active > a,
.main-sidebar .sidebar-menu li a:hover,
.main-sidebar .nav-item.active > a,
body.soq-admin-panel .main-sidebar .sidebar-menu li.active > a {
  background: rgba(0, 51, 204, 0.08) !important;
  color: var(--soq-blue) !important;
  border-radius: 12px !important;
}

.main-sidebar .sidebar-menu li.active > a {
  border-left: none !important;
}

.navbar-bg,
.main-navbar,
.navbar.navbar-bg,
body.soq-admin-panel .admin-header {
  background: #fff !important;
  border-bottom: 1px solid #E9EDF3 !important;
}

.btn.btn-primary,
.section .btn-primary,
.card .btn-primary,
.main-content .btn-primary {
  background-color: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
  color: #fff !important;
  border-radius: var(--soq-radius-pill) !important;
}

.btn.btn-success,
.section .btn-success,
.card .btn-success {
  background-color: var(--soq-yellow) !important;
  border-color: var(--soq-yellow) !important;
  color: #111 !important;
  border-radius: var(--soq-radius-pill) !important;
}

.card {
  border-radius: var(--soq-radius) !important;
  box-shadow: var(--soq-shadow) !important;
}

.section-header h1,
.section .section-header h1,
.main-content h1,
.main-content h2 {
  color: var(--soq-navy);
}

/* Admin table accents */
.table .btn-primary,
table .btn-primary {
  border-radius: var(--soq-radius-pill) !important;
}

/* Soft yellow highlight chips */
.soq-chip-yellow,
.badge-warning.soq-chip {
  background: var(--soq-yellow) !important;
  color: #111 !important;
}

/* CTA banners sitewide */
.soq-cta-band,
.cta-section,
.full-width-bar-cta,
.boxed-cta-full-width {
  background: var(--soq-blue) !important;
  color: #fff !important;
}

.soq-cta-band--yellow {
  background: var(--soq-yellow) !important;
  color: #111 !important;
}

/* Select2 focus */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--soq-blue) !important;
}

/* Swiper / arrows */
.swiper-pagination-bullet-active {
  background: var(--soq-blue) !important;
}

/* Icons primary tint */
.text-primary .icons,
.icons.text-primary,
svg.text-primary {
  color: var(--soq-blue) !important;
  stroke: var(--soq-blue);
}

/* Force success text readable on lime brand token */
.text-success {
  color: #3d5c00 !important;
}

.icons.text-success,
svg.text-success {
  color: #3d5c00 !important;
  stroke: #3d5c00;
}

/*
 * Theme packs --success as lime (#CCFF00). Vendor alerts paint ALL descendants
 * with that color on a washed background → unreadable. Keep lime as accent
 * bar only; body copy stays navy (brand: high-contrast, readable).
 */
.alert.alert-success,
.alert.alert-success * {
  color: var(--soq-text, #121F3E) !important;
}

.alert.alert-success {
  background-color: #F3F9E6 !important;
  border-color: #B8E600 !important;
}

.alert.alert-success a {
  color: var(--soq-blue, #0033CC) !important;
  text-decoration: underline;
}

.alert.alert-success:before {
  background-color: #9BBB00 !important;
  opacity: 0.12;
}

.alert.alert-success:after {
  background-color: transparent !important;
  border-color: #B8E600 !important;
}

.alert.alert-warning,
.alert.alert-warning * {
  color: var(--soq-text, #121F3E) !important;
}

.alert.alert-warning {
  background-color: #FFF8E8 !important;
  border-color: #E6A700 !important;
}

.alert.alert-warning a {
  color: var(--soq-blue, #0033CC) !important;
}

.alert.alert-info,
.alert.alert-info * {
  color: var(--soq-text, #121F3E) !important;
}

.alert.alert-info {
  background-color: #EEF3FF !important;
  border-color: #4D7CFF !important;
}

.alert.alert-info a {
  color: var(--soq-blue, #0033CC) !important;
}

/* Upcoming course date chips sit on a dark photo gradient —
   translucent lime wash + lime text is unreadable */
.upcoming-course-card .bg-success-20,
.upcoming-course-card .bg-warning-20 {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-width: 1px;
  border-style: solid;
  backdrop-filter: blur(4px);
}

.upcoming-course-card .bg-success-20 {
  border-color: #9bbb00 !important;
}

.upcoming-course-card .bg-warning-20 {
  border-color: #e6a700 !important;
}

.upcoming-course-card .bg-success-20:before,
.upcoming-course-card .bg-warning-20:before {
  display: none !important;
}

.upcoming-course-card .text-success,
.upcoming-course-card .icons.text-success {
  color: #3d5c00 !important;
}

.upcoming-course-card .text-warning,
.upcoming-course-card .icons.text-warning {
  color: #9a5b00 !important;
}

/* Utility */
.bg-soq-blue { background-color: var(--soq-blue) !important; }
.bg-soq-yellow { background-color: var(--soq-yellow) !important; color: #111 !important; }
.text-soq-blue { color: var(--soq-blue) !important; }
.text-soq-yellow { color: #9bbb00 !important; }

/* Panel / navbar logo: keep aspect ratio in the fixed 192x44 slot */
.panel-header__logo,
.navbar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.panel-header__logo img,
.navbar__logo img {
  width: auto !important;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========== HEADER 1 LAYOUT FIX (v3) ========== */
/* Stop white nav pill overlapping hero / page content */

.soq-header-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 84px;
  box-sizing: border-box;
}

.soq-header-pill__row--top {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  min-height: 44px;
}

.soq-header-pill__logo {
  flex: 0 0 auto;
}

.soq-header-pill__categories {
  flex: 0 0 auto;
}

.soq-header-pill__links {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.soq-header-pill__links--inline {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

.soq-header-pill__links--wrap {
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid #EEF2F7;
}

.soq-header-pill__links a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.soq-header-pill__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

.soq-header-pill__btn {
  border-radius: 999px !important;
  white-space: nowrap;
  padding: 10px 18px !important;
  font-size: 14px !important;
}

/* Desktop: floating overlap design stays */
@media (min-width: 992px) {
  .theme-header-1 {
    margin-bottom: -84px;
  }
  .theme-header-1__main {
    height: auto !important;
    min-height: 84px;
    top: -42px;
    margin-bottom: -42px;
  }
  .soq-header-pill__links--wrap {
    display: none !important;
  }
}

/* Tablet + mobile: NO negative pull — pill sits flush with top bar + hero */
@media (max-width: 991.98px) {
  .theme-header-1 {
    margin-bottom: 0 !important;
  }

  .theme-header-1__main {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
  }

  /* Match top-navbar + hero: full-bleed box, equal 16px content gutter */
  .theme-header-1__main > .container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .theme-header-1__main-mask {
    display: none !important;
  }

  .theme-header-1__top-navbar {
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .soq-header-pill {
    min-height: 0;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    box-shadow: none !important;
  }

  .soq-header-pill__btn {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  .soq-header-pill__btn .btn-flip-effect__text {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .soq-header-pill__links--wrap {
    gap: 8px 12px;
  }

  .soq-header-pill__links--wrap a {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .soq-header-pill__categories .btn,
  .soq-header-pill__categories button {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ========== MOBILE HEADER MENU (v4) ========== */
.soq-header-pill__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.soq-header-pill__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #D8E0EC;
  background: #F5F8FC;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.soq-header-pill__menu-icon,
.soq-header-pill__menu-icon::before,
.soq-header-pill__menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #121F3E;
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}

.soq-header-pill__menu-icon::before,
.soq-header-pill__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.soq-header-pill__menu-icon::before { top: -6px; }
.soq-header-pill__menu-icon::after { top: 6px; }

.soq-header-pill__menu-btn.is-open .soq-header-pill__menu-icon {
  background: transparent;
}
.soq-header-pill__menu-btn.is-open .soq-header-pill__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.soq-header-pill__menu-btn.is-open .soq-header-pill__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.soq-header-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #EEF2F7;
}

.soq-header-mobile-panel.is-open,
.soq-header-mobile-panel:not([hidden]) {
  display: flex;
}

.soq-header-mobile-panel[hidden] {
  display: none !important;
}

.soq-header-mobile-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soq-header-mobile-panel__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #121F3E !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
}

.soq-header-mobile-panel__link:hover,
.soq-header-mobile-panel__link:focus {
  background: #F0F4FF;
  color: #0033CC !important;
}

/* Categories icon in blue top-navbar (mobile) */
.soq-topnav-categories .theme-header-1__dropdown > .soq-categories-trigger,
.soq-topnav-categories .theme-header-1__dropdown > .bg-gray-100 {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(204, 255, 0, 0.55) !important;
  border-radius: 999px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  color: #fff !important;
  cursor: pointer;
}

.soq-topnav-categories .theme-header-1__dropdown > .soq-categories-trigger .text-gray-500,
.soq-topnav-categories .theme-header-1__dropdown > .soq-categories-trigger .icons,
.soq-topnav-categories .theme-header-1__dropdown > .soq-categories-trigger svg,
.soq-topnav-categories .theme-header-1__dropdown > .bg-gray-100 .text-gray-500,
.soq-topnav-categories .theme-header-1__dropdown > .bg-gray-100 .icons,
.soq-topnav-categories .theme-header-1__dropdown > .bg-gray-100 svg {
  color: #CCFF00 !important;
  stroke: #CCFF00;
}

.soq-topnav-categories .header-1-dropdown-menu {
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #E6ECF5 !important;
  z-index: 200;
}

.soq-header-mobile-panel__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
}

.soq-header-mobile-panel__utilities {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(204, 255, 0, 0.28);
}

.soq-header-mobile-panel__utility-list {
  padding: 4px 0 8px 8px;
}

.soq-header-mobile-panel__utility-hint {
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.soq-header-mobile-panel__utility-hint code {
  color: #CCFF00;
  font-weight: 700;
}

.soq-header-mobile-panel__utility-label {
  margin: 8px 0 4px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(204, 255, 0, 0.85);
}

/* Mobile: keep pill to one clean row */
@media (max-width: 991.98px) {
  .soq-header-pill {
    min-height: 64px !important;
    padding: 12px 16px !important;
  }

  .soq-header-pill__row--top {
    min-height: 48px;
  }

  .soq-header-pill__links--wrap {
    display: none !important;
  }

  .soq-header-pill__btn {
    max-width: 150px;
  }

  .soq-header-pill__btn .btn-flip-effect__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 575.98px) {
  .soq-header-pill__btn {
    display: none !important;
  }
}

/* ========== FOOTER — solid SOQ blue end-to-end (v7) ========== */
/* Theme locks height at 524px on desktop; SOQ link lists overflow onto
   page gray with white text — force auto height so blue covers copyright. */
.theme-footer-1,
.theme-footer-1__section {
  background-color: var(--soq-blue, #0033CC) !important;
  height: auto !important;
  min-height: 0 !important;
}

.theme-footer-1.has-newsletter .theme-footer-1__section {
  height: auto !important;
  padding-bottom: 24px;
}

.theme-footer-1__section-bg-wrapper {
  background-color: var(--soq-blue, #0033CC) !important;
  background-image: none !important;
}

/* Newsletter floats above the blue section bg (z-index:1 on bg-wrapper) */
.theme-footer-1__newsletter {
  z-index: 3 !important;
}

.theme-footer-1__newsletter-mask {
  display: none !important;
}

/* Solid white floating card — readable on the page/footer overlap */
.theme-footer-1__newsletter .bg-white {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 12px 32px rgba(0, 51, 204, 0.18) !important;
}

.theme-footer-1__newsletter h4,
.theme-footer-1__newsletter .font-20 {
  color: var(--soq-blue, #0033CC) !important;
}

.theme-footer-1__newsletter .text-gray-500 {
  color: #64748b !important;
}

.theme-footer-1__newsletter .newsletter-form {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

.theme-footer-1__newsletter .newsletter-form input {
  color: #0f172a !important;
}

.theme-footer-1__newsletter .newsletter-form input::placeholder {
  color: #94a3b8 !important;
}

.theme-footer-1__newsletter .newsletter-form .icons,
.theme-footer-1__newsletter .newsletter-form svg {
  color: #64748b !important;
  stroke: #64748b;
}

.theme-footer-1 .btn-primary,
.theme-footer-1 a.btn-primary {
  background: var(--soq-yellow, #CCFF00) !important;
  border-color: var(--soq-yellow, #CCFF00) !important;
  color: #111 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
}

.theme-footer-1 .btn-primary:hover,
.theme-footer-1 a.btn-primary:hover,
.theme-footer-1 .btn-primary .btn-flip-effect__text,
.theme-footer-1 a.btn-primary .btn-flip-effect__text,
.theme-footer-1 .btn-primary .icons,
.theme-footer-1 a.btn-primary svg {
  color: #111 !important;
  stroke: #111;
}

.theme-footer-1 .btn-primary:hover,
.theme-footer-1 a.btn-primary:hover {
  background: #b8e600 !important;
  border-color: #b8e600 !important;
}

/* Soft white CTA chip stays readable on electric blue */
.theme-footer-1 .bg-white-10 {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.theme-footer-1__bottom-section-divider {
  background-color: rgba(204, 255, 0, 0.35) !important;
  opacity: 1 !important;
}

/* Copyright + social icons: readable on electric blue */
.theme-footer-1__copyright {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  max-width: 720px;
  line-height: 1.45 !important;
}

.theme-footer-1__social {
  width: 60px !important;
  height: 60px !important;
  flex-shrink: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
}

.theme-footer-1__social:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.theme-footer-1__social img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
}

/* Legacy selectors kept for cached markup */
.theme-footer-1 .container.d-flex.flex-column.flex-lg-row .font-14.text-white {
  color: #fff !important;
  opacity: 1 !important;
}

.theme-footer-1 .container.d-flex.flex-column.flex-lg-row a.size-24 {
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px;
  background: transparent;
  padding: 0;
}

/* ========== HEADER THEME — blue + yellow (v6) ========== */
.theme-header-1__main-mask {
  display: none !important;
}

.soq-header-pill {
  background: #0033CC !important;
  border: 2px solid #CCFF00 !important;
  box-shadow: 0 14px 36px rgba(0, 51, 204, 0.35) !important;
  color: #fff !important;
}

.soq-header-pill__link,
.soq-header-pill__links a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  padding: 6px 4px;
  transition: color .15s ease;
}

.soq-header-pill__link:hover,
.soq-header-pill__links a:hover {
  color: #CCFF00 !important;
}

/* Trigger chip only — never the dropdown panel (was making the menu a lime circle) */
.soq-header-pill__categories .theme-header-1__dropdown > .soq-categories-trigger,
.soq-header-pill__categories .theme-header-1__dropdown > .bg-gray-100 {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(204, 255, 0, 0.55) !important;
  border-radius: 999px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  color: #fff !important;
  cursor: pointer;
}

.soq-header-pill__categories .theme-header-1__dropdown > .soq-categories-trigger .text-gray-500,
.soq-header-pill__categories .theme-header-1__dropdown > .soq-categories-trigger .icons,
.soq-header-pill__categories .theme-header-1__dropdown > .soq-categories-trigger svg,
.soq-header-pill__categories .theme-header-1__dropdown > .bg-gray-100 .text-gray-500,
.soq-header-pill__categories .theme-header-1__dropdown > .bg-gray-100 .icons,
.soq-header-pill__categories .theme-header-1__dropdown > .bg-gray-100 svg {
  color: #CCFF00 !important;
  stroke: #CCFF00;
}

/* Categories menu: normal rectangular panel */
.soq-header-pill__categories .header-1-dropdown-menu {
  background: #fff !important;
  border: 1px solid #E6ECF5 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(7, 27, 77, 0.16) !important;
  padding: 8px 0 !important;
  min-width: 260px;
  overflow: hidden;
}

.soq-header-pill__categories .header-1-dropdown-menu__item > a,
.soq-header-pill__categories .header-1-dropdown-menu__item span {
  color: #121F3E !important;
}

.soq-header-pill__categories .header-1-dropdown-menu__item:hover > a,
.soq-header-pill__categories .header-1-dropdown-menu__item:hover span {
  color: #0033CC !important;
}

.soq-header-pill__categories .cat-dropdown-menu-icon {
  width: 24px;
  height: 24px;
  max-width: 24px;
  min-width: 24px;
  object-fit: contain;
}

.soq-header-pill__btn {
  background: #CCFF00 !important;
  border: none !important;
  color: #111 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 10px 18px !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.3) !important;
  text-decoration: none !important;
}

.soq-header-pill__btn:hover {
  background: #b8e600 !important;
  color: #111 !important;
}

.soq-header-pill__btn-text,
.soq-header-pill__btn .icons,
.soq-header-pill__btn svg {
  color: #111 !important;
  stroke: #111;
}

.soq-header-pill__menu-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(204, 255, 0, 0.65) !important;
}

.soq-header-pill__menu-icon,
.soq-header-pill__menu-icon::before,
.soq-header-pill__menu-icon::after {
  background: #CCFF00 !important;
}

.soq-header-mobile-panel {
  border-top-color: rgba(204, 255, 0, 0.35) !important;
}

.soq-header-mobile-panel__link {
  color: #fff !important;
}

.soq-header-mobile-panel__link:hover,
.soq-header-mobile-panel__link:focus {
  background: rgba(204, 255, 0, 0.15) !important;
  color: #CCFF00 !important;
}

.soq-header-mobile-panel__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #CCFF00 !important;
  color: #111 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  text-decoration: none !important;
}

/* Sticky state keeps same brand look */
.theme-header-1__main.sticky .soq-header-pill {
  background: #0033CC !important;
  border-color: #CCFF00 !important;
}

/* ========== HEADER NAV HOVER — match yellow pill buttons (v7) ========== */
.soq-header-pill__links--inline {
  gap: 4px !important;
}

.soq-header-pill__link,
.soq-header-pill__links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease !important;
}

/* Top-row labels only (Home, Courses, …) — not dropdown item names */
.soq-header-pill__link,
.soq-header-pill__btn,
.soq-header-pill__btn-text,
.soq-header-mobile-panel__link,
.soq-header-mobile-panel__cta {
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
}

.soq-header-pill__nav-dd-item,
.soq-header-pill__nav-dd-view-all,
.soq-header-pill__orgs-item,
.soq-header-pill__orgs-view-all,
.soq-header-pill__nav-dd-name,
.soq-header-pill__orgs-name {
  text-transform: none !important;
  letter-spacing: normal;
}

.soq-header-pill__link:hover,
.soq-header-pill__link:focus,
.soq-header-pill__links a:hover,
.soq-header-pill__links a:focus {
  background: #CCFF00 !important;
  color: #111 !important;
  border-color: #CCFF00 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
  transform: translateY(-1px) !important;
}

.soq-header-pill__link:active,
.soq-header-pill__links a:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 10px rgba(204, 255, 0, 0.22) !important;
}

/* Primary-nav dropdowns (Organizations + Courses/Instructors/Store/etc.) */
.soq-header-pill__nav-dd,
.soq-header-pill__orgs {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.soq-header-pill__nav-dd-trigger .soq-header-pill__nav-dd-caret,
.soq-header-pill__orgs-trigger .soq-header-pill__orgs-caret {
  opacity: 0.85;
  flex-shrink: 0;
}

.soq-header-pill__nav-dd:hover > .soq-header-pill__nav-dd-trigger,
.soq-header-pill__nav-dd:focus-within > .soq-header-pill__nav-dd-trigger,
.soq-header-pill__orgs:hover > .soq-header-pill__orgs-trigger,
.soq-header-pill__orgs:focus-within > .soq-header-pill__orgs-trigger {
  background: #CCFF00 !important;
  color: #111 !important;
  border-color: #CCFF00 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
  transform: translateY(-1px) !important;
}

.soq-header-pill__nav-dd:hover > .soq-header-pill__nav-dd-trigger .icons,
.soq-header-pill__nav-dd:hover > .soq-header-pill__nav-dd-trigger svg,
.soq-header-pill__nav-dd:focus-within > .soq-header-pill__nav-dd-trigger .icons,
.soq-header-pill__nav-dd:focus-within > .soq-header-pill__nav-dd-trigger svg,
.soq-header-pill__orgs:hover > .soq-header-pill__orgs-trigger .icons,
.soq-header-pill__orgs:hover > .soq-header-pill__orgs-trigger svg,
.soq-header-pill__orgs:focus-within > .soq-header-pill__orgs-trigger .icons,
.soq-header-pill__orgs:focus-within > .soq-header-pill__orgs-trigger svg {
  color: #111 !important;
  stroke: #111;
}

.soq-header-pill__nav-dd .soq-header-pill__nav-dd-menu,
.soq-header-pill__orgs .soq-header-pill__orgs-menu {
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  max-height: min(70vh, 420px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid #E6ECF5 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(7, 27, 77, 0.16) !important;
  z-index: 60;
}

/* Invisible hover bridge so the pointer can cross the 8px gap without closing */
.soq-header-pill__nav-dd::after,
.soq-header-pill__orgs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  z-index: 59;
}

.soq-header-pill__nav-dd:not(:hover):not(:focus-within):not(.is-open) > .soq-header-pill__nav-dd-menu,
.soq-header-pill__orgs:not(:hover):not(:focus-within):not(.is-open) > .soq-header-pill__orgs-menu,
.theme-header-1__dropdown.soq-header-pill__nav-dd:not(:hover):not(:focus-within):not(.is-open) > .header-1-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.soq-header-pill__nav-dd:hover > .soq-header-pill__nav-dd-menu,
.soq-header-pill__nav-dd:focus-within > .soq-header-pill__nav-dd-menu,
.soq-header-pill__nav-dd.is-open > .soq-header-pill__nav-dd-menu,
.soq-header-pill__orgs:hover > .soq-header-pill__orgs-menu,
.soq-header-pill__orgs:focus-within > .soq-header-pill__orgs-menu,
.soq-header-pill__orgs.is-open > .soq-header-pill__orgs-menu,
.theme-header-1__dropdown.soq-header-pill__nav-dd.is-open > .header-1-dropdown-menu,
.theme-header-1__dropdown.soq-header-pill__nav-dd:focus-within > .header-1-dropdown-menu {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

.soq-header-pill__nav-dd.is-open > .soq-header-pill__nav-dd-trigger,
.soq-header-pill__orgs.is-open > .soq-header-pill__orgs-trigger {
  background: #CCFF00 !important;
  color: #111 !important;
  border-color: #CCFF00 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
  transform: translateY(-1px) !important;
}

.soq-header-pill__nav-dd.is-open > .soq-header-pill__nav-dd-trigger .icons,
.soq-header-pill__nav-dd.is-open > .soq-header-pill__nav-dd-trigger svg,
.soq-header-pill__orgs.is-open > .soq-header-pill__orgs-trigger .icons,
.soq-header-pill__orgs.is-open > .soq-header-pill__orgs-trigger svg {
  color: #111 !important;
  stroke: #111;
}

.soq-header-pill__nav-dd-list,
.soq-header-pill__orgs-list {
  overflow-y: auto;
  max-height: 340px;
}

.soq-header-pill__links .soq-header-pill__nav-dd-item,
.soq-header-pill__links .soq-header-pill__nav-dd-view-all,
.soq-header-pill__links .soq-header-pill__orgs-item,
.soq-header-pill__links .soq-header-pill__orgs-view-all {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 8px 16px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: #121F3E !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}

.soq-header-pill__links .soq-header-pill__nav-dd-item:hover,
.soq-header-pill__links .soq-header-pill__nav-dd-item:focus,
.soq-header-pill__links .soq-header-pill__nav-dd-item:active,
.soq-header-pill__links .soq-header-pill__nav-dd-view-all:hover,
.soq-header-pill__links .soq-header-pill__nav-dd-view-all:focus,
.soq-header-pill__links .soq-header-pill__nav-dd-view-all:active,
.soq-header-pill__links .soq-header-pill__orgs-item:hover,
.soq-header-pill__links .soq-header-pill__orgs-item:focus,
.soq-header-pill__links .soq-header-pill__orgs-item:active,
.soq-header-pill__links .soq-header-pill__orgs-view-all:hover,
.soq-header-pill__links .soq-header-pill__orgs-view-all:focus,
.soq-header-pill__links .soq-header-pill__orgs-view-all:active {
  background: rgba(0, 51, 204, 0.06) !important;
  color: #0033CC !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.soq-header-pill__nav-dd-logo,
.soq-header-pill__orgs-logo {
  width: 48px;
  min-width: 48px;
  height: 48px;
  overflow: hidden;
}

.soq-header-pill__nav-dd-logo img,
.soq-header-pill__orgs-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soq-header-pill__nav-dd-logo img.img-contain {
  object-fit: contain;
  width: 40px;
  height: 40px;
}

/* Listing sidebar category 3D icons (store / jobs / events) */
.soq-lists-filter-cat-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
  overflow: hidden;
}

.soq-lists-filter-cat-icon img.img-contain {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Brand wordmarks (/logos/) — keep full single-line mark visible */
.soq-header-pill__nav-dd-logo--brand,
.soq-header-pill__nav-dd-logo.soq-header-pill__nav-dd-logo--brand {
  background: #fff !important;
}

.soq-header-pill__nav-dd-logo--brand img.img-contain {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: 0;
}

.soq-header-pill__nav-dd-name,
.soq-header-pill__orgs-name {
  min-width: 0;
}

.soq-header-pill__nav-dd-footer,
.soq-header-pill__orgs-footer {
  flex-shrink: 0;
}

.soq-header-pill__links .soq-header-pill__nav-dd-view-all,
.soq-header-pill__links .soq-header-pill__orgs-view-all {
  justify-content: center !important;
  color: #0033CC !important;
  font-weight: 700 !important;
}

/* Pill search button + panel */
.soq-header-pill__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.soq-header-pill__search {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.soq-header-pill__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(18, 31, 62, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #121F3E;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.soq-header-pill__search-btn:hover,
.soq-header-pill__search-btn.is-open,
.soq-header-pill__search-btn:focus-visible {
  background: #CCFF00;
  border-color: #CCFF00;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28);
  transform: translateY(-1px);
  color: #111;
}

.soq-header-pill__search-btn .icons,
.soq-header-pill__search-btn svg {
  color: inherit;
  stroke: currentColor;
}

.soq-header-pill__search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 78vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid #E6ECF5;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7, 27, 77, 0.16);
  z-index: 70;
}

.soq-header-pill__search-panel[hidden] {
  display: none !important;
}

.soq-header-pill__search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border-radius: 10px !important;
  border: 1px solid #E6ECF5 !important;
  background: #F7F9FC !important;
  padding: 0 12px !important;
}

.soq-header-pill__search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #0033CC;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

.soq-header-pill__search-submit .icons,
.soq-header-pill__search-submit svg {
  color: #fff;
  stroke: #fff;
}

.soq-header-mobile-panel__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 4px;
}

.soq-header-mobile-panel__search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  padding: 0 12px !important;
}

.soq-header-mobile-panel__search-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.soq-header-mobile-panel__search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #CCFF00;
  color: #111;
  cursor: pointer;
  flex: 0 0 auto;
}

.soq-header-mobile-panel__search-submit .icons,
.soq-header-mobile-panel__search-submit svg {
  color: #111;
  stroke: #111;
}

/* Mobile panel organizations accordion */
.soq-header-mobile-panel__orgs-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
}

.soq-header-mobile-panel__orgs-toggle.is-open .soq-header-mobile-panel__orgs-caret {
  transform: rotate(180deg);
}

.soq-header-mobile-panel__orgs-list {
  padding: 4px 0 8px 8px;
}

.soq-header-mobile-panel__orgs-item,
.soq-header-mobile-panel__orgs-view-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-radius: 10px;
}

.soq-header-mobile-panel__orgs-item:hover,
.soq-header-mobile-panel__orgs-view-all:hover {
  background: rgba(204, 255, 0, 0.15);
  color: #CCFF00;
}

.soq-header-mobile-panel__orgs-logo {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.soq-header-mobile-panel__orgs-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soq-header-mobile-panel__orgs-view-all {
  justify-content: center;
  font-weight: 700;
  color: #CCFF00;
}

.soq-mobile-drawer-orgs__logo {
  width: 32px;
  min-width: 32px;
  height: 32px;
  overflow: hidden;
}

.soq-mobile-drawer-orgs__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Categories icon matches the same hover language (trigger only) */
.soq-header-pill__categories .theme-header-1__dropdown > .soq-categories-trigger,
.soq-header-pill__categories .theme-header-1__dropdown > .bg-gray-100 {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease !important;
  cursor: pointer;
}

.soq-header-pill__categories .theme-header-1__dropdown:hover > .soq-categories-trigger,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .soq-categories-trigger,
.soq-header-pill__categories .theme-header-1__dropdown:hover > .bg-gray-100,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .bg-gray-100 {
  background: #CCFF00 !important;
  border-color: #CCFF00 !important;
  box-shadow: 0 8px 18px rgba(204, 255, 0, 0.28) !important;
  transform: translateY(-1px);
}

.soq-header-pill__categories .theme-header-1__dropdown:hover > .soq-categories-trigger .icons,
.soq-header-pill__categories .theme-header-1__dropdown:hover > .soq-categories-trigger svg,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .soq-categories-trigger .icons,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .soq-categories-trigger svg,
.soq-header-pill__categories .theme-header-1__dropdown:hover > .bg-gray-100 .icons,
.soq-header-pill__categories .theme-header-1__dropdown:hover > .bg-gray-100 svg,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .bg-gray-100 .icons,
.soq-header-pill__categories .theme-header-1__dropdown:focus-within > .bg-gray-100 svg {
  color: #111 !important;
  stroke: #111;
}

/* CTA already yellow — keep same lift on hover */
.soq-header-pill__btn {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
}

.soq-header-pill__btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 22px rgba(204, 255, 0, 0.35) !important;
}

/* ========== PANEL DASHBOARD LAYOUT (v6) ==========
   Contain hello-box overflow, restore column alignment, even gutters.
   Sidebar: original upstream LMS white design (bg-white + panel.min.css).
*/
body.soq-user-panel {
  background: #F3F6FB !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.soq-user-panel #panel_app {
  background: #F3F6FB !important;
}

/* User panel: lift densest microcopy off 12px (keep original colors) */
body.soq-user-panel .panel-sidebar__menu,
body.soq-user-panel .panel-sidebar__menu-item {
  font-size: 15px !important;
}

body.soq-user-panel .panel-content .font-12,
body.soq-user-panel .panel-sidebar .font-12,
body.soq-user-panel .dashboard-body .font-12 {
  font-size: 14px !important;
}

body.soq-user-panel .panel-content .font-8,
body.soq-user-panel .dashboard-body .font-8,
body.soq-user-panel .panel-content .font-10,
body.soq-user-panel .dashboard-body .font-10 {
  font-size: 12px !important;
}

body.soq-user-panel .dashboard-body h3.font-16,
body.soq-user-panel .dashboard-body h4.font-14,
body.soq-user-panel .dashboard-body h4.font-16,
body.soq-user-panel .panel-content h3.font-16,
body.soq-user-panel .panel-content h4.font-14 {
  font-size: 18px !important;
}

body.soq-user-panel .dashboard-body h6.font-12,
body.soq-user-panel .dashboard-body h6.font-14 {
  font-size: 15px !important;
}

body.soq-user-panel .panel-content {
  background: #F3F6FB !important;
}

body.soq-user-panel .panel-title-and-breadcrumb {
  background: #fff !important;
  border-bottom: 1px solid #E9EDF3 !important;
}

body.soq-user-panel .panel-content .btn-primary,
body.soq-user-panel .panel-section .btn-primary {
  background: var(--soq-blue) !important;
  border-color: var(--soq-blue) !important;
  color: #fff !important;
}

body.soq-user-panel .panel-content .text-primary,
body.soq-user-panel .panel-content a.text-primary {
  color: var(--soq-blue) !important;
}

body.soq-user-panel .panel-content .bg-primary,
body.soq-user-panel .panel-content .badge-primary {
  background-color: var(--soq-blue) !important;
}

body.soq-user-panel .panel-content .progress-bar {
  background-color: var(--soq-blue) !important;
}

body.soq-user-panel .dashboard-body > .instructor-dashboard > .row,
body.soq-user-panel .dashboard-body > .student-dashboard > .row {
  align-items: flex-start;
  margin-right: -12px;
  margin-left: -12px;
}

body.soq-user-panel .dashboard-body > .instructor-dashboard > .row > [class*="col-"],
body.soq-user-panel .dashboard-body > .student-dashboard > .row > [class*="col-"] {
  padding-right: 12px;
  padding-left: 12px;
}

body.soq-user-panel .instructor-dashboard__hello-box,
body.soq-user-panel .student-dashboard__hello-box {
  min-height: 376px;
  height: auto !important;
  overflow: hidden;
  margin-top: 0 !important;
}

body.soq-user-panel .instructor-dashboard__hello-box .hello-box-user-vector,
body.soq-user-panel .student-dashboard__hello-box .hello-box-user-vector {
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 46%;
  height: auto !important;
  max-height: 100%;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

body.soq-user-panel .instructor-dashboard__hello-box .hello-box-user-vector img,
body.soq-user-panel .student-dashboard__hello-box .hello-box-user-vector img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
}

body.soq-user-panel.rtl .instructor-dashboard__hello-box .hello-box-user-vector,
body.soq-user-panel.rtl .student-dashboard__hello-box .hello-box-user-vector {
  right: auto !important;
  left: 0 !important;
  justify-content: flex-start;
}

body.soq-user-panel.rtl .instructor-dashboard__hello-box .hello-box-user-vector img,
body.soq-user-panel.rtl .student-dashboard__hello-box .hello-box-user-vector img {
  object-position: bottom left;
}

body.soq-user-panel .instructor-dashboard__hello-box h1,
body.soq-user-panel .student-dashboard__hello-box h1 {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.25 !important;
}

body.soq-user-panel .dashboard-body .bg-white.rounded-24,
body.soq-user-panel .dashboard-body .bg-white.rounded-16 {
  border: 1px solid rgba(205, 213, 226, 0.65);
  box-shadow: 0 8px 20px rgba(18, 31, 62, 0.06);
}

/* ========== LANDING STATS — blue + yellow only (v8) ========== */
.statistics-section__icon-1,
.statistics-section__icon-3 {
  background-color: var(--soq-blue, #0033CC) !important;
  color: #fff !important;
}
.statistics-section__icon-2,
.statistics-section__icon-4 {
  background-color: var(--soq-yellow, #CCFF00) !important;
  color: #111 !important;
}
.statistics-section__icon-2 .icons,
.statistics-section__icon-4 .icons,
.statistics-section__icon-2 svg,
.statistics-section__icon-4 svg {
  color: #111 !important;
  stroke: #111;
}

/* ==========================================================================
   PANEL UI/UX REDESIGN — user panel + create wizards + shared form floor
   ========================================================================== */

/* Floating labels: raise 12px → 14px (compiled app.min.css + Sass source) */
.form-group .form-group-label,
label.form-group-label {
  font-size: var(--soq-text-label) !important;
  font-weight: 600 !important;
  color: var(--soq-muted) !important;
  line-height: 1.35 !important;
}

.form-control,
.custom-select,
select.form-control {
  min-height: var(--soq-control-h) !important;
  font-size: var(--soq-text-body) !important;
}

/* ---------- User panel shell (student / instructor / organization) ---------- */
body.soq-user-panel {
  --soq-text-body: 16px;
  --soq-text-label: 14px;
  --soq-text-hint: 13px;
  --soq-text-section: 20px;
  --soq-text-page: 24px;
}

body.soq-user-panel .panel-title-and-breadcrumb .section-title,
body.soq-user-panel .panel-title-and-breadcrumb h1,
body.soq-user-panel .panel-title-and-breadcrumb h2,
body.soq-user-panel .panel-title-and-breadcrumb .soq-panel-page-title,
body.soq-user-panel .panel-content .panel-section-title {
  font-size: var(--soq-text-page) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--soq-text) !important;
  margin: 0 !important;
}

body.soq-user-panel .panel-content .form-group {
  margin-bottom: var(--soq-space-field) !important;
}

body.soq-user-panel .panel-content .custom-switch,
body.soq-user-panel .panel-content .form-group.d-flex.align-items-center.justify-content-between {
  min-height: 48px;
}

body.soq-user-panel .panel-content .bg-white.rounded-16,
body.soq-user-panel .panel-content .bg-white.rounded-24 {
  padding: var(--soq-section-pad) !important;
}

body.soq-user-panel .panel-content table,
body.soq-user-panel .panel-content .table td,
body.soq-user-panel .panel-content .table th {
  font-size: var(--soq-text-label) !important;
}

body.soq-user-panel .panel-content .table thead th {
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.soq-user-panel .panel-content .text-gray-500,
body.soq-user-panel .panel-content .font-12.text-gray-500 {
  font-size: var(--soq-text-hint) !important;
}

body.soq-user-panel .panel-sidebar__menu,
body.soq-user-panel .panel-sidebar__menu-item {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.soq-user-panel .dashboard-body .font-12,
body.soq-user-panel .panel-content .font-12 {
  font-size: 14px !important;
}

body.soq-user-panel .dashboard-body h3.font-14,
body.soq-user-panel .dashboard-body h4.font-14,
body.soq-user-panel .panel-content h3.font-14,
body.soq-user-panel .panel-content h4.font-14,
body.soq-user-panel .panel-content h5.font-14 {
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* ---------- Create course / webinar wizard (web layout, #webinarForm) ---------- */
#webinarForm .form-group .form-group-label,
#webinarForm label.form-group-label {
  font-size: var(--soq-text-label) !important;
}

#webinarForm h3.font-14,
#webinarForm h3.font-14.font-weight-bold,
#webinarForm h5.font-14,
#webinarForm h4.font-14,
#webinarForm .soq-form-section-title,
.soq-form-section-title {
  font-size: var(--soq-text-section) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--soq-text) !important;
  margin-bottom: 16px !important;
}

#webinarForm .bg-white.rounded-16 {
  padding: var(--soq-section-pad) !important;
  margin-top: 28px !important;
  border: 1px solid rgba(216, 224, 236, 0.9);
}

#webinarForm .create-webinar-course-types label .font-14,
#webinarForm .create-webinar-course-types .font-14.font-weight-bold {
  font-size: 16px !important;
}

#webinarForm .create-webinar-course-types .font-12,
#webinarForm p.font-12.text-gray-500 {
  font-size: var(--soq-text-hint) !important;
  line-height: 1.45 !important;
}

#webinarForm .custom-switch {
  min-height: 28px;
}

/* Create-wizard option rows (Support / Forum style) */
#webinarForm .form-group > .d-flex.align-items-center,
#webinarForm .form-group.d-flex.align-items-center {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--soq-border);
  border-radius: 12px;
  background: #F8FAFD;
  gap: 8px;
}

#webinarForm .form-group > .d-flex.align-items-center + .font-12,
#webinarForm .form-group > .d-flex.align-items-center ~ p.font-12 {
  font-size: var(--soq-text-hint) !important;
  margin-top: 8px !important;
}

#webinarForm .form-group > .d-flex.align-items-center label,
#webinarForm .form-group.d-flex.align-items-center label {
  font-size: var(--soq-text-label) !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
}

#webinarForm .form-control,
#webinarForm .select2-container--default .select2-selection--single {
  min-height: var(--soq-control-h) !important;
  font-size: var(--soq-text-body) !important;
}

/* Bundles / events / jobs create wizards sharing same patterns */
form#webinarForm .soq-form-section-title,
.container #webinarForm .mt-24.mb-16.font-14 {
  font-size: var(--soq-text-section) !important;
}

/* Setting-style switch rows in create wizards */
#webinarForm .d-flex.align-items-center.justify-content-between.mt-20,
#webinarForm .d-flex.align-items-center.justify-content-between.mt-16 {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--soq-border);
  border-radius: 12px;
  background: #F8FAFD;
}

@media (max-width: 767px) {
  body.soq-user-panel .panel-content .bg-white.rounded-16,
  body.soq-user-panel .panel-content .bg-white.rounded-24,
  #webinarForm .bg-white.rounded-16 {
    padding: 18px 16px !important;
  }

  #webinarForm h3.font-14,
  #webinarForm h5.font-14 {
    font-size: 18px !important;
  }
}

/* Header top-nav: Demo one-click login dropdown (theme grid) */
.soq-demo-login-dropdown .soq-demo-login-dropdown__menu,
.soq-demo-login-dropdown .header-1-dropdown-menu.soq-demo-login-dropdown__menu,
.soq-demo-login-dropdown .header-2-dropdown-menu.soq-demo-login-dropdown__menu {
  left: auto;
  right: 0;
  width: 560px;
  max-width: min(560px, calc(100vw - 24px));
  max-height: min(78vh, 720px);
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid var(--soq-border, #D8E0EC) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(7, 27, 77, 0.16) !important;
}

.rtl .soq-demo-login-dropdown .soq-demo-login-dropdown__menu,
.rtl .soq-demo-login-dropdown .header-1-dropdown-menu.soq-demo-login-dropdown__menu,
.rtl .soq-demo-login-dropdown .header-2-dropdown-menu.soq-demo-login-dropdown__menu {
  right: auto;
  left: 0;
}

.soq-demo-login-dropdown__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #EEF3FF 0%, #ffffff 70%);
  border-bottom: 1px solid var(--soq-border, #D8E0EC);
}

.soq-demo-login-dropdown__head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.soq-demo-login-dropdown__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  line-height: 1.2;
}

.soq-demo-login-dropdown__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.3;
}

.soq-demo-login-dropdown__pass {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  padding: 6px 10px;
  background: var(--soq-yellow, #CCFF00);
  border-radius: 10px;
  line-height: 1.2;
}

.soq-demo-login-dropdown__pass-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.65);
}

.soq-demo-login-dropdown__pass-value {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  background: transparent;
  padding: 0;
}

.soq-demo-login-dropdown__body {
  overflow-y: auto;
  max-height: min(56vh, 520px);
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soq-demo-login-dropdown__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 2px 8px;
}

.soq-demo-login-dropdown__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  line-height: 1.2;
}

.soq-demo-login-dropdown__section-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--soq-muted, #5A6A85);
  line-height: 1.2;
  text-align: right;
}

.soq-demo-login-dropdown__section--back_office .soq-demo-login-dropdown__section-title {
  color: #047857;
}

.soq-demo-login-dropdown__section--partners .soq-demo-login-dropdown__section-title {
  color: #B45309;
}

.soq-demo-login-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}

.soq-demo-login-dropdown__tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--soq-border, #D8E0EC);
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.soq-demo-login-dropdown__tile:hover,
.soq-demo-login-dropdown__tile:focus {
  border-color: var(--soq-blue, #0033CC);
  background: #F5F8FF;
  box-shadow: 0 6px 16px rgba(0, 51, 204, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.soq-demo-login-dropdown__tile-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.soq-demo-login-dropdown__tile-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-login-dropdown__tile-icon-svg {
  display: block;
  width: 20px;
  height: 20px;
}

.soq-demo-login-dropdown__tile.is-admin .soq-demo-login-dropdown__tile-icon {
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-login-dropdown__tile.is-staff .soq-demo-login-dropdown__tile-icon {
  background: #ECFDF5;
  color: #047857;
}

.soq-demo-login-dropdown__tile.is-partner .soq-demo-login-dropdown__tile-icon {
  background: #FFF7ED;
  color: #B45309;
}

.soq-demo-login-dropdown__tile.is-panel .soq-demo-login-dropdown__tile-icon {
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-login-dropdown__tile-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.soq-demo-login-dropdown__tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.soq-demo-login-dropdown__tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.soq-demo-login-dropdown__tile-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1.4;
}

.soq-demo-login-dropdown__tile.is-admin .soq-demo-login-dropdown__tile-badge {
  color: #fff;
  background: var(--soq-blue, #0033CC);
}

.soq-demo-login-dropdown__tile.is-staff .soq-demo-login-dropdown__tile-badge {
  color: #fff;
  background: #047857;
}

.soq-demo-login-dropdown__tile.is-partner .soq-demo-login-dropdown__tile-badge {
  color: #fff;
  background: #B45309;
}

.soq-demo-login-dropdown__tile.is-panel .soq-demo-login-dropdown__tile-badge {
  color: var(--soq-blue, #0033CC);
  background: #EEF3FF;
}

.soq-demo-login-dropdown__tile-desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--soq-muted, #5A6A85);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .soq-demo-login-dropdown .soq-demo-login-dropdown__menu,
  .soq-demo-login-dropdown .header-1-dropdown-menu.soq-demo-login-dropdown__menu,
  .soq-demo-login-dropdown .header-2-dropdown-menu.soq-demo-login-dropdown__menu {
    width: min(360px, calc(100vw - 16px));
  }

  .soq-demo-login-dropdown__grid {
    grid-template-columns: 1fr;
  }
}

/* Header top-nav: Docs dropdown (mirrors Demo chrome, SOQ blue/lime) */
.soq-docs-dropdown .soq-docs-dropdown__menu,
.soq-docs-dropdown .header-1-dropdown-menu.soq-docs-dropdown__menu,
.soq-docs-dropdown .header-2-dropdown-menu.soq-docs-dropdown__menu {
  left: auto;
  right: 0;
  width: 520px;
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(78vh, 640px);
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid var(--soq-border, #D8E0EC) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px rgba(7, 27, 77, 0.16) !important;
}

.rtl .soq-docs-dropdown .soq-docs-dropdown__menu,
.rtl .soq-docs-dropdown .header-1-dropdown-menu.soq-docs-dropdown__menu,
.rtl .soq-docs-dropdown .header-2-dropdown-menu.soq-docs-dropdown__menu {
  right: auto;
  left: 0;
}

.soq-docs-dropdown__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #EEF3FF 0%, #ffffff 70%);
  border-bottom: 1px solid var(--soq-border, #D8E0EC);
}

.soq-docs-dropdown__head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.soq-docs-dropdown__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  line-height: 1.2;
}

.soq-docs-dropdown__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.3;
}

.soq-docs-dropdown__all {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  background: var(--soq-yellow, #CCFF00);
  border-radius: 999px;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.soq-docs-dropdown__all:hover,
.soq-docs-dropdown__all:focus {
  background: var(--soq-yellow-hover, #B8E600);
  color: #111;
  transform: translateY(-1px);
  text-decoration: none;
}

.soq-docs-dropdown__body {
  padding: 12px 14px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.soq-docs-dropdown__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.soq-docs-dropdown__section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
}

.soq-docs-dropdown__section-hint {
  font-size: 11px;
  color: var(--soq-muted, #5A6A85);
}

.soq-docs-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.soq-docs-dropdown__tile {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--soq-border, #D8E0EC);
  border-radius: 12px;
  background: #fff;
  text-decoration: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.soq-docs-dropdown__tile:hover,
.soq-docs-dropdown__tile:focus {
  border-color: var(--soq-blue, #0033CC);
  box-shadow: 0 6px 16px rgba(0, 51, 204, 0.1);
  transform: translateY(-1px);
}

.soq-docs-dropdown__tile-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.soq-docs-dropdown__tile-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-docs-dropdown__tile-icon-svg {
  color: inherit;
}

.soq-docs-dropdown__tile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.soq-docs-dropdown__tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.3;
}

.soq-docs-dropdown__tile-desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--soq-muted, #5A6A85);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .soq-docs-dropdown .soq-docs-dropdown__menu,
  .soq-docs-dropdown .header-1-dropdown-menu.soq-docs-dropdown__menu,
  .soq-docs-dropdown .header-2-dropdown-menu.soq-docs-dropdown__menu {
    width: min(360px, calc(100vw - 16px));
  }

  .soq-docs-dropdown__grid {
    grid-template-columns: 1fr;
  }
}

/* Themed /docs article body */
.soq-docs-page__list a:hover {
  color: var(--soq-blue, #0033CC) !important;
}

.soq-docs-page__content {
  font-size: 16px;
  line-height: 1.65;
  color: var(--soq-text, #121F3E);
}

.soq-docs-page__content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--soq-text, #121F3E);
}

/* Docs page sidebar — on-page TOC + guide nav */
.soq-docs-toc {
  background: #fff;
  border: 1px solid var(--soq-border, #D8E0EC);
  border-radius: 16px;
  padding: 14px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

/*
 * Public header pill is position:fixed at top:20px (~84–108px tall).
 * Bootstrap .sticky-top defaults to top:0 + z-index:1020, which slides
 * the TOC under/over the nav. Keep TOC below the pill and under its stack.
 */
.soq-docs-toc.sticky-top {
  top: 140px !important;
  z-index: 20;
  max-height: calc(100vh - 156px);
}

@media (max-width: 991.98px) {
  .soq-docs-toc.sticky-top {
    top: 0 !important;
    max-height: none;
    position: static;
  }
}

.soq-docs-toc__block + .soq-docs-toc__block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--soq-border, #D8E0EC);
}

.soq-docs-toc__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  margin-bottom: 10px;
}

.soq-docs-toc__outline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: soq-docs-outline;
}

.soq-docs-toc__outline > li {
  counter-increment: soq-docs-outline;
}

.soq-docs-toc__outline-link {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--soq-muted, #5A6A85);
  text-decoration: none !important;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.soq-docs-toc__outline-link::before {
  content: counter(soq-docs-outline) ". ";
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--soq-blue, #0033CC);
}

.soq-docs-toc__outline-link:hover,
.soq-docs-toc__outline-link:focus {
  color: var(--soq-blue, #0033CC);
  background: #EEF3FF;
  border-left-color: var(--soq-blue, #0033CC);
}

.soq-docs-toc__block:first-child {
  counter-reset: soq-docs-group;
}

.soq-docs-toc__group {
  counter-increment: soq-docs-group;
  counter-reset: soq-docs-item;
}

.soq-docs-toc__group + .soq-docs-toc__group {
  margin-top: 12px;
}

.soq-docs-toc__list > li {
  counter-increment: soq-docs-item;
}

.soq-docs-toc__group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  padding: 0 2px;
}

.soq-docs-toc__group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
}

.soq-docs-toc__group-hint {
  font-size: 13px;
  color: var(--soq-muted, #5A6A85);
  white-space: nowrap;
}

.soq-docs-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soq-docs-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.soq-docs-toc__link:hover,
.soq-docs-toc__link:focus {
  background: #EEF3FF;
  border-color: var(--soq-border, #D8E0EC);
}

.soq-docs-toc__link.is-active {
  background: #EEF3FF;
  border-color: rgba(0, 51, 204, 0.22);
  box-shadow: 0 4px 12px rgba(0, 51, 204, 0.08);
}

.soq-docs-toc__link-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-docs-toc__link.is-active .soq-docs-toc__link-icon {
  background: var(--soq-blue, #0033CC);
  color: #fff;
}

.soq-docs-toc__link-svg {
  display: block;
  color: inherit;
  stroke: currentColor;
}

.soq-docs-toc__link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.soq-docs-toc__link-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--soq-text, #121F3E);
}

.soq-docs-toc__link-label::before {
  content: counter(soq-docs-group) "." counter(soq-docs-item) " ";
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--soq-muted, #5A6A85);
}

.soq-docs-toc__link.is-active .soq-docs-toc__link-label {
  color: var(--soq-blue, #0033CC);
}

.soq-docs-toc__link.is-active .soq-docs-toc__link-label::before {
  color: var(--soq-blue, #0033CC);
}

.soq-docs-toc__link-desc {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--soq-muted, #5A6A85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.soq-docs-toc__all {
  margin-top: 14px;
}

.soq-docs-page__content > h3:first-child,
.soq-docs-page__content > .mb-3:first-child {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

.soq-docs-page__content h3,
.soq-docs-page__content h4,
.soq-docs-page__content h5 {
  color: var(--soq-text, #121F3E);
  font-weight: 700;
  line-height: 1.35;
}

.soq-docs-page__content h4,
.soq-docs-page__content .soq-shot__title {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.65rem;
}

.soq-docs-page__content h5 {
  font-size: 1rem;
  margin: 1.35rem 0 0.5rem;
}

.soq-docs-page__content p {
  margin: 0 0 1rem;
}

.soq-docs-page__content p:last-child {
  margin-bottom: 0;
}

.soq-docs-page__content .alert {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  line-height: 1.6;
}

.soq-docs-page__content .soq-shot,
.soq-docs-page__content .soq-shot__section,
.soq-docs-page__content .soq-guide-body > section {
  margin: 0 0 1.5rem;
  padding-bottom: 0.25rem;
}

.soq-docs-page__content .soq-shot:last-child,
.soq-docs-page__content .soq-shot__section:last-child {
  margin-bottom: 0;
}

.soq-docs-page__content .soq-shot__title:first-child,
.soq-docs-page__content .soq-shot > h4:first-child,
.soq-docs-page__content .soq-shot__section > h5:first-child {
  margin-top: 0;
}

.soq-docs-page__content .soq-shot__figure {
  margin: 0 0 1.25rem;
}

.soq-docs-page__content .soq-shot__caption {
  margin: 0.5rem 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soq-muted, #5A6A85);
}

.soq-docs-page__content .soq-shot__title,
.soq-docs-page__content h3[id],
.soq-docs-page__content h4[id],
.soq-docs-page__content h5[id],
.soq-docs-page__content section[id] {
  scroll-margin-top: 150px;
}

.soq-docs-page__content a {
  color: var(--soq-blue, #0033CC);
}

.soq-docs-page__content code {
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
  word-break: break-word;
}

.soq-docs-page__content ul:not(.soq-field-list):not(.list-unstyled),
.soq-docs-page__content ol:not(.list-unstyled) {
  margin: 0.35rem 0 1.1rem;
  padding-left: 1.35rem;
}

.soq-docs-page__content ul:not(.soq-field-list):not(.list-unstyled) {
  list-style: disc;
}

.soq-docs-page__content ol:not(.list-unstyled) {
  list-style: decimal;
}

.soq-docs-page__content li {
  margin: 0 0 0.45rem;
  line-height: 1.65;
  color: var(--soq-text, #121F3E);
}

.soq-docs-page__content li:last-child {
  margin-bottom: 0;
}

.soq-docs-page__content .soq-shot__steps {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 0.45rem 0 1rem;
}

.soq-docs-page__content .soq-shot__steps li {
  margin-bottom: 0.55rem;
  padding-left: 0.15rem;
}

.soq-docs-page__content .soq-shot__notes {
  background: #F3F6FB;
  border: 1px solid var(--soq-border, #D8E0EC);
  border-left: 4px solid var(--soq-blue, #0033CC);
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  margin-top: 1rem;
}

.soq-docs-page__content .soq-shot__notes p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--soq-text, #121F3E);
}

.soq-docs-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--soq-border, #D8E0EC);
}

.soq-docs-page__content th,
.soq-docs-page__content td {
  border: 1px solid var(--soq-border, #D8E0EC);
  padding: 10px 14px;
  vertical-align: top;
  text-align: left;
}

.soq-docs-page__content th {
  background: #EEF3FF;
  color: var(--soq-text, #121F3E);
  font-weight: 700;
  white-space: nowrap;
}

.soq-docs-page__content tbody tr:nth-child(even) td {
  background: #F8FAFF;
}

.soq-docs-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--soq-border, #D8E0EC);
}

/* Key/value field rows (Desktop guide pattern) */
.soq-docs-page__content .soq-field-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  border-top: 1px solid var(--soq-border, #D8E0EC);
}

.soq-docs-page__content .soq-field-list > li {
  padding: 0.65rem 0;
  margin: 0;
  border-bottom: 1px solid var(--soq-border, #D8E0EC);
  line-height: 1.6;
}

.soq-docs-page__content .soq-field-list > li:last-child {
  border-bottom: 0;
}

.soq-docs-page__content .soq-field-list strong {
  color: var(--soq-text, #121F3E);
  display: inline-block;
  min-width: 9.5rem;
  margin-right: 0.35rem;
}

.soq-docs-page__content .soq-inv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--soq-border, #D8E0EC);
}

.soq-docs-page__content .soq-inv-item:last-child {
  border-bottom: 0;
}

.soq-docs-page__content .soq-inv-item__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-docs-page__content .soq-inv-item__icon:empty::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--soq-blue, #0033CC);
  opacity: 0.35;
}

.soq-docs-page__content .soq-inv-item__svg {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--soq-blue, #0033CC);
  stroke: currentColor;
}

.soq-docs-page__content .soq-inv-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.soq-docs-page__content .soq-inv-item__name {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--soq-text, #121F3E);
}

.soq-docs-page__content .soq-inv-item__desc {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--soq-muted, #5A6A85);
}

.soq-docs-page__content .soq-inv-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.soq-docs-page__content .soq-inv-inline .soq-inv-item__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.soq-docs-page__content .soq-inv-inline .soq-inv-item__svg {
  width: 16px;
  height: 16px;
}

/* Login page one-click demo grid (mirrors header dropdown) */
.soq-demo-one-click {
  border: 1px solid var(--soq-border, #D8E0EC);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--soq-shadow, 0 10px 28px rgba(18, 31, 62, 0.08));
}

.soq-demo-one-click__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  background: linear-gradient(135deg, #EEF3FF 0%, #ffffff 70%);
  border-bottom: 1px solid var(--soq-border, #D8E0EC);
}

.soq-demo-one-click__head-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.soq-demo-one-click__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  line-height: 1.2;
}

.soq-demo-one-click__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.3;
}

.soq-demo-one-click__pass {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  padding: 6px 10px;
  background: var(--soq-yellow, #CCFF00);
  border-radius: 10px;
  line-height: 1.2;
}

.soq-demo-one-click__pass-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.65);
}

.soq-demo-one-click__pass-value {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  background: transparent;
  padding: 0;
}

.soq-demo-one-click__body {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soq-demo-one-click__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 2px 8px;
}

.soq-demo-one-click__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soq-blue, #0033CC);
  line-height: 1.2;
}

.soq-demo-one-click__section-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--soq-muted, #5A6A85);
  line-height: 1.2;
  text-align: right;
}

.soq-demo-one-click__section--back_office .soq-demo-one-click__section-title {
  color: #047857;
}

.soq-demo-one-click__section--partners .soq-demo-one-click__section-title {
  color: #B45309;
}

.soq-demo-one-click__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}

.soq-demo-one-click__tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--soq-border, #D8E0EC);
  border-radius: 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.soq-demo-one-click__tile:hover,
.soq-demo-one-click__tile:focus {
  border-color: var(--soq-blue, #0033CC);
  background: #F5F8FF;
  box-shadow: 0 6px 16px rgba(0, 51, 204, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.soq-demo-one-click__tile-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.soq-demo-one-click__tile-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-one-click__tile-icon-svg {
  display: block;
  width: 20px;
  height: 20px;
}

.soq-demo-one-click__tile.is-admin .soq-demo-one-click__tile-icon {
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-one-click__tile.is-staff .soq-demo-one-click__tile-icon {
  background: #ECFDF5;
  color: #047857;
}

.soq-demo-one-click__tile.is-partner .soq-demo-one-click__tile-icon {
  background: #FFF7ED;
  color: #B45309;
}

.soq-demo-one-click__tile.is-panel .soq-demo-one-click__tile-icon {
  background: #EEF3FF;
  color: var(--soq-blue, #0033CC);
}

.soq-demo-one-click__tile-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.soq-demo-one-click__tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.soq-demo-one-click__tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--soq-text, #121F3E);
  line-height: 1.25;
}

.soq-demo-one-click__tile-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1.4;
}

.soq-demo-one-click__tile.is-admin .soq-demo-one-click__tile-badge {
  color: #fff;
  background: var(--soq-blue, #0033CC);
}

.soq-demo-one-click__tile.is-staff .soq-demo-one-click__tile-badge {
  color: #fff;
  background: #047857;
}

.soq-demo-one-click__tile.is-partner .soq-demo-one-click__tile-badge {
  color: #fff;
  background: #B45309;
}

.soq-demo-one-click__tile.is-panel .soq-demo-one-click__tile-badge {
  color: var(--soq-blue, #0033CC);
  background: #EEF3FF;
}

.soq-demo-one-click__tile-desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--soq-muted, #5A6A85);
  line-height: 1.35;
}

@media (max-width: 480px) {
  .soq-demo-one-click__grid {
    grid-template-columns: 1fr;
  }
}

/* Soft-3D empty-state icons: contain so rounded PNGs aren't cropped by .img-cover */
.no-result .no-result-logo .no-result-img,
.no-result .no-result-logo img.no-result-img {
  object-fit: contain;
  -o-object-fit: contain;
}

/* ========== SOQ GLOBAL USER AVATARS → 72px (FE + panel + admin) ========== */
/* Only circles that contain a photo avatar — not icon/button circles */
.size-28.rounded-circle:has(img.img-cover.rounded-circle),
.size-32.rounded-circle:has(img.img-cover.rounded-circle),
.size-40.rounded-circle:has(img.img-cover.rounded-circle),
.size-48.rounded-circle:has(img.img-cover.rounded-circle),
.size-56.rounded-circle:has(img.img-cover.rounded-circle),
.size-64.rounded-circle:has(img.img-cover.rounded-circle),
.overlay-avatars__item.size-40.rounded-circle:has(img),
.overlay-avatars__item.size-48.rounded-circle:has(img) {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
}

/*
  Header top-navbar was sized for ~40px avatars (114px bar, pt-12, pill overlaps at 72px).
  72px auth avatar sat flush under the white header pill — grow the blue bar + restore ring.
*/
@media (min-width: 992px) {
  .theme-header-1__top-navbar {
    height: 146px !important;
    padding-top: 20px !important;
    padding-bottom: 54px !important;
  }

  /* Outer white ring stays 72; inner photo sits inset (was both forced to 72) */
  .theme-header-1__top-navbar .size-40.rounded-circle > .size-32.rounded-circle:has(img.img-cover.rounded-circle) {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
  }

  .theme-header-1__dropdown .header-1-dropdown-menu.auth-user-info-dropdown-menu {
    top: 84px;
  }
}

.size-28.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle,
.size-32.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle,
.size-40.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle,
.size-48.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle,
.size-56.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle,
.size-64.rounded-circle:has(img.img-cover.rounded-circle) img.img-cover.rounded-circle {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  background: #fff;
}

/* Header instructor / org avatar pills */
.soq-header-pill__nav-dd-logo:has(img.img-cover),
.soq-header-pill__orgs-logo:has(img.img-cover),
.soq-header-mobile-panel__nav-dd-logo:has(img[src*="avatars"]),
.soq-header-mobile-panel__orgs-logo:has(img[src*="avatars"]),
.soq-mobile-drawer-orgs__logo:has(img[src*="avatars"]) {
  width: 72px !important;
  min-width: 72px !important;
  height: 72px !important;
}

.soq-header-pill__nav-dd-logo--brand:has(img.img-contain),
.soq-header-mobile-panel__nav-dd-logo--brand,
.soq-mobile-drawer-orgs__logo--brand {
  width: 72px !important;
  min-width: 72px !important;
  height: 72px !important;
  background: #fff !important;
}

.soq-header-mobile-panel__nav-dd-logo--brand img.img-contain,
.soq-mobile-drawer-orgs__logo--brand img.img-contain {
  width: 78% !important;
  height: 78% !important;
  max-width: 78% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Admin / panel loose avatar thumbs (width attrs or .avatar class) */
img.avatar,
img.js-avatar-img.rounded-circle,
img.rounded-circle[width="32"],
img.rounded-circle[width="38"],
img.rounded-circle[width="40"],
img.rounded-circle[width="44"],
img.rounded-circle[width="48"],
img.rounded-circle[width="50"],
img.rounded-circle[width="64"],
table img.rounded-circle,
.media img.rounded-circle {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  object-fit: cover;
  background: #fff;
}

/*
  Forums homepage stats strip: global 72px avatar wells + gap-20 overflow
  into the gray stats box. Stack avatars and isolate columns.
*/
.soq-forum-stats__row > [class*="col-"] {
  min-width: 0;
}

.soq-forum-stats__avatars {
  max-width: 100%;
  overflow: hidden;
  flex-wrap: nowrap;
}

.soq-forum-stats__avatar {
  flex: 0 0 auto;
  border: 2px solid #fff;
  box-sizing: content-box;
  position: relative;
  z-index: 1;
}

.soq-forum-stats__avatar + .soq-forum-stats__avatar {
  margin-left: -18px;
}

.soq-forum-stats__box {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.soq-forum-stats__item {
  min-width: 0;
  flex: 1 1 auto;
}

/* Admin auth pages: allow scroll when demo one-click login makes the card taller than the viewport */
.admin-auth-pages {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.admin-auth-pages__bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100% !important;
  z-index: 0;
  pointer-events: none;
}

.admin-auth-pages__contents {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 991px) {
  .admin-auth-pages__contents {
    width: 100%;
  }
}

.admin-auth-pages__contents .content-box {
  width: 100%;
}

.admin-auth-pages__footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
}

/* User Panel (Student / Organization / Instructor) Sidebar Dropdown Arrow (Close to label) */
body.soq-user-panel .panel-sidebar__menu.accordion__title {
  justify-content: flex-start !important;
}

body.soq-user-panel .panel-sidebar__menu.accordion__title .flex-1 {
  flex: none !important;
}

body.soq-user-panel .panel-sidebar__menu.accordion__title .collapse-arrow-icon {
  margin-left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
}


/* Legacy pages use the DB-driven "main-font-family"; follow the site's system font stack when the theme has no font set. */
:root {
  --font-family-base: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
.btn, button, input, select, textarea {
  font-family: var(--font-family-base);
}

/* Tailwind-layered display:none loses to app.min.css `nav{display:block}`, so the desktop nav showed stacked below 1280px. */
.soq-nav-desktop {
  display: none;
}
@media (min-width: 1280px) {
  .soq-nav-desktop {
    display: flex;
  }
}

/* Plain themed icon for the no-result partial's "icon" mode — matches the sidebar nav icon style
   (bare linear icon, no badge/background). */
.soq-no-result-icon {
  color: var(--soq-blue);
}

/* Missing from this page's compiled bundle; flex children need it to shrink/ellipsis instead of overflowing. */
.min-width-0 {
  min-width: 0;
}
