/* ============================================================================
 * Tekla Toppings - Centralized Site-Wide Upgrade Notice Banner
 * Served live from https://app.teklatoppings.com/tekla-site-banner.css
 *
 * HOW TO TURN OFF ACROSS ALL TEKLA APPS IN ONE PLACE:
 *   Change `--tekla-site-banner-display` below from `flex` to `none` and
 *   deploy `toppings-app`. Every connected Tekla app (Launchpad, Classic Home,
 *   Calendar, Course, Resume, Interview) hides the banner automatically.
 * ========================================================================== */

:root {
  --tekla-site-banner-display: flex;
}

.tekla-site-banner {
  display: var(--tekla-site-banner-display, flex);
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 18px;
  background: linear-gradient(90deg, #fff4fc 0%, #fffbeb 50%, #f0f9ff 100%);
  border-bottom: 1px solid rgba(232, 111, 212, 0.16);
  color: #3f3848;
  font-family: "Outfit", "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.81rem;
  line-height: 1.42;
  text-align: center;
  position: relative;
  z-index: 20;
}

.tekla-site-banner__inner {
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 10px;
}

.tekla-site-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9d174d;
  white-space: nowrap;
}

.tekla-site-banner__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e86fd4, #f59e0b);
  box-shadow: 0 0 0 3px rgba(232, 111, 212, 0.16);
  flex-shrink: 0;
}

.tekla-site-banner__text {
  color: #4b4456;
  font-weight: 500;
}

html[data-theme="dark"] .tekla-site-banner,
html.dark .tekla-site-banner,
body.dark .tekla-site-banner,
.dark .tekla-site-banner {
  background: linear-gradient(90deg, rgba(232, 111, 212, 0.14) 0%, rgba(251, 191, 36, 0.1) 50%, rgba(11, 166, 223, 0.14) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  color: #e5e7eb;
}

html[data-theme="dark"] .tekla-site-banner__tag,
html.dark .tekla-site-banner__tag,
body.dark .tekla-site-banner__tag,
.dark .tekla-site-banner__tag {
  color: #fbcfe8;
}

html[data-theme="dark"] .tekla-site-banner__dot,
html.dark .tekla-site-banner__dot,
body.dark .tekla-site-banner__dot,
.dark .tekla-site-banner__dot {
  background: linear-gradient(135deg, #f472b6, #38bdf8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

html[data-theme="dark"] .tekla-site-banner__text,
html.dark .tekla-site-banner__text,
body.dark .tekla-site-banner__text,
.dark .tekla-site-banner__text {
  color: #d6d9e4;
}

@media (max-width: 699px) {
  .tekla-site-banner {
    padding: 8px 12px;
    font-size: 0.76rem;
    text-align: left;
  }
  .tekla-site-banner__inner {
    justify-content: flex-start;
    gap: 3px 8px;
  }
}
