@charset "UTF-8";
/* Brand Colors */
/* === TEST LISTING PAGE === */
.btm-orders-list .btm-test-item {
  background: white;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 767px) {
  .btm-orders-list .btm-test-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
}
.btm-orders-list .btm-test-item .btm-col-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.btm-orders-list .btm-test-item .btm-col-title .btm-test-badge {
  background: #fff0e4;
  color: #776c61;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.1rem 0.75rem;
  border-radius: 9999px;
  align-self: flex-start;
}
.btm-orders-list .btm-test-item .btm-col-title .btm-test-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #596e7a;
  margin: 0;
}
.btm-orders-list .btm-test-item .btm-col-date,
.btm-orders-list .btm-test-item .btm-col-status {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}
.btm-orders-list .btm-test-item .btm-col-date .label,
.btm-orders-list .btm-test-item .btm-col-status .label {
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btm-orders-list .btm-test-item .btm-col-date .value,
.btm-orders-list .btm-test-item .btm-col-status .value {
  color: #596e7a;
  font-weight: 500;
}
.btm-orders-list .btm-test-item .btm-col-date .value.status-expired,
.btm-orders-list .btm-test-item .btm-col-status .value.status-expired {
  color: #ff9748;
}
.btm-orders-list .btm-test-item .btm-col-action {
  text-align: right;
}
@media (max-width: 767px) {
  .btm-orders-list .btm-test-item .btm-col-action {
    text-align: left;
  }
}
.btm-orders-list .btm-test-item .btm-col-action .btm-status-pending {
  color: #ff9748;
  font-weight: 500;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}
.btm-orders-list .btm-test-item .btm-col-action .btm-view-results {
  background: #ff9748;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}
.btm-orders-list .btm-test-item .btm-col-action .btm-view-results:hover {
  background: rgb(255, 122.0163934426, 21);
}
.btm-orders-list .btm-test-instructions {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
}
.btm-orders-list .btm-test-instructions p {
  margin: 0 0 1rem 0;
  color: #596e7a;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.btm-orders-list .btm-test-instructions .btm-download-form {
  background: #ff9748;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btm-orders-list .btm-test-instructions .btm-download-form:hover {
  background: rgb(255, 122.0163934426, 21);
}

/* === SINGLE TEST PAGE === */
.btm-results-container {
  font-family: "Inter", sans-serif;
  color: #596e7a;
}

.btm-header {
  background: #596e7a;
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 10px 10px 0 0;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.btm-summary-title,
.btm-segment-title,
.btm-rec-title {
  color: #596e7a;
}

.btm-summary {
  background: white;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 0 0 10px 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}
.btm-summary .btm-summary-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.btm-summary .btm-collection-date {
  color: #596e7a;
  margin-top: 1.5rem;
}

.btm-ages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #596e7a;
  font-weight: 500;
}

.btm-segment {
  padding: 1.5rem;
  background: #ebeae8;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
}
.btm-segment .btm-segment-title {
  color: #596e7a;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.btm-observation {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .btm-observation {
    flex-direction: row;
  }
}
.btm-observation .btm-obs-left {
  flex: 1;
}
.btm-observation .btm-obs-left .btm-obs-label {
  font-weight: 600;
  color: #596e7a;
  font-size: 1.25rem;
}
.btm-observation .btm-obs-left .btm-obs-label .btm-obs-value {
  margin-left: 0.5rem;
  font-weight: 600;
}
.btm-observation .btm-obs-left .btm-obs-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.btm-observation .btm-obs-right {
  flex: 1;
  position: relative;
}
.btm-observation.btm-normal .btm-obs-value {
  color: #4caf50 !important;
}
.btm-observation.btm-abnormal .btm-obs-value {
  color: var(--bb-primary-color) !important;
}

.btm-range-container {
  display: flex;
  gap: 12px;
  height: 6px;
  margin: 3rem 0 1.5rem;
  align-items: center;
}

.btm-range-segment {
  flex: 1;
  position: relative;
  height: 100%;
}
.btm-range-segment .btm-range-bar {
  height: 100%;
  background: #e5e7eb;
  border-radius: 9999px;
}
.btm-range-segment.btm-low .btm-range-bar {
  background: #fee2e2;
}
.btm-range-segment.btm-normal .btm-range-bar {
  background: #dcfce7;
}
.btm-range-segment.btm-high .btm-range-bar {
  background: #fee2e2;
}
.btm-range-segment .btm-bar-label {
  position: absolute;
  bottom: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  font-weight: 500;
}

.btm-marker {
  position: absolute;
  top: -3.3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.btm-marker .btm-marker-value {
  background: white;
  color: #596e7a;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  margin-bottom: 0.5rem;
}
.btm-marker .btm-marker-dot {
  width: 1rem;
  height: 1rem;
  background: #ff9748;
  border-radius: 9999px;
  margin: 0 auto;
}
.btm-observation.btm-normal .btm-marker .btm-marker-value {
  color: #4caf50;
}
.btm-observation.btm-abnormal .btm-marker .btm-marker-value {
  color: var(--bb-primary-color);
}

.btm-recommendations {
  padding: 1.5rem;
}
.btm-recommendations .btm-rec-title {
  color: #596e7a;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.btm-recommendations .btm-rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .btm-recommendations .btm-rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .btm-recommendations .btm-rec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.btm-recommendations .btm-rec-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
.btm-recommendations .btm-rec-card .btm-rec-label {
  color: #596e7a;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.btm-recommendations .btm-rec-card .btm-rec-comment {
  font-size: 0.875rem;
  flex-grow: 1;
}

.btm-tests-page .woocommerce,
.btm-tests-page .woocommerce-MyAccount-content {
  max-width: 100% !important;
}

.btm-bio-age {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 1rem 0 1.5rem;
}
.btm-bio-age .btm-bio-age-value {
  font-size: 3rem;
  font-weight: 700;
  color: #596e7a;
  line-height: 1;
}
.btm-bio-age .btm-bio-age-value .btm-bio-age-unit {
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b7280;
}
.btm-bio-age .btm-bio-age-comp {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: #596e7a;
  font-weight: 500;
}

.btm-back-to-account {
  margin-bottom: 2rem;
}
.btm-back-to-account a {
  text-decoration: none;
  color: inherit;
}
.btm-back-to-account h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #596e7a;
  margin: 0;
}
.btm-back-to-account h2 svg {
  width: 1.5rem;
  height: 1.5rem;
}

ul.btm-tests {
  margin-left: 0;
  padding-left: 0 !important;
}

.btm-results-container > *:nth-child(even) {
  background: white;
}
.btm-results-container > *:nth-child(odd):not(.btm-header):not(.btm-bio-hero) {
  background: rgb(229, 231, 235);
}

.btm-segment-comment {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
}
.btm-segment-comment p {
  margin: 0.75rem 0;
}
.btm-segment-comment a {
  color: #ff9748;
  text-decoration: underline;
}

/* === BIOLOGICAL AGE HERO === */
.btm-bio-hero {
  margin: 2rem 0;
  text-align: center;
  color: white;
}

.btm-bio-card {
  display: inline-block;
  background: #596e7a;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  color: white;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.btm-bio-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.btm-bio-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.btm-bio-center {
  flex: 0 0 auto;
}

.btm-bio-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.btm-bio-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.btm-bio-summary {
  margin-top: 1.5rem;
  text-align: center;
}

.btm-years-younger {
  font-size: 1.75rem;
  font-weight: 700;
  color: #11cfb3;
  margin-bottom: 0.25rem;
}

.btm-years-older {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bb-primary-color);
  margin-bottom: 0.25rem;
}

.btm-years-copy {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

/* === FULL CIRCLE GAUGE (6 → 6) === */
.btm-gauge-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

/* === FULL CIRCLE GAUGE === */
.btm-gauge-circle {
  width: 100%;
  height: 100%;
  --gauge-color: #11cfb3; /* default */
  position: relative;
}

.btm-gauge-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  pointer-events: none;
  font-family: "Inter", sans-serif;
}

/* === RED / GREEN TEXT === */
.btm-years-younger {
  font-size: 1.75rem;
  font-weight: 700;
  color: #11cfb3;
  margin-bottom: 0.25rem;
}

.btm-years-older {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bb-primary-color);
  margin-bottom: 0.25rem;
}

