@layer components {
  .fade-in {
    @apply opacity-0 animate-[fadeIn_0.5s_ease-out_forwards];
  }
}

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

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.modal-dialog {
  position: relative;
  margin: 1.75rem auto;
  max-width: 500px;
  cursor: default;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 2rem;
}