.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay);
  overflow: auto;
}
.modal-content {
  background-color: var(--header-bg);
  color: var(--text-color);
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-large {
  max-width: 900px;
}
.modal-close {
  position: absolute;
  right: 50px;
  top: 10px;
  color: var(--text-color);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: red;
}
#edit-open-full {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 20px;
  color: var(--text-color);
  text-decoration: none;
}
#edit-frame {
  width: 100%;
  height: 80vh;
  border: none;
}

/* Support modal specific styles */
#support-modal .modal-content {
  text-align: center;
}

.donation-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.donation-buttons img {
  height: 50px;
  width: auto;
}

.small-text {
  font-size: 0.9rem;
  opacity: 0.8;
}
