
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar-brand {
    font-weight: 600;
}

.card-title {
    font-weight: 600;
}


.dual-toolbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.dual-dropzone {
    border: 2px dashed #6c757d;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    background-color: #f8f9fa;
}

.dual-dropzone-hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
}

/* ---- Tablas Dualia: cabecera fija y estilo ligero ---- */
.dual-table-sticky thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #f8f9fa;
    box-shadow: 0 2px 2px rgba(0,0,0,0.03);
}

/* Filas con ligera transición al pasar el ratón */
.dual-table-sticky tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.dual-table-sticky tbody tr:hover {
    background-color: #f3f6ff;
}

/* Badges compactos en tablas */
.table .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

/* Tarjetas del dashboard tipo tile */
.dual-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.dual-dashboard-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(13, 110, 253, 0.08);
    background: radial-gradient(circle at top left, rgba(13,110,253,0.1), transparent 55%),
                #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

/* Contenido interior de la card */
.dual-dashboard-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

/* Pequeño texto de ayuda debajo de los títulos */
.dual-card-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Encabezado general del dashboard */
.dual-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}
