/* ===========================
   SIGNUP POPUP — FULL CSS
   =========================== */
.signup-popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: grid;
  place-items: center;
   z-index: 2147483647 !important;
}
.signup-popup[hidden]{ display: none !important; }


.signup-popup__panel{
  background: linear-gradient(135deg, #FFF 0%, #CDEBFE 30%, #F3FAFD 48%) !important;
  position: relative;
  max-width: 605px;
  width: min(92vw, 605px);
  padding: 20px 22px 24px;
  border-radius: 18px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  border: 1.5px dotted rgba(31,136,201,.45);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  color: #1F88C9;
}

.signup-popup__close{
  position: absolute;
  top: 10px;
  right: 0px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background-color: #ffffff00 !important;
  color: #D1D3D4 !important;
  padding: none !important;
  cursor: pointer;
  font-size: 25px !important;
  line-height: 1;
}
.signup-popup__close:hover{ background: rgba(255,255,255,.92); }

.signup-popup__title{
  margin: 2px 38px 20px 2px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: #000;
  font-family: Montserrat;
}
.signup-popup__lead{
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #000;
  font-family: Montserrat;
}

.signup-popup__form{
  display: grid;
  gap: 14px;
  justify-items: start;
}

.signup-popup__label{
  width: -webkit-fill-available;
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1E1E1E;
}

.signup-popup__input{
  height: 48px;
  padding: 3px 16px !important;
  border-radius: 20px !important;
  border: 1px solid #1F88C9 !important;
  background: #fff;
  font-size: 15px;
  color: #0B2840;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.04);
}
.signup-popup__input::placeholder{ color: #A3B5C6; }
.signup-popup__input:focus{
  border-color: #0f6aa2;
  box-shadow: 0 0 0 3px rgba(31,136,201,.15);
}

.signup-popup__check {
  display: grid;
  grid-template-areas:
    "error error"
    "box   text";
  grid-template-columns: 18px 1fr;
  column-gap: 10px; 
  row-gap: 6px;
  align-items: start;
  font-size: 13px;
  color: #0B2840;
}

.signup-popup__check input[type="checkbox"] {
  grid-area: box;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #1F88C9;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.signup-popup__check input[type="checkbox"]:checked {
  background: #1F88C9;
  border-color: #1F88C9;
}
.signup-popup__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.signup-popup__check > span:not(.signup-popup__error) {
  grid-area: text;
}

.signup-popup__check .signup-popup__error {
  grid-area: error;
  display: none;
  color: #cc0000;
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.signup-popup__check.is-invalid .signup-popup__error {
  display: block;
}

.signup-popup__submit{
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  border: 0 !important;
  background: #A2CBEF !important;
  color: #000 !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.signup-popup__submit:hover,
.signup-popup__submit:focus,
.signup-popup__submit:active{
  background: #A2CBEF !important;
  color: #000 !important;
  filter: brightness(.98) !important;
  box-shadow: 0 2px 0 rgba(0,0,0,.06) !important;
  outline: none !important;
}

.signup-popup__submit .icon{
  display: inline-flex;
  height: 18px;
}
.signup-popup__submit .icon svg{
  display: block;
  height: 100%;
  width: auto;
}

.icon-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border-radius: 8px;
}
.icon-badge svg{ display:block; height:14px; width:auto; }

.body--no-scroll{
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 420px){
  .signup-popup__panel{
    width: 94vw;
    padding: 16px 16px 20px;
  }
  .signup-popup__title{ font-size: 22px; margin-right: 34px; }
  .signup-popup__lead{ font-size: 14px; }
  .signup-popup__input{ height: 46px; font-size: 14px; }
}

/* ===========================
   Sticky buttons (footer)
   =========================== */
.nl-sticky-buttons{
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
/*   display: flex; */
  display: none;
  z-index: 2147483646 !important;
  isolation: isolate;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  font-family: system-ui,-apple-system, Segoe UI, Roboto, 'Montserrat', sans-serif;
  font-weight: 600;
}

.nl-sticky-buttons .btn-left,
.nl-sticky-buttons .btn-right{
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  line-height: 1;
  color: #000;
  border: none;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  background-clip: padding-box;
}
.btn-left{
  background: #FFD600;
  border-radius: 40px 0 0 0;
}
.btn-left:hover{ filter: brightness(0.95); }

.nl-sticky-buttons .btn-right{
  background: #A2CBEF !important;
  border-radius: 0 40px 0 0 !important;
  cursor: pointer;
}
.nl-sticky-buttons .btn-right:hover,
.nl-sticky-buttons .btn-right:focus,
.nl-sticky-buttons .btn-right:active{
  background: #A2CBEF !important;
  color: #000 !important;
  filter: none !important;
  box-shadow: none !important;
  outline: none;
}

.icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  flex: 0 0 auto;
}
.icon svg{
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
}

/* ===========================
   Sticky buttons: responsive sizes
   =========================== */

/* Tablet landscape / small desktop */
@media (max-width: 1024px){
  .nl-sticky-buttons .btn-left,
  .nl-sticky-buttons .btn-right{
    font-size: 18px;
    padding: 11px 18px;
    gap: 8px;
  }
  .nl-sticky-buttons .icon{ height: 16px; }
	
  .signup-popup__panel{ padding: 18px 18px 22px; max-width: 560px; }
  .signup-popup__title{ font-size: 22px; }
  .signup-popup__lead{ font-size: 16px; }
}

/* Tablet portrait / large phones */
@media (max-width: 768px){
  .nl-sticky-buttons{ border-radius: 18px 18px 0 0; }
  .nl-sticky-buttons .btn-left,
  .nl-sticky-buttons .btn-right{
    font-size: 16px;
    padding: 10px 16px;
    gap: 8px;
  }
  .nl-sticky-buttons .icon{ height: 16px; }
  .btn-left{ border-radius: 28px 0 0 0; }
  .nl-sticky-buttons .btn-right{ border-radius: 0 28px 0 0 !important; }
	
	  .signup-popup__panel{ width: 85vw; padding: 16px 16px 20px; }
  .signup-popup__title{ font-size: 21px; }
  .signup-popup__lead{ font-size: 15px; }
  .signup-popup__input{ height: 46px; font-size: 14px; }
  .signup-popup__close{ font-size: 22px !important; }
}

/* Phones */
@media (max-width: 560px){
  .nl-sticky-buttons{ border-radius: 16px 16px 0 0; }
  .nl-sticky-buttons .btn-left,
  .nl-sticky-buttons .btn-right{
    font-size: 14px;
    padding: 10px 14px;
    gap: 6px;
  }
  .nl-sticky-buttons .icon{ height: 15px; }
}

/* Extra small phones */
@media (max-width: 400px){
  .nl-sticky-buttons .btn-left,
  .nl-sticky-buttons .btn-right{
    font-size: 12px;
    padding: 9px 12px;
    gap: 6px;
  }
  .nl-sticky-buttons .icon{ height: 14px; }
	
	  .signup-popup__title{ font-size: 20px; }
  .signup-popup__lead{ font-size: 14px; }
}



.signup-popup__label.is-invalid > span {
  color: #cc0000;
}
.signup-popup__label.is-valid > span {
  color: inherit;
}

.signup-popup__check.is-invalid {
  outline: none !important;
  outline-offset: 0 !important;
  border-radius: 0;
}

.signup-popup__check.is-invalid .signup-popup__error {
  display: block;
  color: #cc0000;
  font-size: 12px;
  margin-top: 6px;
}
.signup-popup__check .signup-popup__error {
  display: none;
}

.signup-popup__error {
  width: max-content;
  color: #cc0000;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 6px;
  display: none;
}
.signup-popup__error.is-visible {
  display: block;
}

.signup-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 2147483649 !important;
  font-size: 14px;
}
.signup-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.signup-toast__icon {
  margin-right: 8px;
}
.signup-toast.is-success {
  background: #C8E6C9;
  color: #1B5E20; 
}

.signup-toast.is-warning {
  background: #FFE082;
  color: #E65100; 
}

.signup-toast.is-error {
  background: #B00020;
  color: #fff; 
}

