/* @import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap'); */

:root {
  --therink-ink: #e7edf6;
  --therink-blue: #63a6ff;
  --therink-ice: #111a24;
  --therink-border: #243244;
  --therink-surface: #101924;
  --therink-surface-2: #162231;
  --therink-surface-3: #1c2c3d;
  --therink-muted: #97a9bd;
  --bs-body-bg: #0b1118;
  --bs-body-color: #e7edf6;
  --bs-secondary-color: #97a9bd;
  --bs-border-color: #243244;
  --bs-card-bg: #101924;
  --bs-card-border-color: #243244;
  --bs-tertiary-bg: #162231;
  --bs-secondary-bg: #111a24;
  --bs-emphasis-color: #f5f8fc;
  --bs-link-color: #8cc0ff;
  --bs-link-hover-color: #b5d6ff;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-family: "Manrope", system-ui, sans-serif;
  background: radial-gradient(circle at top, #152538 0%, #0b1118 48%, #080d13 100%);
  color: var(--therink-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.therink-footer-title,
.therink-section-kicker {
  font-family: "Sora", "Manrope", system-ui, sans-serif;
}

.therink-main {
  min-height: calc(100vh - 12rem);
}

.therink-navbar {
  background: linear-gradient(90deg, rgba(7, 13, 22, 0.92) 0%, rgba(12, 26, 42, 0.96) 52%, rgba(24, 66, 108, 0.98) 100%);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 192, 255, 0.12);
  position: relative;
  z-index: 2050;
}

.therink-navbar .navbar-brand,
.therink-navbar .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.therink-navbar .navbar-brand {
  letter-spacing: 0.02em;
}

.therink-navbar-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0.45rem 0.9rem rgba(0, 0, 0, 0.3));
}

.therink-nav-cta {
  min-width: 6.5rem;
  border-radius: 999px;
}

.therink-navbar .nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.therink-navbar .nav-link:hover,
.therink-navbar .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.therink-navbar .nav-link.active {
  background: rgba(140, 192, 255, 0.16);
  color: #fff;
}

.therink-account-nav-item .dropdown-menu {
  border-color: rgba(140, 192, 255, 0.18);
  background: rgba(10, 18, 27, 0.98);
  z-index: 2060;
  min-width: 18rem;
  max-width: calc(100vw - 2rem);
  max-height: min(34rem, calc(100vh - 5rem));
  overflow-y: auto;
}

.therink-account-nav-item.show,
.therink-account-nav-item:has(.dropdown-menu.show) {
  z-index: 2060;
}

.therink-account-nav-item .dropdown-item {
  border-radius: 0.35rem;
  margin-inline: 0.35rem;
  width: auto;
}

.therink-account-nav-section {
  color: rgba(196, 220, 249, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.45rem 0.85rem 0.2rem;
  text-transform: uppercase;
}

.therink-account-nav-divider {
  border-top-color: rgba(140, 192, 255, 0.16);
  margin-block: 0.35rem;
}

.therink-account-nav-toggle {
  padding-inline: 0.85rem !important;
}

.therink-account-nav-toggle::after {
  margin-left: 0.4rem;
}

.therink-language-toggle {
  width: 2.4rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  padding: 0;
}

.therink-language-toggle:hover,
.therink-language-toggle:focus,
.therink-language-toggle:active,
.therink-language-toggle.show,
.therink-language-nav-item.show .therink-language-toggle {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.therink-language-menu {
  min-width: 11rem;
  border-color: rgba(140, 192, 255, 0.18);
  background: rgba(10, 18, 27, 0.98);
}

.therink-language-option {
  border-radius: 0.35rem;
  margin-inline: 0.35rem;
  width: auto;
}

.therink-language-menu .therink-language-option:hover,
.therink-language-menu .therink-language-option:focus,
.therink-language-menu .therink-language-option.active,
.therink-language-menu .therink-language-option:active {
  background: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.therink-language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  font-size: 1.1rem;
  line-height: 1;
}

.therink-language-flag-icon {
  display: block;
  width: 1.35rem;
  height: 0.95rem;
  min-width: 1.35rem;
  border-radius: 0.12rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.therink-footer {
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.96), rgba(8, 13, 20, 1));
  border-top: 1px solid var(--therink-border);
}

.therink-hero {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.therink-hero-card {
  background: rgba(9, 18, 28, 0.8);
  border: 1px solid rgba(115, 149, 191, 0.22);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.therink-hero-logo {
  max-height: 260px;
  filter: drop-shadow(0 1rem 1.5rem rgba(0, 0, 0, 0.35));
}

.therink-topimage {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.therink-home-intro {
  padding: 2rem 2rem;
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(18, 32, 48, 0.94), rgba(8, 16, 25, 0.86));
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.22);
}

.therink-home-hero {
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.96) 0%, rgba(7, 13, 22, 0.82) 48%, rgba(7, 13, 22, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 13, 22, 0.18), rgba(7, 13, 22, 0.9)),
    url('/images/home/skate-tech.jpg') center right / cover no-repeat;
}

