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

body {
  margin: 0;
  text-size-adjust: 100%;
}

a {
  color: inherit;
}

img,
svg {
  vertical-align: middle;
}

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

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

.container {
  width: min(100% - 24px, 1140px);
  margin-right: auto;
  margin-left: auto;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bg-body-tertiary {
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-sm {
  min-height: 32px;
  padding: 0.32rem 0.65rem;
  border-radius: 7px;
  font-size: 0.875rem;
}

.btn-success {
  border-color: #20ae84;
  background: #20ae84;
  color: #fff;
}

.btn-outline-success {
  border-color: #20ae84;
  color: #187f63;
}

.btn-outline-success:hover,
.btn-success:hover {
  border-color: #188b6a;
  background: #188b6a;
  color: #fff;
}

.btn-outline-dark {
  border-color: #d7dce2;
  color: #1f2430;
}

.btn-outline-secondary {
  border-color: #cbd3dc;
  color: #4c5663;
}

.btn-outline-danger {
  border-color: #d9534f;
  color: #b3312d;
}

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

.w-100 {
  width: 100%;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: 1rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.align-text-top {
  vertical-align: text-top;
}

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

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

.gap-2 {
  gap: 0.5rem;
}

.text-muted {
  color: #6f7782;
}

.fw-semibold {
  font-weight: 700;
}

.border-0 {
  border: 0 !important;
}

.bg-light {
  background: #f4f6f8 !important;
}

.card {
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  background: #fff;
}

.card-body {
  padding: 1rem;
}

.card-subtitle {
  margin: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.row > * {
  width: 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-3 {
  row-gap: 1rem;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

.form-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.form-control,
.form-select {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background: #fff;
  color: #1f2430;
  line-height: 1.4;
}

.form-control:focus,
.form-select:focus {
  border-color: #20ae84;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(32, 174, 132, 0.16);
}

.form-text {
  margin-top: 0.25rem;
  color: #6f7782;
  font-size: 0.85rem;
}

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

.input-group > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border: 1px solid #d7dce2;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f4f6f8;
  color: #4c5663;
}

.alert {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.alert-success {
  border-color: #bfe8d9;
  background: #e9f8f3;
  color: #126b53;
}

.alert-warning {
  border-color: #ffe1a6;
  background: #fff7df;
  color: #7a5310;
}

.alert-danger {
  border-color: #f0b8b6;
  background: #fff0ef;
  color: #8f2724;
}

.alert-info {
  border-color: #b8d7ee;
  background: #eef8ff;
  color: #24587d;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  display: none;
  min-width: 12rem;
  margin: 0.35rem 0 0;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.dropdown-menu.show {
  display: block;
}

.collapse:not(.show) {
  display: none;
}
