
  /* Fondo general y textos */
  body {
    font-family: Arial, sans-serif;
    background-color: #1E1E1E;
    color: #F0F0F0;
    padding: 15px;
    margin: 0;
  }

  h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #FFC107; /* amarillo */
  }

  /* 馃敼 Formulario */
  .form-grid {
    background: #2C2C2C;
    padding: 20px;
    border-radius: 15px;
   /* box-shadow: 0 2px 10px rgba(0,0,0,0.5);*/
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #FFC107;
  }

  select, input {
    /*width: 100%;*/
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #FFC107;
    background: #1E1E1E;
    color: #F0F0F0;
    font-size: 14px;
  }

  .form-buttons {
    grid-column: span 4;
    text-align: center;
  }

  button {
    margin: 5px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
  }

  .btn-primary {
    background: #FFC107;
    color: #1E1E1E;
  }

  .btn-secondary {
    background: #555555;
    color: #F0F0F0;
  }


  .table-container {
    max-width: 2100px;
    margin: 30px auto;
    overflow-x: auto;
    max-height: 900px;
    overflow-y: auto;
    border: 1px solid #FFC107;
    border-radius: 10px;
    background: #2C2C2C;
  }



  th, td {
    border: 1px solid #FFC107;
    padding: 10px;
    text-align: left;
    font-size: 14px;
    color: #F0F0F0;
  }

  th {
    background: #FFC107;
    color: #1E1E1E;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  tr:nth-child(even) {
    background: #383838;
  }

  tr:hover {
    background: #FFC10733; /* amarillo semi-transparente al pasar mouse */
  }

  /* 馃敼 Loading */
  #loading {
    display: none;
    text-align: center;
    font-weight: bold;
    color: #FFC107;
    margin-top: 20px;
  }

  #loading span {
    display: inline-block;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0%,100%{opacity:0.2;}50%{opacity:1;}
  }
  
  .filtros input {
  width: 100%;
  padding: 4px;
  border: 1px solid #FFC107;
  border-radius: 4px;
  background: #1E1E1E;
  color: #F0F0F0;
  font-size: 12px;
}
.filtros input:focus {
  outline: none;
  background: #2C2C2C;
}

  /* 馃敼 Responsive */
  @media (max-width:992px){ .form-grid{grid-template-columns: repeat(2,1fr);} .form-buttons{grid-column: span 2;} }
  @media (max-width:600px){ body{padding:10px;} .form-grid{grid-template-columns:1fr; gap:15px; padding:15px;} .form-buttons{grid-column:span 1;} button{width:100%; margin-top:10px;} table{font-size:12px; min-width:500px;} }
  @media (max-width:400px){ th,td{padding:8px; font-size:11px;} }
