/* ==========================================================
   The Bloodline Show - application page
   Hero, form card, inputs, radios, checkboxes, sidebar cards and
   the submit button come from styles.css (section 17).
========================================================== */

/* Spam trap - kept off screen for real visitors */
.bl-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bloodline-form { position: relative; }

.bloodline-form textarea { min-height: 130px; }

.bl-count {
    display: block;
    margin-top: 4px;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
}

.bl-form-error {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    color: var(--danger);
    font-size: 0.88rem;
}

.bl-form-error[hidden] { display: none; }

/* Success state */
.bl-success {
    padding: 24px 8px;
    text-align: center;
    outline: none;
}

.bl-success[hidden] { display: none; }

.bl-success-icon {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--brand-mint-soft);
    color: var(--brand-700);
    font-size: 1.7rem;
}

.bl-success h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.bl-success p {
    max-width: 460px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.bl-success-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
}

/* Sidebar video card */
.bl-side-thumb {
    position: relative;
    display: block;
    margin: -22px -22px 16px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: #0b0f14;
}

.bl-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bl-side-thumb span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--danger);
    transform: translate(-50%, -50%);
}

.bl-side-thumb span i { margin-left: 3px; }

.bl-side-video h3 i { color: var(--danger); }

/* Radio grid: 3 per row on wide screens for the five test types */
.bloodline-form .radio-group { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Hero uses light DNA artwork (no people), so the shade is a little deeper
   than the shared default to keep the heading and text crisp */
.bl-apply-hero { background-position: center 40%; }
.bl-apply-hero::before {
    background: linear-gradient(90deg, rgba(3, 20, 15, 0.82) 0%, rgba(3, 20, 15, 0.6) 55%, rgba(3, 20, 15, 0.35) 100%);
}
@media (max-width: 991px) {
    .bl-apply-hero::before { background: linear-gradient(180deg, rgba(3, 20, 15, 0.65), rgba(3, 20, 15, 0.82)); }
}
