/* Flash message styles */
.alert {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.alert i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.alert-message {
  flex: 1;
}

.dismiss-alert {
  margin-left: 0.75rem;
  cursor: pointer;
}

.dismiss-alert svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Alert types */
.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #065f46;
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
}

.alert-info {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e40af;
}

.alert-warning {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-1rem);
  }
}

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

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