html {
    font-size: 12px;
    box-sizing: border-box;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}


:root {
    --brand-red: #be143c;
    --btn-red: #c62828;
    --btn-red-dark: #b71c1c;
    --link-blue: #0b5cab;
    --bg: #ffffff;
    --text: #464f55;
    --muted: #4b5563;
    --fieldset-border: #e5e7eb;
    --border: #d1d5db;

    --success-light: #edf3b3;
    --success-dark: #a5bf0d;
    --warning-light: #fdf5e0;
    --warning-dark: #ecac06;
    --error-light: #f7e3e8;
    --error-dark: #bf183f;
    --pending-light: #e0f6fc;
    --pending-dark: #0db7e4;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    margin-bottom: 60px;
}


.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

main {
    padding: 24px;
}

form {
    background: #fff;
    padding: 20px;
    max-width: 960px;
    margin: 0 auto;
}

fieldset {
    border: 1px solid var(--fieldset-border);
    border-radius: 8px;
    padding: 16px;
    margin: 0 0 16px 0;
}

legend {
    font-weight: 700;
    padding: 0 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
}

.checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

.submit-section {
    margin-top: 24px;
    padding-top: 16px;
}

.btn-submit {
    appearance: none;
    background: var(--btn-red);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.12s ease-in-out, transform 0.08s ease-in-out;
    width: 100%;
}

.btn-submit:hover {
    background: var(--btn-red-dark);
}

.btn-submit:active {
    transform: translateY(1px);
}

.btn-submit:focus-visible {
    outline: 3px solid #1e88e5;
    outline-offset: 2px;
}

.onboarding-note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.45;
}

.onboarding-note a {
    color: var(--link-blue);
    text-decoration: underline;
}

.compo-label {
    color: #575757 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.compo-label-lg {
    color: #575757 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.mt10 {
    margin-top: 10px;
}

.mt50 {
    margin-top: 50px !important;
}

.fw500 {
    font-weight: 500 !important;
}

.btn-wrapper {
    width: 200px !important;
}

[id$="-error"] {
    color: red !important;
}

.rounded-circle {
    border-radius: 50% !important;
    border: 1px solid #c7c7c7 !important;
}

.h70 {
    height: 70px;
}

.h50 {
    height: 50px;
}

.badge-wrapper {
    width: 40px;
    height: 40px;
    font-size: 16px;
    background-color: #f0f0f0;
    color: darkred
}

.fmo-lvl {
    width: 100%;
    padding: 10px;
    padding-left: 0px !important;
    border-radius: 6px;
    font: inherit;
}