#nps-section {
  margin-top: 24px;
}

.nps-container {
  background: rgba(16, 110, 148, 0.09);
  border: 2px solid #106e94;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 0 0 16px;
  padding: 20px;
}

.nps-title {
  color: #1e5d7d !important;
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.45;
  margin: 0 0 8px;
}

.nps-phase .nps-title {
  font-size: 1.35em;
  font-weight: normal;
}

.nps-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.nps-scale {
  align-items: stretch;
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

#nps-section .nps-scale .nps-score-btn {
  align-items: center;
  align-self: stretch;
  background: #fff;
  border: 1px solid rgba(16, 110, 148, 0.55);
  border-radius: 4px;
  box-sizing: border-box;
  color: #2d2d2d;
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 0;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  line-height: 1.2;
  margin: 0;
  max-height: 40px;
  min-height: 40px;
  min-width: 0;
  padding: 0;
}

#nps-section .nps-scale .nps-score-btn:hover {
  border-color: #106e94;
}

#nps-section .nps-scale .nps-score-btn.selected {
  background-color: #106e94;
  border: 1px solid #106e94;
  color: #fff;
  height: 40px;
  margin: 0;
  max-height: 40px;
  min-height: 40px;
  padding: 0;
}

.nps-scale-labels {
  color: #686868;
  display: flex;
  font-size: 0.75rem;
  justify-content: space-between;
  margin: 0 0 18px;
}

.nps-action {
  margin-bottom: 12px;
  text-align: right;
}

.nps-action.nps-action--align-left {
  text-align: left;
}

.nps-btn-primary,
.nps-google-link {
  background: #56b620;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.nps-btn-primary:hover,
.nps-google-link:hover {
  background: #4ca11d;
  color: #fff;
}

.nps-btn-primary:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
}

.nps-description {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.nps-feedback-textarea {
  border: 1px solid #d8e5e9;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  font-family: inherit;
  font-size: 14px;
  margin: 0 0 10px;
  min-height: 96px;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.nps-feedback-textarea:focus {
  border-color: #106e94;
  outline: none;
}

.nps-feedback-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 8px;
  min-height: 20px;
}

.nps-feedback-hint {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.35;
  margin: 0 0 8px;
}

.nps-feedback-counter {
  color: #666;
  font-size: 0.8rem;
  margin: 0;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}

.nps-feedback-counter.nps-feedback-counter--over {
  color: #c62828;
  font-weight: 600;
}

.nps-feedback-length-error {
  color: #c62828;
  font-size: 0.8rem;
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
}

.nps-privacy {
  color: #666;
  font-size: 0.7rem;
  margin: 0;
}

.nps-privacy-divider {
  border: 0;
  border-top: 1px solid rgba(16, 110, 148, 0.22);
  margin: 18px 0 0;
  padding: 0;
}

.nps-privacy-notice {
  color: #666;
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 10px 0 0;
}

.nps-privacy-link {
  color: #106e94;
}

.nps-message {
  color: #1e5d7d !important;
  font-size: 1.35em;
  font-weight: normal;
  line-height: 1.45;
  margin: 0;
  text-transform: none;
}

.nps-error {
  background: #fff4e5;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #8a6d3b;
  margin-bottom: 10px;
  padding: 10px;
}

@keyframes nps-attention-glow {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  50% {
    box-shadow: 0 2px 28px rgba(16, 110, 148, 0.38);
  }
}

.nps-container.attention {
  animation: nps-attention-glow 1.5s ease-in-out 2;
}
