body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.12) !important;
}

.result-card {
    cursor: pointer;
    transition: border-color 0.2s;
}
.result-card:hover {
    border-color: #0d6efd;
}

.score-badge {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
}
.score-high {
    background-color: #d1e7dd;
    color: #0f5132;
}
.score-mid {
    background-color: #fff3cd;
    color: #664d03;
}
.score-low {
    background-color: #f8d7da;
    color: #842029;
}

.progress {
    border-radius: 4px;
}
.progress-bar {
    font-size: 0.7rem;
    line-height: 14px;
    min-width: 24px;
}

.table th {
    font-size: 0.85rem;
    white-space: nowrap;
}
.table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

.form-range::-webkit-slider-thumb {
    cursor: grab;
}

@media (max-width: 768px) {
    .score-badge {
        font-size: 1.2rem;
    }
}
