/* =========================================================
   Moj prvi ETF – vprašalnik
   Vizualno izhaja iz dk-* sloga (priloženi CSS).
   Vse je omejeno na .dk-wrap.mpetf, da ne vpliva na temo.
   ========================================================= */

.dk-wrap.mpetf,
.dk-wrap.mpetf * { box-sizing: border-box; }

.dk-wrap.mpetf {
  max-width: 760px;
  margin: 0 auto;
  color: #212529;
  line-height: 1.5;
}

/* Ponastavitev gumbov, ki jih teme rade preoblikujejo */
.dk-wrap.mpetf button {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  box-shadow: none;
  margin: 0;
  min-height: 0;
  line-height: 1.45;
}

/* ── HEADER ── */
.mpetf .dk-header { margin-bottom: 6px; }

.mpetf .dk-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #006AFF;
  background: #e8f2ff;
  border: 1px solid #b8d4ff;
  padding: 2px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.mpetf .dk-title {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
  margin: 0 0 4px;
  line-height: 1.3;
}

.mpetf .dk-subtitle {
  font-size: 12px;
  color: #6c757d;
  margin: 0 0 18px;
}

/* ── KARTICA ── */
.mpetf .dk-section-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 26px;
}

.mpetf .dk-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6c757d;
  margin: 0 0 14px;
}

/* ── NAPREDEK (yield bar) ── */
.mpetf .dk-yield-section { margin-bottom: 20px; }

.mpetf .dk-yield-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
}

