/*
 * Copyright (c) 2022, 2023 Eclipse Foundation, Inc.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 *   Olivier Goulet <olivier.goulet@eclipse-foundation.org>
 *
 * SPDX-License-Identifier: EPL-2.0
*/
.sponsor-page .grey-link {
  color: #9d9fa1;
  font-weight: 400;
  text-decoration: underline;
}
.sponsor-page .grey-link:active,
.sponsor-page .grey-link:hover {
  text-decoration: none;
}
.sponsor-form {
  border-radius: 1rem;
  background-color: #eee;
}
.sponsor-form .btn {
  padding: 1em;
  border-radius: 0.5rem;
  color: black;
  font-size: 1.8rem;
  font-weight: 500;
}
.sponsor-form .btn.disabled {
  pointer-events: none;
}
.sponsor-form .btn-wide {
  width: 100%;
}
.sponsor-form .btn-neutral {
  background-color: #fff;
  border: 1px solid #ddd;
}
.sponsor-form .btn-neutral:hover,
.sponsor-form .btn-neutral:active,
.sponsor-form .btn-neutral.active {
  background-color: #f7941e;
  border-color: #f77e1e;
  /* Use darkened @brand-primary */
}
.sponsor-form .btn-dark {
  color: white;
  background-color: black;
}
.sponsor-form .form-control.sponsor-form-custom-amount-input-wrapper {
  display: flex;
  align-items: stretch;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  padding: 0;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  font-weight: 500;
}
.sponsor-form input[name="amount"] {
  width: 100%;
  padding: 1rem;
  margin-left: calc(3rem + 1.8em);
  border: none;
  background: transparent;
  outline: none;
}
.sponsor-form .sponsor-form-custom-amount-input-wrapper select {
  padding: 1rem;
  border: none;
  background-color: transparent;
}
.sponsor-form .sponsor-form-custom-amount-container {
  position: relative;
}
.sponsor-form .btn:focus:not(:focus-visible),
.sponsor-form .sponsor-form-currency-select:focus:not(:focus-visible) {
  outline: none;
}
.sponsor-form .sponsor-form-currency,
.sponsor-form .fa {
  pointer-events: none;
}
.sponsor-form .sponsor-form-custom-amount-input-wrapper .sponsor-form-currency {
  position: absolute;
  top: calc(50% - 1.5rem);
  left: calc(2 * 1.5rem);
  font-size: 3rem;
  font-weight: 700;
}
.panel-title {
  font-size: 1.6rem;
}

