/* ==========================================================
   REALPRO_OPTIONAL_CONSENT_V1_20260921
   Global non-blocking privacy preference UI.
   ========================================================== */

#rp-consent[hidden],
#rp-consent-reopen[hidden]{
  display:none !important;
}


/* ==========================================================
   CONSENT PANEL
   ========================================================== */

#rp-consent.rp-consent{

  position:fixed;

  left:50%;
  bottom:22px;

  z-index:2147483000;

  width:
    min(
      920px,
      calc(100vw - 36px)
    );

  margin:0;
  padding:0;

  transform:
    translateX(-50%);

  color:#fff;

  font-family:
    inherit;

  pointer-events:none;
}


#rp-consent
.rp-consent__inner{

  position:relative;

  display:grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:
    clamp(24px,4vw,58px);

  width:100%;

  padding:
    19px
    20px
    19px
    22px;

  border:
    1px solid
    rgba(255,255,255,.10);

  border-radius:
    18px;

  background:
    linear-gradient(
      135deg,
      rgba(5,13,24,.97) 0%,
      rgba(7,23,38,.97) 100%
    );

  box-shadow:
    0 24px 64px
    rgba(0,0,0,.28);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  pointer-events:auto;
}


#rp-consent
.rp-consent__inner::before{

  content:"";

  position:absolute;

  left:22px;
  top:0;

  width:52px;
  height:2px;

  background:#ef3340;

  border-radius:
    999px;
}


/* ==========================================================
   COPY
   ========================================================== */

#rp-consent
.rp-consent__copy{

  min-width:0;
}


#rp-consent
.rp-consent__eyebrow{

  margin:
    0
    0
    7px;

  color:
    #ef3340;

  font-size:
    9px;

  font-weight:
    800;

  line-height:
    1.2;

  letter-spacing:
    .18em;

  text-transform:
    uppercase;
}


#rp-consent
.rp-consent__message{

  max-width:
    62ch;

  margin:0;

  color:
    rgba(255,255,255,.84);

  font-size:
    13px;

  font-weight:
    400;

  line-height:
    1.55;
}


#rp-consent
.rp-consent__legal{

  display:flex;

  flex-wrap:wrap;

  align-items:center;

  gap:6px;

  margin-top:
    8px;

  color:
    rgba(255,255,255,.40);

  font-size:
    10px;

  line-height:
    1.4;
}


#rp-consent
.rp-consent__legal a{

  color:
    rgba(255,255,255,.64);

  text-decoration:none;

  transition:
    color .18s ease;
}


#rp-consent
.rp-consent__legal a:hover,

#rp-consent
.rp-consent__legal a:focus-visible{

  color:#fff;
}


/* ==========================================================
   ACTIONS
   ========================================================== */

#rp-consent
.rp-consent__actions{

  display:flex;

  align-items:center;

  gap:
    9px;

  flex:
    0 0 auto;
}


#rp-consent
.rp-consent__button{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  min-width:
    96px;

  min-height:
    42px;

  margin:0;

  padding:
    0
    18px;

  border-radius:
    999px;

  font-family:
    inherit;

  font-size:
    11px;

  font-weight:
    700;

  line-height:
    1;

  letter-spacing:
    .02em;

  cursor:pointer;

  touch-action:
    manipulation;

  transition:
    transform .17s ease,
    background-color .17s ease,
    border-color .17s ease,
    color .17s ease,
    box-shadow .17s ease;
}


#rp-consent
.rp-consent__button:hover{

  transform:
    translateY(-1px);
}


#rp-consent
.rp-consent__button:active{

  transform:
    translateY(0)
    scale(.98);
}


#rp-consent
.rp-consent__button:focus-visible,

#rp-consent-reopen:focus-visible{

  outline:
    2px solid
    rgba(239,51,64,.85);

  outline-offset:
    3px;
}


#rp-consent
.rp-consent__button--secondary{

  border:
    1px solid
    rgba(255,255,255,.14);

  background:
    rgba(255,255,255,.025);

  color:
    rgba(255,255,255,.72);
}


#rp-consent
.rp-consent__button--secondary:hover{

  border-color:
    rgba(255,255,255,.24);

  background:
    rgba(255,255,255,.06);

  color:#fff;
}


#rp-consent
.rp-consent__button--primary{

  border:
    1px solid
    rgba(239,51,64,.88);

  background:
    #ef3340;

  color:#fff;

  box-shadow:
    0 7px 22px
    rgba(239,51,64,.18);
}


#rp-consent
.rp-consent__button--primary:hover{

  background:
    #f1434f;

  border-color:
    #f1434f;
}


/* ==========================================================
   REOPEN CONTROL
   ========================================================== */

#rp-consent-reopen.rp-consent-reopen{

  position:fixed;

  left:18px;
  bottom:18px;

  z-index:2147482990;

  display:inline-flex;

  align-items:center;

  gap:
    7px;

  min-height:
    32px;

  margin:0;

  padding:
    0
    11px;

  border:
    1px solid
    rgba(255,255,255,.09);

  border-radius:
    999px;

  background:
    rgba(5,13,24,.84);

  color:
    rgba(255,255,255,.64);

  box-shadow:
    0 8px 24px
    rgba(0,0,0,.18);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);

  font-family:
    inherit;

  font-size:
    9px;

  font-weight:
    700;

  line-height:
    1;

  letter-spacing:
    .04em;

  cursor:pointer;

  touch-action:
    manipulation;

  transition:
    color .17s ease,
    border-color .17s ease,
    background-color .17s ease;
}


#rp-consent-reopen:hover{

  color:#fff;

  border-color:
    rgba(255,255,255,.16);

  background:
    rgba(7,23,38,.94);
}


#rp-consent-reopen
.rp-consent-reopen__dot{

  display:block;

  width:5px;
  height:5px;

  border-radius:50%;

  background:
    #ef3340;

  box-shadow:
    0 0 0 3px
    rgba(239,51,64,.10);
}


/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width:700px){

  #rp-consent.rp-consent{

    bottom:12px;

    width:
      calc(100vw - 24px);
  }


  #rp-consent
  .rp-consent__inner{

    grid-template-columns:
      1fr;

    gap:
      15px;

    padding:
      18px
      17px
      16px;

    border-radius:
      17px;
  }


  #rp-consent
  .rp-consent__inner::before{

    left:17px;

    width:42px;
  }


  #rp-consent
  .rp-consent__message{

    font-size:
      12px;

    line-height:
      1.55;
  }


  #rp-consent
  .rp-consent__actions{

    display:grid;

    grid-template-columns:
      1fr
      1fr;

    width:100%;
  }


  #rp-consent
  .rp-consent__button{

    width:100%;

    min-width:0;

    min-height:42px;
  }


  #rp-consent-reopen.rp-consent-reopen{

    left:12px;
    bottom:12px;

    min-height:
      30px;

    padding:
      0
      10px;
  }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion:reduce){

  #rp-consent *,
  #rp-consent-reopen{

    transition:none !important;
  }

}
