/* Conteneur principal */
.cf7ec-captcha {
  width: 100%;
  margin-top: 1em;
  padding: 1em;
  background: #f9f9f9;
  border: 1px solid #ddd;
  text-align: center;
}

/* Bloc instruction (canvas) */
.cf7ec-captcha .instructions {
  width: 100%;
  display: block;
  margin-bottom: 1em;
}

.cf7ec-captcha .instructions canvas {
  width: 100% !important;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Liste des emojis */
#emoji-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em;
  padding-top: 1em;
  margin-bottom: 1em;
}

/* Emoji individuels */
.emoji {
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.1s ease;
  padding: 0.2em;
  line-height: 1;
  background: none;
  border: none;
}

.emoji:hover {
  transform: scale(1.3);
}

/* Message de résultat */
#result-message {
  font-size: 1em;
  margin-top: 0.5em;
  color: #333;
}

/* Spinner en emoji */
.spinner::after {
  content: '⏳';
  display: inline-block;
  margin-left: 0.3em;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 600px) {
  .emoji {
    font-size: 1.5em;
  }

  #result-message {
    font-size: 0.95em;
  }
}
