facility-control {
    display: grid;
    grid-template-columns: 72.5% 27.5%;
    gap: 1rem;
    height: calc(100vh - var(--window-header-height) - 5.8rem);
}

#facilityChartWrapper {
    min-height: 15.5rem;
    margin-bottom: 1.25rem;
    background:var(--blue-gray);
    box-shadow: var(--soft-continer-outer-shadow);
    border-radius: 2rem;
    margin-right: 1rem;
}

@media (max-width: 1500px) {
    #facilityChartWrapper {
        display: none;
    }
}

@media (min-width: 1800px) {
    facility-control {
        grid-template-columns: 72.5% 27.5%;
    }
}

@media (min-width: 1301px ) and (max-width: 1799px) {
    facility-control {
        grid-template-columns: 65% 35%;
    }
}
@media (max-width: 1300px) {
    facility-control {
        grid-template-columns: 60% 40%;
    }
}

dispensary-page{
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}

dispensary-page information-cards{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    flex-wrap: wrap;
}

dispensary-page information-cards info-card{
    height: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: auto;
    position: relative;
    background-color: var(--blue-gray);
    border-radius: 1rem;
    box-shadow: var(--soft-continer-outer-shadow);
    border: none;
    min-width: 36rem;
    min-height: 20rem;
    max-height: 20rem;
}

dispensary-page information-cards info-card .header-icon svg {
    width: 2rem;
    height: 2rem;
}

dispensary-page information-cards info-card info-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
dispensary-page information-cards info-card info-row span {
    text-align: right;
}

dispensary-page information-cards info-card table th, dispensary-page information-cards info-card table td{
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

dispensary-page information-cards info-card row-layout h3 {
    font-size: 1.1rem;
}

insights-container {
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 3rem;
}
insights-container[flex-layout] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
insights-container[auto-grid] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
}

insight {
    display: flex;
    flex-direction: column;
    min-width: 12rem;
    background: var(--blue-gray);
    box-shadow: var(--soft-continer-outer-shadow);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

insight insight-icon {
    opacity: 0.65;
    font-size: 1.5rem;
    background: var(--blue-gray);
    box-shadow: var(--outline-button-shadow);
    border-radius: 0.5rem;
    width: fit-content;
    display: flex;
    padding: 0.2rem;
}

insight label{
    font-weight: 500;
    font-size: var(--font-size-medium);
    opacity: 0.65;
}

insight span{
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

facility-illustration {
    width: 20rem;
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
}

.dispensary-illustration {
    background: url("/assets/facilities/dispensary-facility.png");
    background-size: cover;
}
.production-illustration {
    background: url("/assets/facilities/production-facility.png");
    background-size: cover;
}

facility-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 10px;
    background: var(--glass-background);
    box-shadow: var(--soft-glass-container-shadow);
    border: var(--glass-container-border);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    cursor: pointer;
    aspect-ratio: 1;
    transition: transform 0.1s linear, background 0.1s ease-in-out;
    padding: 3rem;
}

facility-card:hover {
    transform: scale(1.05);
}

facility-card:active {
    transform: scale(0.9);
}

facility-card facility-name {
    color: var(--darker-primary-green);
    font-size: var(--font-size-xlarge);
    font-weight: 700;
}

facility-card facility-type {
    color: var(--light-text);
}

.facility-card-container {
    flex-wrap: wrap;
}

room-item-card {
    display: flex;
    flex-direction: row;
    background: var(--blue-gray);
    box-shadow: var(--soft-continer-outer-shadow);
    border-radius: 1rem;
    padding: 1rem;
    align-items: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, 
        border-bottom-color 0.2s ease-in-out,
        border-left-color 0.2s ease-in-out,
        border-right-color 0.2s ease-in-out,
        border-top-color 0.2s ease-in-out;
    position: relative;
    border: 2px solid var(--lit-hidden-border-color);
}
    room-item-card[active] {
        border: 2px solid var(--primary-green);
    }
    room-item-card[active]::before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px;
        left: 0;
        pointer-events: none;
        width: 4px;
        height: 6rem;
        background-color: var(--primary-green);
    }
    room-item-card:not([active]):hover {
        cursor: pointer;
        transform: scale(1.02);
        box-shadow: var(--hover-outline-button-shadow);
    }