:root {
  --webui-ui-primary: #feb900;
  --webui-ui-primary-soft: rgba(254, 185, 0, 0.14);
  --webui-ui-border: rgba(22, 32, 51, 0.12);
  --webui-ui-text: #364d59;
}

.webui-surface-card {
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.08);
  box-shadow: 0 12px 32px rgba(21, 31, 49, 0.05);
}

.webui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.webui-button--block {
  width: 100%;
}

.webui-input {
  width: 100%;
  background: #fff;
  color: #192338;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.webui-input::placeholder {
  color: gray;
  opacity: 0.3;
}

.webui-input:-webkit-autofill,
.webui-input:-webkit-autofill:hover,
.webui-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #192338;
  caret-color: #192338;
  font-family: inherit;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1000px #f5f5ef;
  transition: background-color 9999s ease-out 0s;
}

body.webui-body .webui-modal__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-family: "Open Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.btn-close:focus {
  box-shadow: none;
}

.form-check-input:checked {
  background-color: var(--webui-ui-primary);
  border-color: var(--webui-ui-primary);
}

.form-check-input:focus {
  border-color: var(--webui-ui-primary);
  box-shadow: 0 0 0 0.1rem var(--webui-ui-primary-soft);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(254, 185, 0, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(254, 185, 0, 0.12);
}

.modal-content {
  border: 0;
}

.btn-link {
  color: #855400;
  font-weight: 600;
  text-decoration: none;
}

.btn-link:hover {
  color: var(--webui-ui-primary);
}

.btn-link:focus {
  box-shadow: none;
}

.btn-outline-secondary {
  color: var(--webui-ui-text);
  border-color: var(--webui-ui-border);
}

.btn-outline-secondary:hover {
  color: #192338;
  background: #f8f7f5;
  border-color: rgba(22, 32, 51, 0.18);
}

.webui-button-reset {
  padding: 0;
  border: 0;
  background: transparent;
}
