:root {
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-color: #dee2e6;
    --bs-border-radius: 0.375rem;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

body {
    margin: 0;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

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

button,
[type="button"],
[type="submit"] {
    -webkit-appearance: button;
}

a {
    color: #0d6efd;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

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

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

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

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

.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

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

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

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

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

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

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

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }
}

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

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

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-body-bg);
    background-clip: border-box;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

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

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
    vertical-align: top;
    border-collapse: collapse;
}

.table > :not(caption) > * > * {
    padding: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.align-middle {
    vertical-align: middle !important;
}

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

.form-control,
.form-select {
    display: block;
    width: 100%;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: 0.375rem 0.75rem;
    color: var(--bs-body-color);
}

.form-select {
    appearance: none;
}

.form-control-lg,
.form-select-lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.form-text {
    margin-top: 0.25rem;
}

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);
    color: var(--bs-body-color);
    background-color: transparent;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.btn:disabled,
.btn.disabled {
    pointer-events: none;
    opacity: 0.65;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.btn-primary {
    border-color: #0d6efd;
    background-color: #0d6efd;
    color: #fff;
}

.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #0d6efd;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #6c757d;
    color: #fff;
}

.alert {
    position: relative;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);
}

.alert-warning {
    border-color: #ffecb5;
    background-color: #fff3cd;
    color: #664d03;
}

.alert-info {
    border-color: #b6effb;
    background-color: #cff4fc;
    color: #055160;
}

.alert-danger {
    border-color: #f5c2c7;
    background-color: #f8d7da;
    color: #842029;
}

.alert-success {
    border-color: #badbcc;
    background-color: #d1e7dd;
    color: #0f5132;
}

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

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

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

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

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

.justify-content-end {
    justify-content: flex-end !important;
}

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

.text-end {
    text-align: right !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

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

.small {
    font-size: 0.875em;
}

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

.h4 {
    font-size: calc(1.275rem + 0.3vw);
}

.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-3 {
    margin-top: 1rem !important;
}

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

.p-3 {
    padding: 1rem !important;
}

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

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

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

.px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

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

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

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

.ms-2 {
    margin-left: 0.5rem !important;
}

.fa-solid {
    width: 1.1em;
    min-width: 1.1em;
    display: inline-grid;
    place-items: center;
    font-style: normal;
    line-height: 1;
}

.fa-solid::before {
    content: "";
}

.fa-cash-register::before,
.fa-store::before {
    content: "$";
}

.fa-lock::before {
    content: "L";
}

.fa-unlock-keyhole::before {
    content: "O";
}

.fa-circle-check::before {
    content: "\2713";
}

.fa-circle-exclamation::before,
.fa-circle-info::before {
    content: "i";
}

.fa-receipt::before {
    content: "#";
}

.fa-file-pdf::before {
    content: "PDF";
    font-size: 0.65em;
}

.fa-print::before {
    content: "\2399";
}

.fa-bars::before {
    content: "\2630";
}

.fa-right-from-bracket::before,
.fa-right-to-bracket::before {
    content: "\2192";
}

.fa-arrow-left::before {
    content: "\2190";
}

.fa-user-tie::before,
.fa-circle-user::before {
    content: "\25CF";
}

.fa-piggy-bank::before,
.fa-hand-holding-heart::before,
.fa-credit-card::before,
.fa-vault::before,
.fa-building-lock::before,
.fa-clipboard-check::before,
.fa-right-left::before,
.fa-arrow-right-arrow-left::before,
.fa-user-slash::before,
.fa-user-graduate::before,
.fa-percent::before,
.fa-chart-pie::before,
.fa-chart-column::before,
.fa-users-viewfinder::before,
.fa-file-invoice-dollar::before,
.fa-chart-line::before {
    content: "\25A0";
}

.flex-wrap { flex-wrap: wrap !important; }