.therink-home-hero > * {
  position: relative;
  z-index: 1;
  width: 100%;
}

.therink-home-hero .lead {
  max-width: 46rem;
}

.therink-home-quicklinks a {
  text-decoration: none;
}

.therink-home-blurb {
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(99, 166, 255, 0.5);
  background: rgba(99, 166, 255, 0.06);
  border-radius: 0.9rem;
}

.therink-home-hero .therink-home-blurb {
  background: rgba(8, 16, 25, 0.72);
  backdrop-filter: blur(8px);
}

.therink-home-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.therink-home-card {
  min-height: 100%;
}

.therink-section-card {
  border: 1px solid rgba(115, 149, 191, 0.16);
}

.therink-account-promo {
  overflow: hidden;
  border: 1px solid rgba(140, 192, 255, 0.18);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(99, 166, 255, 0.13), rgba(42, 172, 125, 0.12)),
    rgba(13, 23, 34, 0.96);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.18);
}

.therink-account-promo-panel {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
}

.therink-account-promo-panel-alt {
  border-top: 1px solid rgba(140, 192, 255, 0.14);
}

.therink-account-promo-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(140, 192, 255, 0.26);
  background: rgba(140, 192, 255, 0.1);
  color: #b8dcff;
  font-size: 1.15rem;
}

.therink-account-promo-kicker {
  color: #8ebbf3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.therink-account-promo-action {
  display: flex;
  justify-content: center;
  padding: 0 1rem 1rem;
}

.therink-home-card .card-body {
  padding: 1.5rem;
}

.therink-home-card .card-title {
  margin-bottom: 0.9rem;
}

.therink-home-card-media {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 8.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px dashed rgba(184, 220, 255, 0.38);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%) 0 0 / 1.35rem 1.35rem,
    linear-gradient(315deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 1.35rem 1.35rem,
    linear-gradient(135deg, rgba(12, 21, 31, 0.9), rgba(27, 43, 60, 0.96));
  color: #dcecff;
}

.therink-home-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(140, 192, 255, 0.28), transparent 32%),
    linear-gradient(180deg, transparent 36%, rgba(8, 13, 20, 0.78));
}

.therink-home-card-media-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(8, 13, 20, 0.62);
  font-size: 0.95rem;
  font-weight: 700;
}

.therink-home-card-media-content i {
  color: #8cc0ff;
  font-size: 1.2rem;
}

.therink-home-card-media-payment {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.08) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/sharpening-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.therink-home-card-media-guidance {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.04) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/helping-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.therink-home-card-media-account {
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.04) 0%, rgba(8, 13, 20, 0.72) 100%),
    url('/images/home/horizon-card.jpg') center center / cover no-repeat;
  border-style: solid;
}

