/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hu0isnau3t] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hu0isnau3t] {
    flex: 1;
}

.sidebar[b-hu0isnau3t] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-hu0isnau3t] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hu0isnau3t]  a, .top-row[b-hu0isnau3t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-hu0isnau3t]  a:hover, .top-row[b-hu0isnau3t]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-hu0isnau3t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-hu0isnau3t] {
        justify-content: space-between;
    }

    .top-row[b-hu0isnau3t]  a, .top-row[b-hu0isnau3t]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-hu0isnau3t] {
        flex-direction: row;
    }

    /* FIX (15-oct-2026), observación "REV ITT": el menú lateral se angostaba cuando la página
       tenía una grilla ancha (el flex lo encogía). Ancho fijo de 250px y el contenido se desplaza
       horizontalmente si no entra. */
    .sidebar[b-hu0isnau3t] {
        width: 250px;
        min-width: 250px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    main[b-hu0isnau3t] {
        min-width: 0;
    }

    article.content[b-hu0isnau3t] {
        overflow-x: auto;
    }

    .top-row[b-hu0isnau3t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hu0isnau3t]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-hu0isnau3t], article[b-hu0isnau3t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-hu0isnau3t] {
    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-hu0isnau3t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* AGREGADO (15-oct-2026): tipo de cambio del día en la barra superior. */
.tc-dia[b-hu0isnau3t] {
    font-size: 0.85rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .tc-dia[b-hu0isnau3t] {
        font-size: 0.72rem;
        white-space: normal;
    }

    .tc-separador[b-hu0isnau3t] {
        display: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-acz2fqm323] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-acz2fqm323] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-acz2fqm323] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-acz2fqm323] {
    font-size: 1.1rem;
}

.bi[b-acz2fqm323] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-acz2fqm323] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-acz2fqm323] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-acz2fqm323] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-acz2fqm323] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-acz2fqm323] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-acz2fqm323] {
        padding-bottom: 1rem;
    }

    .nav-item[b-acz2fqm323]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-acz2fqm323]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-acz2fqm323]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-acz2fqm323] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-acz2fqm323] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-acz2fqm323] {
        display: none;
    }

    .nav-scrollable[b-acz2fqm323] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-hero[b-wc0uop0280] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.25rem 2rem;
    margin-bottom: 1.75rem;
    border-radius: 14px;
    color: white;
    background-image: linear-gradient(120deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    box-shadow: 0 8px 24px rgba(20, 10, 60, 0.25);
    overflow: hidden;
}

.home-hero[b-wc0uop0280]::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.home-hero-mark[b-wc0uop0280] {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
}

.home-hero-text[b-wc0uop0280] {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

    .home-hero-text h1[b-wc0uop0280] {
        margin: 0 0 0.25rem 0;
        font-size: 1.7rem;
        font-weight: 700;
    }

    .home-hero-text p[b-wc0uop0280] {
        margin: 0;
        opacity: 0.9;
        font-size: 0.98rem;
    }

.home-hero-date[b-wc0uop0280] {
    z-index: 1;
    text-align: right;
    text-transform: capitalize;
    font-size: 0.85rem;
    opacity: 0.85;
    max-width: 180px;
}

.home-section-title[b-wc0uop0280] {
    color: #444;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.home-grid[b-wc0uop0280] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.home-card[b-wc0uop0280] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.1rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: #2b2b2b;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

    .home-card:hover[b-wc0uop0280] {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(20, 10, 60, 0.1);
        border-color: #d8d8f5;
        color: #2b2b2b;
    }

.home-card-icon[b-wc0uop0280] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

    .home-card-icon svg[b-wc0uop0280] {
        width: 20px;
        height: 20px;
    }

.home-card-label[b-wc0uop0280] {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
}

@media (max-width: 640px) {
    .home-hero[b-wc0uop0280] {
        flex-wrap: wrap;
        padding: 1.5rem;
    }

    .home-hero-date[b-wc0uop0280] {
        text-align: left;
        max-width: none;
    }
}
