:root {
  --border-radius: 0;
  --border-radius-sm: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  border-radius: var(--border-radius);
  font-weight: 700;
  border-width: 2px;
  padding: 8px 12px;
}

.btn-sm {
  line-height: 1.35em;
}

.btn-xl {
  font-size: 1.75rem;
  padding: 1.1em 2.75em;
}

.btn-icon-only {
  font-size: 2.5rem;
  background-color: transparent;
  border: none;
  line-height: 1em;
  color: var(--bs-primary);
  padding: .125em;
}

.btn-icon-only:hover {
  color: var(--bs-primary-shade);
}

.form-control {
  padding: 9px 12px;
  height: 40px;
  border-color: var(--bs-dark);
  border-radius: var(--border-radius) !important;
}

.form-control--small {
  padding: 2px 6px;
  font-size: 13px;
  height: auto;
  border-radius: var(--border-radius-sm) !important;
}

.selectize-input {
  border-color: var(--bs-dark) !important;
  padding: 9px 12px !important;
  height: auto !important;
  border-radius: var(--border-radius) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.form-control:focus {
  border-color: var(--bs-primary);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(var(--bs-primary-rgb), .6);
}

select {
  padding-right: 2.5em !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='12,18 0,6 24,6' fill='%23363330'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 10px !important;
  background-position: right 15px center !important;
}

select.form-control--small {
  padding-right: 1.75em !important;
  background-position: right 6px center !important;
}

td select.form-control--small {
  margin-top: -4px;
  margin-bottom: -4px;
  width: auto;
}

select::-ms-expand {
  display: none;
}

.panel {
  --shadow-width: 10px;

  border: none !important;
  box-shadow: none !important;
}

.panel-heading {
  padding: 0;
  background: transparent !important;
  border: none !important;
}

.panel-body {
  position: relative;
	padding: 40px 60px 40px 40px;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, .2);
  border-bottom-left-radius: var(--border-radius) !important;
  border-bottom-right-radius: var(--border-radius) !important;
}

.panel-body::before {
	content: '';
	z-index: 0;
  display: block !important;
	position: absolute;
  pointer-events: none;
	inset: 0;
  border-bottom-left-radius: var(--border-radius) !important;
  border-bottom-right-radius: var(--border-radius) !important;
  border-image: linear-gradient(115deg, rgba(255, 255, 0, 0) 20%, rgba(255, 255, 255, .95) 100%);
  border-width: var(--shadow-width);
  border-style: solid;
  border-image-slice: 1;
}

.nav-tabs {
  border-bottom: 4px solid var(--bs-gray-300) !important;
  margin-bottom: 0;
  padding: 0;
  position: relative;
}

.nav-tabs::before {
  content: '';
  display: block;
  position: absolute;
  inset: auto auto -4px 0;
  height: 4px;
  width: 6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-tabs>li {
  margin-bottom: 0 !important;
}

.nav-tabs>li>a {
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  border: none !important;
  color: var(--bs-dark);
  font-weight: 700;
  font-size: 18px;
  padding: 1em 1.5em .75em;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.nav-tabs>li.active>a, .nav-tabs>li>a:focus {
  background-color: var(--bs-gray-300) !important;
  color: var(--bs-black) !important;
}

.nav-tabs>li>a:hover {
  background-color: var(--bs-gray-200) !important;
}

.nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
  background-color: var(--bs-gray-300) !important;
  color: var(--bs-black) !important;
}

.nav-tabs>li>a::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0 0 -10px 0;
  border-radius: var(--border-radius);;
  background-color: transparent;
  box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.35);
}

a {
  color: var(--bs-primary);
}

a:focus, a:hover {
  color: var(--bs-primary);
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.input-group > *:first-child:not(.input-group-addon) {
  flex: 1;
}

.selectize-input {
  padding-right: 2.5em;
  display: flex !important;
  align-items: center;
}

.input-group .input-group-btn {
  width: auto;
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
}

.input-group *:first-child .form-control {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group *:last-child .form-control {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: none !important;
}

.input-group-btn .btn {
  border-width: 1px !important;
}

.input-group-addon {
  width: auto;
  line-height: 1.5;
  border-color: var(--bs-dark);
  border-bottom-left-radius: var(--border-radius);
  border-top-left-radius: var(--border-radius);
}

.form-group .table:last-child {
  margin-bottom: 0;
}

.modal-content {
  border-radius: var(--border-radius) !important;
}

.modal-header {
  padding: 20px 40px;
  border-top-left-radius: var(--border-radius) !important;
  border-top-right-radius: var(--border-radius) !important;
}

.modal-body {
  padding: 20px 40px;
}

.modal-footer {
  padding: 20px 40px;
  display: flex;
  justify-content: flex-end;
  column-gap: 1rem;
}

.modal-footer::before {
  content: none
}

.modal-footer::after {
  content: none
}


.modal-header .close {
  font-size: 30px;
  font-weight: 200;
  opacity: 1;
}

.modal-header--large .close {
  font-size: 39px;
  margin-top: 1rem;
  font-weight: 200;
  opacity: 1;
}

.close {
  color: inherit;
  text-shadow: none;
  opacity: .5;
}

.alert {
  border-radius: 0 !important;
  padding: 1em 1.5em;
}

.alert-sm {
  padding: .5em .5em;
  font-size: 13px;
}

.alert-inline {
  display: inline-block;
}


.alert {
  background-color: transparent !important;
  border: 1px solid currentColor !important;
}

.alert-danger {
  color: var(--bs-danger);
}

.alert-warning {
  color: var(--bs-warning);
}

.alert-info {
  color: var(--bs-info);
}

.alert-success {
  color: var(--bs-success);
}
