.container-top-a > .card:has(#nosterest-survey) {
    --poll-blue: #4a64a0;
    --poll-border: #3c507d;
    --poll-accent: #3b568f;
    --poll-white: #fff;
    border: 1px solid var(--poll-border);
    border-radius: 0.55rem;
    background: var(--poll-blue);
    color: var(--poll-white);
    box-shadow: 0 4px 14px rgb(28 49 91 / 30%);
}

.container-top-a > .card:has(#nosterest-survey) > .card-header {
    padding: 1.2rem clamp(1rem, 4vw, 2rem) 0.25rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
}

.container-top-a > .card:has(#nosterest-survey) > .card-body {
    padding: 0.85rem clamp(1rem, 4vw, 2rem) 1.4rem;
}

#nosterest-survey [data-survey-progress] {
    width: fit-content;
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: 0.3rem;
    background: var(--poll-border);
    font-size: 0.875rem;
}

#nosterest-survey legend {
    margin-bottom: 0.6rem;
    color: inherit;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.35;
}

#nosterest-survey fieldset .form-check {
    margin: 0 0 0.2rem;
    padding: 0;
}

#nosterest-survey .form-check-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.3rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 0.3rem;
    cursor: pointer;
}

#nosterest-survey .form-check-label:hover,
#nosterest-survey .form-check-label:has(input:checked) {
    border-color: rgb(255 255 255 / 55%);
    background: var(--poll-accent);
}

#nosterest-survey :is(.form-check-label:focus-within, .btn:focus-visible, select:focus-visible) {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#nosterest-survey .form-check-input {
    flex: 0 0 auto;
    float: none;
    margin: 0;
}

#nosterest-survey .form-check-input:checked {
    border-color: #fff;
    background-color: #263b79;
}

#nosterest-survey .btn-primary {
    border-color: #172654;
    border-radius: 0.25rem;
    background: linear-gradient(#2f4496, #19265d);
    color: #fff;
}

#nosterest-survey .btn-primary:hover {
    background: #172654;
}

#nosterest-survey :is(.btn-outline-primary, .btn-outline-secondary) {
    border-color: #fff;
    color: #fff;
}

#nosterest-survey :is(.btn-outline-primary, .btn-outline-secondary):hover {
    background: #fff;
    color: #263b79;
}

#nosterest-survey [data-survey-message] {
    color: #fff3ba !important;
}

#nosterest-survey details .text-body-secondary {
    color: #fff !important;
}

#nosterest-survey details section.card {
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 0.4rem;
    background: var(--poll-blue);
    color: #fff;
}

#nosterest-survey details .progress {
    border-radius: 0.2rem;
    background: var(--poll-border);
}

#nosterest-survey details .progress-bar {
    --bar-color: #403940;
    border-radius: 0.2rem;
    background: linear-gradient(#ebebeb, var(--bar-color)) !important;
    box-shadow: 0 2px 4px rgb(23 37 66 / 55%);
}

#nosterest-survey details li:nth-child(6n + 2) .progress-bar { --bar-color: #ad3841; }
#nosterest-survey details li:nth-child(6n + 3) .progress-bar { --bar-color: #2243e6; }
#nosterest-survey details li:nth-child(6n + 4) .progress-bar { --bar-color: #1d8f0b; }
#nosterest-survey details li:nth-child(6n + 5) .progress-bar { --bar-color: #d1b500; }
#nosterest-survey details li:nth-child(6n + 6) .progress-bar { --bar-color: #79478c; }


