* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container-fluid {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.g-3 {
    gap: 1rem 0;
    margin-left: -.5rem;
    margin-right: -.5rem;
}

.g-3 > * {
    padding-left: .5rem;
    padding-right: .5rem;
}

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

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-inline-flex {
    display: inline-flex;
}

.d-inline-block {
    display: inline-block;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

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

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

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

.justify-content-center {
    justify-content: center;
}

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

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

.flex-xl-row {
    flex-direction: column;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.h-100 {
    height: 100%;
}

.min-vh-100 {
    min-height: 100vh;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.ms-1 { margin-left: .25rem; }

.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }

.small {
    font-size: .875rem;
}

.h3 {
    font-size: 1.75rem;
}

.h5 {
    font-size: 1.25rem;
}

.h6 {
    font-size: 1rem;
}

.display-6 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.fs-4 {
    font-size: 1.5rem;
}

.fs-5 {
    font-size: 1.25rem;
}

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

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

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

.text-start {
    text-align: left;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-capitalize {
    text-transform: capitalize;
}

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

.text-secondary {
    color: #6B7280;
}

.text-success {
    color: #15803D;
}

.text-white {
    color: #fff;
}

.text-white-50 {
    color: rgba(255, 255, 255, .55);
}

.border {
    border: 1px solid #E5E7EB;
}

.rounded-2 {
    border-radius: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 700;
}

.rounded-pill {
    border-radius: 999px;
}

.text-bg-light {
    background: #F8FAFC;
    color: #172033;
}

.text-bg-success {
    background: #DCFCE7;
    color: #15803D;
}

.text-bg-secondary {
    background: #E5E7EB;
    color: #4B5563;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.shadow-sm {
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

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

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

.form-text {
    margin-top: .35rem;
    color: #6B7280;
    font-size: .875rem;
}

dd {
    margin-left: 0;
    margin-bottom: .75rem;
}

dt {
    margin-bottom: .25rem;
}

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

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: .85rem .75rem;
    border-bottom: 1px solid #E5E7EB;
    text-align: left;
}

.table th {
    color: #6B7280;
    font-size: .82rem;
    font-weight: 700;
}

.align-middle td,
.align-middle th {
    vertical-align: middle;
}

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

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: .65rem .8rem;
    color: #172033;
    background: #fff;
    border: 1px solid #D1D5DB;
}

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

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

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

.invalid-feedback {
    display: block;
    margin-top: .35rem;
    color: #B91C1C;
    font-size: .875rem;
}

.is-invalid {
    border-color: #EF4444;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-height: 42px;
    padding: .5rem .9rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.w-100 {
    width: 100%;
}

.btn-light {
    background: #fff;
}

.btn-outline-secondary {
    border-color: #D1D5DB;
    color: #4B5563;
}

.btn-outline-danger {
    border-color: #FCA5A5;
    color: #B91C1C;
}

.btn-outline-primary {
    border-color: #BFD0E8;
    color: #1B3A6B;
}

.btn-outline-success {
    border-color: #BBF7D0;
    color: #15803D;
}

.btn-outline-warning {
    border-color: #FDE68A;
    color: #B45309;
}

.feature-toggle {
    display: flex;
    align-items: center;
    min-height: 74px;
    cursor: pointer;
    background: #fff;
}

.question-picker {
    background: #fff;
}

.nav {
    display: flex;
}

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

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

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

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

@media (min-width: 768px) {
    .p-md-5 {
        padding: 3rem;
    }

    .px-md-4 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@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-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }

    .flex-xl-row {
        flex-direction: row;
    }

    .align-items-xl-center {
        align-items: center;
    }
}
