@import 'Subway.Client.9yzlhsmoyl.bundle.scp.css';

/* _content/Subway/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xws8h56v2b] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.header[b-xws8h56v2b] {
    display: flex;
    width: 1280px;
    height: 56px;
    padding: 12px 0;
    justify-content: center;
    align-items: center;
    border: 0 solid var(--Background-content-bg-color-alt1);
    background: var(--Background-content-bg-color);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.10);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container[b-xws8h56v2b] {
    display: flex;
    width: 100%;
    padding: 0 16px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    height: 32px;
}

.header-left[b-xws8h56v2b] {
    display: flex;
    align-items: center;
}

.brand-name[b-xws8h56v2b] {
    color: var(--Foreground-content-text-color-alt1);
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.header-right[b-xws8h56v2b] {
    display: flex;
    align-items: center;
}

.user-info[b-xws8h56v2b] {
    display: flex;
    padding: 4px 14.5px 4px 39.5px;
    justify-content: flex-end;
    align-items: center;
    border: 0 solid #E5E7EB;
    background: rgba(0, 0, 0, 0.00);
    gap: 9px;
}

.user-avatar[b-xws8h56v2b] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    background: var(--transparent);
}

.avatar-background[b-xws8h56v2b] {
    display: flex;
    width: 24px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: #BDBDBD;
}

.avatar-icon[b-xws8h56v2b] {
    display: flex;
    width: 14px;
    align-items: center;
    gap: 10px;
    height: 14px;
    flex: 1 0 0;
}

.user-name[b-xws8h56v2b] {
    color: var(--Foreground-content-text-color-alt1);
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

main[b-xws8h56v2b] {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 56px;
    margin-left: 35px;
    transition: margin-left 0.3s ease-in-out;
    min-width: 0;
    height: calc(100vh - 56px);
    overflow: hidden;
}

.sidebar[b-xws8h56v2b] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100vh;
}

/* Cuando el sidebar está expandido */
.sidebar:has(.e-sidebar.e-open) ~ main[b-xws8h56v2b] {
    margin-left: 170px; /* Ancho del sidebar expandido */
}

/* Fallback para navegadores que no soportan :has() */
@supports not selector(:has(*)) {
    main.sidebar-expanded[b-xws8h56v2b] {
        margin-left: 170px;
    }
}

article[b-xws8h56v2b] {
    flex: 1;
    overflow-y: auto;
  /*  padding: 1rem;*/
    background-color: #ffffff;
}
@media (min-width: 641px) {
    main[b-ucpi8iy07m][b-xws8h56v2b] {
        margin-left: 30px;
        
    }
}
@media (max-width: 640.98px) {
    .header[b-xws8h56v2b] {
        width: 100%;
        left: 0;
    }

    .header-container[b-xws8h56v2b] {
        width: 100%;
        padding: 0 16px;
    }

    .brand-name[b-xws8h56v2b] {
        font-size: 18px;
    }

    .user-name[b-xws8h56v2b] {
        font-size: 12px;
    }

    main[b-xws8h56v2b] {
        margin-left: 0;
    }

    .sidebar[b-xws8h56v2b] {
        z-index: 2000;
    }

    .content[b-xws8h56v2b] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

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

    .header[b-xws8h56v2b] {
        left: 0px;
        width: 100%;
        transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
    }

        .header.sidebar-collapsed[b-xws8h56v2b] {
            left: 50px;
            width: calc(100% - 50px);
        }

    .sidebar[b-xws8h56v2b] {
        top: 56px;
        height: calc(100vh - 56px);
    }

    main[b-xws8h56v2b] {
        margin-left: 15px;
        transition: margin-left 0.3s ease-in-out;
    }

        main.sidebar-collapsed[b-xws8h56v2b] {
            margin-left: 50px;
        }

    .content[b-xws8h56v2b] {
        margin-left: 0;
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/*
@media (min-width: 1280px) {
    .header {
        width: 1280px;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-container {
        width: 1280px;
    }
}
*/
#blazor-error-ui[b-xws8h56v2b] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1001;
}

    #blazor-error-ui .dismiss[b-xws8h56v2b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
