:root {
    --bcc-primary: #149A81;
    --bcc-primary-dark: #149A81;
    --bcc-text: #1E293B;
    --bcc-muted: #1E293B;
    --bcc-border: #dfe5e7;
    --bcc-surface: #ffffff;
    --bcc-dark: #263237;
    --bcc-shadow: 0 18px 55px rgba(11, 31, 37, 0.2);
}

.bcc,
.bcc * {
    box-sizing: border-box;
}

.bcc [hidden] {
    display: none !important;
}

body.bcc-modal-open {
    overflow: hidden;
}

.bcc-banner {
    position: fixed;
    z-index: 999990;
    bottom: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    justify-content: start;
    gap: 32px;
    align-items: start;
    width: auto;
    max-width: 960px;
    max-height: calc(100vh - 40px);
    margin: 0 auto;
    overflow-y: auto;
    padding: 20px 22px;
    color: var(--bcc-text);
    background: var(--bcc-surface);
    border-radius: 12px;
    box-shadow: var(--bcc-shadow);
    font-family: "Segoe UI", Arial, sans-serif;
}

.bcc-banner__icon {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
}

.bcc-banner__icon img {
    display: block;
    width: 96px;
    height: 96px;
}

.bcc-banner__body {
    display: flex;
    align-items: start;
    justify-content: start;
    flex: 1;
    min-width: 0;
    gap: 12px;
    flex-direction: column;
}

.bcc-banner__title {
    width: 100%;
}

.bcc-banner__title h2 {
    margin: 0 !important;
	padding: 0 !important;
    color: var(--bcc-primary-dark) !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 150% !important;
    letter-spacing: 0 !important;
}

.bcc-banner__title h2::after {
	display: none !important;
}

.bcc-banner__content {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    min-width: 0;
    gap: 18px;
}

.bcc-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.bcc-banner__copy p {
    margin: 0 !important;
    color: var(--bcc-muted) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 150% !important;
    letter-spacing: 0 !important;
    text-align: justify !important;
}

.bcc a {
    color: var(--bcc-primary-dark) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.bcc-banner__actions {
    display: grid;
    grid-template-columns: max-content max-content;
    flex: 0 0 auto;
    gap: 12px;
}

.bcc-banner__actions .bcc-button--primary {
    grid-column: 1 / -1;
}

.bcc-button {
    min-height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.bcc-button:hover {
    transform: translateY(-1px) !important;
}

.bcc-button:focus-visible,
.bcc-close:focus-visible,
.bcc-reopen:focus-visible,
.bcc-category__toggle-description:focus-visible,
.bcc-switch input:focus-visible + .bcc-switch__slider {
    outline: 3px solid rgba(0, 168, 143, 0.28) !important;
    outline-offset: 2px !important;
}

.bcc-button--primary {
    color: #fff !important;
    background-color: var(--bcc-primary) !important;
}

.bcc-button--primary:hover {
    background-color: var(--bcc-primary-dark) !important;
}

.bcc-button--outline {
    color: var(--bcc-primary-dark) !important;
    background-color: #fff !important;
    border-color: var(--bcc-primary) !important;
}

.bcc-button--outline:hover {
    color: #fff !important;
    background-color: var(--bcc-primary) !important;
}

.bcc-button--text {
    color: var(--bcc-muted) !important;
    background-color: #f5f7f7 !important;
    border-color: #eef1f2 !important;
}

.bcc-button--text:hover {
    color: var(--bcc-text) !important;
    background-color: #e9eeee !important;
}

.bcc-button--dark {
    color: #fff !important;
    background-color: var(--bcc-dark) !important;
}

.bcc-button--dark:hover {
    background-color: #11191c !important;
}

.bcc-backdrop {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 26, 29, 0.72);
    backdrop-filter: blur(1px);
}

.bcc-dialog {
    display: flex;
    flex-direction: column;
    width: min(640px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    max-height: min(760px, calc(100dvh - 40px));
    overflow: hidden;
    color: var(--bcc-text);
    background: var(--bcc-surface);
    border-radius: 12px;
    box-shadow: var(--bcc-shadow);
    font-family: "Segoe UI", Arial, sans-serif;
}

.bcc-dialog__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 12px 20px;
}

.bcc-brand {
    color: var(--bcc-primary-dark);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: start;
}

.bcc-brand img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 32px;
}

.bcc-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    color: var(--bcc-text) !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.bcc-close:hover {
    background-color: #f2f5f5 !important;
}

.bcc-dialog__body {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 20px;
}

.bcc-dialog__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: start;
    align-items: start;
    flex: 1 1 auto;
    width: 100%;
}

