
/* HELPER FILTROS */

.modal-helper::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.modal-helper {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(520px, 92vw);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  font-family: var(--main-font, system-ui);
}

.modal-helper__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.modal-helper__title {
  margin: 0;
  font-size: 18px;
  color: #2b2832;
}

.modal-helper__close {
  border: 0;
  background: #f4f4f6;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.modal-helper__body {
  padding: 18px;
  background: #fff;
}

.modal-helper__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid #eee;
  background: #fafafa;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.modal-helper__btn {
  border: 0;
  background: #2b2832;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.helper-chip {
  display: inline-block;
  background: #ececff;
  color: #3b3b7a;
  border: 1px solid #d8d8ff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin: 6px 0;
}

.helper-code {
  background: #3f527e;
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  overflow-x: auto;
  margin: 8px 0 14px;
}

.helper-hint {
  background: #f6f7fb;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #374151;
}

/* Tabs */
.modal-helper__tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  margin-right: 12px;
}

.tab-btn {
  background: #f4f4f6;
  border: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  color: #444;
  font-weight: 600;
  transition: background 0.2s;
}

.tab-btn.active {
  background: #3b3b7a;
  color: #fff;
}

/* Tab content control */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Table estilo similar */
.helper-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 10px 0 16px;
}

.helper-table th,
.helper-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
}

.helper-table th {
  background: #f6f7fb;
  color: #374151;
  font-weight: 700;
}


/* Boton i redondo */
a.btn.text-center #helper-filtros-button.btn.dt-button.buttons-collection{
    height:40px !important;
    width:40px !important;
    margin: 0px !important;
}

#helper-filtros{
    padding:0px !important;
}