﻿/*
 * Képzés modul — saját osztályok (kepzes- előtag) a SalesForce palettájával:
 * #261833 (lila alap), #352641 (sötétlila sáv), #4B375C (középlila), #8A56AC (világoslila), #556FF6 (kék),
 * #B4C55B (zöld), kiemelés: #556FF6 (kék) · #9DB0FF (világoskék, lila alapon) · #DDE3FF (halványkék alap), #99A6AC (ezüst), #FD5A85 (pink), #F15867 (piros),
 * #F97F51 (narancs), #E5E3E8 (világosszürke), #F1F0F2 (háttérszürke). Betű: Montserrat (a base.css-ből).
 */

/* ── lapváz ───────────────────────────────────────────────────── */

.kepzes-page .page-loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 20;
    pointer-events: none;
    margin-top: 0 !important;
}

.kepzes-side {
    padding: 24px 20px 32px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
    .kepzes-side {
        padding: 28px 32px 40px 40px;
    }
}

.kepzes-panel {
    padding: 28px 16px 40px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
    .kepzes-panel {
        padding: 28px 32px 48px 32px;
    }
}
@media (min-width: 1200px) {
    .kepzes-panel {
        padding: 32px 48px 56px 48px;
    }
}

.kepzes-panel-head {
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E3E8;
}

.kepzes-kicker {
    display: block;
    font-size: 85%;
    font-weight: bold;
    color: #8A56AC;
    margin-bottom: 4px;
    letter-spacing: .02em;
}

.kepzes-header-mark {
    opacity: .9;
}

.kepzes-min-width-0 {
    min-width: 0;
}

.kepzes-w-auto {
    width: auto;
    min-width: 200px;
}

.kepzes-w-160 {
    width: 160px;
}

.kepzes-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kepzes-muted {
    color: #817889;
    padding: 8px 0;
}

.kepzes-empty {
    text-align: center;
    padding: 64px 16px;
    color: #4B375C;
}

.kepzes-link,
.kepzes-link:hover {
    color: #8A56AC !important;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

/* ── oldalsáv: navigáció ──────────────────────────────────────── */

.kepzes-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -4px;
    margin-right: -4px;
}
@media (min-width: 768px) {
    .kepzes-nav {
        flex-direction: column;
        overflow-x: visible;
    }
}

.kepzes-nav-item,
.kepzes-nav-item:hover {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px 6px 4px;
    margin: 0 4px 6px 4px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease;
}
.kepzes-nav-item:hover {
    background: rgba(255, 255, 255, .06);
    opacity: 1;
}

.kepzes-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #4B375C;
    color: #fff;
    margin-right: 12px;
}

.kepzes-nav-item.active {
    background: rgba(85, 111, 246, .22);
    color: #9DB0FF;
}
.kepzes-nav-item.active .kepzes-nav-icon {
    background: #556FF6;
    color: #fff;
}

.kepzes-subnav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 8px 0;
}
@media (min-width: 768px) {
    .kepzes-subnav {
        flex-direction: column;
        margin: -2px 0 8px 52px;
    }
}

.kepzes-subnav-item,
.kepzes-subnav-item:hover {
    color: #C2BEC6;
    font-size: 90%;
    padding: 3px 10px 3px 0;
    text-decoration: none;
    cursor: pointer;
}
.kepzes-subnav-item.active {
    color: #9DB0FF;
    font-weight: bold;
}

