/* estilos.css */
body {
      background-color: #f8f9fa;
    }

    .sidebar {
      background-color: #f0f0f0;
      min-height: 100vh;
      width: 260px;
      border-right: 1px solid #ccc;
    }

    .sidebar .nav-link {
      color: #000;
    }

    .sidebar .nav-link.active,
    .submenu .nav-link.active {
      background-color: #00AEEF;
      color: white !important;
      border-radius: 5px;
    }

    .submenu .nav-link {
      font-size: 0.9rem;
      padding-left: 50px;
      color: #555;
    }

    .submenu-group-title {
      padding-left: 35px;
      font-size: 0.95rem;
      font-weight: 500;
      color: #333;
      margin-top: 8px;
      cursor: pointer;
    }

    .header {
      background-color: #d9d9d9;
      padding: 20px;
      text-align: center;
      font-weight: bold;
      color: #0070c0;
      font-size: 22px;
    }
    
    .header-cabecera{
      background-color: #d9d9d9;
    }

    .table-actions a {
      text-decoration: none;
      margin-right: 10px;
      color: #004080;
      font-weight: bold;
    }

    .btn-blue {
      background: linear-gradient(to bottom, #5caeff, #0070c0);
      border: none;
      color: white;
      font-weight: bold;
      border-radius: 5px;
      padding: 8px 20px;
    }

    .btn-blue:hover {
      background: linear-gradient(to bottom, #0070c0, #005fa3);
    }

    .logo {
      width: 120px;
      margin: 20px auto;
      display: block;
    }
    
    .title-view{
        text-align: center;
        margin-bottom: 35px;
    }
    
    
    .autocomplete-container {
      position: relative; /* NECESARIO para que el menú se posicione correctamente */
      width: 300px;
    }

    .busquedaInput {
      width: 100%;
      padding: 8px;
      box-sizing: border-box;
      border-radius: 4px;
      border: 1px solid #ccc;
    }

    .sugerenciasCaja {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      border-top: none;
      background: white;
      max-height: 150px; /* Esto limita a ~5 ítems de alto */
      overflow-y: auto;  /* Aquí se activa la barra */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 1000;
    }

    .sugerencia {
      padding: 8px 10px;
      cursor: pointer;
      border-bottom: 1px solid #eee;
    }

    .sugerencia:hover {
      background-color: #f0f0f0;
    }

    .sugerencia:last-child {
      border-bottom: none;
    }

    .contenedorAutoComplete {
        margin-bottom: 10px;
    }
    
    .body-tab {
      width: 100%;
      max-width: 100%;
      padding: 20px;
      box-sizing: border-box;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center; /* Centrar horizontalmente si quieres */
    }

    .tabs {
      width: 100%;
      max-width: 900px; /* Opcional: limita el ancho máximo */
      border-radius: 12px 12px 0 0;
      backdrop-filter: blur(10px);
      background: rgba(255 255 255 / 0.15);
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      user-select: none;
      cursor: pointer;
      display: flex;
      margin-bottom: 0;
    }
    
    /* Los tab-content también ocupan todo el ancho */
    .tab-content {
      width: 100%;
      max-width: 900px; /* Coincide con tabs */
      background: rgba(255 255 255 / 0.15);
      backdrop-filter: blur(15px);
      border-radius: 0 0 12px 12px;
      padding: 20px;
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      border: 1px solid rgba(255 255 255 / 0.25);
      user-select: text;
    }

    .tab {
      flex: 1;
      padding: 14px 20px;
      text-align: center;
      color: rgba(112, 112, 112, 0.7);
      border-bottom: 3px solid transparent;
      transition: all 0.3s ease;
      font-weight: 600;
      border-radius: 12px 12px 0 0;
    }

    .tab:hover:not(.active) {
      color: rgba(112, 112, 112, 0.9);
      background: rgba(255 255 255 / 0.1);
    }

    .tab.active {
      background: rgba(0, 140, 255, 0.25);
      border-bottom: 3px solid #5ec8ff;
      backdrop-filter: blur(15px);
      box-shadow: 0 4px 15px rgba(94, 200, 255, 0.6);
      text-shadow: 0 0 6px #5ec8ff;
      color: #000;
    }
    .tab-content:not(.active) {
      display: none;
    }