/* Keep default Just-the-Docs style; only shift accents to dark blue. */

a,
.main-content a,
.site-title a {
  color: #123b73;
}

a:hover,
.main-content a:hover,
.site-title a:hover {
  color: #0d2b52;
}

.site-nav .nav-list .nav-list-item > .nav-list-link:hover,
.site-nav .nav-list .nav-list-item.active > .nav-list-link {
  color: #123b73;
  background-image: none;
  background-color: rgba(18, 59, 115, 0.12);
}

.search-input:focus {
  border-color: #123b73;
  box-shadow: 0 0 0 3px rgba(18, 59, 115, 0.18);
}

.btn-primary,
.main-content .btn-primary {
  background-color: #123b73;
  border-color: #123b73;
}

.btn-primary:hover,
.main-content .btn-primary:hover {
  background-color: #0d2b52;
  border-color: #0d2b52;
}

/* Keep the top-right GitHub button in the default outlined style. */
.aux-nav .site-button {
  background-color: transparent;
  border-color: #c7d5e5;
  color: #123b73;
}

.aux-nav .site-button:hover {
  background-color: rgba(18, 59, 115, 0.1);
  border-color: #9db6d3;
  color: #0d2b52;
}

.main-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid #c7d5e5;
  box-shadow: 0 10px 22px rgba(13, 43, 82, 0.14);
  background: #fff;
}

.widget-screenshot-card {
  max-width: 220px;
  margin: 0.8rem 0 0.55rem;
}

.widget-screenshot-card img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(13, 43, 82, 0.2);
}

.widget-screenshot-caption {
  color: #29415f;
  font-size: 0.97rem;
  margin-top: 0.15rem;
}

.install-flow {
  display: grid;
  gap: 0.8rem;
  margin: 0.9rem 0 1rem;
}

@media (min-width: 52rem) {
  .install-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.install-flow-btn {
  position: relative !important;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  padding: 0.88rem 0.95rem;
  border-radius: 14px;
  border: 1px solid #c7d5e5;
  background: #fff;
  color: #123b73 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(13, 43, 82, 0.1);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.install-flow-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(13, 43, 82, 0.14);
  border-color: #9db6d3;
}

.install-flow-link-indicator {
  position: absolute !important;
  top: 0.66rem;
  right: 0.66rem !important;
  left: auto !important;
  inset-inline-end: 0.66rem;
  inset-inline-start: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 0.28rem;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 59, 115, 0.08);
  color: #123b73;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
}

.install-flow-static {
  cursor: default;
}

.install-flow-static:hover {
  transform: none;
}

.install-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 59, 115, 0.1);
  margin-bottom: 0.2rem;
}

.install-flow-icon svg {
  width: 20px;
  height: 20px;
  stroke: #123b73;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-flow-step {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6a84a1;
}

.install-flow-label {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: #123b73;
}

.install-flow-sub {
  font-size: 0.9rem;
  color: #375372;
  line-height: 1.4;
}

.support-callout {
  margin: 1.2rem 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c7d5e5;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 59, 115, 0.06), rgba(18, 59, 115, 0.03));
  box-shadow: 0 10px 22px rgba(13, 43, 82, 0.08);
}

.support-callout h3,
.support-callout p {
  margin: 0;
}

.support-callout h3 {
  color: #123b73;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.support-callout p {
  color: #375372;
  line-height: 1.5;
}

.support-callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid #c7d5e5;
  border-radius: 12px;
  background: #fff;
  color: #123b73 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(13, 43, 82, 0.1);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.support-callout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(13, 43, 82, 0.14);
  border-color: #9db6d3;
}

.support-callout-btn::after {
  content: '↗';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.42rem;
  background: rgba(18, 59, 115, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
}

.support-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.support-link-card {
  display: block;
  padding: 0.95rem 1rem;
  border: 1px solid #c7d5e5;
  border-radius: 14px;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(13, 43, 82, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.support-link-card:hover {
  transform: translateY(-1px);
  border-color: #9db6d3;
  box-shadow: 0 12px 22px rgba(13, 43, 82, 0.12);
}

.support-link-card strong {
  display: block;
  color: #123b73;
  margin-bottom: 0.18rem;
}

.support-link-card span {
  display: block;
  color: #375372;
  line-height: 1.45;
}

.support-floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid #c7d5e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(13, 43, 82, 0.12);
  color: #123b73 !important;
  text-decoration: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.support-floating-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13, 43, 82, 0.16);
  border-color: #9db6d3;
}

.support-floating-cta__icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(18, 59, 115, 0.1);
  color: #123b73;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.support-floating-cta__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.support-floating-cta__label {
  color: #123b73;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.support-floating-cta__sub {
  color: #375372;
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (max-width: 50rem) {
  .support-floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    max-width: none;
    padding: 0.8rem 0.9rem;
  }

  .support-floating-cta__sub {
    font-size: 0.8rem;
  }
}