.start-intent-button {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--therink-ink);
  background: linear-gradient(180deg, rgba(18, 31, 45, 0.98), rgba(11, 19, 29, 1));
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.start-intent-button:hover,
.start-intent-button:focus,
.start-intent-button:focus-visible {
  color: #fff;
  border-color: rgba(140, 192, 255, 0.4);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.therink-login-card {
  border: 1px solid rgba(115, 149, 191, 0.16);
  background: linear-gradient(180deg, rgba(18, 29, 42, 0.96), rgba(10, 18, 27, 0.92));
}

.therink-login-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.6rem;
}

.therink-icon-chip {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(99, 166, 255, 0.18), rgba(99, 166, 255, 0.06));
  color: #a9d0ff;
  font-size: 1.8rem;
}

.therink-action-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: rgba(99, 166, 255, 0.12);
  color: #a9d0ff;
  font-size: 1.15rem;
}

.therink-pathway-card {
  --therink-pathway-accent: #8cc0ff;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-top: 3px solid var(--therink-pathway-accent);
  border-radius: 0.5rem;
  background: rgba(13, 23, 34, 0.9);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.14);
}

.therink-pathway-card--care {
  --therink-pathway-accent: #66d9ef;
}

.therink-pathway-card--progression {
  --therink-pathway-accent: #5ee0a0;
}

.therink-pathway-card--payments {
  --therink-pathway-accent: #f6c85f;
}

.therink-pathway-card--help {
  --therink-pathway-accent: #b9a7ff;
}

.therink-pathway-card--account {
  --therink-pathway-accent: #f0abfc;
}

.therink-pathway-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--therink-pathway-accent);
  font-size: 1.15rem;
}

.therink-pathway-card h3,
.therink-pathway-card p,
.therink-pathway-card .btn {
  overflow-wrap: anywhere;
}

.therink-pathway-card .btn {
  white-space: normal;
}

.therink-pathway-actions {
  align-content: start;
  min-height: 7.5rem;
}

.therink-pathway-actions .btn {
  width: 100%;
}

.therink-account-select-button {
  display: block;
  padding: 0.35rem 0.45rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
}

.therink-account-select-button:hover,
.therink-account-select-button:focus,
.therink-account-select-button:focus-visible {
  background: rgba(140, 192, 255, 0.1);
  color: #fff;
}

.therink-account-select-button:focus-visible {
  outline: 2px solid rgba(140, 192, 255, 0.58);
  outline-offset: 2px;
}

.therink-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(140, 192, 255, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(102, 217, 239, 0.24), rgba(94, 224, 160, 0.16));
  color: #edf7ff;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0.7rem 1.5rem rgba(0, 0, 0, 0.18);
}

.therink-account-avatar--sm {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 0.78rem;
}

.therink-account-avatar--lg {
  width: 4rem;
  height: 4rem;
  font-size: 1.15rem;
}

.therink-account-avatar--child {
  border-color: rgba(185, 167, 255, 0.42);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(185, 167, 255, 0.32), rgba(240, 171, 252, 0.18));
}

.therink-account-avatar--adult {
  border-color: rgba(102, 217, 239, 0.38);
}

.therink-help-topic {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.therink-help-topic:hover,
.therink-help-topic:focus,
.therink-help-topic:focus-visible {
  border-color: rgba(140, 192, 255, 0.4);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.therink-help-navigation .list-group-item:hover,
.therink-help-navigation .list-group-item:focus {
  background: rgba(140, 192, 255, 0.08) !important;
}

.therink-page-lead {
  margin-bottom: 2rem;
}

.therink-member-home-hero {
  min-height: 12rem;
  padding: 2rem;
  border: 1px solid rgba(115, 149, 191, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.97) 0%, rgba(7, 13, 22, 0.91) 48%, rgba(7, 13, 22, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 13, 22, 0.22), rgba(7, 13, 22, 0.9)),
    url('/images/home/member-home.jpg') center right / cover no-repeat;
  box-shadow: 0 1.15rem 2.4rem rgba(0, 0, 0, 0.18);
}

.therink-member-home-hero .lead {
  max-width: 47rem;
}

.therink-section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8ebbf3;
}

