/* Banner consimtamant cookie-uri - vezi /js/cookie-consent.js */
.cc-root, .cc-root *, .cc-placeholder, .cc-settings-btn { box-sizing: border-box; }
.cc-root [hidden], .cc-placeholder [hidden] { display: none !important; }

.cc-root {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000;
    padding: 12px;
    font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.45; color: #333;
}
.cc-box {
    max-width: 880px; margin: 0 auto; padding: 18px 20px;
    background: #fff; border: 1px solid #ddd; border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
    max-height: calc(100vh - 24px); overflow-y: auto;
}
.cc-title { margin: 0 0 8px; font-size: 18px; font-weight: bold; color: #000; }
.cc-text { margin: 0 0 12px; }
.cc-root a, .cc-placeholder a { color: #0b57a4; text-decoration: underline; }

.cc-prefs { margin: 0 0 12px; border-top: 1px solid #eee; }
.cc-cat { padding: 10px 0; border-bottom: 1px solid #eee; }
.cc-cat-head { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: normal; }
.cc-cat-head input { width: 18px; height: 18px; margin: 0; }
.cc-cat p { margin: 4px 0 0 26px; font-size: 13px; color: #555; }
.cc-always { font-size: 12px; color: #777; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn {
    display: inline-block; padding: 9px 16px; margin: 0;
    font: inherit; font-weight: bold; border-radius: 4px; cursor: pointer;
    border: 2px solid #222;
}
/* "Accept" si "Refuz" au aceeasi vizibilitate, conform ghidurilor EDPB */
.cc-btn-primary { background: #222; color: #fff; }
.cc-btn-primary:hover, .cc-btn-primary:focus { background: #000; border-color: #000; }
.cc-btn-secondary { background: #fff; color: #222; }
.cc-btn-secondary:hover, .cc-btn-secondary:focus { background: #f0f0f0; }
.cc-btn:focus { outline: 2px solid #0b57a4; outline-offset: 2px; }

.cc-settings-btn {
    position: fixed; left: 10px; bottom: 10px; z-index: 99999;
    padding: 6px 10px; font: 12px Arial, Helvetica, sans-serif;
    color: #333; background: #fff; border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15); cursor: pointer; opacity: .85;
}
.cc-settings-btn:hover, .cc-settings-btn:focus { opacity: 1; }

.cc-placeholder {
    padding: 14px; margin: 8px 0; text-align: center;
    background: #f3f3f3; border: 1px dashed #bbb; border-radius: 4px; font-size: 13px;
}
.cc-placeholder p { margin: 0 0 8px; }

@media (max-width: 600px) {
    .cc-actions { flex-direction: column; }
    .cc-btn { width: 100%; }
}
