/* ============= EMAIL VERIFICATION MODAL ============= */

.wpbc-verify-modal {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  animation: wpbc-fadeIn 0.2s ease;
}

.wpbc-verify-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.wpbc-verify-content {
  position: relative;
  max-width: 480px;
  margin: 80px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: wpbc-slideDown 0.3s ease;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

.wpbc-verify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #f0f0f0;
}

.wpbc-verify-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.wpbc-verify-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
}

.wpbc-verify-close:hover {
  background: #f5f5f5;
  color: #666;
}

.wpbc-verify-body {
  padding: 28px;
}

.wpbc-verify-message {
  font-size: 15px;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.wpbc-verify-message strong {
  color: #2536eb;
  font-weight: 600;
}

.wpbc-verify-submessage {
  font-size: 13px;
  color: #888;
  margin: 0 0 24px 0;
}

.wpbc-verify-code-input-group {
  margin-bottom: 20px;
}

.wpbc-verify-code-input {
  width: 100%;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 8px;
  font-family: 'DM Sans', 'Courier New', monospace;
  color: #1a1a1a;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s;
}

.wpbc-verify-code-input:focus {
  border-color: #2536eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 54, 235, 0.1);
}

.wpbc-verify-code-input::placeholder {
  color: #d1d5db;
  letter-spacing: 8px;
}

.wpbc-verify-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid #dc2626;
}

.wpbc-verify-submit-btn {
  width: 100%;
  background: #2536eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.wpbc-verify-submit-btn:hover:not(:disabled) {
  background: #1e2bcc;
  filter: brightness(0.9);
}

.wpbc-verify-submit-btn:disabled {
  background: #a0a8f0;
  cursor: default;
  opacity: 0.7;
}

.wpbc-verify-resend {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}

.wpbc-verify-resend-btn {
  background: none;
  border: none;
  color: #2536eb;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
}

.wpbc-verify-resend-btn:hover {
  color: #1e2bcc;
}

.wpbc-verify-resend-btn:disabled {
  color: #9ca3af;
  text-decoration: none;
  cursor: default;
}

.wpbc-verify-change-email-link {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #888;
}

.wpbc-verify-change-email-btn {
  background: none;
  border: none;
  color: #2536eb;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
}

.wpbc-verify-change-email-form {
  margin-top: 20px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.wpbc-verify-new-email-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.wpbc-verify-new-email-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.wpbc-verify-new-email-input:focus {
  outline: none;
  border-color: #2536eb;
  box-shadow: 0 0 0 3px rgba(37, 54, 235, 0.1);
}

.wpbc-verify-change-email-actions {
  display: flex;
  gap: 8px;
}

.wpbc-verify-cancel-change-btn,
.wpbc-verify-confirm-change-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.15s;
}

.wpbc-verify-cancel-change-btn {
  background: #fff;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.wpbc-verify-cancel-change-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.wpbc-verify-confirm-change-btn {
  background: #2536eb;
  color: #fff;
}

.wpbc-verify-confirm-change-btn:hover:not(:disabled) {
  background: #1e2bcc;
  filter: brightness(0.9);
}

.wpbc-verify-confirm-change-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes wpbc-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wpbc-slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile responsive */
@media (max-width: 640px) {
  .wpbc-verify-content {
    margin: 20px;
    max-width: calc(100% - 40px);
  }

  .wpbc-verify-header {
    padding: 20px;
  }

  .wpbc-verify-body {
    padding: 20px;
  }

  .wpbc-verify-code-input {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .wpbc-verify-code-input::placeholder {
    letter-spacing: 6px;
  }
}
