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

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

body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

hr {
    border: 0;
    border-top: 1px solid var(--hc-line, rgba(15, 23, 42, .12));
    margin: 1rem 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

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

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

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

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

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

.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-12 { flex: 0 0 auto; width: 100%; }

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

@media (min-width: 768px) {
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
}

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

@media (min-width: 1200px) {
    .col-xl-3 { flex: 0 0 auto; width: 25%; }
    .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
    .col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
}

.d-block { display: block !important; }
.d-grid { display: grid !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.d-lg-none { display: block !important; }

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
}

.vstack {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }

.position-relative { position: relative !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.h-100 { height: 100% !important; }

.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pt-2 { padding-top: .5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

.text-muted { color: var(--hc-muted, #667085) !important; }
.text-white { color: #fff !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.small,
small { font-size: .875em; }

.h3,
h3 { font-size: 1.75rem; }
.h4,
h4 { font-size: 1.35rem; }
.h6,
h6 { font-size: 1rem; }

.border-bottom { border-bottom: 1px solid var(--hc-line, rgba(15, 23, 42, .12)) !important; }
.border-top { border-top: 1px solid var(--hc-line, rgba(15, 23, 42, .12)) !important; }
.shadow-sm { box-shadow: 0 .125rem .35rem rgba(15, 23, 42, .08) !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-height: 42px;
    padding: .55rem .9rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--hc-ink, #17202a);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hc-primary, #00a7a7), var(--hc-secondary, #3157d7));
    border-color: transparent;
}

.btn-success {
    color: #fff;
    background: #0f8a67;
    border-color: #0f8a67;
}

.btn-outline-primary {
    color: var(--hc-secondary, #3157d7);
    background: rgba(49, 87, 215, .08);
    border-color: rgba(49, 87, 215, .34);
}

.btn-outline-secondary {
    color: var(--hc-ink, #17202a);
    background: rgba(102, 112, 133, .08);
    border-color: rgba(102, 112, 133, .35);
}

.btn-outline-danger {
    color: var(--hc-danger, #d73562);
    background: rgba(215, 53, 98, .08);
    border-color: rgba(215, 53, 98, .42);
}

.btn-link {
    min-height: auto;
    color: var(--hc-secondary, #3157d7);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.btn-sm {
    min-height: 34px;
    padding: .35rem .55rem;
    font-size: .875rem;
}

.btn-lg {
    min-height: 50px;
    padding: .75rem 1.1rem;
    font-size: 1.05rem;
}

.btn-group {
    display: inline-flex;
    vertical-align: middle;
}

.btn-group > .btn {
    border-radius: 0;
}

.btn-group > .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.btn-group > .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.btn-close::before {
    content: "x";
    font-weight: 800;
}

.form-label {
    display: inline-block;
    margin-bottom: .35rem;
    color: var(--hc-ink, #17202a);
    font-weight: 700;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: .58rem .72rem;
    border: 1px solid var(--hc-line, rgba(15, 23, 42, .12));
    border-radius: 8px;
    background: var(--hc-surface-strong, #fff);
    color: var(--hc-ink, #17202a);
    line-height: 1.4;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

textarea.form-control {
    min-height: 86px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    outline: 0;
    border-color: var(--hc-primary, #00a7a7);
    box-shadow: 0 0 0 .2rem rgba(0, 167, 167, .16);
}

.form-control[readonly] {
    opacity: .78;
}

.form-check {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--hc-primary, #00a7a7);
}

.form-switch .form-check-input {
    width: 2.3rem;
    height: 1.25rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    color: var(--hc-ink, #17202a);
}

.table th,
.table td {
    padding: .75rem;
    border-bottom: 1px solid var(--hc-line, rgba(15, 23, 42, .12));
}

.table thead th {
    color: var(--hc-muted, #667085);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--hc-line, rgba(15, 23, 42, .12));
}

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

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .32rem .52rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.text-bg-warning { color: #5f3b00 !important; background: #ffd77a !important; }
.text-bg-info { color: #053843 !important; background: #9ae9ef !important; }
.text-bg-primary { color: #fff !important; background: #3157d7 !important; }
.text-bg-success { color: #fff !important; background: #0f8a67 !important; }
.text-bg-secondary { color: #fff !important; background: #64748b !important; }
.text-bg-dark { color: #fff !important; background: #102033 !important; }
.text-bg-danger { color: #fff !important; background: #d73562 !important; }
.text-bg-light { color: #102033 !important; background: #eff6fb !important; }

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

.alert .btn-close {
    position: absolute;
    top: .45rem;
    right: .55rem;
}

.alert-success {
    color: #07543f;
    background: #dbf7ee;
    border-color: #9de5d1;
}

.alert-danger {
    color: #801a3a;
    background: #fde0e8;
    border-color: #f5afc3;
}

.alert-warning {
    color: #654300;
    background: #fff2c7;
    border-color: #ffe09a;
}

.list-group {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.list-group-item {
    display: block;
    padding: .7rem .85rem;
    color: var(--hc-ink, #17202a);
    background: var(--hc-surface-strong, #fff);
    border: 1px solid var(--hc-line, rgba(15, 23, 42, .12));
}

.list-group-item + .list-group-item {
    border-top: 0;
}

.list-group-item-action:hover {
    background: rgba(15, 159, 143, .08);
}
