﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 0;
}
.footer {
  position: static;
  width: 100%;
  white-space: normal;
  line-height: 1.5;
}

.qc-site-footer {
  margin-top: 2.75rem;
  border-top: 1px solid #dbe5f2;
  background: linear-gradient(180deg, #f9fbfe 0%, #f3f7fc 100%);
  color: #334155;
}

.qc-site-footer .container {
  padding-top: 1.35rem;
  padding-bottom: 1rem;
}

.qc-site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  border-bottom: 1px solid #e2eaf3;
  padding-bottom: 1rem;
}

.qc-site-footer-logo {
  display: inline-block;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.qc-site-footer-logo:hover,
.qc-site-footer-logo:focus-visible {
  color: #0b4f8a;
}

.qc-site-footer-tagline {
  max-width: 70ch;
  line-height: 1.6;
  color: #475569;
}

.qc-site-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 0.4rem 1rem;
  align-content: start;
}

.qc-site-footer-link {
  display: inline-block;
  color: #0b4f8a;
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.qc-site-footer-link:hover,
.qc-site-footer-link:focus-visible {
  color: #083a66;
  border-bottom-color: currentColor;
}

.qc-site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.85rem;
}

.qc-site-footer-copy {
  color: #1e293b;
  font-weight: 600;
  white-space: nowrap;
}

.qc-site-footer-legal {
  max-width: 78ch;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: right;
}

.qc-page-hero {
  background: linear-gradient(135deg, #f6fbff 0%, #eef7ff 55%, #e8f3ff 100%);
  border: 1px solid #d7e9ff;
  border-radius: 1rem;
}

.qc-page-hero h1 {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
  color: #0f172a;
}

@media (max-width: 991.98px) {
  .qc-page-hero {
    padding: 1.25rem !important;
  }

  .qc-page-hero h1 {
    font-size: clamp(1.65rem, 1.2rem + 2.2vw, 2.1rem);
  }
}

.qc-page-hero p,
.qc-page-hero .lead {
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 0;
  max-width: none;
}

.qc-page-hero.qc-page-hero--narrow p,
.qc-page-hero.qc-page-hero--narrow .lead {
  max-width: 72ch;
}

.qc-quick-nav {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
  border: 1px solid #dce9f8;
  border-radius: 0.85rem;
  padding: 0.85rem;
}

.qc-quick-nav-title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
}

.qc-quick-nav-list {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.qc-quick-nav-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #cfe0f7;
  background: #fff;
  color: #0b3c70;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}

.qc-quick-nav-chip:hover,
.qc-quick-nav-chip:focus-visible {
  color: #0a2f58;
  border-color: #b7cff1;
  background: #f8fbff;
  text-decoration: none;
}

.qc-card-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 2rem;
  margin-bottom: 0.9rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.04);
}

.qc-section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.qc-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 700;
  color: #0f172a;
}

.qc-section-heading-line {
  flex-grow: 1;
  border-bottom: 1px solid #dbe5f2;
  opacity: 0.9;
}

.qc-feature-card {
  background: #fff;
  border: 1px solid #e9eef5 !important;
  border-radius: 1rem;
  overflow: hidden;
}

.qc-feature-card .card-body {
  padding: 1.35rem;
}

.qc-feature-card-title {
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.qc-feature-card-text {
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 30ch;
}

.transition-hover {
  transition: all 0.3s ease;
}

.transition-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.accordion-custom .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  box-shadow: none;
  background-color: #fff;
  color: var(--bs-primary);
}

.accordion-custom .accordion-button::after {
  background-size: 1rem;
}

.qc-faq .accordion-custom .accordion-button {
  font-size: 1rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.qc-faq .accordion-custom .accordion-body {
  padding: 0.1rem 1rem 1rem;
}

.qc-faq .accordion-custom .accordion-body hr {
  margin-bottom: 0.75rem;
}

.miloto-results-shell {
  border-top: 1px solid #dbe5f2;
  border-bottom: 1px solid #dbe5f2;
  padding: 1rem 0 1.15rem;
}

.miloto-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.miloto-result-subtitle {
  color: #475569;
  font-size: 0.98rem;
}

.miloto-result-kpis {
  display: flex;
  gap: 1rem;
}

.miloto-result-kpi {
  min-width: 170px;
  border-left: 2px solid #dbe5f2;
  padding-left: 0.75rem;
}

.miloto-result-kpi-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.miloto-result-kpi-value {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.miloto-balls-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.miloto-ball {
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(10, 80, 124, 0.5);
  background: radial-gradient(circle at 30% 30%, #d8f2ff 0%, #62c0ea 40%, #0d78af 100%);
  box-shadow:
    inset 0 3px 8px rgba(255, 255, 255, 0.42),
    inset 0 -8px 10px rgba(0, 0, 0, 0.24),
    0 3px 8px rgba(14, 86, 126, 0.22);
}

.miloto-prize-table {
  border-top: 1px solid #dbe5f2;
  border-bottom: 1px solid #dbe5f2;
  margin-bottom: 0;
}

.miloto-prize-table thead th {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
  background-color: #f8fbff;
  border-bottom: 1px solid #dbe5f2;
}

.miloto-prize-table tbody td {
  border-color: #e6edf6;
}

.miloto-prize-table tbody tr.top-tier td {
  background-color: #fff9df;
}

.miloto-history-wrap {
  border-top: 1px solid #dbe5f2;
  border-bottom: 1px solid #dbe5f2;
}

.miloto-history-table {
  margin-bottom: 0;
}

.miloto-history-table thead th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
  background-color: #f8fbff;
  border-bottom: 1px solid #dbe5f2;
}

.miloto-history-table tbody td {
  border-color: #e6edf6;
  vertical-align: middle;
}

.miloto-history-table tbody tr:hover td {
  background-color: #fbfdff;
}

.miloto-history-draw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.15rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #dbe5f2;
  background: #fff;
  font-weight: 700;
  color: #0f172a;
}

.miloto-history-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.miloto-history-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  background: #eef7ff;
  border: 1px solid #cfe2f5;
  color: #0c4a6e;
  font-size: 0.88rem;
  font-weight: 700;
}

.miloto-history-link {
  color: #0b4f8a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.miloto-history-link:hover,
.miloto-history-link:focus-visible {
  color: #083a66;
  border-bottom-color: currentColor;
}

.miloto-draw-bar {
  border-top: 1px solid #dbe5f2;
  border-bottom: 1px solid #dbe5f2;
  padding: 0.85rem 0 0.9rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 0.9rem;
}

.miloto-draw-bar-item {
  border-left: 2px solid #dbe5f2;
  padding-left: 0.75rem;
}

.miloto-draw-bar-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  font-weight: 700;
}

.miloto-draw-bar-value {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #1e293b;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .qc-section-heading {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .qc-card-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }

  .qc-feature-card-text {
    max-width: none;
  }

  .miloto-result-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .miloto-result-kpis {
    width: 100%;
    gap: 0.75rem;
  }

  .miloto-result-kpi {
    min-width: 0;
    flex: 1;
  }

  .miloto-ball {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.2rem;
  }

  .miloto-history-balls {
    min-width: 9.2rem;
  }

  .miloto-draw-bar {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .miloto-draw-bar-item {
    width: 100%;
    border-left-width: 3px;
    padding-left: 0.6rem;
  }

  .qc-site-footer-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .qc-site-footer-nav {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .qc-site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .qc-site-footer-copy {
    white-space: normal;
  }

  .qc-site-footer-legal {
    max-width: none;
    text-align: left;
  }
}
