﻿.cards-container-body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cards-container {
    display: flex;
    flex-direction: row;
    scrollbar-width: thin;
}

.vertical-cards-container {
    display: flex;
    flex-direction: column;
    background-color: var(--plain-white);
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 1.5rem;
    background: var(--blue-gray);
    box-shadow: var(--outline-button-shadow);
    cursor: pointer;
    aspect-ratio: 1;
    min-width: 10rem;
    height: 9rem;
    padding: 0.5rem;
    transition: transform 0.2s linear, box-shadow 0.2s ease-in-out;
}

.flat-card {
    box-shadow: none;
    border: 1px solid var(--light-gray);
}


.card:hover {
    box-shadow: var(--hover-outline-button-shadow);
    transform: translateY(-2%);
}

.card:active {
    transform: scale(0.9);
}

.card-title {
    font-size: var(--font-size-medium);
    font-weight: 600;
    margin-top: 0.75em;
    margin-bottom: 0.2em;
    text-align: center;
}

.card-type-icon svg{
    font-size: 4.5em;
}

.card-type-icon-medium {
    font-size: 3rem;
    display: flex;
}

.card-type-icon-small {
    font-size: 2rem;
    display: flex;
}

.card-description {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: var(--gray);
    margin-bottom: 0.5em;
    max-width: 15rem;
    text-align: center;
    margin-top: 0.25rem;
}

.card-text-highlight {
    font-size: 0.95em;
    color: var(--darker-primary-green);
    font-weight: bolder;
}

.card-text-small {
    font-size: var(--font-size-small);
    color: var(--gray);
}

/* #region: Facility */

.control-room-card {
    aspect-ratio: 1;
    min-width: 11em;
    justify-content: space-between;
    font-size: var(--font-size-normal);
    cursor: pointer;
    background-color: var(--blue-gray);
    box-shadow: var(--outline-button-shadow);
    border-radius: 1rem;
    transition: transform 0.2s ease-out,
        box-shadow 0.3s ease-in-out;
    padding: 1.75rem 0;
}
    .environment-card-icon {
        pointer-events: none;
    }
    .environment-card-icon svg {
        height: 4.5rem;
        width: 3rem;
    }
    .control-room-card:hover {
        box-shadow: var(--hover-outline-button-shadow);
        transform: translateY(-5%);
    }
        .control-room-card:active {
            transform: scale(0.9);
        }

.room-card-title {
    pointer-events: none;
}


.active-room-card {
    border: 2px solid var(--primary-green) !important;
}
    .active-room-card:hover {
        transform: scale(1);
    }


/* #endregion */