@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Inline tag editing animations */
@keyframes tag-success-highlight {
  0%, 100% { 
    border-width: 1px;
    box-shadow: none;
  }
  50% { 
    border-width: 3px;
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  }
}

.tag-success-highlight {
  animation: tag-success-highlight 0.6s ease-in-out;
}

.tag-card-transition {
  transition: all 0.2s ease-in-out;
}

.tag-card-enter {
  opacity: 0;
  transform: scale(0.95);
}

.tag-card-enter-active {
  opacity: 1;
  transform: scale(1);
}

.tag-card-exit {
  opacity: 1;
  transform: scale(1);
}

.tag-card-exit-active {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease-in-out;
}
