.pvf-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
  border: px solid #e0722d;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  align-items: end;
}

.pvf-field {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 6px;
  position: relative;
}

.pvf-field label {
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
  display: block;
  font-size: 0.9rem;
}

.pvf-field select {
  padding: 12px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  appearance: none;
}

.pvf-button {
  align-self: end;
  background: #f5f5f5;
  padding: 12px;
  border-radius: 6px;
}

.pvf-button button {
  background-color: #e0722d;
  color: white;
  padding: 12px 20px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.pvf-button button:hover {
  background-color: #c65712;
}

.pvf-select-wrapper {
  position: relative;
}

.pvf-spinner {
  display: none;
  width: 100%;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  position: absolute;
  bottom: -10px;
  left: 0;
  overflow: hidden;
}

.pvf-spinner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #e0722d;
  animation: pvfslide-once 8s ease forwards;
}

.pvf-loading .pvf-spinner {
  display: block;
}

.pvf-spinner.reset::after {
  animation: none !important;
}

@keyframes pvfslide-once {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes pvfspin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pvf-btn-loading {
  position: relative;
  pointer-events: none;
  background-color: #c65712 !important;
}

.pvf-spinner-btn {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-top: 2px solid #e0722d;
  border-radius: 50%;
  animation: pvfspin 0.6s linear infinite;
}
