.btn {
  background: #000;
  color: #fff;
  border: 1.5px solid #000;
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.1s, color 0.1s;
  font-family: inherit;
}
.btn:hover { background: #fff; color: #000; }
.btn:active { opacity: 0.8; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }



/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  z-index: 100;
}
.modal-box {
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  cursor: pointer; font-size: 0.8rem;
  color: #666; font-family: inherit;
}
.modal-close:hover { text-decoration: underline; }

.modal-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}
.modal-box input,
.modal-box textarea {
  width: 100%;
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
}
.modal-box input.error { border-color: red; }
.modal-box input:focus,
.modal-box textarea:focus { outline: none; }

.modal-error {
  font-size: 0.78rem;
  color: red;
  margin-top: 0.4rem;
  display: none;
}
.modal-note {
  font-size: 0.75rem;
  color: #595959;
  text-align: center;
  margin-top: 0.75rem;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

/* Mission bold+underline for 'free' */
.mission-free {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
