.vic-consent-banner,
.vic-consent-modal,
.vic-consent-banner *,
.vic-consent-modal * {
  box-sizing: border-box;
}

.vic-consent-banner[hidden],
.vic-consent-modal[hidden] {
  display: none !important;
}

.vic-consent-banner {
  position: fixed;
  z-index: 999998;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
  background: #101311;
  border: 1px solid rgba(0, 230, 118, 0.34);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  font-family: Poppins, Arial, sans-serif;
}

.vic-consent-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
}

.vic-consent-banner h2,
.vic-consent-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.vic-consent-banner p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #d6ddd8;
  font-size: 13px;
  line-height: 1.55;
}

.vic-consent-banner__actions,
.vic-consent-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vic-consent-banner__actions {
  justify-content: flex-end;
}

.vic-consent-btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.vic-consent-btn:focus-visible,
.vic-consent-close:focus-visible,
.vic-cookie-preferences-link:focus-visible,
.vic-consent-option input:focus-visible {
  outline: 3px solid rgba(0, 230, 118, 0.45);
  outline-offset: 2px;
}

.vic-consent-btn--primary {
  color: #07130c;
  background: #00e676;
  border-color: #00e676;
}

.vic-consent-btn--primary:hover {
  background: #25f28d;
  border-color: #25f28d;
}

.vic-consent-btn--secondary {
  color: #fff;
  background: #252b27;
  border-color: #59625c;
}

.vic-consent-btn--secondary:hover,
.vic-consent-btn--ghost:hover {
  color: #fff;
  background: #303833;
  border-color: #00e676;
}

.vic-consent-btn--ghost {
  color: #e8edea;
  background: transparent;
  border-color: #59625c;
}

.vic-consent-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: Poppins, Arial, sans-serif;
}

.vic-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.vic-consent-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 24px;
  color: #fff;
  background: #111512;
  border: 1px solid rgba(0, 230, 118, 0.34);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.vic-consent-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.vic-consent-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #00e676;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vic-consent-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: #242a26;
  border: 1px solid #4d5650;
  border-radius: 9px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.vic-consent-panel__intro {
  margin: 14px 0 18px;
  color: #cbd2cd;
  font-size: 13px;
  line-height: 1.6;
}

.vic-consent-options {
  display: grid;
  gap: 10px;
}

.vic-consent-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 14px;
  color: #fff;
  background: #1a1f1c;
  border: 1px solid #333b36;
  border-radius: 11px;
  cursor: pointer;
}

.vic-consent-option--locked {
  cursor: default;
  opacity: 0.82;
}

.vic-consent-option strong,
.vic-consent-option small {
  display: block;
}

.vic-consent-option strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.vic-consent-option small {
  color: #b9c2bc;
  font-size: 12px;
  line-height: 1.45;
}

.vic-consent-option input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: #00e676;
}

.vic-consent-panel__actions {
  justify-content: flex-end;
  margin-top: 20px;
}

.vic-consent-modal-open {
  overflow: hidden;
}

.vic-cookie-preferences-footer {
  margin: 16px 20px 28px;
  text-align: center;
}

.vic-cookie-preferences-link {
  padding: 4px;
  color: #9fa8a2;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.vic-cookie-preferences-link:hover {
  color: #00e676;
}

@media (max-width: 900px) {
  .vic-consent-banner__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vic-consent-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .vic-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 13px;
  }

  .vic-consent-banner__content,
  .vic-consent-panel {
    padding: 16px;
  }

  .vic-consent-banner__actions,
  .vic-consent-panel__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .vic-consent-btn {
    width: 100%;
  }

  .vic-consent-modal {
    align-items: end;
    padding: 10px;
  }

  .vic-consent-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .vic-consent-option {
    gap: 12px;
  }
}
