/* =========================================================================
   Component: Buttons
   Covers: .homebutton (hero CTAs), .buttonSelect (filter pills),
   .evox-btn-download (green/blue pill CTAs on device page)
   Usage: <button class="evox-btn-outline">Browse Devices</button>
   ========================================================================= */

/* Hero CTA — outlined pill with a soft blue glow (was .homebutton) */
.evox-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--evox-primary);
  border-radius: var(--evox-radius-pill);
  color: var(--evox-text);
  background-color: transparent;
  box-shadow: var(--evox-shadow-button);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.evox-btn-outline:hover,
.evox-btn-outline:focus-visible {
  background-color: var(--evox-primary-hover);
  color: var(--evox-text);
  box-shadow: var(--evox-shadow-button-hover);
}
.evox-btn-outline:active {
  transform: scale(0.95);
}
@media (min-width: 992px) {
  .evox-btn-outline {
    font-size: 1.125rem;
  }
}

/* Filter / branch-select pill (was .buttonSelect) */
.evox-btn-filter {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--evox-primary);
  border-radius: var(--evox-radius-pill);
  color: var(--evox-text);
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background-color 0.1s linear, box-shadow 0.1s linear;
}
.evox-btn-filter:hover,
.evox-btn-filter:focus-visible {
  background-color: var(--evox-primary);
  color: var(--evox-text);
  box-shadow: var(--evox-shadow-button);
}
.evox-btn-filter.is-active {
  background-color: var(--evox-primary);
  color: var(--evox-text);
}

/* Solid pill CTA (Download ROM / Download GApps / homepage Download) */
.evox-btn-pill {
  display: inline-flex;
  height: 4rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--evox-radius-pill);
  font-size: 1.5rem;
  color: var(--evox-text);
  background-color: var(--evox-primary);
  transition: background-color 0.15s ease;
}
.evox-btn-pill:hover,
.evox-btn-pill:focus-visible {
  background-color: var(--evox-primary-hover);
  color: var(--evox-text);
}
.evox-btn-pill.evox-btn-pill-green {
  background-color: var(--evox-green);
}
.evox-btn-pill.evox-btn-pill-green:hover {
  background-color: var(--evox-green-hover);
}
.evox-btn-pill img,
.evox-btn-pill svg {
  height: 1rem;
  width: auto;
}

/* Gradient search input (device / feature search bars) */
.evox-search-input {
  width: 100%;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--evox-radius-pill);
  background: linear-gradient(90deg, var(--evox-gradient-from), var(--evox-gradient-to));
  color: rgba(0, 0, 0, 0.75);
}
.evox-search-input::placeholder {
  color: rgba(0, 0, 0, 0.75);
}
.evox-search-input:focus {
  outline: none;
  box-shadow: none;
}
