/* ============================================
   HollaCo Account — Shared Layout Styles
   ============================================ */

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

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: #f5f5f5;
  color: #2c2c2c;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Page Wrapper
   ============================================ */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* ============================================
   Sidebar Navigation
   ============================================ */
.sidebar-nav {
  width: 210px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li + li {
  margin-top: 2px;
}

.sidebar-nav a {
  display: block;
  padding: 9px 14px;
  border-left: 3px solid transparent;
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.sidebar-nav a:hover {
  background-color: #f0f0f0;
  color: #1a1a1a;
  cursor: pointer;
}

.sidebar-nav a.active {
  border-left-color: #000000;
  background-color: #ebebeb;
  color: #1a1a1a;
  font-weight: 600;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-size: 25px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
}

/* ============================================
   Account Section
   ============================================ */
.account-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.section-description {
  font-size: 12px;
  color: #6b6b6b;
  width: 100%;
  line-height: 1.65;
  margin-bottom: 16px;
}

.section-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 40px;
}

/* ============================================
   Well List (card rows)
   ============================================ */
.well-list {
  list-style: none;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background-color: #ffffff;
}

.well-list li:first-child {
  border-radius: 4px 4px 0 0;
}

.well-list li:last-child {
  border-radius: 0 0 4px 4px;
}

.well-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

.well-item + .well-item {
  border-top: 1px solid #f0f0f0;
}

.well-item-info {
  display: flex;
  flex: 1;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.well-item-label {
  font-size: 12px;
  color: #6b6b6b;
  width: 170px;
  flex-shrink: 0;
}

.well-item-value {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  flex: 1;
  min-width: 0;
}

.well-item-value.empty {
  color: #aaa;
  font-style: italic;
  font-weight: 400;
}

.well-item-value .verified {
  display: block;
  font-size: 11px;
  color: #16a34a;
  font-weight: 400;
  margin-top: 2px;
}

/* ============================================
   Profile Picture
   ============================================ */
.profile-pic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #dde3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #1a56db;
  flex-shrink: 0;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Buttons
   ============================================ */
.well-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
  font-family: inherit;
  line-height: 1.4;
  background-color: transparent;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.btn-secondary {
  border: 2px solid rgba(0, 0, 0, 0.2);
  color: #1a1a1a;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn-primary {
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* ============================================
   Checkbox Toggle (Communications page)
   ============================================ */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.toggle-info {
  flex: 1;
}

.toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.toggle-sublabel {
  font-size: 12px;
  color: #6b6b6b;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.2s;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #1a56db;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* ============================================
   Info icon + tooltip
   ============================================ */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #aaa;
  color: #aaa;
  font-size: 10px;
  font-weight: 600;
  font-style: normal;
  cursor: help;
  position: relative;
  margin-left: 5px;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0;
  -webkit-user-select: none;
  user-select: none;
}

.info-icon::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background-color: #1473e6;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  width: 230px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 100;
  white-space: normal;
  line-height: 1.55;
  text-align: left;
}

.info-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(100% + 3px);
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #1473e6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 101;
}

.info-icon:hover::before,
.info-icon:hover::after {
  opacity: 1;
}

/* Click-triggered white popover (for icons needing hyperlinks) */
.info-popover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.info-icon--click {
  cursor: pointer;
}

.info-icon--click::before,
.info-icon--click::after {
  display: none !important;
}

.info-popover {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 400;
  color: #2c2c2c;
  width: 230px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 200;
  white-space: normal;
  line-height: 1.55;
  text-align: left;
}

.info-popover.visible {
  display: block;
}

.info-popover-link {
  color: #1473e6;
  text-decoration: underline;
}

.info-popover-link:hover {
  color: #0d5cbf;
}

.info-icon.above::before {
  top: auto;
  bottom: calc(100% + 10px);
}

.info-icon.above::after {
  top: auto;
  bottom: calc(100% + 3px);
  border-bottom: none;
  border-top: 7px solid #1473e6;
}

/* ============================================
   Status text
   ============================================ */
.status-text {
  font-size: 12px;
  color: #6b6b6b;
  margin-top: 8px;
  min-height: 18px;
}

/* ============================================
   Loading / Empty states
   ============================================ */
.loading-row {
  padding: 24px 20px;
  color: #aaa;
  font-size: 12px;
  font-style: italic;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}

/* ============================================
   Invoice list (Orders page)
   ============================================ */
.invoice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}

