/* ===== Download Capture Modal ===== */

.dl-modal {
  position: fixed;
  inset: 0;
  display: none; /* shown by JS */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  padding: 1rem;

  &.dl-show {
	display: flex;
  }

  button.dl-close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #333;
	width: 2rem;
	height: 2rem;
	padding: 0;
	margin: 0;
  }
}

.dl-modal-inner {
  background: #fff;
  max-width: 32rem;
  width: 100%;
  padding: 2rem;
  position: relative;
  margin: auto;
}

.dl-modal-inner h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.dl-modal-inner form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.dl-privacy-link a:hover {
  text-decoration: underline;
}

.dl-success-message {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #4BB543;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	font-size: 1rem;
	z-index: 100000;
}

.dl-error-message {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	padding: 12px;
	margin: 10px 0;
	font-size: 0.9rem;
}

.dl-error-message p {
	margin: 0 0 8px 0;
}

.dl-error-message ul {
	margin: 0;
	padding-left: 20px;
}

.dl-error-message li {
	margin-bottom: 4px;
}