@charset "UTF-8";
/* BARRA DE BÚSQUEDA MODERNA */
.search-container {
  width: 100%;
  max-width: 720px;
  margin: 24px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.search-form:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.search-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #64748b;
}

.search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 14px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #111827;
  font-size: 16px;
  font-family: inherit;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-button:hover {
  background: #1d4ed8;
}

.search-button:active {
  transform: scale(0.97);
}

.search-button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

/* ADAPTACIÓN A MÓVILES */
@media (max-width: 480px) {
  .search-container {
    padding: 0 12px;
  }
  .search-form {
    gap: 8px;
    padding-left: 14px;
  }
  .search-input {
    font-size: 14px;
  }
  .search-button {
    padding: 12px 16px;
    font-size: 14px;
  }
}
