@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/YAG-PowerTrack/Shared/MainLayout.razor.rz.scp.css */
.page[b-8m3u7dnwyx] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

main[b-8m3u7dnwyx] {
    flex: 1;
    overflow-y: auto; /* Only the main area can scroll if needed */
}

html[b-8m3u7dnwyx], body[b-8m3u7dnwyx] {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent page scroll if layout fits perfectly */
}

.sidebar[b-8m3u7dnwyx] {
    background-color: #000 !important;
    border-right: 2px solid #e10600;
}

.top-row[b-8m3u7dnwyx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8m3u7dnwyx]  a, .top-row .btn-link[b-8m3u7dnwyx] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-8m3u7dnwyx] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-8m3u7dnwyx] {
        display: none;
    }

    .top-row.auth[b-8m3u7dnwyx] {
        justify-content: space-between;
    }

    .top-row a[b-8m3u7dnwyx], .top-row .btn-link[b-8m3u7dnwyx] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8m3u7dnwyx] {
        flex-direction: row;
    }

    .sidebar[b-8m3u7dnwyx] {
        width: 310px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8m3u7dnwyx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-8m3u7dnwyx], article[b-8m3u7dnwyx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/YAG-PowerTrack/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-c1p680ivdq] {
    background-color: rgba(225, 6, 0, 0.3);
}

.top-row[b-c1p680ivdq] {
    height: 3.5rem;
    background-color: #000;
    border-bottom: 1px solid #e10600;
}

.navbar-brand[b-c1p680ivdq] {
    font-size: 1.1rem;
    color: #fff !important;
}

.oi[b-c1p680ivdq] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-c1p680ivdq] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-c1p680ivdq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-c1p680ivdq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-c1p680ivdq]  a {
        color: #fff;
        opacity: 0.7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        transition: background-color 0.2s ease, opacity 0.2s ease;
    }

        .nav-item[b-c1p680ivdq]  a.active {
            background-color: #e10600;
            color: #fff;
            opacity: 1;
        }

        .nav-item[b-c1p680ivdq]  a:hover {
            background-color: rgba(225, 6, 0, 0.2);
            opacity: 1;
        }


.sidebar-header[b-c1p680ivdq] {
    background-color: #000;
    border-bottom: 1px solid #e10600;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}



.sidebar-logo-img[b-c1p680ivdq] {
    max-width: 110px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

    .sidebar-logo-img:hover[b-c1p680ivdq] {
        transform: scale(1.05);
    }

.app-name[b-c1p680ivdq] {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-row[b-c1p680ivdq] {
    height: 3.5rem;
    background-color: #000;
    border-bottom: 1px solid #e10600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
}


@media (max-width: 640px) {
    .sidebar-logo-img[b-c1p680ivdq] {
        max-width: 90px;
    }


    .app-name[b-c1p680ivdq] {
        font-size: 0.95rem;
    }
}





@media (min-width: 641px) {
    .navbar-toggler[b-c1p680ivdq] {
        display: none;
    }

    .collapse[b-c1p680ivdq] {
        display: block;
    }

    .nav-scrollable[b-c1p680ivdq] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Show the top toggle bar only on mobile */
@media (min-width: 641px) {
    .top-row[b-c1p680ivdq] {
        display: none !important; /* hides that top div entirely on desktop */
    }
}

/* Keep it visible on mobile */
@media (max-width: 640px) {
    .top-row[b-c1p680ivdq] {
        display: flex;
        height: 3.5rem;
        background-color: #000;
        border-bottom: 1px solid #e10600;
        align-items: center;
        justify-content: flex-end;
        padding-right: 1rem;
    }


    .nav-scrollable[b-c1p680ivdq] {
        background-color: #000;
        border: 2px solid #e10600; /* red outline */
        box-shadow: 0 0 10px rgba(225, 6, 0, 0.4); /* subtle red glow */
        border-radius: 8px;
        margin: 0.5rem;
        padding: 1rem 0;
        animation: slideDown-b-c1p680ivdq 0.3s ease-out;
    }

    /* Optional: make it feel like a modal slide-down */
    @keyframes slideDown-b-c1p680ivdq {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
