/* ===== Global image interaction protection ===== */
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}



/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* PeptiVision Biotech Theme */
    --primary: #2B7CFF;           /* Action Blue */
    --primary-hover: #1E4FA3;     /* Deep Biotech Blue */
    --accent-cyan: #3FE0E8;       /* Electric Cyan */
    --accent-purple: #8B5CF6;     /* Tech Violet */

    --danger: #ff4444;
    --danger-hover: #d32f2f;
    --warning: #ffbb33;
    --gold: #FFD700;

    --bg-dark: #EAF4FF;           /* Light biotech background */
    --card-bg: #FFFFFF;           /* Card surface */
    --panel-bg: #F2F8FF;          /* Panels inside cards */
    --text-main: #0F2A44;         /* Navy text */
    --text-muted: #4A5C72;        /* Muted slate */
    --border: #D6E6F7;
    --input-bg: #FFFFFF;

    --gender-male: #2B7CFF;
    --gender-female: #8B5CF6;
}

* { 
    box-sizing: border-box; 
    -webkit-user-select: none;
    -ms-user-select: none; 
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(63,224,232,0.16) 0%, rgba(63,224,232,0) 46%),
        radial-gradient(circle at 82% 10%, rgba(139,92,246,0.12) 0%, rgba(139,92,246,0) 44%),
        radial-gradient(circle at 70% 92%, rgba(43,124,255,0.10) 0%, rgba(43,124,255,0) 48%),
        linear-gradient(180deg, #FFFFFF 0%, #EAF4FF 58%, #F3F4F6 100%);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0; padding: 0;
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh;
}

/* Home screen uses the same global background gradient (logo remains on white card). */
/* =========================================
   2. APP CONTAINER
   ========================================= */
.app-container {
    width: 95%; 
    max-width: 900px;
    background: var(--card-bg);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 79, 163, 0.14);
    text-align: center;
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: relative;
    min-height: 600px;
    overflow-y: auto; overflow-x: hidden;
}

/* Keep mobile-first feel on small screens */
@media (max-width: 520px) {
    .app-container { max-width: 450px; }
}

.app-container::-webkit-scrollbar { width: 6px; }
.app-container::-webkit-scrollbar-thumb { background: rgba(15, 42, 68, 0.25); border-radius: 3px; }

/* Typography */
h1.main-logo { color: var(--primary-hover); margin: 50px 0 0 0; font-size: 2.5rem; letter-spacing: 1px; }

h2 {
    margin-top: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--primary-hover);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
}

.slogan { font-style: italic; color: var(--text-muted); margin-bottom: 40px; margin-top: 5px; text-align:center; white-space: nowrap; }
p { line-height: 1.5; color: var(--text-muted); }

