.upraise-survey-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.survey-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #0D1B5E;
}

.survey-header h1 {
  color: #0D1B5E;
  margin: 0 0 1rem 0;
  font-size: 28px;
}

.survey-header p {
  color: #666;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.survey-section {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  border-left: 4px solid #F97316;
}

.survey-section legend {
  font-size: 16px;
  font-weight: 600;
  color: #0D1B5E;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.required {
  color: #d32f2f;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.scale-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scale-label {
  font-size: 12px;
  color: #999;
  min-width: 100px;
}

.scale-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scale-options.nps {
  gap: 0.25rem;
}

.scale-options label {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
  font-size: 13px;
  transition: all 150ms;
  background: white;
}

.scale-options input[type="radio"] {
  margin-right: 6px;
  cursor: pointer;
}

.scale-options input[type="radio"]:checked + label,
.scale-options input[type="radio"]:checked ~ label {
  background: #F97316;
  color: white;
  border-color: #F97316;
}

textarea {
  resize: vertical;
  font-family: inherit;
}

.char-count {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 0.25rem;
  text-align: right;
}

.error-message {
  display: block;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 0.25rem;
  min-height: 18px;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.btn-submit {
  padding: 12px 48px;
  background: #0D1B5E;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
}

.btn-submit:hover {
  background: #0a1447;
}

.btn-submit:disabled {
  background: #999;
  cursor: not-allowed;
}

.success-message {
  padding: 1.5rem;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 4px;
  color: #2e7d32;
  margin-top: 1rem;
}

.success-message h3 {
  margin: 0 0 0.5rem 0;
  color: #1b5e20;
}

.success-message p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .upraise-survey-container {
    padding: 1rem;
  }

  .scale-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .scale-options {
    width: 100%;
  }

  .scale-label {
    min-width: auto;
    width: 100%;
  }
}
