/* ==========================
   POPUP MODAL
========================== */

.ath-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.ath-modal.active {
  display: block;
}

.ath-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

.ath-modal-box {
  position: relative;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  margin: 8vh auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  animation: athScale .3s ease;
}

@keyframes athScale {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ath-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

.ath-modal-title {
  margin: 0;
  font-size: 22px;
  color: #b80062;
}

.ath-modal-sub {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 14px;
}

.ath-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ath-modal-form input,
.ath-modal-form select,
.ath-modal-form textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #b80062;
  font-size: 14px;
  width: 100%;
}

.ath-modal-form textarea {
  resize: none;
}

.ath-modal-btn {
  margin-top: 6px;
  background: #b80062;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ath-modal-btn:hover {
  background: #0d2c73;
}

/* Mobile */
@media (max-width: 480px) {
  .ath-modal-box {
    margin: 6vh 14px;
  }
}
