/* Free-quiz results gate: capture card + survey. Scoped under
   .ldsa-gate-wrap; nothing outside the wrap is styled. Palette matches
   the free-page kit (navy #0B1120 text, green #06D6A0 primary CTA). */

.ldsa-gate-wrap {
    margin: 18px 0;
}

.ldsa-gate-card,
.ldsa-gate-survey {
    background: #f0fbf7;
    border: 1px solid #bfe8db;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 0 0 14px;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    color: #0b1120;
}

/* Capture card only: white ground with a green top accent so the bonus
   checklist pops; the survey card keeps the shared pale green base. */
.ldsa-gate-card {
    background: #ffffff;
    border-top: 4px solid #06d6a0;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.07);
}

.ldsa-gate-badge {
    display: inline-block;
    background: #06d6a0;
    color: #0b1120;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 10px;
}

.ldsa-gate-heading {
    font-size: 21px;
    font-weight: 700;
    color: #0a2540;
    line-height: 1.3;
    margin-bottom: 6px;
}

.ldsa-gate-body {
    color: #334e68;
    margin-bottom: 10px;
}

.ldsa-gate-bullets {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    color: #334e68;
}

.ldsa-gate-bullets li {
    position: relative;
    padding-left: 28px;
    margin: 7px 0;
}

.ldsa-gate-bullets li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: #e6faf4;
    border-radius: 50%;
    color: #059677;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.ldsa-gate-b-lead {
    font-weight: 700;
    color: #0a2540;
}

.ldsa-gate-form {
    margin: 0;
}

.ldsa-gate-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ldsa-gate-email {
    display: block;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #c3ccd6;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 10px;
    background: #ffffff;
    color: #0b1120;
}

.ldsa-gate-check {
    display: block;
    font-size: 13px;
    color: #486581;
    margin: 6px 0;
    cursor: pointer;
}

.ldsa-gate-check input {
    margin-right: 6px;
    vertical-align: middle;
}

.ldsa-gate-check a {
    color: #2563eb;
}

.ldsa-gate-cta {
    display: block;
    width: 100%;
    max-width: 420px;
    background: #06d6a0;
    color: #0b1120;
    border: 0;
    border-radius: 24px;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(6, 214, 160, 0.35);
}

.ldsa-gate-cta:hover {
    background: #05c091;
}

.ldsa-gate-cta[disabled] {
    opacity: 0.7;
    cursor: default;
}

.ldsa-gate-footnote {
    font-size: 12px;
    color: #829ab1;
    margin-top: 8px;
}

.ldsa-gate-msg {
    margin-top: 10px;
    font-size: 14px;
    color: #334e68;
}

.ldsa-gate-msg-error {
    color: #c0392b;
}

.ldsa-gate-existing {
    margin-top: 6px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #bfe8db;
    border-radius: 8px;
    color: #0a6e55;
    font-weight: 600;
}

.ldsa-gate-survey-q {
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 10px;
}

.ldsa-gate-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ldsa-gate-chip {
    background: #ffffff;
    border: 1px solid #c3ccd6;
    border-radius: 18px;
    padding: 9px 16px;
    font-size: 14px;
    color: #334e68;
    cursor: pointer;
    min-height: 40px;
}

.ldsa-gate-chip:hover {
    border-color: #06d6a0;
    color: #0a2540;
}

.ldsa-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ldsa-exit-modal {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 26px 22px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    text-align: left;
    font-size: 15px;
    color: #0b1120;
}

.ldsa-exit-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: #829ab1;
    cursor: pointer;
    padding: 4px;
}

.ldsa-exit-heading {
    font-size: 21px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 8px;
}

.ldsa-exit-body {
    color: #334e68;
    line-height: 1.5;
    margin-bottom: 14px;
}

.ldsa-exit-cta {
    display: inline-block;
    background: #06d6a0;
    color: #0b1120;
    border-radius: 24px;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 16px;
    min-height: 48px;
    box-sizing: border-box;
}

.ldsa-exit-cta:hover {
    background: #05c091;
    color: #0b1120;
}

.ldsa-exit-question {
    font-weight: 600;
    color: #0a2540;
    margin: 6px 0 10px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
}

@media (max-width: 767px) {
    .ldsa-gate-card,
    .ldsa-gate-survey {
        padding: 16px;
    }

    .ldsa-gate-email {
        max-width: none;
    }

    .ldsa-gate-cta {
        display: block;
        width: 100%;
    }

    .ldsa-gate-chips {
        flex-direction: column;
        align-items: stretch;
    }

    .ldsa-gate-chip {
        text-align: left;
        min-height: 48px;
    }
}
