/* BenefitFinder — minimal overrides on top of Bootstrap 5 */

/* Progress bar */
.progress-step {
    height: 6px;
    border-radius: 3px;
}

/* Benefit card eligible highlight */
.card-likely {
    border-left: 4px solid #198754;
}

.card-possible {
    border-left: 4px solid #ffc107;
}

.card-not-eligible {
    border-left: 4px solid #dee2e6;
}

/* Official URL badge */
.badge-official {
    font-size: 0.7rem;
}

/* Green dollar amounts throughout the results page */
.dollar-amount {
    color: #198754;
    font-weight: 600;
}

/* Suppress the focus ring Blazor adds to headings after enhanced navigation */
h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
    outline: none;
}

/* Placeholder text — lighter so it reads as a hint, not a pre-filled value */
.form-control::placeholder {
    color: #adb5bd;
    opacity: 1; /* override Firefox's default reduction */
}

/* Glossary abbreviation tooltips — instant CSS-only, no browser delay */
abbr.gloss-tip {
    position: relative;
    text-decoration: underline dotted #6c757d;
    text-underline-offset: 2px;
    cursor: help;
}

abbr.gloss-tip::after {
    content: attr(data-gloss);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: #fff;
    font-size: 0.78rem;
    font-weight: normal;
    font-style: normal;
    line-height: 1.4;
    padding: 5px 9px;
    border-radius: 5px;
    width: max-content;
    max-width: 280px;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
    transition: opacity 0s;
}

abbr.gloss-tip:hover::after {
    opacity: 1;
}

/* Mobile: stack question buttons vertically */
@media (max-width: 576px) {
    .question-options .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
