/* ==========================================================================
   Swecon Barometer – Frontend Stylesheet
   Anonymes Stimmungsbarometer | 5 Sprachen | Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. @font-face – Karelia Swecon Web
   -------------------------------------------------------------------------- */

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaSweconWeb-Regular.woff2') format('woff2'),
         url('../fonts/KareliaSweconWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaSweconWeb-Medium.woff2') format('woff2'),
         url('../fonts/KareliaSweconWeb-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaSweconWeb-Medium.woff2') format('woff2'),
         url('../fonts/KareliaSweconWeb-Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaSweconWeb-Bold.woff2') format('woff2'),
         url('../fonts/KareliaSweconWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karelia';
    src: url('../fonts/KareliaSweconWeb-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. CSS Reset / Normalize Basics
   -------------------------------------------------------------------------- */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Karelia', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.45s ease;
}

/* Results screen: gray background (body + main + footer area) */
body.sb-on-results,
body.sb-on-results .sb-main {
    background-color: #a1a3a6;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */

.sb-header {
    background-color: #7a8082;
    padding: 0 24px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sb-logo {
    width: 160px;
    height: auto;
    display: block;
}

/* ── Language Switcher (header, right side) ──── */
.sb-lang-switcher {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sb-lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 6px 10px;
    color: #fff;
    font-family: 'Karelia', sans-serif;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.sb-lang-switcher__current:hover {
    background: rgba(255, 255, 255, 0.25);
}

.sb-lang-switcher__chevron {
    transition: transform 0.2s;
}

.sb-lang-switcher[data-open="true"] .sb-lang-switcher__chevron {
    transform: rotate(180deg);
}

.sb-lang-switcher__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 80px;
    z-index: 200;
}

.sb-lang-switcher[data-open="true"] .sb-lang-switcher__dropdown {
    display: block;
}

.sb-lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #333;
    text-align: left;
    transition: background 0.15s;
}

.sb-lang-switcher__option:hover {
    background: #f0f0f0;
}

.sb-lang-switcher__option--active {
    background: #e6f0fa;
    color: #0066b3;
    font-weight: 700;
}

.sb-lang-switcher__option--active::after {
    content: '✓';
    margin-left: auto;
    font-size: 14px;
    color: #0066b3;
}

/* --------------------------------------------------------------------------
   4. Main Content Area
   -------------------------------------------------------------------------- */

.sb-main {
    min-height: calc(100vh - 90px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* --------------------------------------------------------------------------
   5. Screens (Views)
   -------------------------------------------------------------------------- */

.sb-screen {
    display: none;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sb-screen--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   6. Container
   -------------------------------------------------------------------------- */

.sb-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   7. Typography
   -------------------------------------------------------------------------- */

.sb-title {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-align: center;
}

.sb-description {
    font-family: 'Karelia', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #434b4f;
    text-align: center;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(217 215 210 / 25%);
    border-radius: 16px;
    padding: 32px 24px 24px;
    transition: box-shadow 0.2s ease;
}

.sb-description p,
.sb-description br {
    display: block;
    content: '';
    margin-top: 12px;
}

.sb-subtitle {
    font-family: 'Karelia', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8082;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

#screen-results .sb-subtitle, #screen-results .sb-anon {
    color: #ffffff;
    }

/* --------------------------------------------------------------------------
   8. Buttons – Base
   -------------------------------------------------------------------------- */

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Karelia', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.25s ease,
                transform 0.15s ease,
                box-shadow 0.25s ease,
                opacity 0.25s ease;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.sb-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sb-btn:focus-visible {
    outline: 3px solid #0066b3;
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   8a. Button – Primary (Swecon Blue CTA)
   -------------------------------------------------------------------------- */

.sb-btn--primary {
    background-color: #0066b3;
    color: #ffffff;
}

.sb-btn--primary:hover {
    background-color: #005299;
}

.sb-btn--primary:active {
    background-color: #003d70;
}

.sb-btn--primary .sb-btn__arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.sb-btn--primary:hover .sb-btn__arrow {
    transform: translateX(3px);
}

/* Arrow icon (inline SVG via pseudo or img) */
.sb-btn--primary::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.sb-btn--primary:hover::after {
    transform: translateX(3px);
}

/* When using an explicit arrow element or inline SVG, hide the pseudo */
.sb-btn--primary:has(.sb-btn__arrow)::after,
.sb-btn--primary:has(svg)::after {
    display: none;
}

/* --------------------------------------------------------------------------
   8b. Button – Secondary (Gold / Yellow – Thank You)
   -------------------------------------------------------------------------- */

.sb-btn--secondary {
    background-color: #f0b429;
    color: #333333;
    font-weight: 700;
}

.sb-btn--secondary:hover {
    background-color: #e5a820;
}

.sb-btn--secondary:active {
    background-color: #d49c1a;
}

/* --------------------------------------------------------------------------
   8c. Button – Start (wider variant)
   -------------------------------------------------------------------------- */

.sb-btn--start {
    width: 380px;
    max-width: 100%;
    padding: 18px 40px;
    font-size: 1.05rem;
    height: 54px;
}

/* --------------------------------------------------------------------------
   8d. Button – Submit (full width)
   -------------------------------------------------------------------------- */

.sb-btn--submit {
    width: 400px;
    max-width: 100%;
    padding: 18px 32px;
    font-size: 1.05rem;
    border-radius: 50px;
}

.sb-btn--submit::after {
    display: none;
}

.sb-btn--submit:disabled,
.sb-btn--submit[disabled] {
    background-color: #a8c5e0;
    color: rgba(255, 255, 255, 0.75);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.sb-btn--submit:disabled:hover,
.sb-btn--submit[disabled]:hover {
    transform: none;
    box-shadow: none;
    background-color: #a8c5e0;
}

/* --------------------------------------------------------------------------
   8e. Button – Thank You (gold)
   -------------------------------------------------------------------------- */

.sb-btn--thankyou {
    background-color: #f0b429;
    color: #333333;
    min-width: 280px;
    padding: 16px 36px;
    font-weight: 700;
}

.sb-btn--thankyou:hover {
    background-color: #e5a820;
}

.sb-btn--thankyou:active {
    background-color: #d49c1a;
}

/* --------------------------------------------------------------------------
   9. Anonymous Notice
   -------------------------------------------------------------------------- */

.sb-anon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-top: 40px;
    text-align: center;
}

.sb-anon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.75;
}

.sb-anon__icon img,
.sb-anon__emoji {
    width: 14px;
    height: 14px;
    display: block;
}

/* --------------------------------------------------------------------------
   10. Country Select (Pill Dropdown)
   -------------------------------------------------------------------------- */

.sb-country-select {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 32px;
}

.sb-country-select__wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 50px;
    padding: 10px 20px 10px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.sb-country-select__wrapper:hover {
    border-color: #9ca3af;
}

.sb-country-select__wrapper:focus-within {
    border-color: #0066b3;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

/* Glow animation while no country selected — draws user's attention */
.sb-country-select.is-pulsing .sb-country-select__wrapper {
    animation: sbCountryGlow 2.2s ease-in-out infinite;
    border-color: #0066b3;
}

@keyframes sbCountryGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 179, 0.45);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 102, 179, 0);
    }
}

/* Questions wrapper — hidden until country is chosen */
.sb-questions-wrap {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sb-questions-wrap.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sb-country-select__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sb-country-select__icon img,
.sb-country-select__emoji {
    width: 20px;
    height: 20px;
    display: block;
}

.sb-country-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333333;
    cursor: pointer;
    padding-right: 20px;
}

/* Dropdown chevron */
.sb-country-select__wrapper::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-left: -8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. Questions
   -------------------------------------------------------------------------- */

.sb-question {
    margin-bottom: 28px;
    position: relative;
    text-align: center;
}

.sb-question__label {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0b429;
    display: inline-block;
    background-color: rgb(67, 75, 79);
    padding: 5px 18px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    margin-bottom: -14px;
}

.sb-question__card {
    background-color: #434b4f;
    color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px 24px;
    transition: box-shadow 0.2s ease;
    text-align: center;
    margin-top: -10px;
    position: relative;
}

.sb-question__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sb-question__title {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

/* "*Mandatory" Indicator on required questions */
.sb-question__mandatory {
    display: block;
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    color: #d1d5db;
    margin-top: 14px;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ── Optional Questions: lighter style ───────── */
.sb-question--optional .sb-question__card {
    background-color: #f2f2f0;
    color: #1a1a1a;
}

.sb-question--optional .sb-question__title {
    color: #1a1a1a;
}

.sb-question--optional .sb-question__mandatory {
    color: #7a8082;
}

/* --------------------------------------------------------------------------
   12. Emoji Buttons
   -------------------------------------------------------------------------- */

.sb-emoji-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sb-emoji-btn {
display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 100px;
    padding: 14px 12px;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 18%;
}

.sb-emoji-btn:hover {
    border-color: #f0b429;
    background-color: #fffaeb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 180, 41, 0.15);
}

.sb-emoji-btn:active {
    transform: translateY(0);
}

.sb-emoji-btn:focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 2px;
}

.sb-emoji-btn--active {
    border-color: #f0b429;
    background-color: #fff6d5;
    box-shadow: 0 0 0 1px #f0b429, 0 4px 12px rgba(240, 180, 41, 0.18);
}

.sb-emoji-btn__emoji {
    font-size: 1.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
}

/* Local Twemoji SVG inside emoji buttons */
.sb-emoji-btn__emoji .sb-emoji-img,
.sb-emoji-btn__emoji img {
    width: 2rem;
    height: 2rem;
    display: block;
    pointer-events: none;
    user-select: none;
}

.sb-emoji-btn__label {
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    color: #7a8082;
    text-align: center;
    letter-spacing: 0.02em;
}

.sb-emoji-btn--active .sb-emoji-btn__label {
    color: #1a1a1a;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. Option Buttons (Yes / Partly / No)
   -------------------------------------------------------------------------- */

.sb-option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sb-option-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 12px 24px;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-family: 'Karelia', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333333;
    cursor: pointer;
    transition: border-color 0.2s ease,
                background-color 0.2s ease,
                transform 0.15s ease,
                box-shadow 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sb-option-btn:hover {
    border-color: #f0b429;
    background-color: #fffaeb;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(240, 180, 41, 0.15);
}

.sb-option-btn:active {
    transform: translateY(0);
}

.sb-option-btn:focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 2px;
}

.sb-option-btn--active {
    border-color: #f0b429;
    background-color: #fff6d5;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 0 0 1px #f0b429;
}

/* --------------------------------------------------------------------------
   14. Toggle (Collapsible / Optional Questions)
   -------------------------------------------------------------------------- */

.sb-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    background-color: #f2f2f0;
    border: none;
    border-radius: 50px;
    font-family: 'Karelia', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8082;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    user-select: none;
    position: relative;
    z-index: 2;
    margin: 0 auto -14px;
}

.sb-toggle:hover {
    background-color: #e8e8e8;
    color: #0066b3;
}

.sb-toggle__arrow {
    display: none;
}

.sb-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.sb-toggle--open::after {
    transform: rotate(180deg);
}

.sb-toggle:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066b3' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

.sb-question--optional {
    text-align: center;
}

.sb-collapsible {
    display: none;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    margin-top: -10px;
}

.sb-collapsible--open {
    display: block;
}

/* --------------------------------------------------------------------------
   15. Textarea
   -------------------------------------------------------------------------- */

.sb-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    font-family: 'Karelia', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

/* Single-line input variant for Q5 */
.sb-input {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Karelia', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333333;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.sb-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.sb-input:hover {
    border-color: #d1d5db;
}

.sb-input:focus {
    border-color: #0066b3;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

.sb-textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.sb-textarea:hover {
    border-color: #d1d5db;
}

.sb-textarea:focus {
    border-color: #0066b3;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.15);
}

/* --------------------------------------------------------------------------
   16. Results
   -------------------------------------------------------------------------- */

.sb-results-card {
    background-color: #434b4f;
    color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 28px;
}

.sb-results-title {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

/* ── Bar Chart on Results (e.g. "informed") ──── */
.sb-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
    margin: 0 auto;
    padding: 4px 0;
}

.sb-bar-row {
    display: grid;
    grid-template-columns: 70px 1fr 60px;
    align-items: center;
    gap: 14px;
    font-family: 'Karelia', sans-serif;
}

.sb-bar-row__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #d1d5db;
    text-align: left;
    letter-spacing: 0.02em;
}

.sb-bar-row__track {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    height: 14px;
    overflow: hidden;
    position: relative;
}

.sb-bar-row__fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

.sb-bar-row__fill--yes    { background-color: #5a8f29; }
.sb-bar-row__fill--partly { background-color: #f0b429; }
.sb-bar-row__fill--no     { background-color: #d63031; }

.sb-bar-row__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-align: right;
    letter-spacing: 0.02em;
}

.sb-results-card--informed.sb-results-card--empty {
    display: none;
}

/* --------------------------------------------------------------------------
   17. Gauge (SVG Container)
   -------------------------------------------------------------------------- */

.sb-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    max-width: 460px;
}

.sb-gauge__svg {
    width: 100%;
    height: auto;
    margin-bottom: -10px;
}

.sb-gauge__value {
    text-align: center;
    margin-top: 0;
}

.sb-gauge__percent {
    display: block;
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    font-style: italic;
    color: #48bb78;
    line-height: 1.1;
}

.sb-gauge__label {
    display: block;
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   18. Progress Indicator (question step dots)
   -------------------------------------------------------------------------- */

.sb-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.sb-progress__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sb-progress__dot--active {
    background-color: #0066b3;
    transform: scale(1.2);
}

.sb-progress__dot--completed {
    background-color: #0066b3;
}

/* --------------------------------------------------------------------------
   19. Spacing & Layout Utilities
   -------------------------------------------------------------------------- */

.sb-mt-0 { margin-top: 0; }
.sb-mt-8 { margin-top: 8px; }
.sb-mt-16 { margin-top: 16px; }
.sb-mt-24 { margin-top: 24px; }
.sb-mt-32 { margin-top: 32px; }
.sb-mt-40 { margin-top: 40px; }

.sb-mb-0 { margin-bottom: 0; }
.sb-mb-8 { margin-bottom: 8px; }
.sb-mb-16 { margin-bottom: 16px; }
.sb-mb-24 { margin-bottom: 24px; }
.sb-mb-32 { margin-bottom: 32px; }

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

.sb-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   20. Loading / Spinner
   -------------------------------------------------------------------------- */

.sb-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sb-spin 0.7s linear infinite;
}

@keyframes sb-spin {
    to { transform: rotate(360deg); }
}

.sb-btn .sb-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

/* --------------------------------------------------------------------------
   21. Transitions & Animations
   -------------------------------------------------------------------------- */

@keyframes sb-fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sb-fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* Cookie Consent Banner */
.sb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    animation: sb-slideUp 0.4s ease;
}

@keyframes sb-slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.sb-cookie-banner__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sb-cookie-banner__text {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sb-cookie-banner__text p {
    font-family: 'Karelia', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #4a5568;
    margin: 0;
}

.sb-cookie-banner__emoji {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sb-cookie-banner__icon {
    flex-shrink: 0;
}

.sb-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sb-cookie-banner__link {
    font-family: 'Karelia', sans-serif;
    font-size: 0.75rem;
    color: #718096;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.sb-cookie-banner__link:hover {
    color: #4a5568;
}

.sb-cookie-banner__btn {
    font-family: 'Karelia', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}

.sb-cookie-banner__btn:active {
    transform: scale(0.97);
}

.sb-cookie-banner__btn--accept {
    background: #0066b3;
    color: #fff;
}

.sb-cookie-banner__btn--accept:hover {
    background: #005299;
}

.sb-cookie-banner__btn--decline {
    background: #e2e8f0;
    color: #4a5568;
}

.sb-cookie-banner__btn--decline:hover {
    background: #cbd5e0;
}

@media (max-width: 600px) {
    .sb-cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    .sb-cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }
}

/* Login Screen (Password Protection) */
.sb-login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 20px;
}

.sb-login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.sb-login-icon {
    margin-bottom: 16px;
}

.sb-login-icon img,
.sb-login-emoji {
    width: 48px;
    height: 48px;
}

.sb-login-title {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.sb-login-text {
    font-family: 'Karelia', sans-serif;
    font-size: 0.9rem;
    color: #7a8082;
    line-height: 1.6;
    margin: 0 0 24px;
}

.sb-login-error {
    font-family: 'Karelia', sans-serif;
    font-size: 0.85rem;
    color: #e53e3e;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 0 16px;
}

.sb-login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sb-login-input {
    font-family: 'Karelia', sans-serif;
    font-size: 1rem;
    padding: 14px 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    text-align: center;
    letter-spacing: 2px;
    transition: border-color 0.2s;
}

.sb-login-input:focus {
    border-color: #0066b3;
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.12);
}

.sb-login-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
}

/* Footer (Impressum / Datenschutz) */
.sb-footer {
    text-align: center;
    padding: 16px 20px;
    font-family: 'Karelia', sans-serif;
    font-size: 0.72rem;
    color: #b0b0b0;
    letter-spacing: 0.02em;
}

.sb-footer a {
    color: #444b4f;
    text-decoration: none;
    transition: color 0.2s;
}

.sb-footer a:hover {
    color: #7a8082;
    text-decoration: underline;
}

.sb-footer__sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* Confetti fall animation */
@keyframes sbConfettiFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh - 60px)) translateX(var(--sb-confetti-drift, 0px)) rotate(var(--sb-confetti-rotate, 360deg)) scale(0.4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-confetti-piece {
        display: none !important;
    }
}

