*,
*::before,
*::after {
  box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col {
  flex: 1 0 0%;
  min-width: 0;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-flex {
  display: flex !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.w-100 {
  width: 100% !important;
}

.overflow-auto {
  overflow: auto !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.text-center {
  text-align: center !important;
}

.text-break {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

.text-primary {
  color: var(--accent-color) !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ms-0,
.mx-0 {
  margin-left: 0 !important;
}

.ms-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.ms-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.ms-3,
.mx-3 {
  margin-left: 1rem !important;
}

.ms-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.ms-5,
.mx-5 {
  margin-left: 3rem !important;
}

.me-0,
.mx-0 {
  margin-right: 0 !important;
}

.me-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.me-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.me-3,
.mx-3 {
  margin-right: 1rem !important;
}

.me-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.me-5,
.mx-5 {
  margin-right: 3rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.btn-sm {
  border-radius: 5px;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-outline-secondary,
.btn-default {
  border-color: var(--border-color);
  color: var(--main-text-color);
}

.btn-outline-dark {
  border-color: var(--main-text-color);
  color: var(--main-text-color);
}

.btn-outline-success {
  border-color: var(--success-color);
  color: var(--success-color);
}

.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table-condensed th,
.table-condensed td {
  padding: 0.25rem;
}

.alert {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.alert-secondary {
  background: var(--secondary-background-color, transparent);
  color: var(--main-text-color);
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: redpay-spinner 0.75s linear infinite;
}

@keyframes redpay-spinner {
  to {
    transform: rotate(360deg);
  }
}

.tooltip {
  position: absolute;
  z-index: 1080;
  display: block;
  max-width: 360px;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(21, 28, 42, 0.96);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.tooltip.show {
  opacity: 1;
}
