

.tas-results {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    padding: 1rem;
}
.tas-results:empty {
  display: none;
}
.tas-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
}
.tas-card-cover {
  width: 100px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tas-card-title {
    line-height: 1.5rem;
    max-width: 280px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3rem;
    overflow: hidden;
}

.tas-input-container .tas-search-button {
  border-radius: 0 100px 100px 0;
}

.tas-input-container {
  display: flex;
  padding: 1rem;
  background-color: #4299E126;
}
.tas-input-container .tas-search-button, .tas-input-container .tas-search-button:hover {
  border-radius: 0 100px 100px 0;
}
.tas-input-container .tas-search-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
}
.tas-input-container input[type=search] {
  border-radius: 100px 0 0 100px;
  border: none !important;
}
.tag-tas {
    display: inline-block;
    background-color: #003676;
    font-size: 12px;
    padding: 0px 1rem;
    border-radius: 50px;
    color: #ffff;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    font-weight: 700;
    opacity: 0.7;
}
.tas-result-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

/* Spinner contenedor: se muestra/oculta por aria-hidden */
/* Contenedor del loader: centrado horizontalmente */
.tas-loader {
  display: none;
  justify-content: center; /* centrado */
  align-items: center;
  width: 100%;
  padding: 1rem 0;
}

.tas-loader[aria-hidden="false"] {
  display: flex;
}

/* Spinner circular grande */
.tas-spinner {
  width: 40px;   /* más grande */
  height: 40px;
  border: 4px solid #003676;      /* color corporativo */
  border-top-color: transparent;  /* hace el hueco para el giro */
  border-radius: 50%;
  animation: tas-spin 0.8s linear infinite;
}

/* Animación de giro */
@keyframes tas-spin {
  to { transform: rotate(360deg); }
}

/* Texto solo para accesibilidad (no visible) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tas-results h3.tas-section-title {
  margin: 0;
  font-size: 22px;
}