/* A hidden attribútumot a téma CSS-e ne tudja felülírni */
#ccc-banner[hidden],
#ccc-widget[hidden],
.ccc-categories[hidden],
#ccc-save[hidden] {
    display: none !important;
}

.ccc-banner {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 99999;
    background: #1f2937;
    color: #f3f4f6;
    box-shadow: 0 -2px 12px rgba(0,0,0,.25);
    font-size: 14px;
    line-height: 1.5;
}
.ccc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
/* Szövegszín kikényszerítése, hogy a téma ne tudja sötétre állítani */
#ccc-banner,
#ccc-banner p,
#ccc-banner label,
.ccc-message,
.ccc-cat {
    color: #f3f4f6 !important;
}
.ccc-message { flex: 1 1 320px; margin: 0; }
.ccc-link,
.ccc-privacy { color: #93c5fd !important; text-decoration: underline; }
.ccc-categories {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}
.ccc-cat { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ccc-cat input { width: 16px; height: 16px; }
.ccc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ccc-btn {
    border: 0;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, opacity .15s;
}
.ccc-btn-primary { background: #2563eb; color: #fff; }
.ccc-btn-primary:hover { background: #1d4ed8; }
.ccc-btn-secondary { background: #374151; color: #f3f4f6; }
.ccc-btn-secondary:hover { background: #4b5563; }
.ccc-btn-save { background: #059669; color: #fff; }
.ccc-btn-save:hover { background: #047857; }
.ccc-btn-link { background: transparent; color: #93c5fd; text-decoration: underline; padding: 9px 8px; }
@media (max-width: 600px) {
    .ccc-inner { padding: 14px 16px; }
    .ccc-actions { width: 100%; }
    .ccc-btn { flex: 1 1 auto; }
}

/* ---------- Úszó widget gomb ---------- */
.ccc-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99998;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    transition: transform .15s, background .15s;
}
#ccc-widget svg.ccc-icon,
#ccc-widget svg {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    flex: 0 0 26px !important;
    display: block !important;
    overflow: visible !important;
    fill: #ffffff;
}
.ccc-widget svg path {
    fill: #ffffff !important;
}
.ccc-widget:hover {
    background: #2563eb;
    transform: scale(1.08);
}
.ccc-widget:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .ccc-widget { width: 44px; height: 44px; left: 14px; bottom: 14px; }
}
