/* ====== SOTRANE EVENT FORM STYLES ====== */

/* Form container */
#sotrane-event-form {
  background: #f9f9f9;
  padding: 25px 30px;
  max-width: 450px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Form heading */
#sotrane-event-form h2 {
  text-align: center;
  color: #004d40;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
}

/* Input & Select Fields */
#sotrane-event-form input[type="text"],
#sotrane-event-form input[type="email"],
#sotrane-event-form select {
  width: 100%;
  padding: 12px 15px;
  margin: 6px 0 10px 0;
  border: 1.8px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

#sotrane-event-form input[type="text"]:focus,
#sotrane-event-form input[type="email"]:focus,
#sotrane-event-form select:focus {
  border-color: #005542;
  outline: none;
  box-shadow: 0 0 8px #005542aa;
}

/* Radio field group */
#sotrane-event-form p:nth-last-child(3) {
  margin-bottom: 16px;
  font-weight: 600;
  color: #004d40;
}

/* Radio buttons */
#sotrane-event-form label {
  margin-right: 20px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
}

#sotrane-event-form input[type="radio"] {
  margin-right: 6px;
  cursor: pointer;
}

/* Submit button */
#sotrane-submit-btn {
  width: 100%;
  background-color: #005542;
  color: white;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#sotrane-submit-btn:hover:not(:disabled) {
  background-color: #004032;
}

#sotrane-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* QR Code Section */
#qr-container {
  max-width: 320px;
  margin: 30px auto;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#qr-loading-text {
  color: #666;
  font-style: italic;
  margin-bottom: 10px;
}

#qr-container a {
  display: inline-block;
  padding: 12px 25px;
  background-color: #005542;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 85, 66, 0.3);
  transition: background-color 0.3s ease;
}

#qr-container a:hover {
  background-color: #003829;
}

/* ====== SWEETALERT2 CUSTOM STYLES ====== */

html body .swal2-popup {
  font-size: 15px !important;
  padding: 18px !important;
  border-radius: 8px !important;
  max-width: 380px !important;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html body .swal2-title {
  font-size: 18px !important;
  font-weight: 600;
  color: #005542;
  margin-bottom: 8px;
}

html body .swal2-html-container {
  font-size: 14px !important;
  line-height: 1.4;
  color: #333;
  margin: 0;
  padding: 0 8px;
}