/* Gold Shimmer Effect */
.shimmer-gold {
    display: inline-block; font-weight: 800;
    background: linear-gradient(90deg, #b8860b 0%, #FFD700 50%, #b8860b 100%);
    background-size: 200% auto; color: var(--gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    font-style: italic;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-success { background-color: var(--primary-hover); color: #000; }
.btn-success:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(139,92,246,0.18), 0 10px 24px rgba(30,79,163,0.16); }

.btn-danger { background-color: var(--danger); color: white; }
.btn-danger:hover { background-color: var(--danger-hover); }

.btn-outline { background-color: transparent; border: 2px solid #555; color: #aaa; }
.btn-outline:hover { border-color: var(--primary-hover); color: var(--primary-hover); }

.btn-order {
    margin-top: 30px;
    font-size: 1.05rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
    color: #061726;
    border: 1px solid rgba(43,124,255,0.25);
    box-shadow: 0 10px 26px rgba(43,124,255,0.22);
    animation: none;
}

.btn-order:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(139,92,246,0.16), 0 12px 30px rgba(43,124,255,0.26); filter: brightness(1.03); }
@keyframes pulseYellow { 
    0% { box-shadow: 0 0 0 0 rgba(255, 187, 51, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 187, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 187, 51, 0); }
}

.action-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 20px; }
.action-btn {
    background: var(--panel-bg); color: var(--text-main); border: 1px solid var(--border); padding: 12px 5px;
    border-radius: 8px; font-size: 0.9rem; cursor: pointer; font-weight: bold; transition: 0.3s;
    text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.action-btn:hover {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary));
    border-color: rgba(139,92,246,0.65);
    color: #FFFFFF;
}

/* =========================================
   4. INPUTS & FORMS
   ========================================= */
input[type="text"], input[type="date"], input[type="number"], select {
    width: 100%; padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
}
input:focus { outline: none; border-color: var(--primary-hover); }
.input-label { display: block; text-align: left; color: var(--text-muted); margin-bottom: 5px; font-size: 0.9rem; }

/* Sliders */
.slider-group { margin: 20px 0; text-align: left; }
.slider-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.slider-val { color: var(--primary-hover); font-weight: bold; font-size: 1.2rem; }
input[type="range"] { width: 100%; accent-color: var(--primary-hover); height: 6px; background: rgba(15,42,68,0.15); border-radius: 5px; cursor: pointer; }

/* =========================================
   5. STEP 3 (DISCLAIMER)
   ========================================= */
.warning-box {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 15px;
    height: 220px;
    overflow-y: auto;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 15px;
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
}
.warning-box::-webkit-scrollbar { width: 6px; }
.warning-box::-webkit-scrollbar-thumb { background: rgba(15,42,68,0.22); border-radius: 4px; }
.disclaimer-intro {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 5px;
}

.agree-btn-container { margin-top: 20px; text-align: center; padding-bottom: 5px; }
.disabled-btn { opacity: 0.5; cursor: not-allowed; border-color: #555 !important; color: #555 !important; }

/* =========================================
   6. HEADER STATS (BIO)
   ========================================= */
.report-header { 
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 5px; 
    background: var(--panel-bg); padding: 10px; border-radius: 12px; 
    margin-bottom: 15px; border: 1px solid var(--border); 
}
.rh-item { display: flex; flex-direction: column; align-items: center; justify-content: center;}
.rh-val { font-weight: 800; font-size: 1.1rem; color: var(--text-main); }
.rh-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }

/* Mini Zodiac Icon Style */
#zodiac-mini-icon svg { filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
.zodiac-display { margin-bottom: 10px; }

/* Linear BMI */
.linear-bmi-container { width: 100%; margin: 15px 0; position: relative; height: 30px; display: flex; justify-content: center; }
.linear-bmi-bar {
    width: 100%; height: 15px; border-radius: 10px; 
    background: linear-gradient(to right, #29b6f6 0%, #66bb6a 25%, #fdd835 50%, #fb8c00 75%, #c62828 100%);
    display: flex; align-items: center; justify-content: center; position: relative; top: 10px;
}
.linear-bmi-arrow {
    position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 12px solid #fff;
    transition: left 1s ease-out; z-index: 10;
}
#res-bmi-val-inside { z-index: 5; color: rgba(0,0,0,0.6); font-weight: 900; font-size: 0.8rem; position: relative; top: -2px;}

/* Gender Select */
.gender-btn-container { display: flex; gap: 10px; margin-bottom: 20px; }
.gender-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s;
}
.gender-btn:hover {
    background: #FFFFFF;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.18), 0 10px 24px rgba(139,92,246,0.14);
}
.gender-btn.selected-male { border-color: var(--gender-male); background: rgba(66, 165, 245, 0.1); }
.gender-btn.selected-male svg { stroke: var(--gender-male); }
.gender-btn.selected-female { border-color: var(--gender-female); background: rgba(139,92,246,0.12); }
.gender-btn.selected-female svg { stroke: var(--gender-female); }
.gender-btn:hover svg { stroke: var(--accent-purple); }
.gender-icon { width: 40px; height: 40px; margin-bottom: 5px; stroke: rgba(15,42,68,0.45); }

/* =========================================
   7. PRODUCTS GRID
   ========================================= */
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.cat-btn, .btn-category {
    background: linear-gradient(90deg, rgba(139,92,246,0.16) 0%, rgba(43,124,255,0.16) 100%);
    border: 1px solid rgba(214,230,247,0.9);
    color: var(--text-main);
    padding: 10px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 22px rgba(30,79,163,0.10);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.cat-btn:hover, .btn-category:hover { border-color: rgba(139,92,246,0.55); box-shadow: 0 0 0 3px rgba(139,92,246,0.18), 0 14px 28px rgba(30,79,163,0.14); transform: translateY(-1px); }
.has-selection { background: linear-gradient(90deg, rgba(63,224,232,0.22) 0%, rgba(43,124,255,0.18) 100%); border-color: rgba(43,124,255,0.65); color: var(--primary-hover); }
.is-empty { background: rgba(255, 187, 51, 0.15); border-color: var(--warning); color: var(--warning); }

/* Receipt List */
.res-cat-header { color: var(--warning); font-size: 0.85rem; text-transform: uppercase; margin-top: 15px; margin-bottom: 5px; font-weight: bold; text-align: left; }
.results-list { text-align: left; padding: 0; list-style: none; }
.results-list li { background: #252525; padding: 10px; margin-bottom: 5px; border-radius: 5px; }
.results-list li a { color: var(--primary-hover); text-decoration: none; font-weight: bold; }

/* Modals */
.custom-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 100;
    align-items: center; justify-content: center;
}
.custom-modal-box {
    background: var(--card-bg); border: 1px solid #333;
    padding: 20px; border-radius: 15px; width: 90%; max-width: 350px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    display: flex; flex-direction: column;
}

/* Checkboxes */
.product-option {
    display: flex; align-items: flex-start; padding: 12px; background: #252525;
    margin-bottom: 8px; border-radius: 8px; cursor: pointer;
    text-align: left; width: 100%;
}
.product-option:hover { background: #333; }
.product-option input[type="checkbox"] {
    width: 20px !important; height: 20px !important; flex-shrink: 0; margin-right: 15px; margin-top: 2px; margin-bottom: 0;
    accent-color: var(--primary-hover);
}
.prod-desc { font-size: 0.75rem; color: #888; margin-top: 4px; line-height: 1.2; }

/* =========================================
   8. CALCULATOR STYLES
   ========================================= */
.calc-section-box {
    background-color: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}
.calc-label { margin: 0 0 10px 0; font-size: 0.95rem; color: var(--text-main); font-weight: 800; }
.calc-options { display: flex; flex-wrap: wrap; gap: 10px; }

.calc-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 10px 15px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: 0.2s ease-in-out;
}
.calc-radio-label:hover { background: #FFFFFF; border-color: rgba(43,124,255,0.35); transform: translateY(-1px); }
.calc-radio-label:has(input:checked) {
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
    border-color: rgba(43,124,255,0.0);
    color: #061726;
    box-shadow: 0 10px 20px rgba(43,124,255,0.18);
}
input[type="radio"] { accent-color: var(--primary-hover); transform: scale(1.2); margin: 0; width: auto; }

.calc-input-inline {
    background: #FFFFFF;
    border: 1px solid var(--border);
    color: var(--primary-hover);
    border-radius: 8px;
    padding: 6px 8px;
    width: 72px;
    margin-left: 5px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0;
}

.result-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(30, 79, 163, 0.12);
}
.result-text { font-size: 1.1rem; color: var(--text-main); }
.result-text strong { color: var(--primary-hover); }
.warning-text {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.35);
    color: var(--text-main);
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 0.85rem;
}

/* =========================================
   9. LOADER & ANIMATION
   ========================================= */
.fade-container { opacity: 1; transition: opacity 0.3s ease; }
.fade-container.fade-out { opacity: 0; }
.fade-container.fade-in { opacity: 1; }



  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* === SAFE Product UI Polish (CSS-only) === */
.product-option {
  display: flex;
  justify-content: center;
}

.product-option label,
.product-option .product-content {
  text-align: center;
}

.product-option strong,
.product-option .product-name,
.product-option .product-title {
  color: var(--primary-hover);
}

.product-option em,
.product-option .desc {
  font-style: italic;
  opacity: 0.9;
}

.product-option .price,
.product-option [data-price] {
  color: var(--accent-purple);
  font-weight: 600;
}



/* === Product display polish (safe) === */
.pv-cas { color: var(--accent-purple); font-weight: 700; }
.pv-price { color: var(--primary-hover); font-weight: 800; }
.pv-desc { font-style: italic; opacity: 0.9; }

/* Center the product info block inside the category modal list */
.product-option > div {
  width: 100%;
  text-align: center;
}
.product-option strong {
  display: block;
}


/* === Modal centering + overflow fix === */
.custom-modal-box {
  max-width: 95vw;
  margin: 0 auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

label.product-option {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

label.product-option > div {
  width: 100%;
  box-sizing: border-box;
}



/* === Calculator dropdown styling (v6) === */
.calc-select {
  background: var(--panel-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.calc-select:focus {
  outline: none;
  border-color: var(--primary);
}



/* === Calculator syringe visuals + gold overlay (v10) === */
.pv-syringe-radio-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;width:100%;}
.pv-radio-pill{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--panel-bg);cursor:pointer;user-select:none;}
.pv-radio-pill input{accent-color:#ff8a00;}
.pv-radio-pill:hover{border-color:rgba(15,42,68,0.25);}
.pv-radio-pill.is-active{border-color:#ff8a00;box-shadow:0 0 0 2px rgba(255,138,0,0.22);}

.pv-syringe-hero{display:flex;justify-content:center;margin:10px 0 12px;}
.pv-syringe-wrap{width:100%;max-width:100%;margin:0 auto;}
#pv-syringe-img{width:100%;height:auto;display:block;border-radius:0;}

.pv-dose-wrap{position:relative;width:100%;max-width:100%;margin:0 auto;border-radius:0;overflow:visible;}
#pv-scale-img{width:100%;height:auto;display:block;border-radius:0;}
.pv-dose-fill{position:absolute;top:0;left:0;height:100%;width:0%;background:rgba(255,215,0,0.28);pointer-events:none;mix-blend-mode:screen;}
.pv-dose-val{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-weight:800;color:var(--text-main);text-shadow:0 2px 6px rgba(0,0,0,0.7);font-size:1.1rem;}

/* PeptiVision Calculator: final screenshot-safe copy + attribution */
.pv-dyn-soft{color:rgba(15,42,68,0.86);font-weight:700;font-size:1em;}
.pv-dyn{color:rgba(15,42,68,0.92);font-weight:800;font-size:1em;}
.pv-dyn-dose{color:rgba(15,42,68,0.92);font-weight:900;font-size:1em;}
.pv-name{font-size:1.25rem;font-weight:800;color:var(--primary);} 
.pv-days{font-size:1.25rem;font-weight:800;color:var(--primary);} 
.pv-age{font-size:1.25rem;font-weight:800;color:#000;} 
.pv-unit{color:#D6C600;font-weight:800;font-size:1em;}
.pv-bac{color:#E0D10B;font-weight:800;font-size:1em;}
.pv-dose{color:#F2E018;font-weight:900;font-size:1em;}
.pv-dose-units{color:var(--primary);font-style:italic;font-weight:bold;font-size:1em;}
.pv-msg-wrap{position:relative;}
.pv-msg-content{position:relative;z-index:1;}
.pv-supplies-img{position:absolute;right:6%;bottom:0;max-width:240px;opacity:0.32;transform:scale(1.08);filter:drop-shadow(0 0 14px rgba(224,209,11,0.35));pointer-events:none;z-index:0;}

.pv-powered{margin-top:8px;text-align:center;font-size:0.82rem;letter-spacing:0.2px;color:rgba(15,42,68,0.65);}

.pv-vial-mg{color:#E0D10B;font-weight:800;}

.pv-draw-units{color:var(--primary) !important;font-weight:900;} 

.pv-care-note{
  margin-top:8px;
  font-size:0.72rem;
  line-height:1.35;
  opacity:0.85;
  color:#000;
}


/* ===== PeptiVision Banner Carousel (FINAL PRODUCTION) ===== */

/* Banner container */
.pv-banner {
  width: 100%;
  aspect-ratio: 4 / 5;                 /* 1080x1350 */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border-radius: 14px;                 /* rounded corners */
}

/* Hide scrollbar */
.pv-banner::-webkit-scrollbar {
  display: none;
}
.pv-banner {
  scrollbar-width: none;
}

/* Track */
.pv-banner-track {
  display: flex;
  height: 100%;
}

/* Images */
.pv-banner-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  scroll-snap-align: start;

  -webkit-user-drag: none;
  user-select: none;

  /* Fade-in (lazy-load friendly) */
  opacity: 0;
  transition:
    opacity 0.4s ease-in-out,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Fade in when loaded */
.pv-banner-track img[src] {
  opacity: 1;
}

/* 🖥 Desktop hover effect */
@media (hover: hover) {
  .pv-banner-track img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }
}

/* 📱 Mobile press feedback */
@media (hover: none) {
  .pv-banner-track img:active {
    transform: scale(0.985);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  }
}

/* Desktop layout tuning */
@media (min-width: 768px) {
  .pv-banner {
    max-width: 540px;
    margin: 24px auto;
  }
}



/* ===== PeptiVision Protection Overlay ===== */

.pv-protected {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  position: relative;
}

.pv-protected::after {
  content: "PEPTIVISION PROTECTION";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 48px;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.08);

  transform: rotate(-30deg);
  text-align: center;
  white-space: nowrap;
}


/* =========================================
   PV BRAND ELEMENTS (Phase 2)
   ========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-logo-img {
  width: min(320px, 90%);
  height: auto;
  margin: 40px auto 10px auto;
  display: block;
}

.pv-brand-mark {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.pv-services-title {
  margin: 8px 0 6px 0;
}

.pv-services-subtitle {
  margin: 0 0 18px 0;
  color: var(--text-muted);
  font-style: italic;
}

.pv-services-hero {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(30, 79, 163, 0.10);
  margin-bottom: 16px;
}

.pv-services-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.pv-cta {
  border-radius: 999px;
}

.pv-services-footnote {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* Accessibility: focus rings */
.btn:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.28);
}

/* Calculator readability */
#resultText{color:#000;}
#resultText .muted, #resultText small{color:#000;opacity:0.85;}


/* === Calculator Result: FINAL THEME-SAFE FIX === */
.pv-result {
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #e5e7eb;
  padding: 16px;
  border-radius: 10px;
  margin-top: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.pv-result p,
.pv-result li {
  color: #e5e7eb;
  line-height: 1.55;
}

.pv-result strong,
.pv-result .highlight,
.pv-result .important {
  color: #38bdf8; /* PeptiVision blue */
  font-weight: 700;
}


/* === HARD SAFETY: Calculator result must always be visible === */
#resultText,
#resultText * {
  opacity: 1 !important;
  visibility: visible !important;
}

#resultText {
  color: #e5e7eb !important;
}


/* === Calculator Color Safety (Proceed) === */
#resultText { color:#000000 !important; }
#resultText .pv-dose,
#resultText .pv-dose-units,
#resultText .pv-unit,
#resultText .pv-dyn,
#resultText .pv-vial-mg,
#resultText .pv-bac,
#resultText .pv-name {
  color:#2563eb !important;
  font-weight:700;
}


/* === FIX: Ensure syringe gold overlay is visible === */
.pv-dose-wrap, .pv-scale-wrap, .pv-syringe-wrap {
  position: relative;
}

#pv-scale-fill.pv-dose-fill {
  z-index: 3 !important;
  background: linear-gradient(90deg, rgba(255,215,0,0.65), rgba(255,215,0,0.25));
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.pv-syringe-img, #pv-syringe-img {
  z-index: 1 !important;
}


/* === FIX: Result container background (user info + calculation) === */
#resultText,
.pv-result {
  background: linear-gradient(180deg, #0f172a, #020617) !important;
  border-radius: 10px;
  padding: 16px;
}

.pv-msg-content {
  background: transparent !important;
}


/* === GUIDE + RESULT GRADIENT MATCH === */
body.guide-page {
  background: linear-gradient(180deg, #0f172a, #020617);
}


/* === FIX: Generated info area should NOT be a dark box ===
   Make result container transparent so the main page gradient shows through.
*/
#resultText,
.pv-result {
  background: transparent !important;
  box-shadow: none !important;
}

/* Keep spacing without adding a background */
#resultText {
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 16px;
}
