/* Loader e step overlay p2 */
.p2-form-loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.p2-form-loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e0e0e0;
  border-top-color: #2a7e8a;
  border-radius: 50%;
  animation: p2-spin 0.8s linear infinite;
}
@keyframes p2-spin {
  to { transform: rotate(360deg); }
}
.p2-form-loader p {
  margin-top: 12px;
  color: #333;
}
.p2-form-error-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fee;
  color: #c00;
  padding: 12px 20px;
  border-radius: 4px;
  z-index: 10001;
  max-width: 90%;
}

.p2-step-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px;
}
.p2-step-modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.p2-step-modal h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}
.p2-step-modal label {
  display: block;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}
.p2-step-modal input[type="text"],
.p2-step-modal input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.p2-step-modal button[type="submit"],
.p2-step-modal .btn {
  margin-top: 16px;
  padding: 12px 24px;
  background: #2a7e8a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.p2-step-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.p2-step-close:hover {
  color: #333;
}
