.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: none; 
  justify-content: center; 
  align-items: center;     
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 16px;
}


.modal-content {
  background-color: #ffffff; 
  color: #333333; 
  padding: 20px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-content p {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

.modal-button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #1976d2; 
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-button:hover {
  background-color: #1565c0; 
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 20px 14px;
    gap: 16px;
  }

  .modal-content p {
    font-size: 15px;
  }

  .modal-button {
    font-size: 15px;
    padding: 10px;
  }
}