.sb-animate-in {
    animation: sb-fadeIn 0.4s ease forwards;
}

.sb-animate-out {
    animation: sb-fadeOut 0.3s ease forwards;
}

/* Stagger children animation */
.sb-stagger > * {
    opacity: 0;
    animation: sb-fadeIn 0.4s ease forwards;
}

.sb-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.sb-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.sb-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.sb-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.sb-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.sb-stagger > *:nth-child(6) { animation-delay: 0.3s; }

/* --------------------------------------------------------------------------
   22. Responsive – Tablet & Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {

    .sb-header {
        height: 70px;
        padding: 0 16px;
    }

    .sb-logo {
        width: 120px;
    }

    .sb-main {
        padding: 36px 16px 48px;
    }

    .sb-title {
        font-size: 1.55rem;
    }

    .sb-description {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .sb-question__card {
        padding: 18px;
        border-radius: 14px;
    }

    .sb-question__title {
        font-size: 1rem;
    }

    /* Emoji buttons: wrap into rows, slightly smaller */
    .sb-emoji-group {
        gap: 8px;
    }

    .sb-emoji-btn {
        min-width: 25%;
        padding: 10px 8px;
        border-radius: 12px;
    }

    .sb-emoji-btn__emoji {
        font-size: 1.5rem;
    }

    .sb-emoji-btn__label {
        font-size: 0.6rem;
    }

    /* Option buttons full width on small screens */
    .sb-option-group {
        flex-direction: column;
    }

    .sb-option-btn {
        width: 100%;
        min-width: auto;
    }

    /* Buttons */
    .sb-btn--start {
        width: 100%;
        max-width: 380px;
    }

    .sb-btn--submit {
        width: 100%;
        max-width: 400px;
    }

    .sb-btn--thankyou {
        width: 100%;
        max-width: 280px;
    }

    /* Results */
    .sb-results-card {
        padding: 24px 18px;
    }

    .sb-gauge {
        max-width: 220px;
    }

    /* Textarea */
    .sb-textarea {
        min-height: 100px;
        padding: 14px;
    }

    /* Country select */
    .sb-country-select__wrapper {
        padding: 8px 16px 8px 12px;
    }
}

