* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}*/

.captcha-container {
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 7px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}

/* Initial checkbox state */
.captcha-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f9f9f9;
}

.captcha-checkbox-container:hover {
  border-color: #3498db;
  background: #f0f8ff;
}

.captcha-checkbox-container.verified {
  border-color: #27ae60;
  background: #f0fff4;
}

.captcha-checkbox-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.captcha-checkbox.checked {
  background: #27ae60;
  border-color: #27ae60;
}

.captcha-checkbox.verified {
  background: #27ae60;
  border-color: #27ae60;
}

.captcha-checkbox.animating {
  position: relative;
  overflow: visible;
}

.captcha-ripple-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #ff6b35;
  border-radius: 50%;
  pointer-events: none;
  animation: captcha-ripple-expand 0.6s ease-out forwards;
}

.captcha-ripple-1 {
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.captcha-ripple-2 {
  width: 20px;
  height: 20px;
  animation-delay: 0.1s;
}

.captcha-ripple-3 {
  width: 20px;
  height: 20px;
  animation-delay: 0.2s;
}

@keyframes captcha-ripple-expand {
  0% {
	width: 20px;
	height: 20px;
	opacity: 1;
	border-width: 2px;
  }
  100% {
	width: 60px;
	height: 60px;
	opacity: 0;
	border-width: 1px;
  }
}

.captcha-checkbox-text {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.captcha-recaptcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.captcha-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(45deg, #4285f4, #34a853);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.captcha-logo-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.captcha-privacy-text {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

/* CAPTCHA challenge state */
.captcha-challenge {
  display: none;
  margin-top: 10px;
}

.captcha-challenge-header {
  background: #4285f4;
  color: white;
  padding: 10px;
  border-radius: 3px 3px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.captcha-challenge-content {
  border: 1px solid #d0d0d0;
  border-top: none;
  border-radius: 0 0 3px 3px;
  padding: 12px;
}

.captcha-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 6px;
  margin-bottom: 12px;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.captcha-image-cell {
  width: 100px;
  height: 100px;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.captcha-image-cell:hover {
  border-color: #3498db;
  transform: translateY(-1px);
}

.captcha-image-cell.selected {
  border-color: #03A9F4;
  background: #fff5f5;
}

.captcha-image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.captcha-loading-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 12px;
  z-index: 1;
}

.captcha-image-cell.selected::after {
  content: "\2713";
  position: absolute;
  top: 5px;
  right: 5px;
  background: #03A9F4;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.captcha-challenge-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.captcha-control-buttons {
  display: flex;
  gap: 8px;
}

.captcha-control-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 14px;
}

.captcha-control-btn:hover {
  border-color: #3498db;
  background: #f0f8ff;
}

.captcha-verify-btn {
  background: #4285f4;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.captcha-verify-btn:hover {
  background: #3367d6;
  transform: translateY(-1px);
}

.captcha-verify-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
}

.captcha-footer {
  margin-top: 20px;
  font-size: 12px;
  color: #3498db;
  font-weight: 500;
}

.captcha-error-message {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 3px;
  color: #c33;
  font-size: 12px;
  display: none;
}

/*@media (max-width: 480px) {
  .captcha-container {
	padding: 20px;
  }
  
  .captcha-image-cell {
	width: 80px;
	height: 80px;
  }
  
  .captcha-challenge-controls {
	flex-direction: column;
	gap: 15px;
  }
  
  .captcha-control-buttons {
	order: 2;
  }
  
  .captcha-verify-btn {
	order: 1;
	width: 100%;
  }
}*/