/* general styles */

.fx-exchange input, select {
  padding: 12px !important;
  line-height: 22px !important;
  caret-color: #009ada !important;
  display: block !important;
  width: 100% !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  margin: 0 !important;
  transition: none !important;
}

.fx-exchange input:focus, select:focus {
  outline: none !important;
  border-color: #15bef0 !important;
  border-width: 2px !important;
  padding: 11px !important;
  box-shadow: none !important;
}

.fx-exchange label {
  color: #6b8199 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
} 

.fx-exchange .error-text {
  font-size: 12px;
  line-height: 1.2;
  color: #e53935;
}

.fx-exchange button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 4px;

  font-size: 14px;
  text-align: center;
  font-weight: 600;
  font-family: Open Sans, sans-serif;
  cursor: pointer;

  transition: all ease 0.2s;
}

.fx-exchange button.primary {
  color: white;
  background: #009ada;
  border: 1px solid #009ada;
}

.fx-exchange button.primary:hover:not(:disabled),
.fx-exchange button.primary:focus:not(:disabled) {
  background: #15bef0;
  border: 1px solid #15bef0;
}

.fx-exchange button.primary:disabled {
  background-color: #009ada;
  border: 1px solid #009ada;
  opacity: 0.5;
  cursor: not-allowed;
}

/* page-specific styles */

.calculator {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  flex-direction: column;
}

.rate-info {
  margin-top: 32px;
  margin-bottom: 32px;
}

.rate-value {
  color: #012842;
  font-weight: 600;
  font-size: 18px;

  margin-top: 4px;
  margin-bottom: 4px;
}

.update-date {
  font-size: 12px;
  color: #6b8199;
}

.hidden {
  display: none;
}

.button-container {
  flex: 0 0 auto;
  height: 48px;
}

.button-container button {
  height: 100%;
}
