/* 10 € welcome coupon pop-up -- see welcome-popup.js. Centered card on desktop,
   bottom sheet on phones. Brand navy/blue, same type as the rest of the site. */
#wp-overlay {
  position: fixed; inset: 0; z-index: 9500; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 25, 47, 0.55);
}
#wp-overlay.open { display: flex; animation: wp-fade 0.25s ease-out; }
#wp-card {
  position: relative; width: 100%; max-width: 420px; background: #ffffff; border-radius: 22px;
  padding: 30px 28px 20px; text-align: center; font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #1e293b; box-shadow: 0 24px 60px rgba(10, 25, 47, 0.3); animation: wp-rise 0.3s ease-out;
}
.wp-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #f1f5f9; color: #475569; font-size: 20px; line-height: 1; cursor: pointer;
}
.wp-close:hover { background: #e2e8f0; color: #1e293b; }
.wp-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px;
  border-radius: 50%; background: #1e50a2; color: #ffffff; font-size: 24px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(30, 80, 162, 0.35); margin-bottom: 12px;
}
#wp-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; color: #0a192f; }
.wp-lead { font-size: 14.5px; line-height: 1.55; color: #475569; margin: 0 0 18px; }
#wp-form { text-align: left; }
.wp-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; margin-bottom: 6px; }
.wp-input {
  width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 12px;
  font: inherit; font-size: 15px; color: #1e293b; background: #ffffff;
}
.wp-input:focus { outline: none; border-color: #1e50a2; box-shadow: 0 0 0 3px rgba(30, 80, 162, 0.15); }
.wp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wp-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 12.5px; line-height: 1.5; color: #475569; cursor: pointer; }
.wp-check input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: #1e50a2; }
.wp-submit {
  display: block; width: 100%; margin-top: 16px; padding: 14px 18px; border: none; border-radius: 9999px;
  background: #1e50a2; color: #ffffff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 80, 162, 0.28); transition: background 0.15s;
}
.wp-submit:hover { background: #163f82; }
.wp-submit:disabled { opacity: 0.7; cursor: default; }
.wp-error { min-height: 1em; margin: 8px 0 0; font-size: 13px; color: #b42318; text-align: center; }
.wp-done { padding: 4px 0 6px; }
.wp-done-icon { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: #eaf6ef; color: #2f7d4f; font-size: 26px; line-height: 52px; font-weight: 700; }
.wp-done-title { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.wp-done p { font-size: 14px; line-height: 1.55; color: #475569; }
.wp-terms { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: #94a3b8; }
.wp-terms a { color: #64748b; }
.wp-no { margin-top: 8px; border: none; background: none; color: #64748b; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px; }
.wp-close:focus-visible, .wp-submit:focus-visible, .wp-no:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

@keyframes wp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wp-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Phones: a sheet from the bottom instead of a centered card. */
@media (max-width: 560px) {
  #wp-overlay { align-items: flex-end; padding: 0; }
  #wp-card { max-width: none; border-radius: 22px 22px 0 0; padding: 26px 20px 16px; max-height: 92vh; overflow-y: auto; }
  .wp-badge { width: 64px; height: 64px; font-size: 20px; }
  #wp-card h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #wp-overlay.open, #wp-card { animation: none; }
  .wp-submit { transition: none; }
}

/* Corner tab to re-open the pop-up after it was closed (desktop only, see welcome-popup.js). */
#wp-tab {
  position: fixed; left: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px; border: none; border-radius: 9999px; background: #ffffff; color: #0a192f;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.18);
}
#wp-tab:hover { box-shadow: 0 10px 28px rgba(10, 25, 47, 0.26); }
#wp-tab:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
#wp-tab[hidden] { display: none; }
.wp-tab-badge { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 10px; border-radius: 9999px; background: #1e50a2; color: #ffffff; font-size: 13px; }
@media (max-width: 768px) { #wp-tab { display: none !important; } }
