/* === nupshop global lead modal === */
:root {
  --np-primary: #177ec9;
  --np-navy: #0c1f4a;
  --np-yellow: #f9c42e;
  --np-green: #20c77a;
}

.np-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: Inter, sans-serif; }
.np-modal[hidden] { display: none; }
.np-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 31, 74, 0.65); backdrop-filter: blur(4px); animation: np-fade 0.2s ease; }
.np-modal__panel { position: relative; background: #fff; border-radius: 20px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px 28px; box-shadow: 0 20px 60px rgba(12,31,74,0.4); animation: np-slide 0.25s ease; }
@keyframes np-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes np-slide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.np-modal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: #f3f4f7; color: #555; border: none; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.np-modal__close:hover { background: #e1e3e8; color: #000; }
.np-modal__title { font-size: 24px; font-weight: 800; color: var(--np-navy); margin: 0 0 6px; text-transform: uppercase; letter-spacing: -0.3px; }
.np-modal__sub { font-size: 14px; color: #555; margin: 0 0 20px; line-height: 1.5; }
.np-modal__product { font-size: 13px; color: var(--np-primary); font-weight: 700; margin: 0 0 16px; padding: 8px 12px; background: rgba(23,126,201,0.08); border-radius: 8px; }
.np-modal__product[hidden] { display: none; }
.np-modal__disclaimer { margin: 14px 0 0; font-size: 12px; text-align: center; color: #777; }

/* Form fields */
.np-field { display: block; margin-bottom: 14px; }
.np-field > span { display: block; font-size: 12px; font-weight: 600; color: var(--np-navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.np-field > span em { color: #888; font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; }
.np-field input, .np-field select, .np-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #e1e3e8; border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; transition: border-color 0.15s; box-sizing: border-box; }
.np-field input:focus, .np-field select:focus, .np-field textarea:focus { outline: none; border-color: var(--np-primary); }

/* Messenger picker */
.np-msgr { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
@media (max-width: 480px) { .np-msgr { grid-template-columns: repeat(3, 1fr); } }
.np-msgr__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; background: #fff; border: 1.5px solid #e1e3e8; border-radius: 10px; cursor: pointer; font-family: inherit; transition: border-color 0.15s, transform 0.15s; }
.np-msgr__btn:hover { border-color: rgba(23,126,201,0.5); }
.np-msgr__btn.is-active { border-color: var(--np-primary); background: rgba(23,126,201,0.06); transform: translateY(-1px); }
.np-msgr__btn svg { width: 28px; height: 28px; border-radius: 6px; }
.np-msgr__btn span { font-size: 11px; font-weight: 600; color: var(--np-navy); }

/* Modal CTA */
.np-modal__cta { display: block; width: 100%; margin-top: 8px; padding: 16px; background: var(--np-primary); color: #fff; border: none; border-radius: 999px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; box-shadow: 0 8px 20px rgba(23,126,201,0.35); transition: background 0.15s, transform 0.15s, box-shadow 0.2s; font-family: inherit; }
.np-modal__cta:hover { background: #1265a1; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23,126,201,0.5); }
.np-modal__cta:disabled { background: #999; cursor: not-allowed; box-shadow: none; transform: none; }

/* Success */
.np-modal__success { text-align: center; padding: 30px 0 10px; }
.np-modal__success-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: var(--np-green); color: #fff; border-radius: 50%; font-size: 36px; display: flex; align-items: center; justify-content: center; }
.np-modal__success h3 { font-size: 22px; color: var(--np-navy); margin: 0 0 8px; }
.np-modal__success p { color: #555; margin: 0; }
