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

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

a {
    color: var(--brand-primary, #0267bc);
}

a:hover {
    color: #014e8f;
}

.h4,
.h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.h4 {
    font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
}

.h5 {
    font-size: 1.25rem;
}

.display-5 {
    font-size: clamp(2.15rem, 1.7rem + 1.7vw, 3.4rem);
    line-height: 1.08;
    font-weight: 900;
}

.display-6 {
    font-size: clamp(1.95rem, 1.55rem + 1.2vw, 2.75rem);
    line-height: 1.1;
    font-weight: 900;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
}

.small,
small {
    font-size: 0.875em;
}

.text-muted {
    color: rgba(15, 23, 42, 0.68) !important;
}

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

.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.9rem !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 1.125rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.nav-toggle:focus-visible {
    outline: 3px solid rgba(83, 214, 247, 0.52);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--brand-primary, #0267bc);
    color: #ffffff;
}

.btn-outline-primary {
    border-color: rgba(2, 103, 188, 0.22);
    color: var(--brand-primary, #0267bc);
    background: transparent;
}

.btn-outline-primary:hover {
    color: #014e8f;
    background: rgba(2, 103, 188, 0.08);
}

.btn-outline-secondary {
    border-color: rgba(15, 23, 42, 0.18);
    color: #0f172a;
    background: transparent;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    font-size: 0.92rem;
}

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

.btn:disabled,
.btn.disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
}

.text-bg-light {
    color: rgba(15, 23, 42, 0.82) !important;
    background: rgba(255, 255, 255, 0.74) !important;
    border: 1px solid rgba(2, 103, 188, 0.14);
}

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

.nav-link {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: none;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 1rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(2, 103, 188, 0.12);
}

.list-group-flush > .list-group-item:last-child {
    border-bottom: 0;
}

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

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

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

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

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

.form-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.84);
}

.form-text {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: rgba(15, 23, 42, 0.64);
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 1rem;
    background: #ffffff;
    color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.form-control::placeholder {
    color: rgba(15, 23, 42, 0.45);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(2, 103, 188, 0.42);
    box-shadow: 0 0 0 0.25rem rgba(2, 103, 188, 0.12);
    outline: 0;
}

textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230b1f36' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.22rem rgba(220, 53, 69, 0.12);
}

.invalid-feedback {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.875rem;
    color: #b42318;
}

.form-check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    min-height: 1.5rem;
}

.form-check-input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    accent-color: var(--brand-primary, #0267bc);
}

.form-check-label {
    flex: 1 1 auto;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.14em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.10);
    opacity: 1;
}

.container {
    width: min(100% - 2rem, 1200px);
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

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

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

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

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

.flex-column {
    flex-direction: column !important;
}

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

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

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

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

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

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

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

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

.fw-semibold {
    font-weight: 600 !important;
}

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

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

.w-100 {
    width: 100% !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-2 {
    margin-top: 0.5rem !important;
}

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

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

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

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

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

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

@media (min-width: 576px) {
    .container {
        width: min(100% - 2.5rem, 540px);
    }

    .flex-sm-row {
        flex-direction: row !important;
    }
}

@media (min-width: 768px) {
    .container {
        width: min(100% - 2.5rem, 720px);
    }

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

    .d-md-inline {
        display: inline !important;
    }

    .flex-md-row {
        flex-direction: row !important;
    }

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

@media (min-width: 992px) {
    .container {
        width: min(100% - 3rem, 960px);
    }

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

    .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%;
    }

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

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

    .flex-lg-row {
        flex-direction: row !important;
    }

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

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

@media (min-width: 1200px) {
    .container {
        width: min(100% - 3rem, 1140px);
    }
}

@media (min-width: 1400px) {
    .container {
        width: min(100% - 3rem, 1320px);
    }
}
