/* Private Exit Gold – Cookie Consent UI */
.peg-cc {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}

.peg-cc__box {
  width: min(680px, 100%);
  background: rgba(18, 22, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  padding: 16px 16px 14px 16px;
  color: rgba(238, 241, 246, 0.92);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.peg-cc__title {
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0 8px 0;
}

.peg-cc__text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(238, 241, 246, 0.80);
  margin-bottom: 12px;
}

.peg-cc__toggles {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.peg-cc__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.peg-cc__label { font-size: 13px; font-weight: 650; }
.peg-cc__desc  { font-size: 12px; color: rgba(238,241,246,0.72); margin-top: 2px; }

.peg-cc__switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}

.peg-cc__rowright input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.peg-cc__rowright input + .peg-cc__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(238,241,246,0.95);
  transition: transform .18s ease;
}

.peg-cc__rowright input:checked + .peg-cc__switch {
  background: rgba(212, 175, 55, 0.28);
  border-color: rgba(212, 175, 55, 0.45);
}

.peg-cc__rowright input:checked + .peg-cc__switch::after {
  transform: translateX(20px);
}

.peg-cc__rowright input:disabled + .peg-cc__switch {
  cursor: not-allowed;
  opacity: 0.7;
}

.peg-cc__actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
  margin-top: 10px;
}

.peg-cc__btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(238,241,246,0.92);
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}

.peg-cc__btn:hover { background: rgba(255,255,255,0.10); }

.peg-cc__btn--primary {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.22);
}

.peg-cc__btn--primary:hover {
  background: rgba(212, 175, 55, 0.28);
}

.peg-cc__links{
  font-size: 12px;
  color: rgba(238,241,246,0.68);
  margin-top: 4px;
}

.peg-cc__links a{
  color: rgba(238,241,246,0.78);
  text-decoration: none;
}
.peg-cc__links a:hover{ text-decoration: underline; }

@media (max-width: 520px){
  .peg-cc { align-items: flex-end; padding: 12px; }
  .peg-cc__box { border-radius: 16px; }
  .peg-cc__actions { grid-template-columns: 1fr; }
}
