﻿.info-grid {
    display: flex;
    height: 95%;
    padding-right: 10px;
    gap: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
}
.info-collumn{
    flex-wrap:wrap;
    gap: 1rem;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-card {
    margin: 1rem 0;
    flex-direction: column;
    background: #ffffff88;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 15rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

    .info-card h4 {
        font-size: 0.95rem;
        margin: 0 0 0.5rem;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.25rem;
    }
        .info-card h4 img{
            float: right;
            height: 1em;
            cursor:pointer;
        }
.info-card.full{
    margin:0;
    width:100%;
}


.info-pair {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin: 0.15rem 0;
    gap: 0.5rem;
}

    .info-pair > span:first-child:has(+ span:not(:empty)) {
        color: gray;
    }

    .info-pair span:last-child {
        text-align: right;
        font-weight: 400;
        overflow-wrap: anywhere;
        color: #222;
    }

.bubble-button.info {
    transition: transform 0.2s ease;
    margin: 0.5rem 0rem;
}
.bubble-button.info img {
    transition: transform 0.2s ease;
}

.bubble-button.info.animate img {
    animation: spin 0.6s ease;
}
.bubble-button.info.animate {
    animation: flash 0.6s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
@keyframes flash {
    0% {
        filter: invert(80%);
    }

    50% {
        filter:invert(30%)
    }

    100% {
        filter: invert(80%);
    }
}

@media (max-width: 1200px) {
    .info-pair {
        gap:0.2rem;
    }
    .info-card {
        width: 100%;
        flex: 0 0 auto;
    }
    .info-card:last-child{
        margin-bottom:0;
    }
    .info-column{
        width:10em;
        flex: 1 1 auto;
    }
    .info-grid {
        display: flex;
        gap: 0 0.5rem;
        padding-right: 0;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-y: hidden;
        width: 100%;
    }

}


