 body {
      font-family: 'Poppins', sans-serif;
    }
/* Hide native checkbox but accessible */
input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  pointer-events: none;
  z-index: -1;
}

/* Label container */
label.flex.items-center.space-x-2.cursor-pointer {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 2.75rem; /* space for circular checkbox */
  font-size: 0.875rem;
  user-select: none;
  color: #4b5563; /* gray-700 */
  cursor: pointer;
}

/* Circular checkbox base - unchecked */
label.flex.items-center.space-x-2.cursor-pointer::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%; /* Circular */
  border: 2.5px solid #4f46e5; /* Indigo-600 */
  background-color: transparent;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
}

/* Checkmark container */
label.flex.items-center.space-x-2.cursor-pointer > span.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG checkmark */
label.flex.items-center.space-x-2.cursor-pointer > span.checkmark svg {
  width: 1rem;
  height: 1rem;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.3s ease;
  pointer-events: none;
  user-select: none;
}

/* Checked state - filled circle background */
input[type="checkbox"]:checked + span.checkmark {
  background-color: #4f46e5; /* Indigo fill */
  border-radius: 50%;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 6px rgba(79, 70, 229, 0.6); /* subtle glow */
}

/* Animate checkmark stroke */
input[type="checkbox"]:checked + span.checkmark svg {
  stroke-dashoffset: 0;
}

/* Remove label::before border on checked to avoid double border */
input[type="checkbox"]:checked ~ label.flex.items-center.space-x-2.cursor-pointer::before {
  border-color: transparent;
  background-color: transparent;
}

/* Focus styles */
input[type="checkbox"]:focus-visible + span.checkmark {
  outline: 3px solid #4338ca; /* Indigo-700 */
  outline-offset: 2px;
  border-radius: 50%;
}

#copyBtn{
  color: #4338ca;
}

/* Animate password strength badge */
.strength-indicator {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-weight: 600;
font-size: 0.85rem;
margin-top: 0.25rem;
user-select: none;
animation: pulse 1.5s ease-in-out infinite;
min-width: 6.5rem;
text-align: center;
}

@keyframes pulse {
0%,
100% {
  opacity: 1;
}

50% {
  opacity: 0.6;
}
}

/* Focus visible for buttons */
button:focus-visible {
outline: 3px solid #4f46e5; /* Indigo-600 */
outline-offset: 2px;
}

/* Responsive adjustment: single column on very small screens */
@media (max-width: 320px) {
.checkbox-group {
  grid-template-columns: 1fr !important;
}

label.flex.items-center.space-x-2.cursor-pointer {
  padding-left: 2.75rem;
  font-size: 0.875rem;
}

label.flex.items-center.space-x-2.cursor-pointer::before,
label.flex.items-center.space-x-2.cursor-pointer > span.checkmark {
  width: 1.5rem;
  height: 1.5rem;
}

label.flex.items-center.space-x-2.cursor-pointer > span.checkmark svg {
  stroke-width: 3;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}
}