/* Lab Ready — shared theme
   Colors sampled from the supplied mockups (Step 1-7.png)
   Fonts match the production Lab Ready site (Jura display + Inter body) */

@font-face {
  font-family: "Jura";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jura-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --lr-font-display: "Jura", system-ui, sans-serif;
  --lr-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lr-bg-0: #081420;
  --lr-bg-1: #0a1c2b;
  --lr-bg-2: #0d2130;
  --lr-panel: rgba(255, 255, 255, 0.03);
  --lr-panel-strong: rgba(13, 37, 51, 0.6);
  --lr-border: rgba(94, 234, 212, 0.25);
  --lr-border-soft: rgba(255, 255, 255, 0.1);
  --lr-teal: #14b8a6;
  --lr-teal-bright: #2dd4bf;
  --lr-teal-deep: #0d9488;
  --lr-teal-ink: #04211d;
  --lr-text: #eaf3f5;
  --lr-text-muted: #9fb3c1;
  --lr-text-dim: #6d8494;
  --lr-radius-lg: 20px;
  --lr-radius-md: 14px;
  --lr-radius-sm: 10px;
}

* {
  scrollbar-color: var(--lr-teal-deep) transparent;
}

html, body {
  height: 100%;
}

html {
  background: var(--lr-bg-0);
}

body {
  font-family: var(--lr-font-display);
  color: var(--lr-text);
  background:
    radial-gradient(60vw 60vw at 88% 8%, rgba(20, 184, 166, 0.10), transparent 60%),
    radial-gradient(50vw 50vw at 8% 95%, rgba(20, 184, 166, 0.07), transparent 60%),
    linear-gradient(160deg, var(--lr-bg-1) 0%, var(--lr-bg-2) 55%, var(--lr-bg-0) 100%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--lr-teal);
  color: var(--lr-teal-ink);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--lr-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-body {
  font-family: var(--lr-font-body);
}

a {
  color: var(--lr-teal-bright);
  text-decoration: none;
}
a:hover {
  color: var(--lr-teal);
}

.text-muted-lr { color: var(--lr-text-muted) !important; }
.text-dim-lr { color: var(--lr-text-dim) !important; }
.text-teal { color: var(--lr-teal-bright) !important; }

/* ---------- Layout shells ---------- */
.lr-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lr-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lr-container-narrow {
  max-width: 1000px;
}

/* ---------- Brand / header ---------- */
.lr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.lr-brand img {
  height: 34px;
  width: auto;
  display: block;
}

.lr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.lr-header.lr-header-center {
  justify-content: center;
  margin-bottom: 2.5rem;
}

.lr-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 37, 51, 0.6);
  border: 1px solid var(--lr-border-soft);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  color: var(--lr-text);
  line-height: 1.25;
}
.lr-trust-badge .bi {
  color: var(--lr-teal-bright);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn-lr-primary {
  --bs-btn-color: var(--lr-teal-ink);
  background: linear-gradient(180deg, var(--lr-teal-bright), var(--lr-teal));
  border: none;
  color: var(--lr-teal-ink);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px -8px rgba(20, 184, 166, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-lr-primary:hover,
.btn-lr-primary:focus {
  color: var(--lr-teal-ink);
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(20, 184, 166, 0.7);
}
.btn-lr-primary:disabled {
  opacity: 0.5;
  filter: none;
  transform: none;
  box-shadow: none;
}
.btn-lr-primary.rounded-pill-sq {
  border-radius: var(--lr-radius-sm);
}

.btn-lr-outline {
  background: transparent;
  border: 1px solid var(--lr-border-soft);
  color: var(--lr-text);
  font-weight: 600;
  border-radius: var(--lr-radius-sm);
  padding: 0.85rem 1.6rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-lr-outline:hover,
.btn-lr-outline:focus {
  border-color: var(--lr-teal);
  background: rgba(20, 184, 166, 0.08);
  color: var(--lr-text);
}

.btn-lr-tab {
  background: transparent;
  border: 1px solid var(--lr-border-soft);
  color: var(--lr-text);
  font-weight: 600;
  border-radius: var(--lr-radius-sm);
  padding: 0.75rem 1.5rem;
  transition: all 0.15s ease;
}
.btn-lr-tab.active {
  background: var(--lr-teal);
  border-color: var(--lr-teal);
  color: var(--lr-teal-ink);
  box-shadow: 0 8px 20px -8px rgba(20, 184, 166, 0.55);
}
.btn-lr-tab:not(.active):hover {
  border-color: var(--lr-teal);
  color: var(--lr-teal-bright);
}

.btn-link-lr {
  color: var(--lr-text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-link-lr:hover { color: var(--lr-teal-bright); }

/* ---------- Panels / cards ---------- */
.lr-card {
  background: var(--lr-panel);
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.lr-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--lr-border);
  color: var(--lr-teal-bright);
  background: rgba(20, 184, 166, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.lr-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
}
.lr-feature-row .lr-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lr-text-muted);
}
.lr-feature-row .bi {
  color: var(--lr-teal-bright);
  font-size: 1rem;
}

/* ---------- Hero (index) ---------- */
.lr-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.lr-hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 65%);
  filter: blur(30px);
  z-index: 0;
}
.lr-hero-art img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}

/* ---------- Upload dropzone ---------- */
.lr-dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--lr-radius-md);
  padding: 3.5rem 1.5rem;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.lr-dropzone:hover,
.lr-dropzone.dragover {
  border-color: var(--lr-teal);
  background: rgba(20, 184, 166, 0.06);
}
.lr-dropzone .bi-cloud-arrow-up {
  font-size: 2.75rem;
  color: var(--lr-teal-bright);
}

