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

body {
  margin: 0;
}

a {
  color: #0b65a3;
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  text-transform: none;
}

textarea {
  resize: vertical;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

.row > * {
  padding-left: 8px;
  padding-right: 8px;
  width: 100%;
}

.g-3 {
  row-gap: 16px;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.666667%; }
}

@media (min-width: 992px) {
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
  padding: 7px 12px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

.btn-sm {
  font-size: 12px;
  padding: 4px 8px;
}

.btn-danger {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}

.btn-danger:hover {
  background: #941b13;
  color: #fff;
}

.btn-outline-danger {
  background: transparent;
  border-color: #b42318;
  color: #b42318;
}

.btn-outline-danger:hover {
  background: #b42318;
  color: #fff;
}

.btn-outline-secondary {
  background: transparent;
  border-color: #9aa3ad;
  color: #39424e;
}

.btn-outline-secondary:hover {
  background: #eef1f5;
  color: #20242a;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .85);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.form-control,
.form-select {
  background: #fff;
  border: 1px solid #c8d0da;
  border-radius: 6px;
  color: #20242a;
  display: block;
  min-height: 38px;
  padding: 7px 10px;
  width: 100%;
}

.form-control-sm {
  min-height: 31px;
  padding: 4px 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: #8aa9c6;
  outline: 2px solid rgba(11, 101, 163, .15);
}

.form-label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-check {
  align-items: center;
  display: flex;
  gap: 6px;
  margin: 0;
}

.form-check-input {
  margin: 0;
}

.table {
  border-collapse: collapse;
  margin-bottom: 16px;
  width: 100%;
}

.table th,
.table td {
  border-bottom: 1px solid #d9dee6;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.table-sm th,
.table-sm td {
  padding: 6px 8px;
}

.table-hover tbody tr:hover {
  background: #f5f7fa;
}

.align-middle,
.align-items-center {
  align-items: center;
  vertical-align: middle;
}

.alert {
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.alert-danger {
  background: #fff1ef;
  border-color: #f4b6af;
  color: #941b13;
}

.alert-info {
  background: #edf7ff;
  border-color: #b9dfff;
  color: #164b75;
}

.alert-warning {
  background: #fff7df;
  border-color: #f0d58b;
  color: #6f5200;
}

.badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  vertical-align: baseline;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

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

.d-flex {
  display: flex;
}

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

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

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.py-2 { padding-bottom: 8px; padding-top: 8px; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.small { font-size: 12px; }
.text-end { text-align: right; }
.border-top { border-top: 1px solid #d9dee6; }
