/* Estilos para el buscador */
.legal-docs-search {
  max-width: 800px;
  margin: 2rem auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.search-button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #3b82f6;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-button:hover {
  background-color: #2563eb;
}

.search-button i {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 640px) {
  .legal-docs-search {
      margin: 1rem;
  }

  .search-input {
      font-size: 14px;
      padding: 10px 45px 10px 15px;
  }

  .search-button {
      width: 35px;
      height: 35px;
  }

  .search-button i {
      font-size: 14px;
  }
}

