:root{
  --n2p-green:#6ec072;
  --n2p-blue:#1da1f2;
  --n2p-bg:#f5fff8;
  --n2p-text:#333;
}

#n2p-wrapper{
  max-width: 820px;
  margin: 0 auto;
  background: var(--n2p-bg);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  padding: 26px;
  font-family: "Assistant", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--n2p-text);
}

.n2p-header{ text-align:center; margin-bottom: 14px; }
.n2p-header h2{ margin:0; font-size: 26px; }
.n2p-header p{ margin:6px 0 0; color:#555; }

.n2p-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width:720px){
  .n2p-grid{ grid-template-columns: repeat(3, 1fr); }
}

.n2p-field label{
  display:block; font-weight:600; margin-bottom: 6px;
}
.n2p-field select{
  width:100%; background:#fff; border-radius:12px; border:2px solid var(--n2p-green);
  padding:12px; font-size:16px; outline:none;
}
#n2p-style{ border-color:var(--n2p-blue); }

.n2p-actions{
  display:flex; gap:10px; align-items:center; margin-top:12px; flex-wrap:wrap;
}
#n2p-submit{
  background: linear-gradient(90deg,var(--n2p-green),var(--n2p-blue));
  color:#fff; border:0; border-radius:999px; padding: 12px 18px; font-size:18px; cursor:pointer;
  transition: transform .1s ease;
}
#n2p-submit:active{ transform: scale(0.98); }
#n2p-more{
  background:#ffffff; color:#0e7bd7; border:2px solid var(--n2p-blue); border-radius:999px;
  padding:10px 16px; font-size:16px; cursor:pointer;
}
.n2p-secondary{}
.n2p-hidden{ display:none !important; }

#n2p-tries{ margin-top:8px; color:#4c4c4c; font-size:14px; }

#n2p-loader{
  display:flex; align-items:center; gap:12px; margin:16px 0 6px; color:#777;
}
.n2p-paw{
  width:36px; height:36px; border-radius:50%;
  border:4px solid var(--n2p-blue); border-top-color: transparent;
  animation:n2p-spin 1s linear infinite;
}
@keyframes n2p-spin{ to{ transform: rotate(360deg);} }

#n2p-results{ margin-top: 12px; }
.n2p-card{
  background:#fff; border-radius:16px; padding: 14px 16px; margin: 10px 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08); font-size:18px;
}
.n2p-bounce{ animation:n2p-bounce .5s ease; }
@keyframes n2p-bounce{
  0%{ transform: scale(0.98); opacity:0.3; }
  60%{ transform: scale(1.02); opacity:0.9; }
  100%{ transform: scale(1); opacity:1; }
}
.n2p-error{
  background:#fff4f4; border:1px solid #ffdddd; color:#b30000;
  padding:10px 12px; border-radius: 10px;
}
