.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00244D;
    color: #fff;
    padding: 20px 0;
    z-index: 99999;
    font-family: 'Cabin', sans-serif;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cc-banner.cc-visible {
    transform: translateY(0);
}

.cc-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cc-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #d4dce6;
}

.cc-banner-text a {
    color: #fff;
    text-decoration: underline;
}

.cc-banner-text a:hover {
    color: #b8cfe0;
}

.cc-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cc-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 4px;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cc-btn-accept {
    background: #fff;
    color: #00244D;
}

.cc-btn-accept:hover {
    background: #d4dce6;
}

.cc-btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cc-btn-reject:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cc-btn-manage {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cc-btn-manage:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Modal Overlay */
.cc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cc-modal-overlay.cc-visible {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.cc-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Cabin', sans-serif;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cc-modal-overlay.cc-visible .cc-modal {
    transform: translateY(0);
}

.cc-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #00244D;
    font-weight: 700;
}

.cc-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #5D5D66;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cc-modal-close:hover {
    color: #00244D;
}

.cc-modal-body {
    padding: 20px 24px;
}

.cc-modal-desc {
    font-size: 13px;
    color: #5D5D66;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Category items */
.cc-category {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
}

.cc-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-category-info h4 {
    margin: 0;
    font-size: 15px;
    color: #171724;
    font-weight: 600;
}

.cc-category-info span {
    font-size: 12px;
    color: #5D5D66;
}

.cc-category-desc {
    font-size: 13px;
    color: #5D5D66;
    line-height: 1.5;
    margin-top: 8px;
}

/* Toggle switch */
.cc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.cc-toggle input:checked + .cc-toggle-slider {
    background: #00244D;
}

.cc-toggle input:checked + .cc-toggle-slider::before {
    transform: translateX(20px);
}

.cc-toggle input:disabled + .cc-toggle-slider {
    background: #00244D;
    opacity: 0.6;
    cursor: not-allowed;
}

.cc-always-on {
    font-size: 11px;
    color: #00244D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal footer */
.cc-modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cc-btn-save {
    padding: 10px 28px;
    background: #00244D;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cc-btn-save:hover {
    background: #001a38;
}

.cc-btn-accept-all {
    padding: 10px 28px;
    background: transparent;
    color: #00244D;
    border: 1px solid #00244D;
    border-radius: 4px;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cc-btn-accept-all:hover {
    background: #00244D;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cc-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cc-btn {
        width: 100%;
    }

    .cc-modal {
        width: 95%;
        max-height: 90vh;
    }

    .cc-modal-footer {
        flex-direction: column;
    }

    .cc-btn-save,
    .cc-btn-accept-all {
        width: 100%;
    }
}
