.cc-root {
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #1a1a1a;
    box-sizing: border-box;
}

.cc-root *,
.cc-root *::before,
.cc-root *::after {
    box-sizing: border-box;
}

.cc-banner {
    position: fixed;
    z-index: 99998;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: rgba(247, 247, 249, 0.97);
    border-top: 1px solid #e2e2e8;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.cc-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cc-banner__text {
    margin: 0 0 14px;
    max-width: 900px;
}

.cc-banner__text a {
    color: #4a3f9f;
    font-weight: 600;
    text-decoration: underline;
}

.cc-banner__text a:hover {
    color: #352d75;
}

.cc-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.cc-banner__us {
    margin: 0;
    font-size: 13px;
    color: #444;
}

.cc-us-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.cc-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cc-btn--primary {
    background: #4a3f9f;
    color: #fff;
}

.cc-btn--primary:hover {
    background: #352d75;
}

.cc-btn--ghost {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #c9c9d4;
}

.cc-btn--ghost:hover {
    background: #ececf2;
}

.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(20, 20, 26, 0.45);
}

.cc-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.cc-modal__box {
    pointer-events: auto;
    width: min(540px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.cc-modal__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.cc-modal__lead {
    margin: 0 0 18px;
    color: #555;
    font-size: 13px;
}

.cc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #ebebf0;
}

.cc-list__item:first-child {
    padding-top: 0;
}

.cc-list__desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-top: 4px;
}

.cc-switch {
    display: inline-flex;
    cursor: pointer;
    flex-shrink: 0;
}

.cc-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-switch__ui {
    width: 44px;
    height: 26px;
    background: #c5c5d0;
    border-radius: 13px;
    position: relative;
    transition: background 0.2s ease;
}

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

.cc-switch input:checked + .cc-switch__ui {
    background: #4a3f9f;
}

.cc-switch input:checked + .cc-switch__ui::after {
    transform: translateX(18px);
}

.cc-toggle--disabled {
    font-size: 12px;
    font-weight: 600;
    color: #6a6a75;
}

.cc-modal__us {
    margin: 16px 0 0;
    font-size: 13px;
}

.cc-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cc-float {
    position: fixed;
    z-index: 99997;
    bottom: 18px;
    right: 18px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #c9c9d4;
    background: #fff;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cc-float:hover {
    background: #f4f4f8;
}

.cc-modal[hidden],
.cc-overlay[hidden],
.cc-banner[hidden],
.cc-float[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .cc-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-btn {
        width: 100%;
        text-align: center;
    }
}
