/* GraceFranc – cookie-consent.css */
.ccBanner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1a1a2e; color: rgba(255,255,255,0.88); padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.ccBanner.is-visible { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.ccBannerText { flex: 1; font-size: 0.875rem; line-height: 1.6; min-width: 220px; }
.ccBannerText a { color: #2ecc9c; text-decoration: underline; }
.ccBannerActions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.ccBtn { font-size: 0.85rem; font-weight: 700; padding: 0.55rem 1.25rem; border-radius: 100px; cursor: pointer; border: none; transition: opacity 0.2s; }
.ccBtn--accept { background: #1a7a70; color: #fff; }
.ccBtn--reject { background: rgba(255,255,255,0.12); color: #fff; }
.ccBtn--settings { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.25); }
.ccBtn:hover { opacity: 0.85; }

.ccPanel {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.65); align-items: center; justify-content: center; padding: 1rem;
}
.ccPanel.is-visible { display: flex; }
.ccPanelBox {
  background: #fff; border-radius: 1rem; max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.ccPanelHeader { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e5e7eb; }
.ccPanelTitle  { font-weight: 700; font-size: 1.125rem; color: #1f2937; }
.ccPanelClose  { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #6b7280; line-height: 1; padding: 0.2rem 0.4rem; border-radius: 0.4rem; }
.ccPanelClose:hover { background: #f3f4f6; }
.ccPanelBody   { padding: 1.5rem; }
.ccCategory    { margin-bottom: 1.25rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 1.25rem; }
.ccCategory:last-child { border-bottom: none; margin-bottom: 0; }
.ccCatHeader   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.ccCatName     { font-weight: 700; font-size: 0.95rem; color: #1f2937; }
.ccCatDesc     { font-size: 0.82rem; color: #6b7280; line-height: 1.55; }
.ccToggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.ccToggle input { opacity: 0; width: 0; height: 0; }
.ccSlider { position: absolute; cursor: pointer; inset: 0; background: #d1d5db; border-radius: 100px; transition: 0.25s; }
.ccSlider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.25s; }
.ccToggle input:checked + .ccSlider { background: #1a7a70; }
.ccToggle input:checked + .ccSlider::before { transform: translateX(20px); }
.ccToggle input:disabled + .ccSlider { opacity: 0.5; cursor: not-allowed; }
.ccPanelSave   { width: 100%; background: #1a7a70; color: #fff; font-weight: 700; font-size: 1rem; padding: 0.875rem; border: none; border-radius: 0.5rem; cursor: pointer; margin-top: 1.25rem; transition: background 0.2s; }
.ccPanelSave:hover { background: #136159; }

@media (max-width: 600px) {
  .ccBanner.is-visible { flex-direction: column; align-items: flex-start; }
  .ccBannerActions { width: 100%; }
  .ccBtn { flex: 1; text-align: center; }
}
