/* MODAL BASE */
#gomobii-rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#gomobii-rsvp-modal.active {
  display: block;
}

/* OVERLAY */
.gomobii-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* MODAL BOX */
.gomobii-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 520px;
  margin: 5vh auto;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

/* HEADER */
.gomobii-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gomobii-modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.gomobii-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* BODY */
.gomobii-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.gomobii-field {
  margin-bottom: 15px;
}

.gomobii-modal input,
.gomobii-modal select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* FOOTER */
.gomobii-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.gomobii-btn-primary {
  background: #f05a28;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.gomobii-modal-footer small {
  display: block;
  margin-top: 8px;
  color: #777;
}

/* MOBILE */
@media (max-width: 600px) {
  .gomobii-modal {
    margin: 0;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

/* QUESTIONS */
.gomobii-question {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
}

.gomobii-question span {
  font-weight: 400;
  color: #777;
}

/* RADIO GROUP */
.gomobii-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* RADIO LABEL */
.gomobii-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  background: #fff;
}

/* HOVER */
.gomobii-radio:hover {
  border-color: #f05a28;
  background: #fff7f3;
}

/* HIDE DEFAULT RADIO */
.gomobii-radio input {
  display: none;
}

/* CUSTOM RADIO */
.radio-mark {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

/* CHECKED STATE */
.gomobii-radio input:checked + .radio-mark {
  border-color: #f05a28;
}

.gomobii-radio input:checked + .radio-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #f05a28;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ACTIVE ROW */
.gomobii-radio input:checked ~ span,
.gomobii-radio input:checked + .radio-mark {
  color: #f05a28;
}

/* MOBILE */
@media (max-width: 600px) {
  .gomobii-radio {
    padding: 14px;
    font-size: 15px;
  }
}

/* MODAL BASE */
#gomobii-thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#gomobii-thankyou-modal.active {
  display: block;
}

/* OVERLAY */
.gomobii-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* MODAL BOX */
.gomobii-modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 520px;
  margin: 5vh auto;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

