.vsg-privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99998;
}

.vsg-privacy-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(590px, 92vw);
  height: 100vh;
  background: #fff;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  overflow-y: auto;
  color: #5f6062;
  font-family: Arial, Helvetica, sans-serif;
}

.vsg-privacy-panel__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.vsg-privacy-panel__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid #818181;
  background: #fff;
  color: #555;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.vsg-privacy-panel__brand {
  padding: 22px 22px 10px;
  font-size: 15px;
  font-weight: 700;
  color: #2f235b;
}

.vsg-privacy-panel h2 {
  margin: 10px 22px 0;
  font-size: 22px;
  line-height: 1.25;
  color: #6a6a6a;
  font-weight: 700;
}

.vsg-privacy-panel__intro {
  margin: 16px 22px 26px;
  font-size: 15px;
  line-height: 1.6;
}

.vsg-privacy-panel__heading {
  margin: 0 22px 16px;
  font-size: 18px;
  color: #6a6a6a;
  font-weight: 700;
}

.vsg-privacy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  margin: 0 22px;
  border: 1px solid #d7d7d7;
  border-bottom: 0;
  background: #fff;
}

.vsg-privacy-row:last-of-type {
  border-bottom: 1px solid #d7d7d7;
}

.vsg-privacy-row__label,
.vsg-privacy-row--static .vsg-privacy-row__label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #666;
  background: none;
  border: 0;
  text-align: left;
}

.vsg-privacy-row__toggle-info { cursor: pointer; }
.vsg-privacy-row__plus {
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
  color: #234b72;
}

.vsg-privacy-row__status {
  padding-right: 18px;
  color: #3266c8;
  font-size: 16px;
  font-weight: 700;
}

.vsg-privacy-row__details {
  grid-column: 1 / -1;
  padding: 0 18px 16px 66px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.vsg-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  margin-right: 14px;
}

.vsg-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.vsg-switch__slider {
  position: absolute;
  inset: 0;
  background: #bfc4c9;
  border-radius: 999px;
  transition: 0.2s ease;
}

.vsg-switch__slider:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: 0.2s ease;
}

.vsg-switch input:checked + .vsg-switch__slider {
  background: #5a9b63;
}

.vsg-switch input:checked + .vsg-switch__slider:before {
  transform: translateX(26px);
}

.vsg-privacy-panel__actions {
  margin-top: auto;
  padding: 28px 22px 24px;
  border-top: 1px solid #e3e3e3;
}

.vsg-privacy-panel__confirm {
  min-width: 264px;
  padding: 14px 24px;
  border: 0;
  background: #34205e;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
}

body.vsg-privacy-open {
  overflow: hidden;
}

[hidden] { display: none !important; }

@media (max-width: 640px) {
  .vsg-privacy-panel { width: 100vw; }
  .vsg-privacy-panel__confirm { width: 100%; min-width: 0; }
}