/* --------------------------------------------------------------------------
   23. Responsive – Small phones (max-width: 380px)
   -------------------------------------------------------------------------- */

@media screen and (max-width: 380px) {

    .sb-title {
        font-size: 1.35rem;
    }

    .sb-emoji-btn {
        min-width: 56px;
        padding: 8px 6px;
    }

    .sb-emoji-btn__emoji {
        font-size: 1.3rem;
    }

    .sb-emoji-btn__label {
        font-size: 0.55rem;
    }

    .sb-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* --------------------------------------------------------------------------
   24. Print Styles
   -------------------------------------------------------------------------- */

@media print {

    .sb-header,
    .sb-btn,
    .sb-country-select,
    .sb-toggle,
    .sb-anon,
    .sb-progress {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    .sb-main {
        padding: 0;
        min-height: auto;
    }

    .sb-question__card {
        background-color: #d9d7d2;
        border: 1px solid #d1d5db;
        break-inside: avoid;
    }

    .sb-results-card {
        border: 1px solid #d1d5db;
        break-inside: avoid;
    }

    .sb-screen {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .sb-emoji-btn {
        border: 1px solid #999;
    }

    .sb-emoji-btn--active {
        border: 2px solid #000;
        font-weight: bold;
    }
}

/* --------------------------------------------------------------------------
   25. Accessibility – Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .sb-screen--active {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   26. High Contrast Mode
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {

    .sb-emoji-btn,
    .sb-option-btn {
        border: 2px solid ButtonText;
    }

    .sb-emoji-btn--active,
    .sb-option-btn--active {
        border-color: Highlight;
        background-color: Highlight;
        color: HighlightText;
    }

    .sb-btn--primary {
        background-color: ButtonFace;
        color: ButtonText;
        border: 2px solid ButtonText;
    }
}

/* ==========================================================================
   SweVo Maskottchen — Background Animation (Session 4 / Step 4)
   Dezentes Hintergrund-Element mit Floating + Swaying.
   Liegt hinter Container/Content (z-index: 0); Header bleibt oben (z-index: 100).
   ========================================================================== */

.sb-mascot {
    position: fixed;
    bottom: 1rem;
    z-index: 9;
    pointer-events: none;             /* wrapper transparent for clicks */
    filter: drop-shadow(0 12px 24px rgba(32, 60, 104, 0.18));
}

.sb-mascot--left {
    left: 1rem;
}

/* The SVG itself catches hover/click for animations */
.sb-mascot .mascot {
    width: 280px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    outline: none;
    overflow: visible;
    pointer-events: auto;             /* re-enable on the mascot only */
    transform-origin: 50% 100%;
    animation: sbMascotBreathe 4s ease-in-out infinite;
}

/* 1. IDLE — breathing, antler sway, blinking */
@keyframes sbMascotBreathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-4px) scale(1.012); }
}

