* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  text-align: center;
}

.verify-header h1 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
}

.verify-header p {
  color: #666;
  font-size: 14px;
}

.verify-info {
  margin: 20px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.attempts {
  color: #e74c3c;
  font-weight: bold;
}

.verify-type-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.type-btn {
  padding: 10px 20px;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.type-btn:hover {
  background: #667eea;
  color: white;
}

.type-btn.active {
  background: #667eea;
  color: white;
}

#challenge-container {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.challenge-invisible {
  text-align: center;
  padding: 20px;
}

.invisible-text {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.challenge-drag {
  width: 100%;
}

.drag-container {
  width: 100%;
  margin-bottom: 20px;
}

.drag-track {
  position: relative;
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, #e0e0e0 0%, #f5f5f5 100%);
  border-radius: 25px;
  border: 2px solid #ddd;
  overflow: visible;
}

.drag-target {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #27ae60;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
  z-index: 1;
}

.drag-slider {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  user-select: none;
  transition: box-shadow 0.3s;
}

.drag-slider:active {
  cursor: grabbing;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.drag-slider::before {
  content: '→';
}

.challenge-captcha {
  width: 100%;
}

.captcha-image {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.captcha-image svg {
  max-width: 100%;
}

.captcha-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#captcha-input {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 3px;
  transition: border-color 0.3s;
}

#captcha-input:focus {
  outline: none;
  border-color: #667eea;
}

.refresh-btn {
  padding: 12px 16px;
  background: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.refresh-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

#captcha-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

#captcha-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.challenge-click {
  width: 100%;
}

#click-canvas {
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #ddd;
  cursor: crosshair;
  margin-bottom: 15px;
}

.verify-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.verify-footer p {
  color: #999;
  font-size: 12px;
}

.error-message {
  background: #fee;
  color: #c00;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.success-message {
  background: #efe;
  color: #060;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 15px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.click-counter {
  font-size: 18px;
  color: #667eea;
  font-weight: bold;
  margin-top: 10px;
}

.challenge-shield {
  width: 100%;
  text-align: center;
}

.shield-container {
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 16px;
  margin-bottom: 20px;
}

.shield-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.shield-timer {
  font-size: 48px;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 20px;
}

.shield-unit {
  font-size: 24px;
  color: #999;
  margin-left: 5px;
}

.shield-progress {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.shield-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.shield-text {
  color: #666;
  font-size: 14px;
}
