.installation-terms-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.installation-terms-popup-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
}

.installation-terms-popup-text {
  line-height: 1.6;
}

.understood-btn {
  display: block;
  width: 200px;
  margin: 20px auto 0;
  padding: 10px;
  background-color: #37c1c3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.understood-btn:hover {
  background-color: #268a8b;
}

.installation-terms-popup-text ul {
  padding-left: 30px;
  margin-bottom: 15px;
}

.installation-terms-popup-text ul ul {
  margin-top: 5px;
}

.terms-acknowledgement {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
}

.terms-acknowledgement input[type="checkbox"] {
  margin-right: 10px;
}

.terms-acknowledgement label {
  font-weight: bold;
  cursor: pointer;
}

.understood-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.installation-terms-popup-text ul li > ul {
  margin-left: 0.5em;
}

@media (max-width: 600px) {
  .installation-terms-popup-content {
    padding: 20px;
  }
  .installation-terms-popup-text ul {
    padding-left: 20px;
  }
}
