/* _content/DGA_Portal/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-pq0xmcpdci] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

    .top-row[b-pq0xmcpdci]  a:hover, .top-row[b-pq0xmcpdci]  .btn-link:hover {
        text-decoration: underline;
    }

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

@media (max-width: 640.98px) {
    .top-row[b-pq0xmcpdci] {
        justify-content: space-between;
    }

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

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

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

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

    .top-row.auth[b-pq0xmcpdci]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}

#blazor-error-ui[b-pq0xmcpdci] {
    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-pq0xmcpdci] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/DGA_Portal/Components/Pages/Admin/AdminDashboard.razor.rz.scp.css */
.dashboard-container[b-x637doxj3a] {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-topcards[b-x637doxj3a] {
   /* display: flex;
    gap: 20px;
    flex-wrap: wrap;*/
}

.dashboard-section-title[b-x637doxj3a] {
    background: #0096AE;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
}

.dashboard-graph[b-x637doxj3a] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

.graph-header[b-x637doxj3a] {
    text-align: center;
    font-weight: 500;
    color: #444;
    margin-bottom: 10px;
}

.graph-placeholder[b-x637doxj3a] {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
}

.dashboard-bottomcards[b-x637doxj3a] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
/* _content/DGA_Portal/Components/Shared/Dashboard/KpiDonutCard.razor.rz.scp.css */
.kpi-card[b-ka1k5iy7f2] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 14px;
    text-align: center;
    flex: 1;
}

.kpi-title[b-ka1k5iy7f2] {
    background-color: #0096AE;
    color: white;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.kpi-donut[b-ka1k5iy7f2] {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 10px auto;
}

.donut-ring[b-ka1k5iy7f2] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 12px solid #47B958;
    border-top-color: #0070C0;
    transform: rotate(45deg);
}

.donut-value[b-ka1k5iy7f2] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 700;
    color: #004A8F;
}

.kpi-footer[b-ka1k5iy7f2] {
    font-size: 0.8rem;
    color: #555;
}
/* _content/DGA_Portal/Components/Shared/Dashboard/StatCard.razor.rz.scp.css */
.stat-card[b-hydeip6z15] {
    display: flex;
    gap: 12px;
    border-radius: 8px;
    color: white;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    margin: 5px;
    max-width: 32% !important;
    flex-direction: column;
    justify-content:space-between;
}

.stat-card .titulo[b-hydeip6z15] {
    display: flex;
    gap: 12px;
    align-items: center;
}

@media(max-width:768px) {
    .stat-card[b-hydeip6z15] {
        max-width: 45% !important;
    }
}

.resumenes .resumen-esval[b-hydeip6z15], .resumenes .resumen-av[b-hydeip6z15] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.stat-card .stat-icon[b-hydeip6z15] {
    font-size: 1.8rem;
    opacity: 0.9;
}

.stat-card .resumenes span[b-hydeip6z15]{
    margin: 0;
}

.stat-card .stat-info h4[b-hydeip6z15] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.stat-card .valor-central[b-hydeip6z15] {
    text-align: center;
    margin: 16px 0;
}

