/* _content/LaAntaniona/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1n4k4zs9rr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1n4k4zs9rr] {
    flex: 1;
}

.sidebar[b-1n4k4zs9rr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-1n4k4zs9rr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1n4k4zs9rr]  a, .top-row[b-1n4k4zs9rr]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1n4k4zs9rr]  a:hover, .top-row[b-1n4k4zs9rr]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1n4k4zs9rr]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1n4k4zs9rr] {
        justify-content: space-between;
    }

    .top-row[b-1n4k4zs9rr]  a, .top-row[b-1n4k4zs9rr]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1n4k4zs9rr] {
        flex-direction: row;
    }

    .sidebar[b-1n4k4zs9rr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1n4k4zs9rr] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1n4k4zs9rr]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1n4k4zs9rr], article[b-1n4k4zs9rr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-1n4k4zs9rr] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-1n4k4zs9rr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/LaAntaniona/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar[b-rl4n8fukrm] {
    /* Un gris un poco más claro que el body para que se distinga */
    background-color: #1e1e1e;
    padding: 1rem 0;
    border-bottom: 1px solid #333; /* Un borde sutil */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Sombra para darle profundidad */

    position: sticky; /* Hacemos que se quede pegada arriba al hacer scroll */
    top: 0;
    z-index: 100;
}

/* Contenedor interno para centrar los links (debe coincidir con .content) */
.container[b-rl4n8fukrm] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hacemos que el link sea un contenedor flex */
.navbar-brand[b-rl4n8fukrm] {
    display: flex;
    align-items: center; /* ¡Centra verticalmente el logo y el texto! */
    gap: 10px; /* Un espacio de 10px entre la imagen y el texto */
}

    /* Esta regla ya la tenías, asegúrate de que siga ahí */
    .navbar-brand img[b-rl4n8fukrm] {
        height: 40px;
        width: auto;
    }

.nav-links[b-rl4n8fukrm] {
    display: flex;
    gap: 20px;
}

.nav-link[b-rl4n8fukrm] {
    color: #ccc; /* Links en gris claro */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}

    .nav-link:hover[b-rl4n8fukrm], .nav-link.active[b-rl4n8fukrm] {
        background-color: #333; /* Un fondo al pasar el mouse */
        color: #fff; /* Texto en blanco al pasar el mouse */
    }
