.modal {
  display: none;
}
.modal.is-open {
  display: block;
}
.modal__overlay {
  background: rgba(0,0,0,0.6);
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.modal__container {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  text-align: right;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideIn 0.3s forwards;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modal__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.modal__content p {
  font-size: 1rem;
  color: #374151;
}

.modal__btn, .modal__close {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.modal__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  background: none;
  color: #888;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes slideIn {
  to { opacity: 1; transform: translateY(0); }
}