.invoice-item + .invoice-item {
  border-top: 1px solid #f0f0f0;
}

.invoice-date {
  font-size: 12px;
  color: #6b6b6b;
  width: 110px;
  flex-shrink: 0;
}

.invoice-desc {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}

.invoice-amount {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  width: 80px;
  text-align: right;
}

.invoice-status {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  width: 70px;
  text-align: center;
}

.invoice-status.paid {
  background-color: #dcfce7;
  color: #16a34a;
}

.invoice-status.failed {
  background-color: #fee2e2;
  color: #dc2626;
}

.invoice-link {
  font-size: 12px;
  color: #1a56db;
  cursor: pointer;
}

.invoice-link:hover {
  text-decoration: underline;
}

/* ============================================
   Subscription card (Plans page)
   ============================================ */
.plan-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 24px;
}

.plan-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 16px;
}

.plan-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.plan-status.active {
  background-color: #dcfce7;
  color: #16a34a;
}

.plan-status.inactive {
  background-color: #f3f4f6;
  color: #6b6b6b;
}

.plan-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.plan-renewal {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 20px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .sidebar-nav {
    display: none;
  }

  .well-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .well-item-actions {
    align-self: flex-end;
  }

  .well-item-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .well-item-label {
    width: auto;
  }

  /* Sessions table horizontal scroll */
  .sessions-table-wrap {
    overflow-x: auto;
  }

  .sessions-table {
    min-width: 480px;
  }
}


/* ============================================
   Site Header
   ============================================ */
.feds-header-wrapper--sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

#feds-topnav {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}

#gnt_9 {
  max-width: 1312px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  padding-left: 32px;
  padding-right: 32px;
  gap: 0;
}

.feds-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 20px;
}

.feds-logo-image img {
  width: 25px;
  height: auto;
  display: block;
}

.feds-logo-text--default {
  font-size: 18px;
  font-weight: 700;
  color: #2c2c2c;
  white-space: nowrap;
}

/* Nav links */
.gnav-navList {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.gnav-navList-item {
  display: flex;
  align-items: stretch;
}

.feds-navLink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 20px;
  height: 64px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #2c2c2c;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.feds-navLink:hover {
  background-color: #fafafa;
}

.feds-navLink--active {
  font-weight: 600;
}

.nav-link-active-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: transparent;
  border-bottom: 2px solid #000000 !important;
  pointer-events: none;
}

.feds-navLink-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.feds-navLink[aria-expanded="true"] .feds-navLink-chevron {
  transform: rotate(180deg);
}

/* Dropdowns */
.gnav-has-dropdown {
  position: static;
}

.gnav-dropdown {
  display: none;
  position: absolute;
  top: 65px;
  left: auto;
  min-width: 220px;
  background-color: #fafafa;
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  z-index: 200;
}

.gnav-dropdown.open {
  display: block;
}

.gnav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.gnav-dropdown-link {
  display: block;
  padding: 4px 32px;
  font-size: 14px;
  font-weight: 400;
  color: #2c2c2c;
  text-decoration: none;
  letter-spacing: -0.3px;
  line-height: 2;
}

.gnav-dropdown-link:hover {
  background-color: #f5f5f5;
  color: #1473e6;
}

.gnav-dropdown-link--active {
  font-weight: 600;
}

/* Right-side icons */
.feds-nav-right {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}

.unav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
  text-decoration: none;
  transition: background-color 0.15s;
  position: relative;
}

.unav-icon-btn:hover {
  background-color: #f5f5f5;
}

.unav-svg-icon {
  width: 22px;
  height: 22px;
}

.unav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1473e6, #0d9488);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
  flex-shrink: 0;
  position: relative;
}

/* ── Icon tooltips ── */
.unav-icon-btn[data-tooltip]::before,
.unav-avatar[data-tooltip]::before {
  content: '';
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #1a1a1a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 401;
}

.unav-icon-btn[data-tooltip]::after,
.unav-avatar[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 400;
}

