.ccb-banner {
    display: none;
    position: fixed;
    z-index: 99999;
    background-color: var(--ccb-bg, #1e293b);
    color: var(--ccb-text, #ffffff);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ccb-banner.ccb-visible {
    display: block;
    animation: ccbFadeInUp 0.3s ease forwards;
}

.ccb-banner.ccb-pos-bottom {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 24px;
}

.ccb-banner.ccb-pos-bottom-left {
    left: 20px;
    bottom: 20px;
    max-width: 440px;
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ccb-banner.ccb-pos-bottom-right {
    right: 20px;
    bottom: 20px;
    max-width: 440px;
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ccb-pos-bottom .ccb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ccb-pos-bottom-left .ccb-container,
.ccb-pos-bottom-right .ccb-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ccb-message {
    flex: 1;
    color: var(--ccb-text, #ffffff);
}

.ccb-message a,
.ccb-more-info {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 6px;
    opacity: 0.9;
}

.ccb-message a:hover,
.ccb-more-info:hover {
    opacity: 1;
}

.ccb-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ccb-pos-bottom-left .ccb-actions,
.ccb-pos-bottom-right .ccb-actions {
    justify-content: flex-end;
}

.ccb-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

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

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

.ccb-btn-accept {
    background-color: var(--ccb-accept-bg, #10b981);
    color: var(--ccb-accept-text, #ffffff);
}

.ccb-btn-reject {
    background-color: var(--ccb-reject-bg, #475569);
    color: var(--ccb-reject-text, #ffffff);
}

@keyframes ccbFadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ccb-pos-bottom .ccb-container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

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