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

.survey-popup-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.survey-popup-header {
  display: block;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.survey-popup-title {
  margin: 0;
  font-size: 1.5em;
  color: #333;
  display: inline-block;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  position: absolute;
  top: 20px;
  right: 20px;
}

.close-button:hover {
  color: #333;
}

.survey-popup-form-container {
  padding: 10px 20px;
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.question-group {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.question-label {
  font-weight: 500;
  color: #333;
  margin-top: 10px;
}

.form-select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  width: 100%;
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-label {
  color: #666;
  font-size: 14px;
  font-weight: bold;
}

.range-input {
  flex: 1;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.submit-button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

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

.submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.thank-you {
  text-align: center;
  padding: 20px;
  font-size: 1.2em;
  color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .survey-popup-content {
    width: 95%;
    margin: 10px;
  }

  .survey-popup-header {
    padding: 15px;
  }

  .survey-popup-form-container {
    padding: 15px;
  }

  .survey-popup-title {
    font-size: 1.2em;
  }
}

.survey-form {
  width: 100%;
  max-width: 100%;
}

.survey-form .question {
  margin-bottom: 20px;
}

.survey-form label {
  display: block;
  /* margin-bottom: 10px; */
  font-weight: bold;
}

.survey-form select,
.survey-form input[type="range"] {
  width: 100%;
  /* margin-bottom: 10px; */
}

.survey-submit {
  background: #0071b8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
}

.survey-submit:hover {
  background: #005b95;
}

.survey-thank-you {
  text-align: center;
  padding: 40px;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .survey-popup {
    padding: 15px;
  }
  
  .survey-form label {
    font-size: 14px;
  }
  
  .survey-thank-you {
    padding: 20px;
    font-size: 16px;
  }
}
.survey-popup-subtitle {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: normal;
}