.sb-mascot .antler {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: sbMascotAntlerSway 6s ease-in-out infinite;
}
.sb-mascot .antler-right { animation-delay: -3s; }

@keyframes sbMascotAntlerSway {
    0%, 100% { transform: rotate(-1.2deg); }
    50%      { transform: rotate(1.2deg); }
}

.sb-mascot .eye-pupil {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: sbMascotBlink 5s ease-in-out infinite;
}

@keyframes sbMascotBlink {
    0%, 92%, 100% { transform: scaleY(1); }
    94%           { transform: scaleY(0.05); }
    96%           { transform: scaleY(1); }
}

/* 2. HOVER — wave both arms (around shoulder pivots in SVG user units) */
.sb-mascot .arm-right,
.sb-mascot .arm-right-cuff,
.sb-mascot .arm-right-hoof {
    transform-origin: 497px 570px;
    transition: transform 0.2s ease;
}

.sb-mascot .arm-left,
.sb-mascot .arm-left-cuff,
.sb-mascot .arm-left-hoof {
    transform-origin: 190px 570px;
    transition: transform 0.2s ease;
}

.sb-mascot .mascot:hover .arm-right,
.sb-mascot .mascot:hover .arm-right-cuff,
.sb-mascot .mascot:hover .arm-right-hoof,
.sb-mascot .mascot:focus .arm-right,
.sb-mascot .mascot:focus .arm-right-cuff,
.sb-mascot .mascot:focus .arm-right-hoof {
    animation: sbMascotWaveRight 0.7s ease-in-out 2;
}

