/* ============================================================
   Peptide Calculator - PfizerHome theme adaptation
   Visual restyle only. The markup and calculator.js behavior
   are unchanged; every rule is scoped under .peptide-calculator.
   ============================================================ */

/* ---------- Design tokens: match the site palette ---------- */
.peptide-calculator {
    --primary: 0 0% 17.6%;            /* #2d2d2d */
    --primary-foreground: 0 0% 100%;
    --ring: 0 0% 17.6%;
    --background: 220 11% 97%;        /* #f5f6f8 */
    --foreground: 0 0% 20%;           /* #333 */
    --card: 0 0% 100%;
    --card-foreground: 0 0% 20%;
    --secondary: 220 11% 97%;
    --secondary-foreground: 0 0% 20%;
    --muted: 0 0% 100%;
    --muted-foreground: 0 0% 60%;     /* #999 */
    --accent: 0 0% 94%;
    --accent-foreground: 0 0% 20%;
    --border: 0 0% 91%;               /* #e9e9e9 */
    --input: 0 0% 91%;
    --primary-highlight: 0 0% 60%;
    --primary-soft: 0 0% 90%;
    --primary-glow: 0 0% 30%;
    --theme-depth-900: 220 11% 97%;
    --theme-depth-800: 220 11% 95%;
    --theme-depth-700: 0 0% 91%;
    --theme-mid: 0 0% 86%;
    --theme-depth-end: 0 0% 94%;
    --theme-footer-fade: 220 11% 96%;
}

/* ---------- Layout: centered, comfortable content width ---------- */
.peptide-calculator .container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* ---------- Hero / calculator section: light like the site ---------- */
.peptide-calculator #peptide-calculator {
    background-image: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%) !important;
    color: #333;
}
.peptide-calculator #peptide-calculator > div[aria-hidden="true"] {
    opacity: 0 !important;
}
.peptide-calculator #peptide-calculator-heading {
    color: #333;
    letter-spacing: -1px;
}
.peptide-calculator .text-white\/75 {
    color: #666;
}
.peptide-calculator .text-white\/60 {
    color: #999;
}

/* ---------- Typography: Inter everywhere ---------- */
.peptide-calculator .font-display {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Cards: site product-card look ---------- */
.peptide-calculator .bg-card,
.peptide-calculator .bg-card\/80 {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.peptide-calculator .rounded-2xl,
.peptide-calculator .rounded-\[2rem\],
.peptide-calculator .rounded-3xl,
.peptide-calculator .rounded-xl {
    border-radius: 8px;
}
.peptide-calculator .border-2 {
    border-width: 1px;
}
.peptide-calculator .border-primary\/30 {
    border-color: #f0f0f0;
}
.peptide-calculator .shadow-lg,
.peptide-calculator .shadow-sm,
.peptide-calculator .shadow-xl,
.peptide-calculator .ring-black\/5,
.peptide-calculator .shadow-black\/10 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ---------- Option buttons: site .btn look ---------- */
.peptide-calculator [role="radio"] {
    width: auto;
    min-width: 76px;
    height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
.peptide-calculator input[type="number"] {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    padding: 6px 10px;
}

/* ---------- Results row: drop the extra gutters ---------- */
.peptide-calculator .px-20 {
    padding-left: 0;
    padding-right: 0;
}

/* ---------- Setup guide ---------- */
.peptide-calculator section[aria-labelledby="dosage-setup-guide-heading"] {
    padding-top: 0;
    padding-bottom: 0;
}
.peptide-calculator .aspect-\[4\/3\] {
    background-image: linear-gradient(135deg, #f7f7f8 0%, #eceef0 100%) !important;
}
.peptide-calculator .bg-secondary\/40 {
    background-color: #f5f6f8;
}
.peptide-calculator .hover\:bg-secondary\/70:hover {
    background-color: #eceef0;
}

/* ---------- FAQ / warnings ---------- */
.peptide-calculator .text-amber-700,
.peptide-calculator .dark\:text-amber-500 {
    color: #ea3818;
}
