/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: #028940;
  border: 1px solid #f4b41a;
  border-radius: 30px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content.modal-success {
  border-color: #4caf50;
}

.modal-title {
  font-size: 2rem;
  color: #f4b41a;
  margin-bottom: 20px;
  margin-top: 0;
  text-transform: uppercase;
}

.modal-message {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.modal-body-scrollable {
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
  margin-bottom: 30px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-close-btn {
  background-color: transparent;
  color: #f4b41a;
  border: 2px solid #f4b41a;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background-color: #f4b41a;
  color: #0b3d1d;
  transform: none;
}

@media (max-width: 480px) {
  .modal-content {
    width: calc(100% - 40px);
    padding: 30px 20px;
    margin: 0 1rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }
}

.modal-body-scrollable p {
  font-size: 1.2rem;
  line-height: 1.1;
}