.privacyPopup {
  width: calc(100% - 60px);
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 25px;
  left: calc(50% - 15px);
  transform: translateX(-50%);
  max-width: 297px;
  border-radius: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 15px;
}

.privacyPopup h1 {
  font-size: 20px;
}

.privacyPopup span {
  margin: 0;
  font-size: 16px;
  display: inline-block;
  word-wrap: break-word;
  max-width: 100%;
}

.button {
  border: none;
  cursor: pointer;
  padding: 10px 30px;
  margin: 10px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  background: #060606 !important;
  color: #fff;
  border-radius: 2px 25px 25px 2px;
}

.customizeButton {
  color: #060606;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}

.customizeButton svg {
  width: 20px;
  height: 15px;
}

.agreeButton {
  color: white;
}

.optionsPanel {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed;
  bottom: 150px;
  left: calc(50% - 15px);
  transform: translateX(-50%);
  width: auto;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  border-radius: 10px;
  max-width: 300px;
  width: calc(100% - 60px);
  margin: 0 15px;
}

.optionsPanel .centerText {
  font-size: 19px;
  font-weight: 600;
}

.optionsPanel label {
  margin: 10px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.optionsPanel label input[type="checkbox"] {
  display: none;
}

.optionsPanel label input[type="checkbox"] + .toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  cursor: pointer;
}

.optionsPanel label input[type="checkbox"] + .toggle:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border-radius: 50%;
  left: 4px;
  transition: all 0.3s ease;
}

.optionsPanel label input[type="checkbox"]:checked + .toggle {
  background-color: #060606;
}

.optionsPanel label input[type="checkbox"]:checked + .toggle:before {
  left: 20px;
}

.submitButton {
  color: white;
}

.hidden {
  display: none !important;
}

.centerText {
  text-align: center;
  margin-bottom: 35px;
}

.alignCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 320px) and (max-width: 420px) {
  .privacyPopup {
      max-height: 40vh;
      overflow: auto;
      padding: 8px;
      font-size: 13px;
  }

  .privacyPopup h1 {
      font-size: 18px;
  }

  .privacyPopup span, .optionsPanel label, .button, .customizeButton {
      font-size: 13px;
  }

  .button, .customizeButton svg {
      padding: 8px 20px;
      margin: 5px;
  }

  .optionsPanel {
      padding: 15px;
  }
}