.captcha-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 500px;
  width: 100%;
}
.image-container {
  position: relative;
  margin: 20px 0;
  display: inline-block;
}
#baseImage {
  border: 1px solid #ddd;
  max-width: 100%;
  height: auto;
}
#puzzlePiece {
  position: absolute;
  left: 0;
  top: 0;
  cursor: grab;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
#puzzlePiece.dragging {
  cursor: grabbing;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}
button:hover {
  background: #45a049;
}
button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}



/* Style for error container starts */
#error-container {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 4px;
  display: none; /* Hidden by default */
}

/* Error message styling (dynamically inserted) */
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Style for message area (template content) */
#message-area {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
/* Style for error container ends */

#message {
  margin-top: 15px;
  min-height: 20px;
  font-weight: bold;
}
      
.message {
  padding: 10px;
  margin: 1rem 0;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.message.verifying {
	background: #fff3cd;
  color: #856404;
}
.message.success {
  background: #d4edda;
  color: #155724;
}
.message.error {
  background: #f8d7da;
  color: #721c24;
}

      
.success {
  color: #4CAF50;
}
.error {
  color: #f44336;
}
     
#captchaStatus.valid { color: green; }
#captchaStatus.invalid { color: red; }
#emailField:disabled { opacity: 0.7; cursor: not-allowed; }

/* Add to your CSS */
#emailField:disabled {
	background-color: #f0f0f0;
	cursor: not-allowed;
}

#emailField.valid {
	border-color: #4CAF50;
}

#submitBtn:disabled {
	opacity: 0.6;
}