.unav-icon-btn[data-tooltip]:hover::before,
.unav-avatar[data-tooltip]:hover::before,
.unav-icon-btn[data-tooltip]:hover::after,
.unav-avatar[data-tooltip]:hover::after {
  opacity: 1;
}

/* ── Notifications popup ── */
.notif-wrap {
  position: relative;
}

.notif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -8px;
  width: 360px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  z-index: 300;
  overflow: hidden;
}

.notif-panel.open {
  display: block;
}

.notif-panel-header {
  padding: 16px 20px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.notif-panel-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0;
}

.notif-panel-empty {
  padding: 40px 20px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.notif-panel-empty svg .colorable-fill {
  fill: #cbcbcb;
}

.notif-panel-empty p {
  font-size: 13px;
  color: #999999;
  text-align: center;
  margin: 0;
}

.notif-illustration {
  fill-rule: evenodd;
  clip-rule: evenodd;
  stroke-linejoin: round;
  stroke-miterlimit: 2;
}

.notif-illustration .colorable-fill {
  fill-rule: nonzero;
}

/* ── Profile card popup ── */
.profile-wrap {
  position: relative;
}

.profile-panel {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  right: -8px;
  width: 340px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  z-index: 300;
  overflow: hidden;
}

.profile-panel.open {
  display: block;
}

.profile-panel-user {
  padding: 20px 20px 16px;
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.profile-panel-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #3d3d3d;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.profile-panel-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1473e6, #0d9488);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-panel-details {
  flex: 1;
  min-width: 0;
}

.profile-panel-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.profile-panel-email {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 6px;
}

.profile-panel-manage {
  font-size: 13px;
  color: #1473e6;
  text-decoration: underline;
  cursor: pointer;
}

.profile-panel-manage:hover {
  color: #0d5cbf;
}

.profile-panel-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0;
}

.profile-section {
  padding: 14px 20px 4px;
}

.profile-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #6b6b6b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.profile-inner-card {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 4px;
}

.profile-inner-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.profile-switch-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  font-family: inherit;
}

.profile-switch-btn:hover {
  background: #f0f0f0;
}

.profile-panel-text-link {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
}

.profile-panel-text-link:hover {
  background: #f5f5f5;
}

.profile-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-ai-icon {
  width: 22px;
  height: 22px;
  color: #6b6b6b;
  flex-shrink: 0;
}

.profile-ai-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
}

.profile-ai-external {
  color: #6b6b6b;
  display: flex;
  align-items: center;
}

.profile-ai-external:hover {
  color: #1473e6;
}

.profile-feature-label {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: underline;
  margin-bottom: 3px;
}

.profile-feature-value {
  font-size: 12px;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.profile-card-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 10px 0;
}

.profile-progress-bar-track {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin-bottom: 6px;
  overflow: hidden;
}

.profile-progress-bar-fill {
  height: 100%;
  width: 95%;
  background: #1473e6;
  border-radius: 3px;
}

.profile-credits-text {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.profile-reset-text {
  font-size: 11px;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.profile-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  font-family: inherit;
}

.profile-buy-btn:hover {
  background: #f0f0f0;
}

.profile-signout {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.profile-signout:hover {
  background: #f5f5f5;
}

.profile-quicklinks {
  padding: 14px 20px 16px;
  border-top: 1px solid #e8e8e8;
}

.profile-quicklinks-label {
  font-size: 10px;
  font-weight: 700;
  color: #6b6b6b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.profile-quicklinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.profile-quicklink {
  font-size: 12px;
  color: #1473e6;
  text-decoration: none;
  padding: 3px 0;
}

.profile-quicklink:hover {
  text-decoration: underline;
}

/* ── App switcher popup ── */
.app-switcher-wrap {
  position: relative;
}

.app-switcher-panel {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  right: -8px;
  width: 340px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  z-index: 300;
  overflow: hidden;
}

.app-switcher-panel.open {
  display: block;
}

.app-switcher-header {
  padding: 18px 20px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 12px 16px;
}

.app-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.app-grid-item:hover {
  background-color: #f5f5f5;
}

.app-grid-item img {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  display: block;
}

.app-grid-label {
  font-size: 12px;
  color: #2c2c2c;
  text-align: center;
  line-height: 1.3;
}

.app-switcher-footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e8e8e8;
  padding: 14px 16px 16px;
}

.app-switcher-footer-title {
  font-size: 11px;
  font-weight: 600;
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.app-switcher-footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.app-switcher-footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #2c2c2c;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.15s;
}

.app-switcher-footer-link:hover {
  background-color: #ebebeb;
}

.app-switcher-footer-link svg {
  width: 20px;
  height: 20px;
  color: #4a4a4a;
}

/* ── Page shell (pushes footer to bottom) ── */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  flex: 1;
}

