/* ROSAPP/wwwroot/css/radiobtngrp.css */

.rossapp-radio-row {
    min-height: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: .5rem;
    width: 100%;
    overflow: hidden;
}

.rossapp-radio-btn {
    min-width: 0;
    min-height: 0;
    height: 100%;
    border: 2px solid #999;
    border-radius: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 55%, #d5d5d5 100%);
    color: #000;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 800;
    text-align: center;
    padding: .35rem .15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    overflow: hidden;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,.6);
}

    .rossapp-radio-btn:hover {
        filter: brightness(1.04);
    }

    .rossapp-radio-btn:active {
        box-shadow: inset 2px 2px 4px rgba(0,0,0,.35);
        transform: scale(.98);
    }

    .btn-check:checked + .rossapp-radio-btn,
    .rossapp-radio-btn.active {
        color: #fff;
        background: linear-gradient(to bottom, #8dffb0 0%, #28a745 55%, #087c2c 100%);
        border-color: #0f5132;
    }

.rossapp-radio-icon {
    font-size: 1.45rem;
    line-height: 1;
    flex: 0 0 auto;
}

.rossapp-radio-text {
    width: 100%;
    font-size: .72rem;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rossapp-radio-text-lg {
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 900;
}

@media (max-width: 576px) {
    .rossapp-radio-row {
        gap: .4rem;
    }

    .rossapp-radio-icon {
        font-size: 1.25rem;
    }

    .rossapp-radio-text {
        font-size: .65rem;
    }

    .rossapp-radio-text-lg {
        font-size: 1rem;
    }
}


