/* Optional: Add custom base styles or component styles here if needed */
body {
  font-family: sans-serif;
}

/* Style for dynamically added user rows */
.user-entry {
  transition: background-color 0.3s ease;
}

.user-entry:hover {
  background-color: #f9fafb;
  /* Tailwind gray-50 */
}

/* Simple loading spinner */
.loader {
  border: 4px solid #f3f3f3;
  /* Light grey */
  border-top: 4px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  /* Initially hidden */
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

[x-cloak] {
  display: none !important;
}

/* Helper for Alpine.js if used, good practice */

/* Status message styles */
#status-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  max-width: 500px;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
}

#status-message.show {
  transform: translateX(0);
}
