:root {
  --accent: #38bdf8;
}

:root {
  --accent: #38bdf8;
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--accent);
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0.375rem;
}
.dropzone.dragover {
  background: rgba(255, 255, 255, 0.15);
}

/* Form layout */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
}

/* Checkbox */
.checkboxats-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkboxats-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

/* Botón */
.themeats-btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 0.375rem;
  width: 40%;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.themeats-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Resultados */
.results {
  margin-top: 2rem;
  width: 100%;
  max-width: 720px;
}
.results h2,
.results h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}
pre {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  white-space: pre-wrap;
  border-radius: 0.375rem;
  overflow-x: auto;
}
a#downloadLink {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #000;
  border-radius: 0.375rem;
  text-decoration: none;
}
.hidden {
  display: none;
}


.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  color: #000;
}
.spinner {
  margin: 0 auto 1rem;
  width: 60px; height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


form#uploadForm input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible     !important;
  opacity: 1              !important;
  width: 16px             !important;
  height: 16px            !important;
  margin-right: 8px       !important;
  appearance: auto        !important;
  -webkit-appearance: auto !important;
  accent-color: #38bdf8   !important;
}


/* modal complement */

/* Popup complemento */
.modal-complement {
  position: fixed;
  top: 0; left: 0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
}
.modal-complement.hidden {
  display:none;
}
.modal-complement-content {
  background:#fff;
  padding:2rem;
  border-radius:0.5rem;
  max-width:400px;
  text-align:center;
}
.modal-complement-content h2 { margin-bottom:0.5rem; }
.modal-complement-content h3 { margin-bottom:1rem; }
.modal-complement-buttons {
  display:flex;
  justify-content: space-between;
  gap:1rem;
  margin-top:1.5rem;
}