.stat-card .valor-central .h1[b-hydeip6z15] {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

.stat-card .resumenes[b-hydeip6z15] {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.stat-info h2[b-hydeip6z15] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.blue[b-hydeip6z15] {
    background: linear-gradient(180deg, #0070C0 0%, #004A8F 100%);
}

.green[b-hydeip6z15] {
    background: #47B958;
}

.yellow[b-hydeip6z15] {
    background: #F7B500;
    color: #000;
}

.celeste[b-hydeip6z15] {
    background: #0096DB;
}

.red[b-hydeip6z15] {
    background: #FF3B30;
}
/* _content/DGA_Portal/Components/Shared/Main/HeaderSection.razor.rz.scp.css */
.header-wrapper[b-nty412clz7] {
    width: 100%;
    background-color: #f2f3f8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* 🔹 Mantiene la alineación izquierda y distribuye el botón a la derecha */
.header-section[b-nty412clz7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* evita que el texto quede centrado verticalmente */
    padding: 24px 40px 16px 95px;
}

/* 🔹 Agrupación del contenido (volver + título) */
.header-left[b-nty412clz7] {
    display: flex;
    flex-direction: column;
}

/* 🔹 Contenedor derecho para botones de acción */
.header-right[b-nty412clz7] {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

/* 🔹 Back button */
.btn-back[b-nty412clz7] {
    background: none;
    border: none;
    color: #0096DB;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 4px;
    padding: 0;
}

.btn-back i[b-nty412clz7] {
    font-size: 1.2rem;
    margin-right: 2px;
}

/* 🔹 Título */
.header-title[b-nty412clz7] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #004A8F;
    margin: 0;
}

/* 🔹 Subtítulo */
.header-subtitle[b-nty412clz7] {
    font-size: 0.95rem;
    color: #000;
    margin: 2px 0 0 0;
}

/* 🔹 Breadcrumb */
.header-breadcrumb[b-nty412clz7] {
    background-color: #0096DB;
    color: #fff;
    padding: 6px 95px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item[b-nty412clz7] {
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .breadcrumb-item:hover[b-nty412clz7] {
        text-decoration: underline;
        opacity: 0.9;
    }

    .breadcrumb-item.active[b-nty412clz7] {
        text-decoration: underline;
        font-weight: 600;
        color: #fff !important;
    }

.breadcrumb-separator[b-nty412clz7] {
    margin: 0 4px;
}
/* _content/DGA_Portal/Components/Shared/Tables/TablaDga.razor.rz.scp.css */
/* === CONTENEDOR GENERAL === */
.tabla-dga-container[b-7wyyhma5bl] {
    padding: 20px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
}

/* === FILTROS SUPERIORES === */
.tabla-dga-filtros[b-7wyyhma5bl] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    margin-left: 12px;
}

    .tabla-dga-filtros .form-select[b-7wyyhma5bl],
    .tabla-dga-filtros .form-control[b-7wyyhma5bl] {
        width: 180px;
        height: 38px;
        font-size: 0.9rem;
    }

    .tabla-dga-filtros input[type="date"][b-7wyyhma5bl] {
        width: 160px;
    }

    .tabla-dga-filtros .btn[b-7wyyhma5bl] {
        height: 38px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 5px;
        border-radius: 6px;
        transition: 0.2s ease-in-out;
        margin-top: 0;
        justify-content: center;
    }

    .tabla-dga-filtros .acciones-filtros[b-7wyyhma5bl] {
        display: flex;
        align-items: end;
        gap: 10px;
    }


    .tabla-dga-filtros .btn-primary[b-7wyyhma5bl] {
        background-color: #004A8F;
        border-color: #004A8F;
    }

        .tabla-dga-filtros .btn-primary:hover[b-7wyyhma5bl] {
            background-color: #0066c0;
        }

    .tabla-dga-filtros .btn-outline-primary[b-7wyyhma5bl] {
        color: #004A8F;
        border-color: #004A8F;
    }

        .tabla-dga-filtros .btn-outline-primary:hover[b-7wyyhma5bl] {
            background-color: #004A8F;
            color: #fff;
        }

/* En pantallas pequeñas, se apilan */
@media (max-width: 768px) {
    .tabla-dga-filtros[b-7wyyhma5bl] {
        flex-direction: column;
        align-items: stretch;
    }

        .tabla-dga-filtros .form-select[b-7wyyhma5bl],
        .tabla-dga-filtros .form-control[b-7wyyhma5bl],
        .tabla-dga-filtros .btn[b-7wyyhma5bl] {
            width: 100%;
        }
}

/* === TABLA PRINCIPAL === */
.tabla-dga[b-7wyyhma5bl] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    border-radius: 6px;
    overflow: hidden;
}

    .tabla-dga thead tr[b-7wyyhma5bl] {
        background-color: #004A8F;
        color: #fff;
    }

    .tabla-dga th[b-7wyyhma5bl] {
        padding: 10px 12px;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .tabla-dga td[b-7wyyhma5bl] {
        padding: 10px 12px;
        font-size: 0.9rem;
        vertical-align: middle;
        color: #222;
    }

.row-even[b-7wyyhma5bl] {
    background-color: #eaf4ff;
}

.row-odd[b-7wyyhma5bl] {
    background-color: #ffffff;
}

.tabla-dga tbody[b-7wyyhma5bl] {
    transition: all 0.25s ease-in-out;
}

.tabla-dga tbody tr:hover[b-7wyyhma5bl] {
    background-color: #dceeff;
}

/* === PAGINACIÓN === */
.tabla-dga-paginacion[b-7wyyhma5bl] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-btn[b-7wyyhma5bl] {
    border: 1px solid #ccc;
    background: #fff;
    color: #004A8F;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    transition: 0.2s;
    min-width: 32px;
}

    .page-btn:hover[b-7wyyhma5bl] {
        background-color: #0096AE;
        color: #fff;
        border-color: #0096AE;
    }

    .page-btn.active[b-7wyyhma5bl] {
        background-color: #004A8F;
        color: #fff;
        font-weight: 600;
        border-color: #004A8F;
    }

/* === BADGES (si usas estados) === */
.badge-estado[b-7wyyhma5bl] {
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

    .badge-estado.menor[b-7wyyhma5bl] {
        color: #1d7c33;
        background-color: #d6f5e2;
        border: 1px solid #1d7c33;
    }

    .badge-estado.medio[b-7wyyhma5bl] {
        color: #c68a00;
        background-color: #fff3cd;
        border: 1px solid #c68a00;
    }

    .badge-estado.mayor[b-7wyyhma5bl] {
        color: #c5221f;
        background-color: #f8d7da;
        border: 1px solid #c5221f;
    }

/* === BOTÓN DE ACCIÓN (iconos) === */
.btn-icon[b-7wyyhma5bl] {
    border: none;
    background: none;
    color: #004A8F;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .btn-icon:hover[b-7wyyhma5bl] {
        color: #0096AE;
    }

.tabla-dga-paginacion[b-7wyyhma5bl] {
        min-height: 40px;
        position: relative;
        padding: 0.25rem 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .paginador-container[b-7wyyhma5bl] {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .page-btn[b-7wyyhma5bl] {
        border: 1px solid #dee2e6;
        background: white;
        color: #0d6efd;
        padding: 4px 10px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

        .page-btn:hover[b-7wyyhma5bl] {
            background: #e9f2ff;
        }

        .page-btn.active[b-7wyyhma5bl] {
            background: #0d6efd;
            color: white;
            font-weight: 600;
        }

    .tabla-disabled[b-7wyyhma5bl] {
        opacity: 0.6;
        pointer-events: none;
    }

        .tabla-disabled .page-btn[b-7wyyhma5bl],
        .tabla-disabled select[b-7wyyhma5bl] {
            background-color: #f1f1f1 !important;
            color: #9a9a9a !important;
            border-color: #d6d6d6 !important;
            cursor: not-allowed !important;
        }

    .tabla-dga-acciones[b-7wyyhma5bl] {
        padding: 0.5rem 0.75rem;
    }

        .tabla-dga-acciones .btn[b-7wyyhma5bl] {
            min-width: 180px;
            font-weight: 600;
            border-radius: 6px;
            transition: background-color 0.2s ease;
        }

        .tabla-dga-acciones .btn-primary[b-7wyyhma5bl] {
            background-color: #003b84;
            border-color: #003b84;
        }

            .tabla-dga-acciones .btn-primary:hover[b-7wyyhma5bl] {
                background-color: #0052b3;
            }

        .tabla-dga-acciones .btn-info[b-7wyyhma5bl] {
            background-color: #0094ff;
            border-color: #0094ff;
        }

            .tabla-dga-acciones .btn-info:hover[b-7wyyhma5bl] {
                background-color: #33adff;
            }

    .tabla-dga td input.form-control-sm[b-7wyyhma5bl] {
        height: 30px;
        font-size: 0.9rem;
        border-radius: 4px;
    }
