/* Corporate Cookie Consent — TK285072 */
/* Monochrome corporate design */

#ccc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111111;
  color: #ffffff;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  border-top: 2px solid #ffffff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

#ccc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

#ccc-text {
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
  color: #cccccc;
}

#ccc-text strong { color: #ffffff; }

#ccc-privacy-link {
  color: #ffffff;
  text-underline-offset: 3px;
  margin-left: 8px;
  font-size: 12px;
}

#ccc-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ccc-btn {
  padding: 9px 20px;
  border: 1px solid #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.ccc-btn-primary {
  background: #ffffff;
  color: #111111;
}
.ccc-btn-primary:hover { background: #e0e0e0; }

.ccc-btn-secondary {
  background: transparent;
  color: #ffffff;
}
.ccc-btn-secondary:hover { background: rgba(255,255,255,0.1); }

.ccc-btn-ghost {
  background: transparent;
  color: #aaaaaa;
  border-color: #555555;
  font-size: 12px;
}
.ccc-btn-ghost:hover { color: #ffffff; border-color: #ffffff; }

/* Backdrop */
#ccc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99998;
}

/* Modal */
#ccc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  border: 1px solid #333333;
  z-index: 100000;
  width: 92%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#ccc-modal-inner {
  padding: 28px;
}

#ccc-modal h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #333333;
}

.ccc-category {
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
}
.ccc-category:last-of-type { border-bottom: none; }

.ccc-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ccc-category-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.ccc-category-desc {
  color: #888888;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.ccc-always-on {
  font-size: 11px;
  color: #888888;
  border: 1px solid #444444;
  padding: 2px 8px;
  letter-spacing: 0.05em;
}

/* Toggle switch */
.ccc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

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

.ccc-toggle-slider {
  position: absolute;
  inset: 0;
  background: #444444;
  transition: 0.2s;
  border-radius: 0;
}

.ccc-toggle-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #888888;
  transition: 0.2s;
}

.ccc-toggle input:checked + .ccc-toggle-slider { background: #ffffff; }
.ccc-toggle input:checked + .ccc-toggle-slider:before {
  transform: translateX(20px);
  background: #111111;
}

#ccc-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #333333;
}

/* Persistent manage link */
#ccc-manage-link {
  position: fixed;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  color: #666666;
  text-decoration: none;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border: 1px solid #333333;
  display: none;
}
#ccc-manage-link:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 600px) {
  #ccc-inner { flex-direction: column; align-items: flex-start; }
  #ccc-buttons { width: 100%; }
  .ccc-btn { flex: 1; text-align: center; }
  #ccc-modal-buttons { flex-direction: column; }
  #ccc-manage-link { bottom: auto; top: 12px; }
}
