/* Menu QR Generator Styles */

/* Active button state */
.dot-style-btn.active {
  border-color: #22c55e !important;
  color: #4ade80 !important;
}

/* QR Preview container */
#qr-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

#qr-preview canvas {
  max-width: 100%;
  height: auto;
}

/* File upload hover states */
input[type="file"] + label:hover {
  border-color: #22c55e;
}

/* Color input styling */
input[type="color"] {
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 0.5rem;
}

/* Smooth transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Focus states */
input:focus, select:focus, textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: #22c55e;
}

/* Animation for pulse */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Show flex utility */
.show-flex {
  display: flex !important;
}
