:root {
  --purple: #7B4BAF;
  --purple-dark: #5E3590;
  --pink: #E94E8A;
  --pink-light: #F472A8;
  --mint: #5FCDB0;
  --mint-light: #7EDDC4;
  --yellow: #F5C542;
  --yellow-light: #FADE7A;
  --white: #FFFFFF; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

.nls-widget {
  font-family: 'Quicksand', sans-serif;
  max-width: 520px;
  margin: 2rem auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--purple);
  box-shadow: 0 8px 32px rgba(123, 75, 175, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative; }

/* Decorative circles */
.nls-widget::before, .nls-widget::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none; }

.nls-widget::before {
  width: 160px;
  height: 160px;
  background: var(--pink);
  top: -40px;
  right: -30px; }

.nls-widget::after {
  width: 100px;
  height: 100px;
  background: var(--mint);
  bottom: -20px;
  left: -20px; }

.nls-header {
  padding: 1.75rem 2rem 0.75rem;
  text-align: center;
  position: relative;
  z-index: 1; }

.nls-logo {
  width: 220px;
  max-width: 70%;
  height: auto;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2)); }

.nls-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); }

.nls-subtitle {
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.35rem;
  line-height: 1.45; }

.nls-body {
  padding: 1.25rem 2rem 2rem;
  position: relative;
  z-index: 1; }

.nls-input-row {
  display: flex;
  gap: 0;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.3s; }

.nls-input-row:focus-within {
  box-shadow: 0 4px 20px rgba(233, 78, 138, 0.4), inset 0 0 0 2px var(--pink-light); }

.nls-input-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  outline: none;
  background: var(--white);
  color: #333; }

.nls-input-row input::placeholder {
  color: #b5b5b5;
  font-weight: 500; }

.nls-input-row button {
  padding: 0.85rem 1.6rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  transition: background 0.25s, transform 0.15s;
  white-space: nowrap; }

.nls-input-row button:hover {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 100%);
  transform: scale(1.03); }

.nls-input-row button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none; }

.nls-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  display: none;
  animation: nls-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

.nls-msg.success {
  display: block;
  background: var(--mint);
  color: #1a5c4a; }

.nls-msg.info {
  display: block;
  background: var(--yellow);
  color: #6b5310; }

.nls-msg.error {
  display: block;
  background: #f87171;
  color: #fff; }

@keyframes nls-pop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.95); }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1); } }
/* Small dots decoration */
.nls-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem; }

.nls-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.35; }

.nls-dots span:nth-child(1) {
  background: var(--pink); }

.nls-dots span:nth-child(2) {
  background: var(--yellow); }

.nls-dots span:nth-child(3) {
  background: var(--mint); }

.nls-dots span:nth-child(4) {
  background: var(--pink); }

.nls-dots span:nth-child(5) {
  background: var(--yellow); }
