
    :root {
      --primary-color: #005a7c;
      --secondary-color: #0076a8;
      --light-bg: #e0f0f6;
      --dark-text: #333;
      --error-color: #c62828;
      --success-color: #2e7d32;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f5f5f5;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      line-height: 1.6;
      color: #333;
    }

    header {
      background-color: var(--primary-color);
      color: white;
      padding: 20px;
      text-align: center;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    header h1 {
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
    }

    main {
      flex: 1;
      padding: 20px;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    h2 {
      color: var(--primary-color);
      text-align: center;
      margin: 1.5rem 0;
      font-size: 1.5rem;
    }

    .imagen-banner {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 2rem;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }

    .texto-intro {
      font-size: 1.1rem;
      margin-bottom: 1.5rem;
      text-align: center;
      color: var(--dark-text);
      padding: 0 1rem;
    }

    .info-metodos {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 2rem;
      justify-content: center;
    }

    .info-metodos div {
      background-color: var(--light-bg);
      padding: 1.5rem;
      border-radius: 10px;
      flex: 1;
      min-width: 250px;
      max-width: 350px;
      font-size: 1rem;
      color: var(--dark-text);
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .info-metodos div:hover {
      transform: translateY(-5px);
    }

    .info-metodos div strong {
      color: var(--primary-color);
      font-size: 1.1rem;
    }

    .buscador {
      background-color: #ffffff;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      margin-bottom: 2rem;
    }

    .buscador h3 {
      margin-bottom: 1.5rem;
      color: var(--primary-color);
      text-align: center;
      font-size: 1.3rem;
    }

    .form-group {
      margin-bottom: 1.2rem;
    }

    label {
      display: block;
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: var(--primary-color);
    }

    input[type="text"], 
    input[type="date"],
    select {
      width: 100%;
      padding: 0.8rem;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
      transition: border-color 0.3s;
    }

    input[type="text"]:focus, 
    input[type="date"]:focus,
    select:focus {
      border-color: var(--primary-color);
      outline: none;
      box-shadow: 0 0 0 2px rgba(0,90,124,0.2);
    }

    button {
      background-color: var(--primary-color);
      color: white;
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      width: 100%;
      margin-top: 0.5rem;
      transition: background-color 0.3s;
      font-weight: bold;
    }

    button:hover {
      background-color: var(--secondary-color);
    }

    /* Mensajes de error */
    .error-message {
      background-color: #ffebee;
      color: var(--error-color);
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      border-left: 4px solid var(--error-color);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .error-message i {
      font-size: 1.2rem;
    }

    /* Resultados */
    .table-container {
      margin: 2rem auto;
      max-width: 100%;
      overflow-x: auto;
      box-shadow: 0 0 20px rgba(0, 90, 124, 0.1);
      border-radius: 10px;
      background: white;
    }

    .responsive-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.95rem;
      min-width: 600px;
    }

    .responsive-table thead tr {
      background-color: var(--primary-color);
      color: white;
    }

    .responsive-table th, .responsive-table td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #e0f0f6;
    }

    .responsive-table th {
      font-weight: bold;
    }

    .responsive-table tbody tr:nth-of-type(even) {
      background-color: #f8fbfd;
    }

    .responsive-table tbody tr:last-of-type {
      border-bottom: 2px solid var(--primary-color);
    }

    .responsive-table tbody tr:hover {
      background-color: #e0f0f6;
    }

    /* Botones de acción */
    .action-btn {
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.85rem;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      transition: all 0.3s;
      text-decoration: none;
    }

    .view-btn {
      background-color: var(--primary-color);
      color: white;
    }

    .view-btn:hover {
      background-color: var(--secondary-color);
    }

    /* Mensaje sin resultados */
    .no-results {
      padding: 2rem;
      text-align: center;
      color: #666;
      font-size: 1.1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    .no-results i {
      font-size: 2rem;
      color: var(--primary-color);
    }

    /* Footer */
    footer {
      background-color: var(--primary-color);
      color: white;
      padding: 2rem 1rem;
      margin-top: 3rem;
    }

    .footer-contenido {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-columna {
      flex: 1;
      min-width: 250px;
      text-align: center;
    }

    .footer-columna p {
      margin: 0.5rem 0;
    }

    .footer-logo {
      max-height: 100px;
      max-width: 100%;
      height: auto;
    }
.boton:hover {
  background-color: #0076a8;
  transform: scale(1.05);
}

.boton.no-hover:hover {
  background-color: inherit;
  transform: none;
}

    /* Responsive */
    @media screen and (max-width: 768px) {
      header h1 {
        font-size: 1.5rem;
      }
      
      h2 {
        font-size: 1.3rem;
      }
      
      .imagen-banner {
        height:180px;
      }
      
      .responsive-table {
        min-width: 100%;
      }
      
      .responsive-table thead {
        display: none;
      }
      
      .responsive-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e0f0f6;
        border-radius: 8px;
        padding: 0.5rem;
      }
      
      .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem;
        border-bottom: 1px solid #e0e0e0;
      }
      
      .responsive-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: var(--primary-color);
        margin-right: 1rem;
      }
      
      .action-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
      }
      
      .buscador {
        padding: 1.5rem;
      }
    }

    @media screen and (max-width: 480px) {
      .info-metodos div {
        min-width: 100%;
      }
      
      .footer-columna {
        min-width: 100%;
      }
     
        .imagen-banner {
        height:125px;
      }
    }
