/* These Bootstrap 5 and Bootstrap-inspired Custom Helper Classes are handy for quick styling and layout adjustments. They are not a complete Bootstrap implementation but provide a good starting point for common use cases (based on Bootstrap 5).*/

/* ==================== */
/* Bootstrap 5 Classes  */
/* ==================== */

/* Padding */
.p-3 {
  padding: 16px;
}

.px-2 {
  padding-left: 8px;
  padding-right: 8px;
}

.px-3 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-3 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.ps-2 {
  padding-left: 8px;
}

.ps-4 {
  padding-left: 24px;
}

/* Margin */
.mt-3 {
  margin-top: 16px;
}

.ms-auto {
  margin-left: auto;
}

.ms-4 {
  margin-left: 24px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

/* Display */
.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

/* Flexbox */
.flex-column {
  flex-direction: column;
}

.gap-3 {
  gap: 16px;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

/* Text */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-decoration-underline {
  text-decoration: underline;
}

.text-nowrap {
  white-space: nowrap;
}

.text-white {
  color: var(--white);
}

.fs-sm {
  font-size: 14px;
}

.fs-xs {
  font-size: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  white-space: nowrap;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 8px 20px;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  transition: color .15s, background-color .15s;
  border: none;
}

.btn:hover,
.btn:focus-visible,
.btn:visited {
  color: var(--white);
  text-decoration: none;
}

.btn-sm {
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  color: var(--white);
  background-color: var(--blue);
}

.btn-primary {
  color: var(--white);
  background-color: var(--red);
}

/* Border */
.border-0 {
  border: none;
}

/* ==================== */
/* Custom Helper Classes */
/* ==================== */

/* Spacing (non-standard values) */
.ms-20px {
  margin-left: 20px;
}

.pt-12 {
  padding-top: 12px;
}

/* Text (custom) */
.text-module-red {
  color: var(--module-red);
}

.fs-15 {
  font-size: 15px;
}

/* Buttons (custom) */
.primary-btn {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 20px;
  color: var(--white);
  background-color: var(--blue);
  cursor: pointer;
}

.primary-btn:hover,
.primary-btn:focus-visible,
.primary-btn:visited {
  color: var(--white);
  text-decoration: none;
}

.btn-red {
  background-color: var(--red);
}

.btn-center {
  align-self: center;
}

/* Border (custom) */
.border-red {
  border: 1px solid var(--red);
}

.rounded-bottom-2 {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* Background (custom colors) */
.bg-gray {
  background-color: #e6e6e6;
}

.bg-blue {
  background-color: var(--blue);
}

.bg-module-primary-subtle {
  background-color: var(--module-light-red);
}

.bg-module-blue {
  background-color: var(--module-blue);
}

.bg-module-blue-subtle {
  background-color: var(--module-light-blue);
}

/* List Styles */
.list-style-disc {
  list-style-type: disc;
}

/* Layout */
.two-col {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.two-col ul {
  flex: 1;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}