.lr-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lr-text-muted);
  font-size: 0.95rem;
}
.lr-check-item .bi {
  color: var(--lr-teal);
  font-size: 1.05rem;
}

.lr-filelist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lr-filelist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--lr-text-muted);
  font-size: 0.9rem;
}
.lr-filelist .bi { color: var(--lr-teal-bright); }

/* ---------- Processing ---------- */
.lr-spin-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28), rgba(45, 212, 191, 0.05) 70%);
}
.lr-spin-badge img {
  width: 64px;
  height: 64px;
  animation: lr-rotate 1.4s linear infinite;
}
@keyframes lr-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lr-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.lr-timeline li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  padding: 0.55rem 0;
  color: var(--lr-text);
  font-size: 1.02rem;
}
.lr-timeline li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: -0.1rem;
  bottom: -0.1rem;
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0 4px, transparent 4px 8px);
  z-index: 0;
}
.lr-timeline li:first-child::before { top: 50%; }
.lr-timeline li:last-child::before { bottom: 50%; }
.lr-timeline .lr-tl-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lr-bg-2);
  flex-shrink: 0;
}
.lr-timeline li.done .lr-tl-icon {
  color: var(--lr-teal);
}
.lr-timeline li.done .lr-tl-icon .bi-circle { display: none; }
.lr-timeline li:not(.done) .lr-tl-icon {
  color: var(--lr-text-dim);
  border: 1.5px solid var(--lr-text-dim);
}
.lr-timeline li:not(.done) .lr-tl-icon .bi-check-circle-fill { display: none; }
.lr-timeline li:not(.done) { color: var(--lr-text-muted); }

.lr-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.lr-progress .lr-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lr-teal-deep), var(--lr-teal-bright));
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ---------- Summary ---------- */
.lr-media-box {
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.14), rgba(13, 37, 51, 0.6));
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 260px;
}
.lr-media-box img {
  max-height: 230px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.45));
}

.lr-dl {
  margin: 0;
}
.lr-dl .lr-dl-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lr-dl .lr-dl-row:last-child { border-bottom: none; }
.lr-dl dt {
  color: var(--lr-text-dim);
  font-weight: 500;
  font-size: 0.95rem;
}
.lr-dl dd {
  margin: 0;
  color: var(--lr-text);
  font-weight: 600;
  text-align: right;
}

.lr-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-md);
  padding: 1.1rem 1.3rem;
  color: var(--lr-text);
}
.lr-banner .bi {
  color: var(--lr-teal);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---------- Clarification (radio options) ---------- */
.lr-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--lr-border-soft);
  border-radius: var(--lr-radius-md);
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: rgba(255, 255, 255, 0.015);
}
.lr-option:hover { border-color: var(--lr-teal); }
.lr-option input { display: none; }
.lr-option .lr-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--lr-text-dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s ease;
}
.lr-option span.lr-option-label {
  font-weight: 500;
  color: var(--lr-text);
}
.lr-option.selected {
  border-color: var(--lr-teal);
  background: rgba(20, 184, 166, 0.12);
}
.lr-option.selected .lr-radio-dot {
  background: var(--lr-teal);
  border-color: var(--lr-teal);
  color: var(--lr-teal-ink);
}

/* ---------- Project detail ---------- */
.lr-project-hero {
  background:
    linear-gradient(180deg, rgba(7, 18, 27, 0.55), rgba(8, 20, 30, 0.93)),
    url("../Metal_orthopedic_component_rendered_2K_20260910122723.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--lr-radius-lg) var(--lr-radius-lg) 0 0;
  padding: 1.75rem 2rem;
}

.lr-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--lr-border);
  color: var(--lr-teal-bright);
  background: rgba(20, 184, 166, 0.1);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.lr-tabnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 2rem;
}
.lr-tabnav .nav-link {
  color: var(--lr-text-muted);
  font-weight: 600;
  border: none;
  border-radius: var(--lr-radius-sm) var(--lr-radius-sm) 0 0;
  padding: 0.8rem 1.3rem;
  background: transparent;
}
.lr-tabnav .nav-link.active {
  color: var(--lr-teal-ink);
  background: var(--lr-teal);
}

.lr-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid var(--lr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.lr-thumb img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.lr-file-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--lr-radius-sm);
}
.lr-file-row:hover { background: rgba(255, 255, 255, 0.03); }
.lr-file-row .lr-file-name {
  color: var(--lr-text);
  font-weight: 500;
  font-size: 0.92rem;
}
.lr-file-row .lr-file-size {
  color: var(--lr-text-dim);
  font-size: 0.82rem;
}

.lr-side-panel {
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-md);
  padding: 1rem;
}

.lr-history-item {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  position: relative;
}
.lr-history-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.4rem;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.lr-history-item:last-child::before { display: none; }
.lr-history-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lr-teal);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* ---------- Confirmation ---------- */
.lr-check-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--lr-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--lr-teal);
  font-size: 2.25rem;
}

.lr-receipt-list dt { color: var(--lr-text-muted); }
.lr-receipt-list dd { color: var(--lr-teal-bright); font-weight: 600; }

/* ---------- Footer ---------- */
.lr-footer {
  text-align: center;
  color: var(--lr-text-dim);
  font-size: 0.8rem;
  padding: 1.5rem 0 0.5rem;
}

/* ---------- Misc ---------- */
.lr-eyebrow {
  color: var(--lr-teal-bright);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 767.98px) {
  .lr-project-hero,
  .lr-tabnav { padding-left: 1.25rem; padding-right: 1.25rem; }
  .lr-container { padding: 1.5rem 1rem; }
  h1 { font-size: 2.1rem !important; }
}
