.ccc-banner,
.ccc-modal-wrap {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
}

.ccc-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99998;
    background: #fff;
    border-top: 1px solid #d8dee9;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
}

.ccc-banner--top {
    top: 0;
    border-top: 0;
    border-bottom: 1px solid #d8dee9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.ccc-banner--bottom {
    bottom: 0;
}

.ccc-banner__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.ccc-banner h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.ccc-banner p {
    margin: .25rem 0;
    line-height: 1.45;
}

.ccc-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 310px;
}

.ccc-banner .ccc-button,
.ccc-modal .ccc-button {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #9aa7bd;
    background: #fff;
    background-color: #fff;
    color: #172033;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.ccc-banner .ccc-button:hover,
.ccc-modal .ccc-button:hover {
    background: #f5f7fb;
    background-color: #f5f7fb;
    color: #172033;
}

.ccc-banner .ccc-button--primary,
.ccc-modal .ccc-button--primary,
.ccc-banner .ccc-button--primary:hover,
.ccc-modal .ccc-button--primary:hover,
.ccc-banner .ccc-button--primary:focus,
.ccc-modal .ccc-button--primary:focus,
.ccc-banner .ccc-button--primary:focus-visible,
.ccc-modal .ccc-button--primary:focus-visible {
    background: #172033;
    background-color: #172033;
    color: #fff;
    border-color: #172033;
}

.ccc-banner .ccc-button--primary:hover,
.ccc-modal .ccc-button--primary:hover {
    background: #2a3448;
    background-color: #2a3448;
    color: #fff;
}

.ccc-banner .ccc-button--link,
.ccc-modal .ccc-button--link {
    border-color: transparent;
    background: transparent;
    background-color: transparent;
    text-decoration: underline;
    color: #172033;
}

.ccc-banner .ccc-button--link:hover,
.ccc-modal .ccc-button--link:hover {
    background: transparent;
    background-color: transparent;
    color: #172033;
}

.ccc-links a {
    color: #172033;
    text-decoration: underline;
}

.ccc-modal-wrap {
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ccc-modal {
    width: min(620px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.ccc-modal h2 {
    margin: 0 0 10px;
}

.ccc-modal .ccc-choice,
.ccc-banner .ccc-choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #d8dee9;
    border-radius: 10px;
    padding: 14px;
    margin: 12px 0;
    margin-top: 12px;
    font-weight: 400;
    text-align: left;
}

.ccc-choice__copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.ccc-choice__copy strong {
    font-weight: 700;
}

.ccc-choice__copy p,
.ccc-choice p {
    margin: 4px 0 0;
    font-weight: 400;
}

.ccc-choice--clickable {
    cursor: pointer;
}

.ccc-pill {
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef2f7;
    font-weight: 700;
    white-space: nowrap;
}

.ccc-toggle {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    align-items: center;
}

.ccc-toggle__input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 48px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    cursor: pointer;
    border: 0 !important;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    box-shadow: none !important;
}

.ccc-toggle__track {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 999px;
    background: #9aa7bd;
    transition: background-color .15s ease;
    pointer-events: none;
}

.ccc-toggle__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}

.ccc-toggle__input:checked + .ccc-toggle__track {
    background: #172033;
}

.ccc-toggle__input:checked + .ccc-toggle__track::after {
    transform: translateX(20px);
}

.ccc-toggle__input:focus-visible + .ccc-toggle__track {
    outline: 2px solid #172033;
    outline-offset: 2px;
}

.ccc-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 780px) {
    .ccc-banner__inner {
        display: block;
    }

    .ccc-banner__actions {
        justify-content: flex-start;
        min-width: 0;
        margin-top: 14px;
    }

    .ccc-banner .ccc-button,
    .ccc-modal .ccc-button {
        width: 100%;
    }
}
