    :root {
  
  --border-soft: rgba(255, 255, 255, 0.08);
  --text-soft: #ede9e9;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: #292828;
      color: #ede9e9;
      margin: 0;
      padding: 2rem;
    }

    h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    margin-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 3px;
    color: #fff;
    background: linear-gradient(90deg, #f6f4f5, #ffffff); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    transition: all 0.2s ease;
    }

    h1:hover {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    }

    #dropZone {
      border: 2px dashed var(--text-soft);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: 0.2s;
      margin-bottom: 2rem;
    }

    #dropZone.hover {
      background: rgba(59, 130, 246, 0.15);
      border-color: #3b82f6;
    }

    .tables-container {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .table-wrapper {
      background: #020617;
      border: 1px solid var(--border-soft);
      padding: 1rem;
      border-radius: 12px;
    }

    .table-title {
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    button {
    background: #4da3ff;
    border: none;
    color: #000;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    }


    button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    }

    #copyBtn:hover {
    background: #fff;
    }

    #exportBtn:hover {
    background: #fff;
    }


    .table-root {
  height: 800px;
}

/* ===============================
   MODAL PRO
================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #1a1a1a;
  border: 1 px solid var(--border-soft);
  color: #ffffff;
  padding: 2.5rem 3rem;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: modalIn 0.25s ease-out;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.modal-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

/* Botón cerrar */
.modal-content button {
  margin-top: 1.2rem;
  background: transparent;
  color: #aaa;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
}

.modal-content button:hover {
  color: #fff;
}

/* Animación */
@keyframes modalIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.badge-pro {
  display: inline-block;
  background: #4da3ff;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.mp-button-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.mp-button-wrapper > * {
  max-width: 280px;
}

.pro-note {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  color: #888;
}

.pro-badge {
  background: #4da3ff;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 0.6rem;
}

.pro-badge.hidden {
  display: none;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tool-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tool-brand img {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.tool-brand span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
}

.files-counter {
  margin: 10px 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: #848383;
}