
.modal-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 288px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0 20px;
  }
}

.modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 36px;
  max-width: 100%;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  width: 600px;
}

.close-button {
  align-self: stretch;
  font-size: 16px;
  font-weight: 900;
  text-align: right;
  color: black;
  cursor: pointer;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .close-button {
    max-width: 100%;
  }
}

.close-button:hover {
  opacity: 0.7;
}

.main-heading {
  margin-top: 16px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: -0.025em;
  text-align: center;
  color: black;
}

@media (max-width: 768px) {
  .main-heading {
    max-width: 100%;
  }
}

.subheading {
  margin-top: 16px;
  font-weight: bold;
  text-align: center;
  color: black;
  font-size: 18px;
}

@media (max-width: 768px) {
  .subheading {
    max-width: 100%;
  }
}

.email-container {
  margin-top: 16px;
  max-width: 100%;
  font-size: 14px;
  background-color: white;
  color: #a3a3a3;
  width: 527px;
}

.email-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 20px;
  width: 100%;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #a3a3a3;
  min-height: 56px;
}

@media (max-width: 768px) {
  .email-input-wrapper {
    max-width: 100%;
  }
}

.email-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #a3a3a3;
  font-size: 14px;
}

.email-input::placeholder {
  color: #a3a3a3;
}

@media (max-width: 768px) {
  .email-input {
    max-width: 100%;
  }
}

.submit-button {
  width: 100%;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 16px 80px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: white;
  white-space: nowrap;
  border-radius: 8px;
  background-color: #2872a3;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
  .submit-button {
    padding: 16px 20px;
  }
}

.submit-button:hover {
  background-color: #2872a3;
}

.submit-button-label {
  color: white;
}

.no-thanks-link {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .no-thanks-link {
    max-width: 100%;
  }
}

.no-thanks-link:hover {
  opacity: 0.8;
}

.checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  max-width: 100%;
  width: 526px;
}

.checkbox-icon {
  font-size: 24px;
  color: #555;
  cursor: pointer;
  user-select: none;
  width: 24px;
  height: 24px;
  border: 2px solid #555;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  transition: all 0.2s ease;
}

.checkbox-icon:hover {
  border-color: #666;
}

.checkbox-icon.checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.checkbox-icon.checked::after {
  content: "✓";
  font-size: 16px;
  font-weight: bold;
}

.checkbox-description {
  flex: 1;
  font-size: 14px;
  line-height: 1.25;
  color: black;
}

@media (max-width: 768px) {
  .checkbox-description {
    max-width: 100%;
  }
}

.privacy-link {
  text-decoration: underline;
  color: #4a8bdf;
  cursor: pointer;
}

.privacy-link:hover {
  opacity: 0.8;
}

/* Hide the actual checkbox inputs */
.hidden-checkbox {
  display: none;
}