.ccb-banner {
    position: fixed;
    z-index: 2147483640;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ccb-banner.ccb-hiding {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.ccb-banner[hidden] {
    display: none !important;
}

.ccb-pos-bottom-right {
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 32px);
}

.ccb-pos-bottom-left {
    left: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 32px);
}

.ccb-pos-bottom-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

.ccb-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.ccb-pos-bottom-bar .ccb-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
}

.ccb-theme-light .ccb-inner,
.ccb-theme-light.ccb-pos-bottom-bar {
    background-color: #ffffff;
    color: #1e293b;
}

.ccb-theme-light.ccb-pos-bottom-bar {
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
}

.ccb-theme-dark .ccb-inner,
.ccb-theme-dark.ccb-pos-bottom-bar {
    background-color: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

.ccb-theme-dark.ccb-pos-bottom-bar {
    border-top: 1px solid #334155;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.3);
}

.ccb-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.ccb-link {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.ccb-theme-dark .ccb-link {
    color: #93c5fd;
}

.ccb-actions {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.ccb-btn {
    appearance: none;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    background-color: var(--ccb-accent, #2563eb);
    color: var(--ccb-btn-text, #ffffff);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.12s ease;
}

.ccb-btn:hover {
    filter: brightness(0.95);
}

.ccb-btn:active {
    transform: scale(0.98);
}

.ccb-btn:focus-visible {
    outline: 2px solid var(--ccb-accent, #2563eb);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .ccb-pos-bottom-right,
    .ccb-pos-bottom-left {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
    }

    .ccb-pos-bottom-bar .ccb-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .ccb-actions {
        justify-content: stretch;
    }

    .ccb-btn {
        width: 100%;
    }
}