.therink-stat-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(140, 192, 255, 0.18);
  background: rgba(140, 192, 255, 0.08);
  color: #dfeeff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.therink-skill-video-link {
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(140, 192, 255, 0.32);
  border-radius: 0.5rem;
  background: rgba(140, 192, 255, 0.08);
  color: #cfe5ff;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.therink-skill-video-link:hover,
.therink-skill-video-link:focus,
.therink-skill-video-link:focus-visible {
  border-color: rgba(140, 192, 255, 0.5);
  background: rgba(140, 192, 255, 0.14);
  color: #fff;
  text-decoration: none;
}

.therink-skill-video-link:focus-visible {
  outline: 2px solid rgba(140, 192, 255, 0.65);
  outline-offset: 2px;
}

.therink-skill-video-link .bi {
  flex: 0 0 auto;
  color: #8cc0ff;
}

.therink-skill-video-link span {
  overflow-wrap: anywhere;
}

.therink-flowchart {
  display: grid;
  gap: 0.65rem;
}

.therink-flow-node {
  border: 1px solid rgba(140, 192, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(12, 24, 35, 0.72);
  padding: 0.9rem;
}

.therink-flow-arrow {
  color: rgba(207, 229, 255, 0.72);
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}

.therink-flow-progress {
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.therink-flow-progress > div {
  min-width: 0;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #66d9ef, #f6c85f);
}

.therink-programme-flow-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.therink-programme-flow-svg {
  display: block;
  min-width: 560px;
  max-width: 760px;
  width: 100%;
  height: auto;
}

.therink-programme-flow-edge {
  fill: none;
  stroke: rgba(140, 192, 255, 0.58);
  stroke-width: 2.25;
}

.therink-programme-flow-edge-cross {
  stroke: rgba(246, 200, 95, 0.78);
  stroke-dasharray: 4 4;
}

.therink-programme-flow-arrowhead {
  fill: rgba(140, 192, 255, 0.88);
}

.therink-programme-flow-arrowhead-cross {
  fill: rgba(246, 200, 95, 0.9);
}

.therink-programme-flow-node-box {
  fill: rgba(15, 29, 42, 0.98);
  stroke: rgba(140, 192, 255, 0.45);
  stroke-width: 1.5;
}

.therink-programme-flow-node-both {
  stroke: rgba(83, 214, 165, 0.78);
}

.therink-programme-flow-node-hockey {
  stroke: rgba(246, 200, 95, 0.74);
}

.therink-programme-flow-node-figure {
  stroke: rgba(140, 192, 255, 0.78);
}

.therink-programme-flow-link:hover .therink-programme-flow-node-box,
.therink-programme-flow-link:focus .therink-programme-flow-node-box,
.therink-programme-flow-link-active .therink-programme-flow-node-box {
  fill: rgba(23, 43, 61, 1);
  stroke-width: 2.5;
}

.therink-programme-flow-node-text {
  fill: #eef7ff;
  font-size: 12px;
  font-weight: 700;
}

.therink-programme-flow-node-pathway {
  fill: rgba(223, 238, 255, 0.72);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.card,
.modal-content,
.list-group-item {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.16);
}

.card,
.modal-content {
  background: linear-gradient(180deg, rgba(18, 31, 45, 0.98), rgba(11, 19, 29, 1));
  border-radius: 1.2rem;
}

.card-footer {
  border-top-color: rgba(115, 149, 191, 0.18) !important;
}

.list-group-item {
  background: transparent;
}

.alert-secondary {
  background: #142131;
  border-color: #2f4a68;
  color: #dce9f8;
}

.alert-warning {
  background: #342613;
  border-color: #7f6130;
  color: #ffe8b3;
}

.form-control,
.form-select,
.form-check-input {
  background-color: var(--therink-surface-2);
  border-color: var(--therink-border);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  background-color: var(--therink-surface-3);
  border-color: #5a8fc8;
  box-shadow: 0 0 0 0.25rem rgba(99, 166, 255, 0.16);
}

.text-body-secondary {
  color: var(--therink-muted) !important;
}

a {
  text-decoration-thickness: 0.08em;
}

.btn-outline-secondary {
  --bs-btn-color: #c6d3e3;
  --bs-btn-border-color: #506175;
  --bs-btn-hover-bg: #506175;
  --bs-btn-hover-border-color: #506175;
}

.btn-light {
  --bs-btn-bg: #dce6f2;
  --bs-btn-border-color: #dce6f2;
  --bs-btn-color: #102033;
}

.btn {
  border-radius: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  --bs-btn-bg: #3b82f6;
  --bs-btn-border-color: #3b82f6;
  --bs-btn-hover-bg: #4a8ef7;
  --bs-btn-hover-border-color: #4a8ef7;
}

.btn-success {
  --bs-btn-bg: #1f8f6b;
  --bs-btn-border-color: #1f8f6b;
  --bs-btn-hover-bg: #27a47a;
  --bs-btn-hover-border-color: #27a47a;
}

::selection {
  background: rgba(99, 166, 255, 0.28);
}

.therink.ui {
  overflow: visible visible;
  background: white;
  color: black;
}

div.ui h1, div.ui h2, div.ui h3 {
  color: black;
}

.hidden.menu {
  display: none;
}

.ui.accordion.item {
  padding:0px;
}

.ui.accordion.item > .title {
  padding: 0.92857143em 1.14285714em;
}

.ui.accordion.item > .title:NOT(.active):hover {
  background: rgba(255,255,255,.1);
  color: #ffffff;
}

.ui.accordion.item > .content > .item {
  padding-left: 1.4em;
}

.ui.imghead.segment {
  min-height: 200px;
  padding: 1em 0em;
  background-repeat: no-repeat;
  background-size: cover;
}
.ui.masthead.segment {
  min-height: 600px;
  padding: 1em 0em;
  text-shadow: #FFFFFF 1px 1px 10px, #FFFFFF 1px -1px 10px, #FFFFFF -1px 1px 10px, #FFFFFF -1px -1px 10px;
  background-image: url('/images/filip-mroz-XUwk3DG6jqg-unsplash.jpg');
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed ;
}

.masthead .logo.item img {
  margin-right: 1em;
  filter: drop-shadow(30px 10px 4px #ffffff);

}

.topmenu.segment {
  margin: 0;
  padding: 0;
}

.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}

.masthead h1.ui.header {
  margin-top: 2em;
  margin-bottom: 0em;
  font-size: 4em;
  font-weight: normal;
}

.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}

.ui.vertical.stripe {
  padding: 1em 0em;
}

.ui.vertical.stripe h3 {
  font-size: 1.4em;
}

.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
  margin-top: 1.4em;
}

