.ccb-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    font-family: "Manrope", Sans-serif !important;
    transform: translateX(-50%);
    width: 650px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
}

.ccb-buttons {
    display: flex;
    gap: 10px;
    font-family: "Manrope", Sans-serif;
}

.ccb-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.ccb-decline,
.ccb-open-settings {
    background: #e5e5e5 !important;
    color: #313131 !important;
    font-family: "Manrope", Sans-serif;
}

/* Modal */
.ccb-modal {
    display: none;
    font-family: "Manrope", Sans-serif;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.ccb-modal-box {
    background: #fff;
    width: 700px;
    border-radius: 12px;
    padding: 20px;
}

.ccb-tab-content {
    display: none;
}

#tab-about {
    font-family: "Manrope", Sans-serif;
    font-size: 14px;
}

.ccb-tab-content.active {
    display: block;
}

/* Overlay */
.ccb-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

/* Box */
.ccb-modal-box {
    background: #fff;
    width: 700px;
    border-radius: 12px;
    padding: 20px;
}

/* Tabs */
.ccb-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    font-family: "Manrope", Sans-serif !important;
}

.ccb-tabs button {
    background: none !important;
    color: #000 !important;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: 500;
    font-family: "Manrope", Sans-serif !important;
}

.ccb-tabs .active {
    border-bottom: 2px solid #28a745;
}

/* Tabs Content */
.ccb-tab-content {
    display: none;
}

.ccb-tab-content.active {
    display: block;
}

/* Toggle Rows */
.ccb-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Toggle Switch */
.ccb-toggle input {
    width: 40px;
    height: 20px;
}

/* Buttons */
.ccb-modal-buttons {
    margin-top: 20px;
    text-align: right;
}

.ccb-save {
    background: #28a745;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
}

.ccb-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ccb-accept-all,
.ccb-accept {
    background: #28a745 !important;
    color: #fff !important;
    font-family: "Manrope", Sans-serif;
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ccb-save {
    background: #5f5f5f;
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ccb-body {
    margin: 10px 0 20px 0;
    font-size: 14px;
}

/* SWITCH */
.ccb-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.ccb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ccb-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.ccb-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.ccb-switch input:checked + .ccb-slider {
    background-color: #28a745;
}

.ccb-switch input:checked + .ccb-slider:before {
    transform: translateX(18px);
}

/* Disabled (Essenziell) */
.ccb-switch input:disabled + .ccb-slider {
    background-color: #bbb;
    cursor: not-allowed;
}

/* Essenziell (disabled state) */
.ccb-switch input:disabled + .ccb-slider {
    background-color: #b5d4b0;
    cursor: not-allowed;
    opacity: 0.7;
}

.ccb-category {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.ccb-category-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.ccb-category-content {
    display: none;
    padding: 10px 0 0 0;
}

.ccb-category-content.active {
    display: block;
}

.ccb-module-item {
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.ccb-toggle-details {
    background: transparent !important;
    border: 1px solid #ddd;
    color: #555;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ccb-toggle-details:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.ccb-category {
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
}

.ccb-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccb-category {
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
}

.ccb-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccb-module-item {
    padding: 10px 12px;
    margin-top: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.ccb-module-item strong {
    font-size: 14px;
}

.ccb-module-item small {
    color: #666;
    font-size: 12px;
}

.ccb-module-item {
    padding: 10px 12px;
    margin-top: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.ccb-module-item strong {
    font-size: 14px;
}

.ccb-module-item small {
    color: #666;
    font-size: 12px;
}

.ccb-category-content {
    margin-left: 10px;
}

.ccb-toggle-details {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pfeil (Chevron) */
.ccb-icon {
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

/* Wenn offen → drehen */
.ccb-category-content.active + .ccb-toggle-details .ccb-icon,
.ccb-category-header.active .ccb-icon {
    transform: rotate(-135deg);
}

.ccb-open-settings-link {
    cursor: pointer;
    color: #28a745;
    text-decoration: underline;
}

.ccb-open-settings-link:hover {
    opacity: 0.8;
}

.ccb-modal {
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {

    /* Banner kompakter */
    #ccb-banner {
        padding: 12px;
        border-radius: 10px;
        font-size: 14px;
        width: 85%;
    }

    /* Text etwas enger */
    #ccb-banner p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Buttons untereinander */
    .ccb-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .ccb-buttons button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        cursor: pointer !important;
    }

    /* Modal kleiner */
    .ccb-modal-box {
        width: 90%;
        max-height: 85vh;
        overflow-y: auto;
        padding: 15px;
    }

    /* Tabs kompakter */
    .ccb-tabs button {
        font-size: 13px;
        padding: 6px;
    }

    /* Kategorie kompakter */
    .ccb-category {
        padding: 8px 0;
    }

    .ccb-category strong {
        font-size: 14px;
    }

    .ccb-category small {
        font-size: 12px;
    }

    /* Module kompakter */
    .ccb-module-item {
        padding: 8px;
        font-size: 13px;
    }

    /* Toggle kleiner */
    .ccb-switch {
        transform: scale(0.9);
    }

}