.a1c-fibroscan .card {
    position: relative;
    height: 100%;
    border: 0;
    box-shadow: 0 3px 12px rgb(0 0 0 / .2);
    -moz-box-shadow: 0 3px 12px rgb(0 0 0 / .2);
    -webkit-box-shadow: 0 3px 12px rgb(0 0 0 / .2);
    border-radius: 0 0 8px 8px;
    transition: .3s ease-in-out;
    top: 0
}

.a1c-fibroscan .card:hover {
    box-shadow: 0 3px 20px rgb(108 145 201 / .5) !important
}

.a1c-fibroscan .card .card-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50px;
    margin: auto auto 8px;
    line-height: 1;
    background: #ecf1e0
}

.a1c-fibroscan .card .card-icon .icon {
    font-size: 32px;
    color: #a5cd39;
    line-height: 72px
}

.a1c-fibroscan .icon-container {
    /* Define the circular shape */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    /* Size of the circle */
    height: 60px;
    border-radius: 50%;
    background-color: #e6f0ff;
}

/* 3. Styling the Font Awesome Icon Itself */
.a1c-fibroscan .icon-container i {
    color: #007bff;
    font-size: 24px;
}

.a1c-fibroscan .icon-container-default {
    background-color: #F0F2F5;
}

.a1c-fibroscan .icon-container-default i {
    color: #6C7C93;
}

.a1c-fibroscan label.lead-label {
    font-weight: bold;
}

/* Add spacing above disclaimer text */
#disclaimer-text {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Vertically center consent article on desktop */
@media (min-width: 992px) {
    #main.a1c-fibroscan {
        display: flex;
        align-items: center;
        min-height: calc(100vh - 240px);
        /* Adjust 240px to match header/footer height */
        overflow-y: auto;
    }

    /* Reduce margin on desktop to prevent clipping */
    #disclaimer-text {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    /* add extra top spacing for the CTA button on desktop */
    .a1c-fibroscan #button-consent {
        margin-top: 25px;
        /* adjust value as needed */
    }
}

/* Reset on mobile */
@media (max-width: 991px) {
    #main.a1c-fibroscan {
        display: block;
        min-height: auto;
    }

    /* ensure cards don't force full height on small screens and add breathing room */
    .a1c-fibroscan .card {
        height: auto;
        margin-bottom: 16px;
    }

    /* add vertical padding inside the page section so content (and the button) isn't flush to edges */
    #main.a1c-fibroscan>section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    /* extra spacing specifically for the consent article and CTA button */
    .a1c-fibroscan #consent {
        padding-bottom: 16px;
    }

    .a1c-fibroscan #button-consent {
        margin-bottom: 8px;
    }

    /* Increase spacing on mobile */
    #disclaimer-text {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}
@media (max-width: 767px) {
.btn,
    body {
      font-size: inherit !important;
      line-height: 1.5rem;
    }
}

.a1c-fibroscan #calculator-results-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* adjust height as needed */
}

.a1c-fibroscan #calculator-results-placeholder .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* spacing and improved radio appearance */
.a1c-fibroscan .form-check-radio {
    display: flex;
    align-items: center;        /* vertically center input + label */
    gap: .75rem;                /* space between radio and label */
    margin: .55rem 0;           /* spacing above and below each option */
    padding: .15rem 0;
    cursor: pointer;            /* show hand for the whole row */
}

.a1c-fibroscan .form-check-input-radio {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;                  /* remove default Bootstrap vertical offset */
    flex: 0 0 auto;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #cfd8e3;
    border-radius: 50%;
    background-clip: padding-box;
    display: inline-block;
    position: relative;
    outline: none;
}

.a1c-fibroscan .form-check-input-radio::after {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #89B415;        /* checked dot color */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .12s ease-in-out;
    pointer-events: none;
}

.a1c-fibroscan .form-check-input-radio:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

.a1c-fibroscan .form-check-input-radio:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
    border-color: #89B415;
}

.a1c-fibroscan .form-check-label-radio {
    cursor: pointer;            /* ensure label shows pointer */
    margin: 0;                  /* keeps label aligned */
    user-select: none;
    line-height: 1.2;
}

.a1c-fibroscan .form-check-label-radio::before {
    border:2px solid #a5cd39!important;
    background-color: #FFFFFF !important;
}
.pointer-circle {
    display: block;
    font-size: 20px; /* Adjust size of the O */
    line-height: 1;
    color: white; /* Color of the 'O' */
    text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Shadow for better visibility */
    transform: translateX(-50%); /* Centers the O horizontally on the "left" position */
}
#bmi-pointer {
    z-index: 10; /* Ensures the pointer is on top of the bars */
}

/* small touch target increase on mobile */
@media (max-width: 575px) {
    .a1c-fibroscan .form-check {
        gap: 1rem;
        margin: 1rem 0;
    }
    .a1c-fibroscan .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }
}

#branding .gray-bg,
#branding .lp-blue-bg {
	position: absolute;
	z-index: -1;
	top: 0
}
#branding .lp-blue-bg {
	right: 0;
	max-width: 50%
}
.text-danger-orange{
    color: #F97415;
}
.background-danger-orange{
    background-color: #F97415;
}
#eligibility-result-a1c.border-success,#eligibility-result-fibroscan.border-success{
    border: 2px solid;
}