.ui.vertical.stripe .floated.image {
  clear: both;
}

.ui.vertical.stripe p {
  font-size: 1.33em;
}

.ui.vertical.content {
  font-size: 1.2em;
}

.ui.vertical.stripe .horizontal.divider {
  margin: 3em 0em;
}

.quote.stripe.segment {
  padding: 0em;
}

.quote.stripe.segment .grid .column {
  padding-top: 5em;
  padding-bottom: 5em;
}

.footer.segment {
  padding: 5em 0em;
}

.secondary.pointing.menu .toc.item {
  display: none;
}

.ui.container:not(.fluid) {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 1600px) {
  .ui.ui.ui.container:not(.fluid) {
      width: 1527px;
      margin-left: auto;
      margin-right: auto;
  }
}
@media only screen and (min-width: 2000px) {
  .ui.ui.ui.container:not(.fluid) {
      width: 1927px;
      margin-left: auto;
      margin-right: auto;
  }
}
@media only screen and (max-width: 700px) {
  .therink-hero-card {
    padding: 1.5rem;
  }

  .therink-hero-logo {
    max-height: 180px;
  }

  .ui.fixed.menu {
    display: none !important;
  }

  .secondary.pointing.menu .item,
  .secondary.pointing.menu .menu {
    display: none;
  }

  .secondary.pointing.menu .toc.item {
    display: block;
  }

  .masthead.segment {
    min-height: 350px;
  }

  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }

  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}

