/* --- eMindio MBTI: minimal styling to match typical eMentis cards/buttons --- */
.ementis-wrap.ementis-personality { max-width: 820px; margin: 0 auto; box-sizing: border-box; }
.ementis-wrap.ementis-personality * { box-sizing: border-box; }

.ementis-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  overflow: hidden;
}

.ementis-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.ementis-muted { opacity: 0.75; font-size: 13px; line-height: 1.35; }

.ementis-row { display:flex; align-items:center; }
.ementis-gap { gap: 10px; flex-wrap: wrap; }

.ementis-btn {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}
.ementis-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.ementis-btn-primary { border-color: rgba(0,0,0,0.10); }
.ementis-warning { border-left: 4px solid rgba(0,0,0,0.18); margin-bottom: 12px; }

/* --- Top bar: title left, button right --- */
.ementis-topbar {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.ementis-topbar-left { min-width: 0; }
.ementis-topbar-right { flex: 0 0 auto; display:flex; align-items:flex-start; }
@media (max-width: 640px) {
  .ementis-topbar { flex-direction: column; align-items: stretch; }
  .ementis-topbar-right { justify-content:flex-start; }
}

/* --- Progress --- */
.ementis-progress {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  overflow: hidden;
}
.ementis-progress > div { height: 100%; width: 0%; background: rgba(0,0,0,0.18); }

/* --- Questions --- */
.ementis-qwrap { margin-top: 12px; width: 100%; }
.ementis-qhead { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.ementis-qcounter { font-size: 13px; opacity: 0.8; }
.ementis-qtext { font-size: 16px; font-weight: 700; margin: 10px 0 10px; }

.ementis-choices { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .ementis-choices { grid-template-columns: 1fr; } }

.ementis-choice {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  background: #fff;
  min-height: 72px;
  display:flex;
  gap: 10px;
}
.ementis-choice strong { font-size: 14px; }
.ementis-choice .ementis-muted { font-size: 12px; }
.ementis-choice.is-selected { outline: 2px solid rgba(0,0,0,0.18); }

.ementis-divider { height:1px; background: rgba(0,0,0,0.08); margin: 14px 0; }

/* --- Question top spacing + thin hr --- */
.ementis-qpre { margin-top: 12px; }
.ementis-qspace { height: 14px; }
.ementis-hr-thin {
  height: 1px;
  background: rgba(0,0,0,0.10);
  width: 100%;
  border: 0;
  margin: 0;
}

/* --- Strength slider (no box, green) --- */
.ementis-strength{
  margin-top: 12px;
  padding: 0;           /* brez boxa */
  border: 0;            /* brez okvirja */
  border-radius: 0;
  background: transparent;
}

.ementis-strength-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ementis-strength-readout{
  display:flex;
  align-items:baseline;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0.8;
}

.ementis-strength-label{ text-transform: lowercase; }

/* barva drsnika */
.ementis-strength-range{
  width: 100%;
  display:block;
  margin: 0;
  padding: 0;
  accent-color: #2F5D50; /* tvoja zelena */
}

/* Chrome/Safari/Edge */
.ementis-strength-range::-webkit-slider-runnable-track{
  height: 10px;
  border-radius: 999px;
  background: rgba(47,93,80,0.25);
}
.ementis-strength-range::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  margin-top: -4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2F5D50;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Firefox */
.ementis-strength-range::-moz-range-track{
  height: 10px;
  border-radius: 999px;
  background: rgba(47,93,80,0.25);
}
.ementis-strength-range::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2F5D50;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ementis-strength-scale{
  display:flex;
  justify-content:space-between;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.65;
  font-weight: 900;
  text-transform: lowercase;
}

/* --- Results grid --- */
.ementis-result-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
@media (max-width: 640px) { .ementis-result-grid { grid-template-columns: 1fr; } }

/* --- Collapsible / Accordion --- */
.ementis-acc {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  margin-top: 12px;
  background: #fff;
}

.ementis-acc-h {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  cursor: pointer;
  user-select: none;
}

.ementis-acc-h .t {
  font-weight: 900;
  font-size: 16px;
}

.ementis-acc-h .icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  line-height: 1;
  opacity: 0.85;
  flex: 0 0 auto;
}

.ementis-acc-b {
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.ementis-acc.is-collapsed .ementis-acc-b { display: none; }

/* --- Single-frame results: remove inner box borders (keep only accordion border) --- */
.ementis-acc .ementis-kv,
.ementis-acc .ementis-note {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 12px;
  box-shadow: none !important;
  background: transparent !important;
}

.ementis-kv .k { font-weight: 800; margin-bottom: 4px; }
.ementis-kv .v { opacity: 0.85; font-size: 13px; line-height: 1.35; }

.ementis-note ul { margin: 8px 0 0 16px; padding: 0; }