.btm-years-copy {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .btm-gauge-text {
    font-size: 1.5rem;
  }
  .btm-years-younger,
  .btm-years-older {
    font-size: 1.5rem;
  }
}
/* === MARKER DOT COLORS === */
.btm-low .btm-marker-dot,
.btm-high .btm-marker-dot {
  background-color: var(--bb-primary-color) !important;
}

.btm-normal .btm-marker-dot {
  background-color: #4caf50 !important;
}

/* === PRINT STYLES === */
@media print {
  .btm-tests-page .btm-header,
  .btm-tests-page .btm-segment,
  .btm-tests-page .btm-rec-card,
  .btm-tests-page .btm-test-item,
  .btm-tests-page .btm-observation,
  .btm-tests-page .btm-bio-age,
  .btm-tests-page .btm-bio-hero {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  .btm-tests-page .btm-print,
  .btm-tests-page #masthead,
  .btm-tests-page .woocommerce-MyAccount-content .button,
  .btm-tests-page .woocommerce-MyAccount-content h1 {
    display: none !important;
  }
  .btm-tests-page .btm-range-container {
    gap: 8px !important;
    margin: 1.5rem 0 1rem !important;
    height: 6px !important;
  }
  .btm-tests-page .btm-range-segment .btm-range-bar {
    background: #eee !important;
  }
  .btm-tests-page .btm-range-segment .btm-range-bar.btm-low, .btm-tests-page .btm-range-segment .btm-range-bar.btm-high {
    background: #fdd !important;
  }
  .btm-tests-page .btm-range-segment .btm-range-bar.btm-normal {
    background: #dfd !important;
  }
  .btm-tests-page .btm-marker {
    top: -28px !important;
  }
  .btm-tests-page .btm-marker .btm-marker-value {
    font-size: 10px !important;
    padding: 2px 4px !important;
  }
  .btm-tests-page .btm-marker .btm-marker-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .btm-tests-page .btm-obs-value {
    color: #000 !important;
  }
  .btm-tests-page .btm-bio-hero {
    background: white !important;
    color: black !important;
    padding: 1rem !important;
  }
  .btm-tests-page .btm-bio-hero .btm-gauge-circle {
    display: none !important;
  }
  .btm-tests-page .btm-bio-hero .btm-bio-value,
  .btm-tests-page .btm-bio-hero .btm-years-younger,
  .btm-tests-page .btm-bio-hero .btm-years-copy {
    color: black !important;
    font-size: 14px !important;
  }
  .btm-tests-page .btm-bio-hero .btm-years-older {
    color: var(--bb-primary-color) !important;
    font-size: 14px !important;
  }
  .btm-tests-page * {
    color: black !important;
    font-family: Arial, sans-serif !important;
  }
  .btm-tests-page a {
    text-decoration: underline !important;
    color: #00d !important;
  }
}