/* ============================================
   App Footer
   ============================================ */
.app-footer {
  position: relative;
  background-color: #1e1e1e;
  width: 100%;
}

.footer-inner {
  max-width: 1312px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 32px 0 32px;
}

.footer-help-heading {
  margin-bottom: 32px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.footer-columns {
  display: flex;
  margin-bottom: 40px;
  gap: 32px;
}

.footer-col {
  flex: 1 1 0%;
  min-width: 0;
}

.footer-col-header {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  gap: 10px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.footer-icon-circle {
  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border: 1.5px solid #6b6b6b;
  border-radius: 50%;
  color: #cccccc;
  font-size: 14px;
  font-weight: 600;
  font-family: Georgia, serif;
}

.footer-i-text {
  color: #cccccc;
  font-size: 13px;
  font-style: italic;
  font-family: Georgia, serif;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #3898ec;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  padding-top: 16px;
  padding-bottom: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #000000;
}

.footer-region {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  color: #ffffff;
}

.footer-region-label {
  color: #ffffff;
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #d9d9d9;
  font-size: 11px;
}

.footer-legal a {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal-sep {
  color: #d9d9d9;
}

/* ============================================
   Hamburger button (hidden on desktop)
   ============================================ */
.feds-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #2c2c2c;
  border-radius: 4px;
  flex-shrink: 0;
  margin-right: 4px;
}

.feds-hamburger:hover {
  background-color: #f5f5f5;
}

.feds-hamburger .icon-close { display: none; }
.feds-hamburger.open .icon-menu { display: none; }
.feds-hamburger.open .icon-close { display: block; }

/* Mobile nav menu — full-screen overlay */
.feds-mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 98;
  overflow-y: auto;
  border-top: 1px solid #eaeaea;
}

.feds-mobile-menu.open {
  display: block;
}

/* Overview link */
.feds-mobile-overview {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid #e8e8e8;
}

.feds-mobile-overview:hover {
  background-color: #f5f5f5;
}

.feds-mobile-overview.active {
  font-weight: 500;
}

/* Accordion section */
.feds-mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.feds-mobile-accordion-btn:hover {
  background-color: #f5f5f5;
}

.feds-mobile-accordion-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: #4a4a4a;
}

.feds-mobile-accordion-btn[aria-expanded="true"] .feds-mobile-accordion-chevron {
  transform: rotate(180deg);
}

.feds-mobile-accordion-content {
  display: none;
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
}

.feds-mobile-accordion-content.open {
  display: block;
}

.feds-mobile-subitem {
  display: block;
  padding: 12px 24px 12px 32px;
  font-size: 14px;
  color: #2c2c2c;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.feds-mobile-subitem:last-child {
  border-bottom: none;
}

.feds-mobile-subitem:hover {
  background-color: #f0f0f0;
  color: #1a1a1a;
}

.feds-mobile-subitem.active {
  font-weight: 600;
  color: #1a1a1a;
  border-left: 3px solid #000;
  padding-left: 29px;
}

/* ============================================
   Responsive — Header + Footer
   ============================================ */
@media (min-width: 901px) {
  /* Always hide mobile menu on desktop regardless of .open class */
  .feds-mobile-menu { display: none !important; }
}

