/* AU Compatibility Chart */

.au-cc__select {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin-bottom: 1.2rem;
}

.au-cc__heading {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.au-cc__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
    position: relative;
}

.au-cc__item + .au-cc__item {
    margin-top: 4px;
}

.au-cc__item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.au-cc__item a:hover {
    text-decoration: underline;
}

.au-cc__tooltip {
    font-size: 0.8rem;
    opacity: 0.9;
    color: #fff;
    white-space: nowrap;
}

/* Suositus / Recommendation — green */
.au-cc__item--suositus {
    background: #4caf50;
}

/* Voi käyttää / Can be used — yellow-green */
.au-cc__item--voi_kayttaa {
    background: #8bc34a;
}

/* Turvallista käyttää / Safe to use — blue */
.au-cc__item--turvallista_kayttaa {
    background: #2196f3;
}

/* Ei saa käyttää / Do not use — red */
.au-cc__item--ei_saa_kayttaa {
    background: #f44336;
}

/* Responsive */
@media (max-width: 480px) {
    .au-cc__select {
        max-width: 100%;
    }
    .au-cc__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
}