.sb-mascot .mascot:hover .arm-left,
.sb-mascot .mascot:hover .arm-left-cuff,
.sb-mascot .mascot:hover .arm-left-hoof,
.sb-mascot .mascot:focus .arm-left,
.sb-mascot .mascot:focus .arm-left-cuff,
.sb-mascot .mascot:focus .arm-left-hoof {
    animation: sbMascotWaveLeft 0.7s ease-in-out 2;
}

@keyframes sbMascotWaveRight {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-18deg); }
    50%      { transform: rotate(-8deg); }
    75%      { transform: rotate(-22deg); }
}

@keyframes sbMascotWaveLeft {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(18deg); }
    50%      { transform: rotate(8deg); }
    75%      { transform: rotate(22deg); }
}

.sb-mascot .mouth {
    transform-box: fill-box;
    transform-origin: 50% 0%;
}

.sb-mascot .mascot:hover .mouth,
.sb-mascot .mascot:focus .mouth {
    animation: sbMascotSpeak 0.6s ease-in-out;
}

@keyframes sbMascotSpeak {
    0%, 100% { transform: scaleY(1); }
    40%      { transform: scaleY(1.6); }
    70%      { transform: scaleY(1.2); }
}

/* Antler swings stronger on hover */
.sb-mascot .mascot:hover .antler,
.sb-mascot .mascot:focus .antler {
    animation-duration: 1.2s;
}

