@import '_content/LeafletForBlazor/LeafletForBlazor.bundle.scp.css';

/* _content/FactuY/Shared/MainLayout.razor.rz.scp.css */
.page[b-o2gj4iy3tx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-o2gj4iy3tx] {
    flex: 1;
}

.sidebar[b-o2gj4iy3tx] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-o2gj4iy3tx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-o2gj4iy3tx]  a, .top-row .btn-link[b-o2gj4iy3tx] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-o2gj4iy3tx] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-o2gj4iy3tx] {
        display: none;
    }

    .top-row.auth[b-o2gj4iy3tx] {
        justify-content: space-between;
    }

    .top-row a[b-o2gj4iy3tx], .top-row .btn-link[b-o2gj4iy3tx] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-o2gj4iy3tx] {
        flex-direction: row;
    }

    .sidebar[b-o2gj4iy3tx] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-o2gj4iy3tx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-o2gj4iy3tx], article[b-o2gj4iy3tx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/FactuY/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-cnmd1fzmc7] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-cnmd1fzmc7] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-cnmd1fzmc7] {
    font-size: 1.1rem;
}

.oi[b-cnmd1fzmc7] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-cnmd1fzmc7] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-cnmd1fzmc7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-cnmd1fzmc7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-cnmd1fzmc7]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-cnmd1fzmc7]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-cnmd1fzmc7]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-cnmd1fzmc7] {
        display: none;
    }

    .collapse[b-cnmd1fzmc7] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-cnmd1fzmc7] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/FactuY/Shared/TemperatureDisplay.razor.rz.scp.css */
.temp-chip[b-jfrlxtm6b8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.15rem;
}

.temp-icon[b-jfrlxtm6b8] {
    font-size: 0.85rem;
}

.temp-label[b-jfrlxtm6b8] {
    opacity: 0.9;
}

.temp-value[b-jfrlxtm6b8] {
    font-weight: 700;
}

.tempDateOK[b-jfrlxtm6b8] {
    background-color: transparent;
    color: black;
}
.tempDateError[b-jfrlxtm6b8] {
    background-color: #f7010126;
    color: #ffffff;
}

/* Too cold: < 2°C - Deep blue */
.temp-cold[b-jfrlxtm6b8] {
    background-color: #1e40af;
    color: #ffffff;
}

/* Normal: 2-10°C - Light blue/teal */
.temp-normal[b-jfrlxtm6b8] {
    background-color: #0891b2;
    color: #ffffff;
}

/* Medium low: 10-18°C - Yellow/amber */
.temp-medium[b-jfrlxtm6b8] {
    background-color: #6fb9d3;
    color: #ffffff;
}

/* Process ongoing: 18-28°C - Orange */
.temp-active[b-jfrlxtm6b8] {
    background-color: #ffde6e;
    color: #ffffff;
}

.temp-mediumhigh[b-jfrlxtm6b8] {
    background-color: #e19673;
    color: #ffffff;
}

/* Critical: > 28°C - Red with pulse */
.temp-critical[b-jfrlxtm6b8] {
    background-color: #dc2626;
    color: #ffffff;
    animation: pulse-critical-b-jfrlxtm6b8 1s ease-in-out infinite;
}

@keyframes pulse-critical-b-jfrlxtm6b8 {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}
