/* =====================================================
   DARK CYBER LAB STYLING — PEPTIDE CALCULATOR
   Theme: #06050b Dark Canvas, #d4af37 Neon Cyan, #f3e5ab Deep Blue
   Fonts: Orbitron (Headings/Metrics), Rajdhani (Body)
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* Main Canvas */
.cyber-lab-section {
    background-color: #06050b;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 102, 255, 0.08) 0%, transparent 40%),
        linear-gradient(rgba(0, 242, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    padding: 60px 0 80px;
    color: #cbebff;
    position: relative;
}

/* Header Text */
.cyber-subheading {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d4af37;
    text-transform: uppercase;
}

.cyber-pulse-dot {
    width: 7px;
    height: 7px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 10px #d4af37;
}

.cyber-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #b8860b, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.cyber-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: #7b99b3;
    margin: 0;
}

/* Reset Action Button */
.btn-cyber-action {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #d4af37;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.25s ease-in-out;
}

.btn-cyber-action:hover {
    background: rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    color: #fff;
    border-color: #d4af37;
}

/* Cyber Glass Cards */
.cyber-card {
    background: rgb(27 32 36);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 14px;
    padding: 22px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    height: 100%;
}

.cyber-card.theme-cyan {
    border-top: 2px solid #d4af37;
}

.cyber-card.theme-blue {
    border-top: 2px solid #f3e5ab;
}

.cyber-card.theme-glass {
    border-top: 2px solid rgba(0, 242, 255, 0.5);
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-flex h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.card-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    color: #7b99b3;
    margin: 4px 0 14px;
}

.cyber-step {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid #d4af37;
    color: #d4af37;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cyber-step.alt {
    background: rgba(0, 102, 255, 0.15);
    border-color: #f3e5ab;
    color: #d4af37;
}

/* Radio Selection Chips */
.cyber-pill-choice {
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.cyber-pill-choice input {
    display: none;
}

.cyber-pill-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #8faec4;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cyber-pill-choice:hover span {
    border-color: rgba(0, 242, 255, 0.4);
    color: #ffffff;
    background: rgba(0, 242, 255, 0.05);
}

.cyber-pill-choice input:checked+span {
    background: rgba(0, 242, 255, 0.12);
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
    font-weight: 700;
}

/* Input Fields */
.cyber-input {
    background: rgba(0, 242, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: #d4af37;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.cyber-input:focus {
    background: rgba(0, 242, 255, 0.08);
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
    color: #fff;
}

.cyber-badge-neon {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid #d4af37;
    color: #d4af37;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.2);
}

/* Custom Range Slider */
.cyber-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 4px;
    outline: none;
    background: linear-gradient(to right,
            #d4af37 0%,
            #f3e5ab var(--value, 50%),
            rgba(255, 255, 255, 0.08) var(--value, 50%),
            rgba(255, 255, 255, 0.08) 100%);
}

.cyber-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #06050b;
    border: 2px solid #d4af37;
    box-shadow: 0 0 10px #d4af37;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.cyber-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: #7b99b3;
}

.cyber-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.25), transparent);
}

/* HUD Output Dashboard */
.hud-dashboard {
    background: rgb(27 32 36);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 255, 0.04);
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
    padding: 14px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #d4af37;
    letter-spacing: 2px;
}

.hud-live-dot {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 8px #d4af37;
}

.hud-body {
    padding: 20px;
}

.hud-metrics {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.hud-metric-box {
    text-align: center;
}

.hud-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #7b99b3;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.hud-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.hud-value.neon-text {
    color: #d4af37;
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.4);
}

.hud-metric-line {
    width: 1px;
    height: 28px;
    background: rgba(0, 242, 255, 0.2);
}

/* Syringe Visualization Visual */
.syringe-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}

.syringe-hud-frame {
    width: 100px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.syringe-plunger {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.plunger-top {
    width: 40px;
    height: 8px;
    background: rgba(0, 242, 255, 0.3);
    border: 1px solid #d4af37;
    border-radius: 2px;
}

.plunger-shaft {
    width: 4px;
    height: 50px;
    background: rgba(0, 242, 255, 0.2);
}

.plunger-head {
    width: 28px;
    height: 6px;
    background: #d4af37;
    border-radius: 1px;
}

.syringe-main-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.syringe-glass {
    width: 42px;
    height: 150px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(0, 242, 255, 0.3);
    border-radius: 2px 2px 4px 4px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 242, 255, 0.1);
}

.syringe-fill-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, #b8860b, #d4af37, #f3e5ab);
    height: 0%;
    transition: height 0.4s ease-out;
    box-shadow: 0 -2px 10px rgba(0, 242, 255, 0.5);
}

.syringe-graduations {
    position: absolute;
    inset: 4px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    z-index: 3;
}

.syringe-pointer-pin {
    position: absolute;
    right: -50px;
    top: 0;
    height: 150px;
    width: 50px;
}

.pointer-tag {
    position: absolute;
    left: 0;
    background: #d4af37;
    color: #06050b;
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 3px;
    transform: translateY(-50%);
    transition: top 0.4s ease-out;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
}

.syringe-tip {
    width: 8px;
    height: 6px;
    background: rgba(0, 242, 255, 0.4);
}

.syringe-needle-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.6), transparent);
}

/* Footer Cards */
.hud-footer-grid {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.hud-info-pill {
    flex: 1;
    background: rgba(0, 242, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.hud-info-pill.highlighted {
    background: rgba(0, 242, 255, 0.07);
    border-color: rgba(0, 242, 255, 0.25);
}

.hud-info-val {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

/* Responsiveness */
@media (max-width: 991px) {
    .hud-dashboard {
        margin-top: 20px;
    }
}