@media (min-width: 992px) {
  .therink-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .therink-account-promo-panel {
    padding: 1rem 1.1rem;
  }

  .therink-account-promo-panel-alt {
    border-top: 0;
    border-left: 1px solid rgba(140, 192, 255, 0.14);
  }
}

div.caption {
  font-size: 1em;
  font-style: italic;
}
.gallery.grid .column {
  text-align: center;
}
.gallery.grid .column img {
  margin-left: auto;
  margin-right: auto;
}

.therink-lab-hero {
  min-height: 34rem;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.9), rgba(10, 20, 31, 0.72), rgba(10, 20, 31, 0.32)),
    url('/images/sharpening-crop.jpg');
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(140, 192, 255, 0.18);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
}

.therink-lab-hero-inner {
  max-width: 48rem;
  padding: clamp(2rem, 6vw, 5rem);
}

.therink-lab-cta {
  border: 1px solid rgba(40, 167, 117, 0.24);
  background:
    linear-gradient(135deg, rgba(31, 143, 107, 0.15), rgba(99, 166, 255, 0.09)),
    rgba(14, 25, 36, 0.96);
}

.therink-section-card .list-group-item:last-child {
  border-bottom: 0;
}


.comments {
  margin-bottom: 5px;
}
.commentheader {
  font-weight: bolder;
  margin-left: 6px;
  font-size: 1.2em;
  background: #eeeeee;
}
.commentbody {
  border-left: 1px solid black;
  margin-left: 6px;
}
.new.comments {
  margin-top: 10px;
}

[data-lpignore] [data-lastpass-icon-root] {
  visibility: none;
  display: none !important;
}

.messagecontainer {
  width: 100%;
}
.messagesdt {
  margin: 0px auto;
  max-width: 960px;
  background: #222;
  padding: 10px;
}


.messages {
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0px auto;
  max-width: 960px;
  background: #222;
  padding: 0px;
}
.messages .message, .messagesdt .message {
  position: relative;
  max-width: 60%;
  min-width: 40%;
  margin: 5px 0px;
  padding: 10px;
}
.messages .message.out, .messagesdt .message.out {
  float: right;
  text-align: right;
  background: #8888cc;
  border-radius: 10px 10px 0px 10px;
}
.messages .message.in, .messagesdt .message.in {
  float: left;
  background: #cccccc;
  border-radius: 10px 10px 10px 0px;
}
.messages .message.in .messageicon, .messagesdt .message.in .messageicon {
  position: absolute;
  right: -35px;
  bottom: 0px;
}
.messages .message.out .messageicon, .messagesdt .message.out .messageicon {
  position: absolute;
  left: -35px;
  bottom: 0px;
}
.messages .messageresp, .messagesdt .messageresp {
  margin: 0px auto;
  width: 960px;
  padding: 10px;
  border: 1px solid #222;
}

.therink-markdown {
  color: var(--bs-body-color);
}

.therink-markdown h1,
.therink-markdown h2,
.therink-markdown h3,
.therink-markdown h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.75rem;
}

.therink-markdown h1:first-child,
.therink-markdown h2:first-child,
.therink-markdown h3:first-child,
.therink-markdown h4:first-child {
  margin-top: 0;
}

.therink-markdown p,
.therink-markdown ul,
.therink-markdown ol,
.therink-markdown .table-responsive {
  margin-bottom: 1rem;
}

.therink-code-block,
.therink-markdown pre {
  background: #f6f8fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

.therink-mermaid-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
  text-align: center;
}

.therink-markdown-table {
  margin-top: 1rem;
}

