.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal h3 {
  margin-bottom: 16px;
}

.modal input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #d0d9d2;
  border-radius: 10px;
  font-size: 0.95rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.checkbox-label a {
  color: var(--primary);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 24px;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
  z-index: 300;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.cookie-popup.open {
  display: flex;
}

.cookie-popup p {
  flex: 1;
  min-width: 200px;
}

.cookie-links {
  display: flex;
  gap: 16px;
}

.cookie-links a {
  color: var(--primary);
  text-decoration: none;
}