/* 3. CLICK — body jump with squash & stretch */
.sb-mascot .mascot:active {
    animation: sbMascotJump 0.55s cubic-bezier(.5, 0, .3, 1);
}

@keyframes sbMascotJump {
    0%   { transform: translateY(0)    scaleY(1)    scaleX(1); }
    15%  { transform: translateY(0)    scaleY(0.85) scaleX(1.1); }
    45%  { transform: translateY(-32px) scaleY(1.08) scaleX(0.94); }
    75%  { transform: translateY(0)    scaleY(0.9)  scaleX(1.06); }
    100% { transform: translateY(0)    scaleY(1)    scaleX(1); }
}

/* 4. SCROLL-WALK — legs alternate while scrolling */
.sb-mascot .leg {
    transform-box: fill-box;
    transform-origin: 50% 0%;
}

@supports (animation-timeline: scroll()) {
    .sb-mascot .leg-left {
        animation: sbMascotWalkLeft linear;
        animation-timeline: scroll(root block);
    }
    .sb-mascot .leg-right {
        animation: sbMascotWalkRight linear;
        animation-timeline: scroll(root block);
    }
}

@supports not (animation-timeline: scroll()) {
    .sb-mascot .leg-left  { animation: sbMascotWalkLeft  1.6s ease-in-out infinite; }
    .sb-mascot .leg-right { animation: sbMascotWalkRight 1.6s ease-in-out infinite; }
}