.therink-help-label-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.therink-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  appearance: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.therink-help-button:hover,
.therink-help-button:focus {
  border-color: #f26f3d;
  background: rgba(242, 111, 61, 0.18);
  color: #ffffff;
}

.therink-guided-help-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.08);
}

.therink-guided-help-backdrop[hidden] {
  display: none;
}

.therink-guided-help-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(242, 111, 61, 0.45);
  border-radius: 0.5rem;
  background: #101820;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.therink-guided-help-count {
  margin-bottom: 0.35rem;
  color: #ffb38f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.therink-guided-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.therink-guided-help-active {
  border-radius: 0.45rem;
  outline: 3px solid #f26f3d;
  outline-offset: 4px;
  box-shadow: 0 0 0 0.4rem rgba(242, 111, 61, 0.2);
}

.therink-roh-test,
.therink-roh-result {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(115, 149, 191, 0.2) !important;
}

.therink-roh-test .form-check {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: start;
  min-height: 1.5rem;
  padding-left: 0;
}

.therink-roh-test .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  float: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  border: 2px solid rgba(196, 220, 249, 0.64);
  border-radius: 50%;
  background-color: rgba(4, 9, 15, 0.7);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.78rem 0.78rem;
  box-shadow: 0 0 0 1px rgba(4, 9, 15, 0.45);
  cursor: pointer;
}

.therink-roh-test .form-check-input:hover {
  border-color: #ffffff;
  background-color: rgba(23, 39, 55, 0.96);
}

.therink-roh-test .form-check-input:focus {
  border-color: #63d99a;
  box-shadow: 0 0 0 0.22rem rgba(42, 172, 125, 0.24);
}

.therink-roh-test .form-check-input:checked {
  border-color: #2aac7d;
  background-color: #2aac7d;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.2 6.6 11.2 12.7 4.8' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.therink-roh-test .form-check-input:checked + .form-check-label {
  color: #ffffff;
  font-weight: 600;
}

.therink-roh-test .form-check-label {
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.therink-roh-test .form-text {
  grid-column: 2;
  margin-top: 0.1rem;
  color: rgba(213, 231, 249, 0.78);
}

.therink-roh-instructions {
  display: grid;
  gap: 0.75rem;
}

.therink-roh-diagram {
  padding: 0.65rem;
  border-radius: 0.45rem;
  background: rgba(4, 9, 15, 0.72);
}

.therink-roh-line-drawing {
  display: block;
  width: 100%;
  max-height: 14rem;
}

.therink-roh-ice-plane {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(207, 230, 255, 0.18);
}

.therink-roh-skater-line,
.therink-roh-edge-line,
.therink-roh-guide-line,
.therink-roh-arrow-line,
.therink-roh-arrow-head,
.therink-roh-spin-line,
.therink-roh-scrape-line,
.therink-roh-turn-point {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.therink-roh-skater-line {
  stroke: #f6f8fb;
  stroke-width: 3.2;
}

.therink-roh-skater-line circle {
  fill: rgba(246, 248, 251, 0.08);
}

.therink-roh-skate-line {
  stroke: #9ed0ff;
  stroke-width: 3.6;
}

.therink-roh-edge-line {
  stroke: #9ed0ff;
  stroke-width: 3;
}

.therink-roh-guide-line,
.therink-roh-spin-line {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
}

.therink-roh-arrow-line,
.therink-roh-arrow-head {
  stroke: #f26f3d;
  stroke-width: 2.4;
}

.therink-roh-scrape-line {
  stroke: #ffb36c;
  stroke-width: 2.3;
}

.therink-roh-turn-point {
  fill: #f26f3d;
  stroke: rgba(4, 9, 15, 0.9);
  stroke-width: 2;
}

.therink-roh-image-diagram {
  overflow: hidden;
  padding: 0;
  background: #07101a;
}

.therink-roh-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #07101a;
  color: #fff;
  cursor: zoom-in;
}

.therink-roh-reference-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  object-position: 50% 44%;
}

