#pulse-assessment .pulse-results .capacity-score-ring canvas {
  margin: 0 auto;
  display: block;
  position: relative;
}

#pulse-assessment {
  max-width: 480px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
  padding: 1rem;
  color: #ffffff;
}

#pulse-assessment .pulse-logo-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

#pulse-assessment .pulse-logo {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

#pulse-assessment .pulse-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ddd;
}

#pulse-assessment-form {
  padding-top:20px;
}

#pulse-assessment .pulse-card {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#pulse-assessment .pulse-question {
  margin-bottom: 2rem;
  display: none;
  animation: fadeIn 0.35s ease-out;
  text-align: center;
}

#pulse-assessment .pulse-question h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#pulse-assessment .pulse-pill-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 20px;
  margin-bottom: 1.5rem;
}

#pulse-assessment .pulse-pill {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-width: 200px !important;
  margin-bottom: 0.5rem !important;
}

#pulse-assessment .pulse-pill:hover,
#pulse-assessment .pulse-pill.selected {
  background: linear-gradient(90deg, #00e18e 0%, #007aff 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 122, 255, 0.35) !important;
}

#pulse-assessment .pulse-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

#pulse-assessment .pulse-navigation .cta-btn {
  width: 100%;
  background: linear-gradient(90deg, #007aff 0%, #00c6ff 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

#pulse-assessment .pulse-navigation .cta-btn:hover {
  background: linear-gradient(90deg, #00c6ff 0%, #007aff 100%);
}


/* Specific to Pulse Back button (matches baseline .prev-belief-btn style) */
#pulse-assessment .pulse-back-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

#pulse-assessment .pulse-back-btn:hover {
  color: rgb(0, 123, 246);
}

#pulse-assessment .pulse-thank-you {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem;
  background: #1e1e1e;
  border-radius: 10px;
}
#pulse-assessment .pulse-question-text {
  font-size: 1.7em;
  line-height: 1.3em;
  margin-bottom: 1em;
  font-weight: 700;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#pulse-assessment .pulse-question-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

#pulse-assessment .pulse-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#pulse-assessment .pulse-submit-btn {
  width: 100% !important;
  background: linear-gradient(90deg, #007aff 0%, #00c6ff 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  border-radius: 40px !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  display: none;
}

#pulse-assessment .pulse-submit-btn:hover {
  background: linear-gradient(90deg, #00c6ff 0%, #007aff 100%) !important;
}
#pulse-assessment .pulse-final-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

#pulse-assessment .pulse-final-nav .pulse-submit-btn {
  display: block !important;
  width: 100% !important;
  max-width: 320px;
  background: linear-gradient(90deg, #007aff 0%, #00c6ff 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  border-radius: 40px !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

#pulse-assessment .pulse-final-nav .pulse-submit-btn:hover {
  background: linear-gradient(90deg, #00c6ff 0%, #007aff 100%) !important;
}

#pulse-assessment .pulse-final-nav .pulse-back-btn {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

#pulse-assessment .pulse-final-nav .pulse-back-btn:hover {
  color: rgb(0, 123, 246);
}



.pulse-results {
  background: #000;
  color: #fff;
}

.pulse-results h1,
.pulse-results h2,
.pulse-results h3,
.pulse-results h4,
.pulse-results p,
.pulse-results li,
.pulse-results span,
.pulse-results label,
.pulse-results strong {
  color: #fff!important;
}

.pulse-results .capacity-score-ring {
  background: transparent;
}

.pulse-results .pulse-pill {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #f0f0f0 !important;
}

.pulse-results .pulse-pill:hover,
.pulse-results .pulse-pill.selected {
  background: linear-gradient(90deg, #00e18e 0%, #007aff 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 122, 255, 0.35) !important;
}
.pulse-results .capacity-score-pillars-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0rem;
  padding: 1rem 1rem;
}

.pulse-results .pillar-score-card {
  background: #111;
  flex: 1 1 calc(33% - 1rem);
  border-radius: 12px;
  text-align: center;
  padding: 1rem;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pulse-results .pillar-score-card .score {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.pulse-results .pillar-score-card .label {
  font-size: 0.9rem;
  color: #aaa;
}

.pulse-results .score-white {
  color: #ffffff;
}
.pulse-results .score-yellow {
  color: #ffcc00;
}
.pulse-results .score-red {
  color: #ff4e4e;
}

.pulse-summary {
    padding: 0px 30px;
    font-size: 1.2em;
    text-align:center;
}


.capacity-footer {
    padding: 1rem;
}


/* Pulse loading overlay and spinner styles */
.pulse-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-spinner {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
