/* General */
body,
table,
th,
td {
  font-family: "Roboto", sans-serif;
}
/* Eliminar bordes */
table,
th,
td {
  border: none !important;
}
table {
  border-collapse: collapse;
}

/* Encabezados de tabla */
table thead th {
  font-size: 12px;
  background-color: #e7ecef;
  padding: 6px;
  vertical-align: middle;
}

/* Fila principal (Nivel 1) */
.main-row {
  font-size: 15px;
  background-color: var(--white);
}

.main-row.row-expanded {
  background-color: #F7F7F7;
}

/* Fila de detalle (Nivel 2) */
.detail-row-expanded {
  font-size: 14px;
  background-color:  #F7F7F7;
}
.detail-row-collapsed {
  font-size: 14px;
  background-color: var(--white);
}

/* Fila de subdetalle (Nivel 3) */
.subdetail-row {
  font-size: 13px;
  background-color: var(--white);
}

/* Utilidades */
.pointer {
  cursor: pointer;
}
.table-fixed {
  table-layout: fixed;
  width: 100%;
}
.nested-table {
  margin-bottom: 0;
}

.level3 {
  padding-left: 40px;
}

.glyphicon-chevron-down,
.glyphicon-chevron-right {
  color: var(--orange-infolaft);
  font-size: 12px;
}

/* Columnas Nivel 1 */
.col-fuente {
  width: 80%;
}
.col-result {
  width: 10%;
}
.col-incluir {
  width: 10%;
}

/* Columnas Nivel 2 */
.col-fuente_2 {
  width: 40%;
}
.col-fecha_2 {
  width: 15.3%;
}
.col-nivel_2 {
  width: 35%;
}
.col-incluir_2 {
  width: 7%;
}

/* Material Symbols */
.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
  font-size: 14px;
  vertical-align: middle;
  color: var(--gray-2);
}

/* Truncar texto (opcional) */
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Clases para estilos trasladados desde inline */
.no-padding {
  padding: 0px;
}

.detalle3-wrapper {
  padding-left: 32px;
}

.detalle3-item {
  padding: 0 0 5px 8px;
  border-left: 1px solid #ddd !important;
  margin-bottom: 0;
  border-bottom: 1px solid #ddd !important;
}

.detalle3-titulo {
  font-weight: 600;
}

.material-small {
  font-size: small;
}

.material-symbols-outlined.text-success {
  color: var(--orange-infolaft) !important;
}

.material-symbols-outlined.text-danger {
  color: var(--gray-1) !important;
}

.material-symbols-outlined.small-icon {
  font-size: 14px;
}

.material-symbols-outlined.polyline {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 40;
  font-size: 3rem !important;
}

.item-riesgo{
  display: flex;
  align-items: center;
  gap: 5px;
}

.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 8px;
  font-size: 12px;
  position: absolute;
  z-index: 10;
  bottom: 10px;
  right: -60px;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: normal;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.clickable {
  cursor: pointer;
  color: #e67247;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}