/* Hide the Google reCAPTCHA box that follows the scroll */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Make Turnstile responsive and full-width to match fields */
.cf-turnstile {
  width: 100% !important;
  max-width: 100% !important;
}

.cf-turnstile > div {
  padding: 1% 0px;
}

/* Give footer text a thin black outline to make it pop */
.copy {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0px 0px 4px rgba(0, 0, 0, 0.5);
}

/* Privacy Policy Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: #1e2022;
  color: #e5e5e5;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #323539;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #a7abad;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: #ff4343;
}

.modal-body {
  padding: 30px 40px;
  overflow-y: auto;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

.modal-body h2 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal-body p {
  font-size: 13px;
  color: #a7abad;
  margin-bottom: 20px;
}

.modal-body h3 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #1a1a1c;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #323539;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #ff4343;
}

/* Style for footer privacy link */
.privacy-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: #ff4343 !important;
  text-decoration: none;
}

.modal-body a {
  font-style: normal;
}
