/* ===== Welcome Pop-up ===== */
.wp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.wp-overlay.wp-show { display: flex; opacity: 1; }

.wp-modal {
  background: #fff;
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  padding: 28px 26px 22px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  max-height: 92vh;
  overflow-y: auto;
  animation: wpSlideIn 0.35s ease;
}
@keyframes wpSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.wp-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none; border: none;
  font-size: 30px; line-height: 1;
  color: #888; cursor: pointer;
  transition: color 0.2s;
}
.wp-close:hover { color: #c0392b; }

.wp-header { text-align: center; margin-bottom: 18px; }
.wp-logo { max-height: 55px; margin-bottom: 10px; }
.wp-header h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #1a3c5e;
  margin: 0 0 6px;
}
.wp-header p { font-size: 13px; color: #666; margin: 0; }

.wp-field { margin-bottom: 14px; }
.wp-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.wp-field label span { color: #c0392b; }

.wp-field input,
.wp-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wp-field input:focus,
.wp-field select:focus {
  outline: none;
  border-color: #1a7fc1;
  box-shadow: 0 0 0 3px rgba(26,127,193,0.15);
}
.wp-field input.wp-invalid,
.wp-field select.wp-invalid { border-color: #c0392b; }

.wp-submit {
  width: 100%;
  background: #1a7fc1;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}
.wp-submit:hover { background: #145f91; }
.wp-submit:disabled { background: #9bb8cc; cursor: not-allowed; }

.wp-privacy {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin: 10px 0 0;
}

.wp-message {
  display: none;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  margin-bottom: 12px;
}
.wp-message.wp-error   { display: block; background: #fdecea; color: #a93226; border: 1px solid #f5c6cb; }
.wp-message.wp-success { display: block; background: #e8f8f1; color: #1e7e4f; border: 1px solid #b7e4c7; }

body.wp-locked { overflow: hidden; }

@media (max-width: 480px) {
  .wp-modal { padding: 22px 18px 18px; }
  .wp-header h3 { font-size: 17px; }
}
