:root {
    --sec-red: #c81818;
    --sec-ink: #333;
    --sec-muted: #888;
    --sec-page: #f3f4f4;
    --sec-shadow: #cac8c2;
}

html {
    min-width: 320px;
    background: var(--sec-page);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--sec-ink);
    background: var(--sec-page);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

h1:focus {
    outline: none;
}

.sec-content-card {
    margin: 1.25rem 0;
    padding: clamp(1.25rem, 4vw, 1.875rem);
    background: #fff;
    border-radius: .25rem;
    box-shadow: 0 1px 5px var(--sec-shadow);
}

.sec-page-heading {
    margin-bottom: 1.25rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid #ddd;
}

.sec-page-heading h1 {
    margin: 0;
    color: var(--sec-red);
    font-size: clamp(1.55rem, 4vw, 1.75rem);
    font-weight: 500;
}

.sec-page-heading p {
    margin: .25rem 0 0;
    color: var(--sec-muted);
    font-size: 1.125rem;
}

.sec-opening-questions {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    font-size: 1rem;
}

.sec-video-player {
    align-self: flex-start;
}

.sec-video-player video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.sec-access-intro {
    max-width: 58rem;
    margin: 0 auto 1.25rem;
    font-weight: 700;
}

.sec-access-form {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.25rem;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: .25rem;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    text-align: left;
}

.sec-access-form .form-label {
    font-weight: 600;
}

.sec-access-form .validation-message {
    display: block;
    margin-top: .4rem;
    color: #e10000;
    font-weight: 700;
}

.sec-story h2 {
    margin-bottom: 1.4rem;
    color: var(--sec-muted);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 500;
}

.sec-instructions {
    margin-bottom: 1.75rem;
}

.sec-instructions li {
    margin-bottom: .45rem;
}

.sec-instructions ul {
    margin-top: .45rem;
    line-height: 1.75;
}

.sec-signature {
    padding-top: .4rem;
}

.sec-confirmation {
    max-width: 48rem;
    margin: clamp(2rem, 10vh, 6rem) auto;
}

.sec-survey-video {
    max-width: 42rem;
    margin: 1.25rem auto;
}

.sec-survey-video video,
.sec-result-video video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.sec-survey-card {
    max-width: 42rem;
    margin-right: auto;
    margin-left: auto;
}

.sec-survey-group {
    margin: 0;
    padding: 0 0 1rem;
    border: 0;
}

.sec-survey-group + .sec-survey-group {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.sec-survey-group legend {
    margin-bottom: .65rem;
    font-size: 1rem;
    font-weight: 700;
}

.sec-survey-choice {
    margin: .65rem 0;
}

.sec-survey-choice label,
.sec-survey-choice input {
    cursor: pointer;
}

.sec-survey-group .validation-message {
    color: #e10000;
    font-weight: 700;
}

.sec-survey-actions {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.sec-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0;
    padding-bottom: .65rem;
    border-bottom: 2px solid #fff;
}

.sec-result-heading h1,
.sec-invalid-result h1 {
    margin: 0;
    color: var(--sec-red);
    font-size: clamp(1.55rem, 4vw, 1.75rem);
    font-weight: 500;
}

.sec-package-card {
    margin-bottom: 1.25rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: #fff;
    border: 1px solid var(--sec-shadow);
    border-radius: .25rem;
    box-shadow: 0 1px 5px var(--sec-shadow);
}

.sec-package-copy h2 {
    margin: 0;
    color: var(--sec-red);
    font-size: 1.5rem;
    font-weight: 500;
}

.sec-package-copy p {
    text-align: justify;
}

.sec-result-video {
    align-self: flex-start;
}

.sec-recommendation {
    max-width: 62rem;
    margin: 1.25rem auto 0;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: .25rem;
    box-shadow: 0 1px 5px var(--sec-shadow);
}

.sec-recommendation h3 {
    margin-bottom: 1rem;
    color: #474949;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.sec-recommendation .btn {
    min-width: min(100%, 20rem);
}

.btn-primary {
    --bs-btn-bg: #337ab7;
    --bs-btn-border-color: #2e6da4;
    --bs-btn-hover-bg: #286090;
    --bs-btn-hover-border-color: #204d74;
}

.btn-danger {
    --bs-btn-bg: #d9534f;
    --bs-btn-border-color: #d43f3a;
    --bs-btn-hover-bg: #c9302c;
    --bs-btn-hover-border-color: #ac2925;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e10000;
}

.blazor-error-boundary {
    padding: 1rem;
    color: #fff;
    background: #b32121;
}

@media (min-width: 992px) {
    .sec-video-player {
        margin-top: 3rem;
    }

    .sec-result-video {
        margin-top: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: .925rem;
    }

    .sec-content-card {
        margin: .75rem 0;
        padding: 1rem;
    }

    .sec-access-form {
        padding: 1rem;
    }

    .sec-access-form .input-group {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .sec-access-form .input-group-text {
        border-bottom-left-radius: 0;
    }

    .sec-access-form .form-control {
        min-width: calc(100% - 3rem);
        border-bottom-right-radius: 0 !important;
    }

    .sec-access-form .btn {
        width: 100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .sec-result-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sec-package-copy p {
        text-align: left;
    }
}
