/* ============================================================
   COOKIE BANNER STYLES
   ============================================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}
.cb-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  max-width: 540px;
  width: 100%;
  margin: 0 16px 16px;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  font-family: 'Inter', -apple-system, sans-serif;
}
.cb-panel h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.cb-panel p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}
.cb-panel p a {
  color: #1B6B4A;
  font-weight: 600;
  text-decoration: none;
}
.cb-panel p a:hover {
  text-decoration: underline;
}
.cb-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cb-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.cb-accept {
  background: #1B6B4A;
  color: #fff;
  flex: 1;
}
.cb-accept:hover {
  background: #145638;
}
.cb-reject {
  background: #F0F0F0;
  color: #555;
}
.cb-reject:hover {
  background: #E0E0E0;
}
.cb-config {
  background: transparent;
  color: #1B6B4A;
  border: 1.5px solid #1B6B4A;
}
.cb-config:hover {
  background: #E8F5EE;
}

/* Config panel */
.cb-config-panel {
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.cb-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
}
.cb-option:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}
.cb-opt-info {
  flex: 1;
}
.cb-opt-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.cb-opt-info span {
  font-size: 12px;
  color: #999;
}

/* Toggle switch */
.cb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 12px;
}
.cb-switch input { opacity: 0; width: 0; height: 0; }
.cb-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #CCC;
  border-radius: 24px;
  transition: .3s;
}
.cb-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.cb-switch input:checked + .cb-slider {
  background: #1B6B4A;
}
.cb-switch input:checked + .cb-slider::before {
  transform: translateX(20px);
}
.cb-switch.disabled .cb-slider {
  background: #A0D8B8;
  cursor: not-allowed;
}
