html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
select {
    text-transform: none;
}

button {
    border: 0;
}

textarea {
    resize: vertical;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--gutter-x, 1.5rem) * -0.5);
    margin-left: calc(var(--gutter-x, 1.5rem) * -0.5);
    margin-top: calc(var(--gutter-y, 0) * -1);
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--gutter-x, 1.5rem) * 0.5);
    padding-left: calc(var(--gutter-x, 1.5rem) * 0.5);
    margin-top: var(--gutter-y, 0);
}

.g-2 {
    --gutter-x: 0.5rem;
    --gutter-y: 0.5rem;
}

.g-3 {
    --gutter-x: 1rem;
    --gutter-y: 1rem;
}

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

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

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

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

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

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

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

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

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

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

.start-0 {
    left: 0 !important;
}

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

.h-100 {
    height: 100% !important;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.m-0 {
    margin: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

.p-4 {
    padding: 1.5rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

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

.pt-0 {
    padding-top: 0 !important;
}

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

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

.fw-bold {
    font-weight: 700 !important;
}

.small {
    font-size: 0.875rem !important;
}

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

.opacity-75 {
    opacity: 0.75 !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

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

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

.navbar-brand {
    display: inline-flex;
    align-items: center;
    font-size: 1.08rem;
}

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

.nav-fill > .nav-item {
    flex: 1 1 auto;
    text-align: center;
}

.nav-link {
    width: 100%;
    cursor: pointer;
    background: transparent;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

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

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
}

.card-header {
    margin-bottom: 0;
}

.card-body {
    flex: 1 1 auto;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    appearance: none;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.75rem 0.85rem;
    font-size: 1rem;
}

.form-control-sm {
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.35rem 0.55rem;
    font-size: 0.875rem;
}

.form-select {
    padding-right: 2.25rem;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.4rem;
}

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

.form-switch .form-check-input {
    width: 2.1rem;
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 38px;
    padding: 0.5rem 0.85rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-sm {
    min-height: 32px;
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
}

.btn-success {
    color: #fff;
    border-color: #16a34a;
    background-color: #16a34a;
}

.btn-outline-success {
    color: #15803d;
    border-color: #86efac;
    background-color: transparent;
}

.btn-outline-primary {
    color: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
    background-color: transparent;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    cursor: pointer;
    text-align: left;
}

.accordion-button::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(225deg);
}

.accordion-body {
    padding: 0 1rem 1rem;
}

@media (min-width: 576px) {
    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

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

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

@media (min-width: 992px) {
    .py-lg-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}
