/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.animate-fade-in-down {
  animation: fade-in-down 0.5s ease-out;
}

.animate-fade-out {
  animation: fade-out 0.5s ease-out forwards;
}

/* Notification Dropdown Responsive Styles */
@media (max-width: 640px) {
  [data-notifications-target="dropdown"] {
    position: fixed !important;
    top: 4rem !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    width: auto !important;
    margin-top: 0 !important;
  }
}

@media (min-width: 641px) {
  [data-notifications-target="dropdown"] {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 0.5rem !important;
  }
}