.mpetf .dk-yield-pct { font-size: 13px; font-weight: 700; color: #006AFF; }

.mpetf .dk-yield-track {
  height: 8px;
  background: #e9ecef;
  border-radius: 99px;
  overflow: hidden;
}

.mpetf .dk-yield-fill {
  height: 100%;
  background: linear-gradient(90deg, #18172B, #006AFF);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* ── VPRAŠANJE ── */
.mpetf .mpetf-q-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.mpetf .dk-sec-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #18172B;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mpetf .mpetf-q {
  font-size: 17px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.35;
}

.mpetf .mpetf-hint {
  font-size: 12px;
  color: #6c757d;
  margin: 2px 0 14px 40px;
}

.mpetf .mpetf-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.mpetf .mpetf-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.mpetf .mpetf-opt:hover { border-color: #006AFF; background: #fff; color: #212529; }

.mpetf .mpetf-opt:focus-visible {
  outline: none;
  border-color: #006AFF;
  box-shadow: 0 0 0 3px rgba(0,106,255,.12);
}

.mpetf .mpetf-opt.is-sel {
  border-color: #006AFF;
  background: #e8f2ff;
  box-shadow: 0 0 0 3px rgba(0,106,255,.12);
}

.mpetf .mpetf-opt small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #868e96;
  margin-top: 2px;
}

.mpetf .mpetf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.mpetf .mpetf-link {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
}
.mpetf .mpetf-link:hover { color: #006AFF; background: none; }
.mpetf .mpetf-link[disabled] { visibility: hidden; }

/* Opozorilo */
.mpetf .mpetf-warn {
  margin-top: 12px;
  padding: 12px 15px;
  background: #fff8e6;
  border: 1px solid #f0c36d;
  border-radius: 7px;
  font-size: 12px;
  color: #7d5a00;
  line-height: 1.6;
}

/* ── REZULTAT: kartice ── */
.mpetf .dk-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.mpetf .dk-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 16px 18px;
}

.mpetf .dk-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 6px;
}

.mpetf .dk-card-value {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
}

.mpetf .dk-card-sub { font-size: 11px; color: #868e96; margin-top: 4px; }

.mpetf .dk-card--dark { background: #18172B; border-color: #18172B; }
.mpetf .dk-card--dark .dk-card-label { color: #9fa6c9; }
.mpetf .dk-card--dark .dk-card-value { color: #fff; }
.mpetf .dk-card--dark .dk-card-sub   { color: #b8bdd9; }

.mpetf .mpetf-desc {
  font-size: 13.5px;
  color: #495057;
  margin: 0 0 18px;
}

/* ── REZULTAT: zaklenjene tabele ── */
.mpetf .dk-sec { margin-bottom: 26px; }

.mpetf .dk-sec-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mpetf .dk-sec-title { font-size: 15px; font-weight: 700; margin: 0; color: #212529; }
.mpetf .dk-sec-sub   { font-size: 12px; color: #6c757d; margin: 2px 0 0; }

.mpetf .dk-tw {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.mpetf table.dk-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 0;
}

.mpetf table.dk-tbl th {
  padding: 10px 14px;
  text-align: left;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  background: #18172B;
  border: none;
}
.mpetf table.dk-tbl th.th-val { text-align: right; }

.mpetf table.dk-tbl td {
  padding: 9px 14px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  background: #fff;
}
.mpetf table.dk-tbl tr:last-child td { border-bottom: none; }

.mpetf table.dk-tbl td.td-label {
  background: #fafafa;
  border-right: 1px solid #e9ecef;
  font-size: 13px;
  color: #495057;
}
.mpetf table.dk-tbl td.td-label b { display: block; color: #212529; font-weight: 600; margin-bottom: 2px; }
.mpetf table.dk-tbl td.td-label small { color: #868e96; font-size: 11.5px; }

.mpetf table.dk-tbl td.td-val {
  text-align: right;
  white-space: nowrap;
  color: #212529;
  font-weight: 500;
}

.mpetf .mpetf-locked tbody { filter: blur(4px); user-select: none; pointer-events: none; }

.mpetf .mpetf-lock-tag {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  background: #18172B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

/* ── CTA ── */
.mpetf .mpetf-cta { text-align: center; }

.mpetf .mpetf-cta .dk-section-title { text-align: center; }

.mpetf .mpetf-cta-text {
  font-size: 13.5px;
  color: #495057;
  text-align: left;
  margin: 0 0 10px;
}

.mpetf .mpetf-gift {
  font-size: 13px;
  color: #2a4a7f;
  background: #e8f2ff;
  border-radius: 7px;
  padding: 10px 14px;
  text-align: left;
  margin: 14px 0 18px;
}

.mpetf .mpetf-price {
  font-size: 28px;
  font-weight: 800;
  color: #18172B;
  margin: 0 0 10px;
}

.mpetf .mpetf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  background: #006AFF;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.mpetf .mpetf-btn:hover  { background: #0058d6; color: #fff; }
.mpetf .mpetf-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,106,255,.3); }
.mpetf .mpetf-btn[disabled] { opacity: .7; cursor: wait; }

.mpetf .mpetf-spin {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mpetf-spin .7s linear infinite;
}
@keyframes mpetf-spin { to { transform: rotate(360deg); } }

.mpetf .mpetf-fine { font-size: 11px; color: #868e96; margin: 8px 0 0; }

.mpetf .mpetf-error {
  margin-top: 12px;
  font-size: 12.5px;
  color: #c0392b;
}

/* ── OPOMBA ── */
.mpetf .dk-note {
  margin-top: 10px;
  padding: 12px 15px;
  background: #e8f2ff;
  border: 1px solid #006AFF;
  border-radius: 7px;
  font-size: 12px;
  color: #2a4a7f;
  line-height: 1.6;
}
.mpetf .dk-note b { color: #1a3a6f; }

.mpetf .mpetf-restart { text-align: center; margin-top: 14px; }

/* ── MOBILE ── */
@media (max-width: 640px) {
  .mpetf .dk-section-card { padding: 16px; }
  .mpetf .dk-cards-grid   { grid-template-columns: 1fr 1fr; }
  .mpetf table.dk-tbl     { font-size: 12.5px; }
  .mpetf table.dk-tbl th,
  .mpetf table.dk-tbl td  { padding: 8px 10px; }
  .mpetf .dk-sec-title    { font-size: 13.5px; }
  .mpetf .dk-card-value   { font-size: 17px; }
  .mpetf .mpetf-q         { font-size: 15.5px; }
  .mpetf .mpetf-hint      { margin-left: 0; }
}

@media (max-width: 400px) {
  .mpetf .dk-section-card { padding: 14px; }
  .mpetf .dk-cards-grid   { grid-template-columns: 1fr; }
}