.therink-roh-image-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 9, 15, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.therink-fit-map-panel {
  border: 1px solid rgba(255, 111, 55, 0.22);
  border-radius: 0.5rem;
  background: rgba(13, 23, 34, 0.86);
  padding: 1rem;
}

.therink-fit-scale-labels {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.therink-fit-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.therink-fit-toggle-group .btn {
  min-width: 5.25rem;
}

.therink-fit-toggle-group .btn.active,
.therink-fit-toggle-group .btn[aria-pressed="true"] {
  background: #f26f3d;
  border-color: #f26f3d;
  color: #101820;
}

.therink-fit-slider-wrap {
  position: relative;
}

.therink-fit-slider-wrap .form-range {
  position: relative;
  z-index: 2;
}

.therink-fit-slider-ticks {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 50%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.therink-fit-slider-ticks span {
  width: 1px;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.45);
}

.therink-fit-map-stage {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 55% 42%, rgba(140, 192, 255, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(4, 9, 15, 0.72);
  margin-bottom: 1rem;
}

.therink-fit-canvas,
.therink-fit-mark-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.therink-fit-canvas {
  z-index: 1;
}

.therink-fit-mark-layer {
  z-index: 2;
  touch-action: none;
  user-select: none;
}

.therink-fit-mark-layer[data-fit-map-mode="move"] {
  cursor: grab;
}

.therink-fit-mark-layer[data-fit-map-mode="move"][data-moving="1"] {
  cursor: grabbing;
}

.therink-fit-mark-layer[data-fit-map-mode="markup"] {
  cursor: crosshair;
}

.therink-fit-map-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  max-width: calc(100% - 1.5rem);
}

.therink-fit-map-actions .btn {
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.28);
}

.therink-fit-foot-card {
  height: 100%;
  border: 1px solid rgba(115, 149, 191, 0.18);
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 0.85rem;
}

.therink-fit-foot-stage {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(140, 192, 255, 0.16), transparent 45%),
    rgba(4, 9, 15, 0.72);
  perspective: 900px;
}

.therink-fit-foot-canvas,
.therink-fit-foot-map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.therink-fit-foot-canvas {
  z-index: 1;
}

.therink-fit-foot-map {
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.therink-fit-foot-hit-area {
  fill: transparent;
}

.therink-fit-model-status {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.65rem;
  z-index: 3;
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(4, 9, 15, 0.62);
  pointer-events: none;
}

.therink-fit-map-mark {
  mix-blend-mode: normal;
  pointer-events: none;
}

.therink-fit-map-mark text {
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.28);
  stroke-width: 0.8px;
}

.therink-fit-map-mark-preview {
  stroke-dasharray: 4 3;
}

.therink-fit-capture {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.therink-fit-capture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.therink-fit-capture-item {
  position: relative;
}

.therink-fit-capture-preview {
  max-width: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
}

.therink-fit-capture-delete {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.therink-checkin-detail {
  display: block;
}

.therink-checkin-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style-position: inside;
}

.therink-checkin-summary-main {
  display: grid;
  gap: 0.2rem;
}

.therink-checkin-readonly {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.therink-checkin-note {
  white-space: pre-wrap;
}

.therink-checkin-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.therink-checkin-image {
  max-width: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  cursor: zoom-in;
}

.therink-checkin-image:focus {
  outline: 2px solid #f26f3d;
  outline-offset: 3px;
}

.therink-popup-open {
  overflow: hidden;
}

.therink-image-popup {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
}

.therink-image-popup[hidden] {
  display: none;
}

.therink-image-popup-panel {
  position: relative;
  max-width: min(92vw, 72rem);
  max-height: 90vh;
}

.therink-image-popup-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  background: #07101a;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}

.therink-image-popup-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .therink-fit-scale-labels {
    grid-template-columns: 1fr 1fr;
  }

  .therink-fit-map-stage {
    min-height: 24rem;
  }

  .therink-fit-foot-stage {
    min-height: 18rem;
  }
}
