/* Villanyauto-mod a Teli-Nyari listan (resources/views/sablonok/premium/shop/_tn_ev.blade.php, docs/102). Elotag: tne- / tk-ev.
   Nincs atrendezodesi animacio: a sorrendet a szerver adja; csak a kapcsolo valt szint (kevesebb mozgasnal az sem animal). */
.tne { background: #fff; border: 1px solid var(--vonal); border-radius: var(--r-l); padding: 16px 18px; margin-bottom: 18px; min-width: 0 }
.tne.tne-be { border-color: rgba(16, 163, 107, .45); background: linear-gradient(180deg, rgba(16, 163, 107, .06), #fff 70%) }
.tne-fej { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.tne-ikon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--hatter); color: var(--kek) }
.tne.tne-be .tne-ikon { background: var(--zold-h); color: var(--zold) }
.tne-ikon .tni { width: 24px; height: 24px }
.tne-cim { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px }
.tne-cim > b { font-size: 16px; color: var(--tinta) }
.tne-cim span { font-size: 13.5px; color: var(--tinta-2); line-height: 1.45 }
.tne-kapcs { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px;
  border: 1px solid var(--vonal-e); background: #fff; font-weight: 800; font-size: 14px; color: var(--tinta) }
.tne-kapcs i { width: 38px; height: 22px; border-radius: 11px; background: var(--vonal-e); position: relative; flex: 0 0 auto; transition: background .2s }
.tne-kapcs i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s }
.tne-kapcs.tne-be { border-color: rgba(16, 163, 107, .5); color: var(--zold) }
.tne-kapcs.tne-be i { background: var(--zold) }
.tne-kapcs.tne-be i::after { transform: translateX(16px) }
.tne-kapcs:hover { border-color: var(--tinta) }
.tne-kapcs:focus-visible, .tne-chip:focus-visible, .tne-oszt a:focus-visible { outline: 2px solid var(--kek); outline-offset: 2px }
.tne-rejt { font-weight: 600; color: var(--tinta-3) }

.tne-sor { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; min-width: 0 }
.tne-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--vonal-e);
  background: #fff; font-weight: 700; font-size: 13.5px; color: var(--tinta); max-width: 100% }
.tne-chip .tni { width: 18px; height: 18px }
.tne-chip.akt { background: var(--zold-h); border-color: rgba(16, 163, 107, .5); color: var(--zold) }
.tne-szabaly, .tne-al { font-size: 12.5px; color: var(--tinta-3) }
.tne-cimke { font-size: 13px; font-weight: 700; color: var(--tinta-2) }
.tne-oszt { display: inline-flex; gap: 4px }
.tne-oszt a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; opacity: .4 }
.tne-oszt a.akt { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tinta) }
.tne-oszt a:hover { opacity: .85 }
.tne-oszt .fok-a { background: #0E8C3A } .tne-oszt .fok-b { background: #57A80F } .tne-oszt .fok-c { background: #C8C000; color: #3b3b00 }
.tne-oszt .fok-d { background: #EE8A00 } .tne-oszt .fok-e { background: #D93A20 }

.tne-km { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; min-width: 0 }
.tne-km label { font-size: 13px; font-weight: 700; color: var(--tinta-2) }
.tne-km-be { display: inline-flex; align-items: center; gap: 6px; min-width: 0 }
.tne-km-be .be { width: 170px; max-width: 100%; height: 44px; border-radius: 12px; padding: 0 12px; font-weight: 700 }
.tne-km .g { height: 44px; padding: 0 16px }

.tne-mod { margin-top: 12px; font-size: 13px; color: var(--tinta-2) }
.tne-mod summary { cursor: pointer; font-weight: 700; color: var(--kek); min-height: 32px; display: flex; align-items: center }
.tne-mod p { margin: 6px 0 0; line-height: 1.6; max-width: 80ch; overflow-wrap: anywhere }

/* kartya: hatotav-sor */
.tk-ev { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--tinta-2); padding: 6px 10px; border-radius: 10px; background: var(--hatter) }
.tk-ev-c { font-weight: 700 }
.tk-ev b { font-size: 14px; color: var(--tinta) }
.tk-ev b.jobb { color: var(--zold) }
.tk-ev b.rosszabb { color: var(--piros) }
.tk-ev small { font-size: 11.5px; color: var(--tinta-3); flex-basis: 100% }

@media (max-width: 620px) {
  .tne { padding: 14px }
  .tne-kapcs { width: 100%; justify-content: center }
  .tne-km .g { width: 100% }
}
@media (prefers-reduced-motion: reduce) {
  .tne-kapcs i, .tne-kapcs i::after { transition: none }
}
html.tn-konnyu .tne-kapcs i, html.tn-konnyu .tne-kapcs i::after { transition: none }