.kepzes-side-link,
.kepzes-side-link:hover {
    color: #9DB0FF !important;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
.kepzes-side-link-danger,
.kepzes-side-link-danger:hover {
    color: #FD5A85 !important;
}

.kepzes-fact-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.kepzes-fact-row > span:last-child {
    margin-left: 12px;
}

.kepzes-side-change {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.kepzes-filter-chip {
    display: inline-flex;
    align-items: center;
    background: #4B375C;
    color: #9DB0FF;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: bold;
    cursor: pointer;
}

.kepzes-operators {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 20px;
}
.kepzes-operator-row {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.kepzes-operator-row .profile-icon {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
}

/* ── ikon-korong, számláló-pirula ─────────────────────────────── */

.kepzes-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #261833;
    color: #556FF6;
    font-size: 18px;
}
.kepzes-icon-circle-sm {
    width: 36px;
    min-width: 36px;
    height: 36px;
    font-size: 15px;
}
.kepzes-icon-circle.is-passed {
    background: #556FF6;
    color: #fff;
}
.kepzes-icon-light {
    background: #F1F0F2;
    color: #8A56AC;
}

.kepzes-count-pill {
    display: inline-block;
    min-width: 32px;
    text-align: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F1F0F2;
    color: #4B375C;
    font-weight: bold;
}

/* ── jelek (tag) ──────────────────────────────────────────────── */

.kepzes-tag {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 0 4px 4px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
}
.kepzes-tag:first-child {
    margin-left: 0;
}
.kepzes-tag-new { background: #FD5A85; color: #fff; }
.kepzes-tag-updated { background: #556FF6; color: #fff; }
.kepzes-tag-draft { background: #99A6AC; color: #fff; }
.kepzes-tag-company { background: #4B375C; color: #9DB0FF; }
.kepzes-tag-company-light { background: #DDE3FF; color: #261833; }
.kepzes-tag-common { background: #E5E3E8; color: #4B375C; }
.kepzes-tag-passed { background: #B4C55B; color: #fff; }
.kepzes-tag-failed { background: #F15867; color: #fff; }
.kepzes-tag-open { background: #F1F0F2; color: #4B375C; border: 1px solid #E5E3E8; }
.kepzes-tag-deadline { background: #556FF6; color: #fff; }

.kepzes-kind {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: bold;
    vertical-align: 2px;
}
.kepzes-kind-pdf { background: #F15867; color: #fff; }
.kepzes-kind-link { background: #556FF6; color: #fff; }

.kepzes-chip,
.kepzes-chip:hover {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 4px 4px 0;
    border-radius: 999px;
    background: #F1F0F2;
    color: #4B375C;
    font-size: 85%;
    text-decoration: none;
}
.kepzes-chip-course,
.kepzes-chip-course:hover {
    background: #EFE6F5;
    color: #8A56AC;
    font-weight: bold;
    cursor: pointer;
}
.kepzes-chip-removable {
    cursor: pointer;
    background: #4B375C;
    color: #fff;
}

/* ── csempék (tananyag, vizsga) ───────────────────────────────── */

.kepzes-group {
    margin-bottom: 24px;
}
.kepzes-group-head {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E3E8;
}

.kepzes-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E3E8;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.kepzes-card:hover {
    border-color: #C2BEC6;
    box-shadow: 0 6px 18px rgba(38, 24, 51, .10);
}

.kepzes-card-head {
    background: #F1F0F2;
    padding: 14px 16px 10px 16px;
}

.kepzes-card-body {
    flex-grow: 1;
    padding: 12px 16px 4px 16px;
}

.kepzes-card-kicker {
    font-size: 85%;
    font-weight: bold;
    color: #8A56AC;
    margin-bottom: 2px;
}

.kepzes-card-title {
    margin-bottom: 4px;
    line-height: 1.35;
}

.kepzes-card-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 85%;
    color: #817889;
}
.kepzes-card-meta > span {
    margin-right: 14px;
    white-space: nowrap;
}

.kepzes-card-foot {
    padding: 10px 16px 18px 16px;
}

/* ── haladás ──────────────────────────────────────────────────── */

.kepzes-progress {
    height: 6px;
    border-radius: 999px;
    background: #E5E3E8;
}
.kepzes-progress .progress-bar {
    background: #8A56AC;
    border-radius: 999px;
}
.kepzes-progress .progress-bar.done {
    background: #B4C55B;
}
.kepzes-progress-dark {
    background: #4B375C;
}
.kepzes-progress-dark .progress-bar {
    background: #556FF6;
}
.kepzes-progress .progress-bar.kepzes-progress-gold {
    background: #556FF6;
}
.kepzes-progress-lg {
    height: 12px;
}

/* ── szakaszok, sorok, táblák ─────────────────────────────────── */

.kepzes-section {
    margin-bottom: 28px;
}

.kepzes-section-title {
    font-weight: bold;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #E5E3E8;
}

.kepzes-section-toggle,
.kepzes-section-toggle:hover {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E3E8;
}

.kepzes-row {
    padding: 12px 8px;
    border-bottom: 1px solid #E5E3E8;
    cursor: pointer;
    transition: background .12s ease;
}
.kepzes-row:hover {
    background: #F1F0F2;
}
.kepzes-row-inactive {
    opacity: .55;
}

.kepzes-lesson-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #F1F0F2;
    color: #261833;
    font-weight: bold;
}
.kepzes-lesson-number.done {
    background: #B4C55B;
    color: #fff;
}

.kepzes-outcome {
    padding: 4px 0;
}

.kepzes-box {
    background: #F1F0F2;
    padding: 18px 20px;
}

.kepzes-doc-row,
.kepzes-doc-row:hover {
    padding: 10px 0;
    border-bottom: 1px solid #E5E3E8;
    color: inherit;
    text-decoration: none;
}

.kepzes-source,
.kepzes-change {
    padding: 8px 0;
    border-bottom: 1px solid #E5E3E8;
}

.kepzes-table {
    margin-bottom: 8px;
}
.kepzes-table thead th {
    background: #F1F0F2;
    border-top: 0;
    border-bottom: 0;
    font-weight: bold;
    color: #4B375C;
    white-space: nowrap;
}
.kepzes-table td {
    border-top: 1px solid #E5E3E8;
    vertical-align: middle;
}
.kepzes-table-hover tbody tr:hover,
.kepzes-table tbody tr.cursor-pointer:hover {
    background: #F1F0F2;
}

.kepzes-library-row {
    padding: 16px 4px;
    border-bottom: 1px solid #E5E3E8;
}
.kepzes-library-title,
.kepzes-library-title:hover {
    color: #261833;
    font-weight: bold;
    font-size: 110%;
    text-decoration: none;
}

/* ── számok (KPI) ─────────────────────────────────────────────── */

.kepzes-kpi {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 20px;
    background: #F1F0F2;
}
.kepzes-kpi-accent {
    background: #352641;
    color: #fff;
}
.kepzes-kpi-label {
    font-size: 87%;
    font-weight: bold;
    color: #817889;
}
.kepzes-kpi-accent .kepzes-kpi-label {
    color: #C2BEC6;
}
.kepzes-kpi-value {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
    color: #261833;
}
.kepzes-kpi-accent .kepzes-kpi-value {
    color: #9DB0FF;
}
.kepzes-kpi-note {
    font-size: 85%;
    color: #817889;
}
.kepzes-kpi-accent .kepzes-kpi-note {
    color: #C2BEC6;
}

/* ── lecke: időmérő, szünet-sáv, lábléc ───────────────────────── */

.kepzes-timer {
    background: #261833;
    padding: 18px 20px;
}
.kepzes-timer-value {
    font-size: 34px;
    font-weight: bold;
    color: #9DB0FF;
    letter-spacing: .02em;
    margin: 4px 0 8px 0;
}
.kepzes-timer-year {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 10px;
}
.kepzes-timer-year > span:last-child {
    white-space: nowrap;
    margin-left: 12px;
}
.kepzes-timer-state {
    font-size: 87%;
    font-weight: bold;
    color: #C2BEC6;
}
.kepzes-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #99A6AC;
    margin-right: 8px;
    vertical-align: 1px;
}
.kepzes-timer-state.is-running { color: #B4C55B; }
.kepzes-timer-state.is-running .kepzes-dot { background: #B4C55B; animation: kepzes-pulse 1.6s ease-in-out infinite; }
.kepzes-timer-state.is-paused { color: #556FF6; }
.kepzes-timer-state.is-paused .kepzes-dot { background: #556FF6; }
.kepzes-timer-state.is-error { color: #FD5A85; }
.kepzes-timer-state.is-error .kepzes-dot { background: #FD5A85; }

@keyframes kepzes-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.kepzes-pause-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #DDE3FF;
    color: #261833;
    border-radius: 999px;
    padding: 10px 14px 10px 22px;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(38, 24, 51, .12);
}

.kepzes-lesson {
    max-width: 860px;
}

.kepzes-lesson-foot {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #E5E3E8;
}

.kepzes-done-mark {
    display: inline-flex;
    align-items: center;
    color: #B4C55B;
    font-weight: bold;
    font-size: 120%;
}

/* ── tartalmi blokkok ─────────────────────────────────────────── */

.kepzes-blocks {
    font-size: 110%;
    line-height: 1.65;
}

.kepzes-block-wrap {
    margin-bottom: 18px;
}

.kepzes-paragraph {
    line-height: 1.65;
}

.kepzes-block-heading {
    margin-top: 12px;
    margin-bottom: 0;
    color: #261833;
    padding-left: 12px;
    border-left: 4px solid #556FF6;
}

.kepzes-block-definition {
    background: #F1F0F2;
    border-left: 4px solid #8A56AC;
    padding: 14px 18px;
}
.kepzes-definition-pair + .kepzes-definition-pair {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E5E3E8;
}
.kepzes-definition-term {
    color: #4B375C;
}

.kepzes-block-callout {
    padding: 14px 18px;
    border-left: 4px solid #556FF6;
    background: #DDE2FD;
}
.kepzes-block-callout .kepzes-callout-title {
    color: #556FF6;
}
.kepzes-tone-tip {
    background: #F1F5DE;
    border-left-color: #B4C55B;
}
.kepzes-tone-tip .kepzes-callout-title {
    color: #7F8F2E;
}
.kepzes-tone-warning {
    background: #FFF1D6;
    border-left-color: #556FF6;
}
.kepzes-tone-warning .kepzes-callout-title {
    color: #C77A00;
}
.kepzes-tone-example {
    background: #F1F0F2;
    border-left-color: #817889;
}
.kepzes-tone-example .kepzes-callout-title {
    color: #4B375C;
}

.kepzes-list {
    padding-left: 22px;
    margin-bottom: 0;
}
.kepzes-list li {
    padding: 2px 0;
}
.kepzes-list li::marker {
    color: #556FF6;
    font-weight: bold;
}
.kepzes-list-ordered li::marker {
    color: #8A56AC;
}

.kepzes-block-panel {
    border: 1px solid #E5E3E8;
    padding: 16px 18px;
}

.kepzes-step {
    padding: 6px 0;
}
.kepzes-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #261833;
    color: #556FF6;
    font-weight: bold;
    font-size: 90%;
}
.kepzes-step-number-sm {
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin-top: 4px;
    font-size: 80%;
}

.kepzes-keyfacts {
    border: 1px solid #E5E3E8;
    overflow: hidden;
}
.kepzes-keyfact {
    padding: 8px 4px;
}
.kepzes-keyfact:nth-child(odd) {
    background: #F1F0F2;
}
.kepzes-keyfact-label {
    color: #817889;
}

.kepzes-block-check {
    background: #FBFAFC;
}
.kepzes-check-kicker {
    font-size: 85%;
    font-weight: bold;
    color: #8A56AC;
}
.kepzes-check-option {
    border: 1px solid #E5E3E8 !important;
    border-radius: 25px;
    background: #fff;
    padding: 10px 18px;
    margin-bottom: 8px;
    white-space: normal;
}
.kepzes-check-option:hover {
    border-color: #8A56AC !important;
}
.kepzes-check-option:disabled {
    opacity: 1;
}
.kepzes-check-option.is-correct {
    background: #F1F5DE;
    border-color: #B4C55B !important;
}
.kepzes-check-option.is-correct i {
    color: #7F8F2E;
}
.kepzes-check-option.is-wrong {
    background: #FDE6E8;
    border-color: #F15867 !important;
}
.kepzes-check-option.is-wrong i {
    color: #F15867;
}
.kepzes-check-option.is-muted {
    color: #817889;
}

/* ── vizsga ───────────────────────────────────────────────────── */

.kepzes-countdown {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #261833;
    color: #9DB0FF;
    border-radius: 999px;
    padding: 10px 18px;
}
.kepzes-countdown-value {
    font-size: 22px;
    font-weight: bold;
}
.kepzes-countdown.is-urgent {
    background: #F15867;
    color: #fff;
}

.kepzes-question-grid {
    display: flex;
    flex-wrap: wrap;
}
.kepzes-question-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    background: #4B375C;
    color: #fff;
    font-size: 85%;
    font-weight: bold;
    cursor: pointer;
}
.kepzes-question-dot.answered {
    background: #556FF6;
    color: #fff;
}
.kepzes-question-dot.current {
    box-shadow: 0 0 0 2px #fff;
}

.kepzes-question {
    max-width: 860px;
    padding: 20px 0 24px 0;
    border-bottom: 1px solid #E5E3E8;
}
.kepzes-question-text {
    font-size: 115%;
    line-height: 1.5;
}

.kepzes-answer {
    border: 1px solid #E5E3E8 !important;
    border-radius: 25px;
    background: #fff;
    padding: 10px 18px;
    margin-bottom: 8px;
    white-space: normal;
}
button.kepzes-answer:hover {
    border-color: #8A56AC !important;
}
.kepzes-answer.selected {
    background: #F3ECF8;
    border-color: #8A56AC !important;
}
.kepzes-answer-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    border: 2px solid #C2BEC6;
    color: #fff;
    font-size: 11px;
}
.kepzes-answer-mark.is-round {
    border-radius: 999px;
}
.kepzes-answer-mark.is-square {
    border-radius: 5px;
}
.kepzes-answer.selected .kepzes-answer-mark {
    background: #8A56AC;
    border-color: #8A56AC;
}

.kepzes-answer-review.is-correct {
    background: #F1F5DE;
    border-color: #B4C55B !important;
}
.kepzes-answer-review.is-correct i {
    color: #7F8F2E;
}
.kepzes-answer-review.is-wrong {
    background: #FDE6E8;
    border-color: #F15867 !important;
}
.kepzes-answer-review.is-wrong i {
    color: #F15867;
}
.kepzes-answer-review.is-muted {
    color: #817889;
}

.kepzes-explanation {
    background: #FFF7E6;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 95%;
}

.kepzes-score {
    padding: 18px 20px;
    border-radius: 0 30px 0 30px;
}
.kepzes-score.is-passed {
    background: #556FF6;
    color: #fff;
}
.kepzes-score.is-failed {
    background: #4B375C;
    color: #fff;
}
.kepzes-score-value {
    display: block;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.1;
}
.kepzes-score-label {
    font-weight: bold;
}

/* ── kezelés: szerkesztők ─────────────────────────────────────── */

.kepzes-save-bar {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E3E8;
}

.kepzes-editor-item {
    background: #F1F0F2;
    border-radius: 14px;
    padding-top: 8px;
    margin-left: 0;
    margin-right: 0;
}

.kepzes-segmented {
    display: inline-flex;
    background: #F1F0F2;
    border-radius: 999px;
    padding: 3px;
}
.kepzes-segmented > a {
    padding: 5px 14px;
    border-radius: 999px;
    color: #4B375C;
    font-weight: bold;
    font-size: 90%;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.kepzes-segmented > a.active {
    background: #261833;
    color: #9DB0FF;
}

.kepzes-inline-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.kepzes-block-palette {
    display: flex;
    flex-wrap: wrap;
}
.kepzes-block-palette-item,
.kepzes-block-palette-item:hover {
    display: inline-flex;
    align-items: center;
    background: #4B375C;
    color: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    margin: 0 6px 6px 0;
    font-size: 90%;
    cursor: pointer;
    text-decoration: none;
}
.kepzes-block-palette-item:hover {
    background: #8A56AC;
    opacity: 1;
}

.kepzes-editor-block {
    border: 1px solid #E5E3E8;
    background: #fff;
    padding: 12px 16px 16px 16px;
    margin-bottom: 14px;
}
.kepzes-editor-block-head {
    margin: -12px -16px 12px -16px;
    padding: 8px 12px;
    background: #F1F0F2;
}
.kepzes-editor-block-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #261833;
    color: #9DB0FF;
    font-size: 80%;
    font-weight: bold;
}
.kepzes-editor-type {
    width: auto;
    max-width: 200px;
}
.kepzes-editor-bullet {
    width: 24px;
    min-width: 24px;
    text-align: right;
    color: #8A56AC;
    font-weight: bold;
}

.kepzes-preview {
    position: sticky;
    top: 0;
    background: #FBFAFC;
    border: 1px solid #E5E3E8;
    padding: 18px 20px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}
.kepzes-preview-label {
    font-size: 85%;
    font-weight: bold;
    color: #8A56AC;
    margin-bottom: 10px;
}
.kepzes-preview .kepzes-block-wrap {
    font-size: 100%;
    line-height: 1.6;
    margin-bottom: 14px;
}

.kepzes-option-edit {
    padding: 6px 8px;
    margin-bottom: 6px;
    border-radius: 25px;
    border: 1px solid #E5E3E8;
}
.kepzes-option-edit.is-correct {
    border-color: #B4C55B;
    background: #F1F5DE;
}
.kepzes-option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #261833;
    color: #9DB0FF;
    font-weight: bold;
    font-size: 85%;
}

/* Kiemelő szín (kék — a lila felülethez illő), a color-gold / color-orange helyett */
.kepzes-accent { color: #556FF6 !important; }

/* ── Hangos felolvasás (lecke): kis kék ▶ gomb a cím mellett, lejátszósáv, a felolvasott blokk kiemelése ── */
.kepzes-speak-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: #556FF6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 14px -6px rgba(85, 111, 246, .8);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.kepzes-speak-btn .fa-play { margin-left: 2px; }
.kepzes-speak-btn:hover { background: #4560E8; }
.kepzes-speak-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(85, 111, 246, .3); }
.kepzes-speak-btn.is-active { background: #3D55D6; }
.kepzes-speak-btn:disabled { background: #E5E3E8; color: #99A6AC; box-shadow: none; cursor: not-allowed; }

.kepzes-speak-bar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background: #EEF1FF;
    border: 1px solid #DDE3FF;
    border-radius: 0 18px 0 18px;
    padding: 8px 12px;
    margin: 0 0 18px 0;
}
.kepzes-speak-ctrl {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #556FF6;
    font-size: 11px;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.kepzes-speak-ctrl:hover { background: #DDE3FF; }
.kepzes-speak-ctrl:focus { outline: none; box-shadow: 0 0 0 2px rgba(85, 111, 246, .35); }
.kepzes-speak-ctrl.is-main { width: 34px; height: 34px; background: #556FF6; color: #fff; font-size: 12px; }
.kepzes-speak-ctrl.is-main:hover { background: #4560E8; }
.kepzes-speak-label { color: #261833; font-weight: 600; margin: 0 12px 0 6px; }
.kepzes-speak-rate {
    margin-left: auto;
    border: 1px solid #C9D2FF;
    background: #fff;
    color: #261833;
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.kepzes-speak-rate:hover { border-color: #556FF6; }

.kepzes-block-wrap.kepzes-speaking {
    background: rgba(85, 111, 246, .07);
    box-shadow: inset 3px 0 0 #556FF6;
    border-radius: 0 12px 0 12px;
    padding: 8px 12px;
    margin-left: -12px;
    margin-right: -12px;
    transition: background .2s ease;
}

/* ── Vizsgák: korábbi kísérletek a csempék fölött — összecsukható sáv (darabszám / sikeres) ── */
.kepzes-history {
    background: transparent;
}
.kepzes-history-head {
    border: 0;
    background: transparent;
    color: #261833;
    padding: 12px 0;
    text-align: left;
    cursor: pointer;
}
.kepzes-history-head:focus { outline: none; }
.kepzes-history-body { padding: 0 0 12px 0; }

/* Nem publikált (vázlat) tananyag / vizsga — csak az admin látja a tanulói oldalon */
.kepzes-tag-unpublished { background: transparent; color: #4B375C; border: 1px dashed #8A56AC; }
