/* RPS Creative consent banner: isolated class namespace to preserve existing design. */
.rps-cookie-widget-root { font-family: 'Inter', sans-serif; }
.rps-cookie-widget-root [hidden] { display: none !important; }
.rps-cookie-widget-root a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.rps-cookie-widget-root a:hover { color: var(--cyan, #00ffe0); }
.rps-cookie-widget-root button:focus-visible,
.rps-cookie-widget-root a:focus-visible,
.rps-cookie-widget-root input:focus-visible + .rps-cookie-switch-track {
  outline: 3px solid var(--cyan, #00ffe0);
  outline-offset: 3px;
}
.rps-cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1110px;
  border: 1px solid #404040;
  border-radius: 9px;
  background: #0e0e0e;
  color: #ffffff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.34);
  padding: 25px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 32px;
  align-items: center;
}
.rps-cookie-eyebrow {
  color: var(--cyan, #00ffe0);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.rps-cookie-banner h2, .rps-cookie-dialog h2 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.18;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 11px;
}
.rps-cookie-banner-copy > p:not(.rps-cookie-eyebrow):not(.rps-cookie-policy-links) {
  color: #dddddd;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.rps-cookie-policy-links { display: flex; flex-wrap: wrap; gap: 8px 19px; margin-top: 12px; }
.rps-cookie-policy-links a { font-size: 12px; }
.rps-cookie-banner-actions { display: flex; flex-direction: column; gap: 9px; }
.rps-cookie-btn {
  width: 100%;
  min-height: 41px;
  padding: 9px 15px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rps-cookie-btn-primary { background: #00ffe0; border-color: #00ffe0; color: #101010; }
.rps-cookie-btn-primary:hover { background: #acfff4; border-color: #acfff4; }
.rps-cookie-btn-secondary { background: #0e0e0e; color: #ffffff; border-color: #ffffff; }
.rps-cookie-btn-secondary:hover { background: #383838; }
.rps-cookie-btn-settings { background: transparent; color: #ffffff; border-color: #707070; }
.rps-cookie-btn-settings:hover { border-color: #ffffff; background: #262626; }
.rps-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  padding: 24px;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.rps-cookie-modal-open { overflow: hidden; }
.rps-cookie-dialog {
  position: relative;
  max-width: 650px;
  width: 100%;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #4d4d4d;
  border-radius: 9px;
  background: #141414;
  color: #ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.5);
  padding: 35px;
}
.rps-cookie-close {
  position: absolute;
  top: 17px; right: 17px;
  width: 38px; height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid #717171;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 25px;
  cursor: pointer;
}
.rps-cookie-close:hover { background: #333333; }
.rps-cookie-dialog h2 { font-size: 30px; margin-bottom: 13px; }
.rps-cookie-dialog > p:not(.rps-cookie-eyebrow):not(.rps-cookie-dialog-policies) {
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 530px;
}
.rps-cookie-category {
  border: 1px solid #4c4c4c;
  border-radius: 5px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
}
.rps-cookie-category h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px;
  color: #ffffff;
}
.rps-cookie-category p { font-size: 12px; line-height: 1.65; color: #cecece; margin: 0; }
.rps-cookie-always-on { color: var(--cyan, #00ffe0); font-size: 12px; font-weight: 700; white-space: nowrap; }
.rps-cookie-switch { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; min-width: 92px; }
.rps-cookie-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rps-cookie-switch-track { width: 50px; height: 28px; border-radius: 15px; background: #595959; position: relative; transition: background 0.2s ease; }
.rps-cookie-switch-track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; transition: transform 0.2s ease; }
.rps-cookie-switch input:checked + .rps-cookie-switch-track { background: #00ffe0; }
.rps-cookie-switch input:checked + .rps-cookie-switch-track::after { transform: translateX(22px); background: #111111; }
.rps-cookie-switch-label { font-size: 11px; line-height: 1.3; color: #ffffff; text-align: center; }
.rps-cookie-dialog-policies { font-size: 12px; line-height: 1.65; color: #cccccc; margin: 18px 0 20px; }
.rps-cookie-dialog-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
@media (max-width: 680px) {
  .rps-cookie-banner { padding: 22px 20px; grid-template-columns: 1fr; gap: 17px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  .rps-cookie-banner h2 { font-size: 20px; }
  .rps-cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .rps-cookie-banner-actions .rps-cookie-btn-settings { grid-column: 1 / -1; }
  .rps-cookie-dialog { padding: 30px 20px 22px; }
  .rps-cookie-dialog h2 { font-size: 25px; }
  .rps-cookie-dialog-actions { grid-template-columns: 1fr; }
  .rps-cookie-category { align-items: flex-start; }
}
@media (max-width: 360px) {
  .rps-cookie-banner-actions { grid-template-columns: 1fr; }
  .rps-cookie-banner-actions .rps-cookie-btn-settings { grid-column: auto; }
  .rps-cookie-category { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .rps-cookie-btn, .rps-cookie-switch-track, .rps-cookie-switch-track::after { transition: none; }
}
