.fe-cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 10, 16, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.fe-cc-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.fe-cc-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  font-family: Rubik, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1a1a1a;
  text-align: center;
}

.fe-cc-dialog.is-shake {
  animation: fe-cc-shake 0.35s ease;
}

@keyframes fe-cc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.fe-cc-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.fe-cc-close:hover,
.fe-cc-close:focus-visible {
  background: #f3f3f3;
  color: #111;
}

.fe-cc-title {
  margin: 0 28px 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.fe-cc-prompt {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.45;
}

.fe-cc-target {
  font-weight: 700;
  text-transform: lowercase;
}

.fe-cc-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
}

.fe-cc-circle {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fe-cc-circle:hover,
.fe-cc-circle:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.fe-cc-circle:disabled {
  cursor: wait;
  opacity: 0.75;
}

.fe-cc-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  color: #c62828;
}

.fe-cc-status.is-muted {
  color: #666;
}

@media (max-width: 480px) {
  .fe-cc-circle {
    width: 48px;
    height: 48px;
  }

  .fe-cc-title {
    font-size: 18px;
  }
}