.bcc-dialog__content h2 {
    margin: 0 !important;
	padding: 0 !important;
    color: var(--bcc-text) !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 150% !important;
    letter-spacing: 0 !important;
}

.bcc-dialog__content h2::after {
	display: none !important;
}

.bcc-dialog__content p {
    margin: 0 !important;
    color: var(--bcc-muted) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 150% !important;
    letter-spacing: 0 !important;
    text-align: justify !important;
}

.bcc-dialog__settings {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: start;
    align-items: start;
    flex: 1 1 auto;
    width: 100%;
}

.bcc-dialog__settings h3 {
    margin: 0 !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 150% !important;
    letter-spacing: 0 !important;
    color: var(--bcc-text) !important;
}

.bcc-category {
    width: 100%;
    border-bottom: 1px solid var(--bcc-border);
}

.bcc-category__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 49px;
}

.bcc-category__toggle-description {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 0 !important;
    color: var(--bcc-text) !important;
    background: transparent !important;
    border: 0 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: left !important;
    cursor: pointer !important;
    line-height: 20px !important;
    letter-spacing: 0px !important;
    text-align: left !important;
}

.bcc-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

[aria-expanded="true"] .bcc-chevron {
    transform: rotate(45deg) translateY(-2px);
}

.bcc-always-active {
    flex: 0 0 auto;
    color:  var(--bcc-primary-dark);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
}

.bcc-category__description {
    padding: 0 12px 12px 12px;
    color: var(--bcc-muted);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: justify;
}

.bcc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 22px;
    cursor: pointer;
}

.bcc-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.bcc-switch__slider {
    position: absolute;
    inset: 0;
    background: #b9c1c4;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

.bcc-switch__slider::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    content: '';
    transition: transform 0.2s ease;
}

.bcc-switch input:checked + .bcc-switch__slider {
    background: var(--bcc-primary);
}

.bcc-switch input:checked + .bcc-switch__slider::after {
    transform: translateX(16px);
}

.bcc-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 0 0 auto;
    padding: 12px 20px ;
    background: #fff;
}

.bcc-footer-button {
    flex: 1;
    min-width: 0;
    white-space: normal;
}

.bcc-reopen {
    position: fixed;
    z-index: 999980;
    right: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #fff;
    background: var(--bcc-primary);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 7px 22px rgba(0, 95, 82, 0.35);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bcc-reopen:hover {
    background: var(--bcc-primary-dark);
    transform: translateY(-2px);
}

.bcc-reopen svg {
    width: 25px;
    height: 25px; 
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.bcc-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1260px) {
    .bcc-banner__icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .bcc-banner__icon svg {
        width: 64px !important;
        height: 64px !important;
    }
	
    .bcc-banner__title h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 920px) {
    .bcc-banner {
        align-items: flex-start;
        gap: 12px;
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 16px;
    }

    .bcc-banner__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .bcc-banner__icon svg {
        width: 44px !important;
        height: 44px !important;
    }

    .bcc-banner__actions {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .bcc-banner__body,
    .bcc-banner__content {
        gap: 12px;
    }

    .bcc-banner__title h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .bcc-banner__copy p,
    .bcc-dialog__content p,
    .bcc-category__description {
        text-align: left !important;
    }

    .bcc-banner__content {
        align-items: stretch;
        flex-direction: column;
    }

    .bcc-dialog__footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 480px) {
	.bcc-banner__icon {
        display: none;
    }
	
    .bcc-backdrop {
        align-items: end;
        padding: 0;
    }

    .bcc-dialog {
        width: 100%;
        max-height: 92vh !important;
        max-height: 92dvh !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .bcc-dialog__header {
        min-height: 56px;
        padding: 10px 16px;
    }

    .bcc-dialog__body {
        gap: 16px;
        padding: 8px 16px 6px;
    }

    .bcc-dialog__footer {
        grid-template-columns: 1fr;
        padding: 12px 16px 16px;
    }

    .bcc-banner__actions {
        grid-template-columns: 1fr;
    }

    .bcc-banner__actions .bcc-button--primary {
        grid-column: auto;
    }

    .bcc-banner__title h2 {
        font-size: 22px !important;
    }

    .bcc-banner__copy p {
        font-size: 14px !important;
    }

    .bcc-dialog__content h2 {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .bcc-dialog__settings h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .bcc-category__row {
        gap: 12px;
    }

    .bcc-category__toggle-description {
        gap: 8px !important;
        font-size: 14px !important;
    }

    .bcc-category__description {
        padding-right: 0;
        padding-left: 0;
        font-size: 14px !important;
    }

    .bcc-button {
        min-height: 44px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bcc *,
    .bcc *::before,
    .bcc *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
