/*
 * 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.
 */

/* Animations for markdown checkbox feedback */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.animate-fade-out {
  animation: fadeOut 0.3s ease-in-out;
}

/* Task list styling for better checkbox appearance */
.task-list {
  list-style: none;
  padding-left: 0;
}

.task-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.task-list-checkbox {
  margin-top: 0.125rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.task-list-checkbox:hover:not(:disabled) {
  transform: scale(1.1);
}

.task-list-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
