/* Ego Profiel Test */

.ept-test {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 920px;
  margin: 0 auto;
  color: #2b2523;
  line-height: 1.6;
}

.ept-test * {
  box-sizing: border-box;
}

.ept-hero {
  background: linear-gradient(135deg, #f7eee7, #f3f0ff);
  padding: 34px 28px;
  border-radius: 26px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(70, 50, 40, 0.08);
}

.ept-test h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  line-height: 1.2;
}

.ept-test h3 {
  font-size: 1.35rem;
  margin: 30px 0 12px;
}

.ept-test p {
  margin: 0 0 14px;
}

.ept-intro {
  font-size: 1.05rem;
}

.ept-question-card {
  background: #fff;
  border: 1px solid #eadfd8;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(70, 50, 40, 0.05);
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ept-question-card.ept-missing {
  border: 2px solid #c95757;
  background: #fff8f8;
  box-shadow: 0 0 0 4px rgba(201, 87, 87, 0.12);
}

.ept-question-title {
  font-weight: 750;
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.ept-answers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ept-answer {
  cursor: pointer;
  display: block;
}

.ept-answer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ept-answer span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  padding: 10px 8px;
  border: 1px solid #e0d4cc;
  border-radius: 15px;
  background: #fbfaf9;
  font-size: 0.88rem;
  transition: 0.15s ease;
}

.ept-answer span:hover {
  background: #f6eee9;
  border-color: #cbb5a8;
}

.ept-answer input:focus-visible + span {
  outline: 3px solid rgba(111, 91, 124, 0.28);
  outline-offset: 2px;
}

.ept-answer input:checked + span {
  background: #6f5b7c;
  color: #fff;
  border-color: #6f5b7c;
  box-shadow: 0 5px 14px rgba(111, 91, 124, 0.26);
}

.ept-button-row {
  margin: 30px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ept-button {
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.15s ease;
}

.ept-primary {
  background: #6f5b7c;
  color: #fff;
}

.ept-primary:hover {
  background: #594865;
  transform: translateY(-1px);
}

.ept-secondary {
  background: #eee7e2;
  color: #3a302d;
}

.ept-secondary:hover {
  background: #e4d8d0;
}

.ept-warning {
  display: none;
  padding: 16px 18px;
  background: #fff1f1;
  border: 1px solid #e4a3a3;
  color: #8a2e2e;
  border-radius: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.ept-warning.ept-show {
  display: block;
}

.ept-results {
  display: none;
  margin-top: 36px;
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid #eadfd8;
  box-shadow: 0 14px 38px rgba(70, 50, 40, 0.08);
}

.ept-results.ept-show {
  display: block;
}

.ept-result-highlight {
  background: linear-gradient(135deg, #f7eee7, #f3f0ff);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
}

.ept-profile-title {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.ept-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
  align-items: stretch;
}

.ept-chart-card {
  background: #fbfaf9;
  border: 1px solid #eadfd8;
  border-radius: 24px;
  padding: 20px;
}

.ept-radar {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ept-mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.ept-mini-metrics div {
  background: #fff;
  border: 1px solid #eadfd8;
  border-radius: 18px;
  padding: 16px;
}

.ept-mini-metrics strong {
  display: block;
  font-size: 1.6rem;
  color: #6f5b7c;
  line-height: 1.1;
}

.ept-mini-metrics span {
  font-size: 0.92rem;
  opacity: 0.84;
}

.ept-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.ept-score-card {
  background: #fbfaf9;
  border: 1px solid #eadfd8;
  border-radius: 22px;
  padding: 18px;
}

.ept-score-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
}

.ept-score-name {
  font-weight: 900;
}

.ept-score-label {
  font-weight: 800;
  color: #6f5b7c;
  white-space: nowrap;
}

.ept-bar-wrap {
  height: 15px;
  background: #e9ded8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ept-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b99388, #6f5b7c);
  border-radius: 999px;
  transition: width 0.45s ease;
}

.ept-score-text {
  font-size: 0.95rem;
  margin: 0;
}

.ept-summary-box {
  background: #f8f2ee;
  border-radius: 22px;
  padding: 22px;
  margin-top: 24px;
}

.ept-small-note {
  font-size: 0.92rem;
  opacity: 0.82;
  margin-top: 18px;
}

@media (max-width: 760px) {
  .ept-answers,
  .ept-score-grid,
  .ept-visual-grid,
  .ept-mini-metrics {
    grid-template-columns: 1fr;
  }

  .ept-hero,
  .ept-results {
    padding: 22px;
  }

  .ept-test h2 {
    font-size: 1.65rem;
  }
}