@keyframes sbMascotWalkLeft {
    0%   { transform: rotate(-12deg); }
    25%  { transform: rotate(0deg); }
    50%  { transform: rotate(12deg); }
    75%  { transform: rotate(0deg); }
    100% { transform: rotate(-12deg); }
}

@keyframes sbMascotWalkRight {
    0%   { transform: rotate(12deg); }
    25%  { transform: rotate(0deg); }
    50%  { transform: rotate(-12deg); }
    75%  { transform: rotate(0deg); }
    100% { transform: rotate(12deg); }
}

/* Ensure foreground content stays ABOVE the mascot.
   NOTE: .sb-cookie-banner is intentionally excluded — it has its own
   position: fixed; bottom: 0; z-index: 10000 so it must not be reset
   to position: relative (would push it out of the viewport). */
.sb-main,
.sb-screen,
.sb-container,
.sb-footer {
    position: relative;
    z-index: 1;
}

/* Tablet — slightly smaller */
@media (max-width: 1024px) {
    .sb-mascot .mascot { width: 200px; }
}

/* Mobile — smaller again */
@media (max-width: 640px) {
    .sb-mascot { left: 0.5rem; bottom: 0.5rem; }
    .sb-mascot .mascot { width: 130px; }
}

/* Accessibility — reduced motion */
@media (prefers-reduced-motion: reduce) {
    .sb-mascot .leg-left,
    .sb-mascot .leg-right,
    .sb-mascot .arm-right,
    .sb-mascot .arm-right-cuff,
    .sb-mascot .arm-right-hoof,
    .sb-mascot .arm-left,
    .sb-mascot .arm-left-cuff,
    .sb-mascot .arm-left-hoof,
    .sb-mascot .mouth {
        animation: none !important;
    }
    .sb-mascot .mascot,
    .sb-mascot .antler {
        animation-duration: 8s;
    }
}

/* ==========================================================================
   Survey Closed Screen (Session 4 / Step 5)
   ========================================================================== */

.sb-closed-card {
    background-color: #f5f5f5;
    border-radius: 18px;
    padding: 56px 32px 48px;
    margin: 40px auto 28px;
    max-width: 560px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sb-closed__icon {
    margin-bottom: 18px;
}

.sb-closed__icon img,
.sb-closed__emoji {
    width: 56px;
    height: 56px;
    display: inline-block;
}

.sb-closed__title {
    font-family: 'Karelia', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.sb-closed__text {
    font-family: 'Karelia', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #434b4f;
    max-width: 460px;
    margin: 0 auto;
}

/* Admin-only preview banner shown when admin views a closed survey */
.sb-admin-preview-banner {
    position: relative;
    z-index: 50;
    background: #fff7d6;
    border-bottom: 2px solid #f0b429;
    color: #5d4500;
    font-family: 'Karelia', sans-serif;
    font-size: 0.9rem;
    padding: 10px 20px;
    text-align: center;
}

@media (max-width: 640px) {
    .sb-closed-card { padding: 40px 22px 32px; }
    .sb-closed__title { font-size: 1.35rem; }
}

/* ==========================================================================
   Honeypot (Session 4 / Step 6 — Bot Protection)
   Visually hidden but still in the DOM and "fillable" — bots will fill it,
   real users never see it.
   ========================================================================== */
.sb-hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