@media (max-width: 900px) {
  /* Hamburger replaces desktop nav */
  #gnav-nav { display: none; }
  .feds-hamburger { display: flex; }
  /* Logo: icon only, hide text */
  .feds-logo-text { display: none; }
  .feds-logo { padding-right: 0; gap: 0; }
  /* Tighten right side gap */
  #gnt_9 { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 768px) {
  /* Footer: 2-column grid */
  .footer-columns {
    flex-wrap: wrap;
    gap: 32px 20px;
  }
  .footer-col {
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
  }
  .footer-inner {
    padding: 28px 20px 0;
  }
  .footer-help-heading {
    font-size: 17px;
    margin-bottom: 24px;
  }
  /* Stack icon above title */
  .footer-col-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
  }
  /* Footer bottom: each row stacks */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 28px;
  }
  /* Larger globe icon on mobile */
  .footer-region svg:first-child {
    width: 40px;
    height: 40px;
  }
  .footer-region-label {
    font-size: 14px;
  }
  .footer-region {
    gap: 10px;
  }
  /* Legal text wraps on its own row */
  .footer-legal {
    font-size: 12px;
    gap: 6px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  /* Footer: single column */
  .footer-col {
    flex: 1 1 100%;
  }
  .footer-inner {
    padding: 24px 16px 0;
  }
}

/* ============================================
   Cookie Preferences Modal
   ============================================ */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.cookie-modal-overlay.open {
  display: flex;
}

.cookie-modal {
  background: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
  background: #f5f5f5;
}

.cookie-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.cookie-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-secondary {
  padding: 6px 14px;
  border: 1px solid #b0b0b0;
  border-radius: 3px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2c;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-secondary:hover { background: #f0f0f0; }

.cookie-btn-primary {
  padding: 6px 14px;
  border: 1px solid #2c2c2c;
  border-radius: 3px;
  background: #2c2c2c;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-primary:hover { background: #1a1a1a; }

.cookie-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  color: #4a4a4a;
  border-radius: 3px;
  padding: 0;
  flex-shrink: 0;
}

.cookie-modal-close:hover { background: #e8e8e8; color: #1a1a1a; }

.cookie-modal-body {
  overflow-y: auto;
  padding: 20px 24px 28px;
}

.cookie-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

/* General info accordion */
.cookie-info-list {
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.cookie-info-item {
  border-bottom: 1px solid #e5e5e5;
}

.cookie-info-item:last-child { border-bottom: none; }

.cookie-info-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: left;
}

.cookie-info-btn:hover { background: #fafafa; }

.cookie-info-chevron {
  flex-shrink: 0;
  transition: transform 0.18s;
  transform: rotate(-90deg);
  color: #6b6b6b;
}

.cookie-info-btn.open .cookie-info-chevron { transform: rotate(0deg); }

.cookie-info-content {
  display: none;
  padding: 4px 14px 12px 34px;
}

.cookie-info-content.open { display: block; }

.cookie-info-content p {
  font-size: 13px;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.6;
}

/* If enabled / disabled grid */
.cookie-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
}

.cookie-compare-heading {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.cookie-compare-col ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cookie-compare-col li {
  font-size: 12px;
  color: #2c2c2c;
  line-height: 1.5;
}

.cookie-compare-col--disabled .cookie-compare-heading { color: #6b6b6b; }
.cookie-compare-col--disabled li { color: #6b6b6b; }

/* Category rows */
.cookie-category {
  padding: 18px 0;
  border-top: 1px solid #e5e5e5;
}

.cookie-category:first-of-type { border-top: none; }

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 16px;
}

.cookie-category-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.cookie-category-desc {
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0 0 8px;
}

.cookie-details-link {
  font-size: 12px;
  color: #1473e6;
  text-decoration: none;
}

.cookie-details-link:hover { text-decoration: underline; }

.cookie-always-active {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-always-dot {
  display: inline-block;
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: #1473e6;
  position: relative;
  flex-shrink: 0;
}

.cookie-always-dot::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: #d0d0d0;
  transition: background 0.2s;
}

.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s;
}

.cookie-toggle-input:checked + .cookie-toggle-track {
  background: #1473e6;
}

.cookie-toggle-input:checked + .cookie-toggle-track::after {
  transform: translateX(16px);
}

@media (max-width: 600px) {
  .cookie-compare-grid { grid-template-columns: 1fr; }
  .cookie-modal-header { flex-wrap: wrap; gap: 8px; }
}
