/* NX-UNIVERSAL-COMMERCE-UI-2026 */

.nx-commerce-auth-slot{
  display:inline-flex;
  align-items:center;
  margin-left:12px;
  position:relative;
  z-index:10001;
}

.nx-commerce-auth-btn{
  appearance:none;
  border:1px solid rgba(0,245,255,.5);
  border-radius:999px;
  background:
    linear-gradient(
      135deg,
      rgba(0,245,255,.16),
      rgba(126,87,255,.16)
    );
  color:#fff;
  padding:9px 16px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  box-shadow:
    0 0 18px rgba(0,245,255,.12);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.nx-commerce-auth-btn:hover{
  transform:translateY(-1px);
  border-color:#00f5ff;
  box-shadow:
    0 0 22px rgba(0,245,255,.24);
}

.nx-commerce-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:
    rgba(2,7,18,.82);
  backdrop-filter:blur(10px);
}

.nx-commerce-modal-backdrop.open{
  display:flex;
}

.nx-commerce-modal{
  width:min(460px,100%);
  border:1px solid rgba(0,245,255,.32);
  border-radius:24px;
  padding:26px;
  background:
    radial-gradient(
      circle at top right,
      rgba(126,87,255,.22),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #08111f,
      #050914
    );
  color:#fff;
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    0 0 35px rgba(0,245,255,.09);
}

.nx-commerce-modal h2{
  margin:0 0 8px;
  font-size:1.45rem;
}

.nx-commerce-modal p{
  margin:0 0 18px;
  color:#b7c6d8;
  line-height:1.55;
}

.nx-commerce-google-slot{
  min-height:44px;
  display:flex;
  justify-content:center;
  margin:18px 0;
}

.nx-commerce-account-box{
  display:grid;
  gap:8px;
  padding:14px;
  margin:14px 0;
  border-radius:15px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
}

.nx-commerce-account-email{
  word-break:break-word;
  color:#00f5ff;
}

.nx-commerce-modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:18px;
}

.nx-commerce-secondary{
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  border-radius:12px;
  padding:9px 14px;
  cursor:pointer;
}

.nx-commerce-danger{
  border:1px solid rgba(255,90,90,.35);
  background:rgba(255,70,70,.08);
  color:#ffb2b2;
  border-radius:12px;
  padding:9px 14px;
  cursor:pointer;
}

.nx-commerce-status{
  min-height:22px;
  margin-top:12px;
  font-size:.92rem;
  color:#9fb3c8;
  text-align:center;
}

.nx-commerce-status.success{
  color:#6fffc5;
}

.nx-commerce-status.error{
  color:#ff9b9b;
}

@media (max-width:760px){
  .nx-commerce-auth-slot{
    margin-left:6px;
  }

  .nx-commerce-auth-btn{
    padding:8px 12px;
    font-size:.88rem;
  }

  .nx-commerce-modal{
    padding:21px;
  }
}
