/* METAdmin saját stílusai (a plugins/app/app.css a metcommonból publikálódik, ezért nem oda kerülnek) */

/* Modulszínek a magyaredzo.hu színátmeneteiből. A modulkártya és a bal menü modulcímkéje is ezt használja. */
.module-coach {
    --module-topbar-text: linear-gradient(90deg, #f7941d, #ffdd00); /* felső sáv felirata (sötétkéken >= 6.9:1) */
    --module-gradient: linear-gradient(125deg, #f7941d 38%, #ffdd00 100%);
    --module-color: #b35f00; /* gombfelirat: a #f7941d fehér alapon túl halvány */
    --module-chart: #b35f00; /* grafikon: fehér alapon >= 3:1 */
    --module-text: #000;
    --module-text-shadow: none;
}

.module-training {
    --module-topbar-text: linear-gradient(90deg, #3fa9f5, #9bd4ff); /* a #007ac2 sötétkéken csak 3.4:1 */
    --module-gradient: linear-gradient(125deg, #00224e 0%, #007ac2 100%);
    --module-color: #00224e;
    --module-chart: #007ac2;
    --module-stripe: linear-gradient(90deg, #007ac2, #007ac2); /* a felső sáv csíkja: a sötétkék kezdetű átmenet beleolvadna a sávba */
    --module-text: #fff;
    --module-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.module-elearning {
    --module-topbar-text: linear-gradient(90deg, #37b048, #5cc96b);
    --module-gradient: linear-gradient(125deg, #005d29 0%, #37b048 100%);
    --module-color: #005d29;
    --module-chart: #1e8a3c;
    --module-text: #fff;
    --module-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* A bal menüben az aktuális modul neve (ADATLAP, ONLINE TOVÁBBKÉPZÉS, E-LEARNING) */
.nav-sidebar .nav-header.menu-module-header {
    background: var(--module-gradient, #d68f00);
    color: var(--module-text, #000);
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 0.25rem;
    margin: 0.75rem 0 0.25rem;
    padding: 0.4rem 0.5rem; /* a leghosszabb név (ONLINE TOVÁBBKÉPZÉS) így fér el egy sorban */
}

/* Kezdőlap: modulkártyák */
.module-home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
}

.module-cards {
    display: grid;
    /* legfeljebb 3 oszlop (a kártyák mérete a Szerviz kártyától függetlenül ugyanaz marad), keskenyebben 2, majd 1 */
    grid-template-columns: repeat(auto-fit, minmax(max(260px, calc((100% - 3rem) / 3)), 1fr));
    gap: 1.5rem;
}

/* a Szerviz kártya (csak a Fő adminisztrátornak) mindig új sorban kezdődik, az első oszlopban */
.module-cards .module-card.module-service {
    grid-column-start: 1;
}

.module-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 240px;
    padding: 2.5rem 1.5rem;
    border-radius: 4px;
    background: var(--module-gradient);
    color: var(--module-text);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.module-card:hover,
.module-card:focus-visible {
    color: var(--module-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.module-card:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

/* nagy, halvány háttérikon, mint a magyaredzo.hu dokumentum ikonjai */
.module-card__watermark {
    position: absolute;
    right: -1rem;
    bottom: -1.5rem;
    font-size: 9rem;
    opacity: 0.15;
    pointer-events: none;
}

.module-card__title {
    position: relative;
    font-family: "Racing Sans One", Arial, sans-serif !important;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: var(--module-text-shadow);
}

.module-card__desc {
    position: relative;
    max-width: 22rem;
    font-size: 0.95rem;
    text-shadow: var(--module-text-shadow);
}

.module-card__btn {
    position: relative;
    margin-top: auto; /* a gomb mindig a kártya alján, így a három gomb egy vonalban van */
    padding: 0.35rem 1.5rem;
    border-radius: 2px;
    background: #fff;
    color: var(--module-color);
    font-family: Poppins, Arial, sans-serif !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.module-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Kezdőlap: fejlécsáv a kártyák fölött (melyik rendszerben van a felhasználó) */
.home-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid #d68f00;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.home-header__logo {
    width: 320px;
    max-width: 100%;
    aspect-ratio: 774 / 182; /* a metadmin_logo.png felső része, a tükröződés nélkül */
    overflow: hidden;
}

.home-header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.home-header__text {
    border-left: 2px solid #e3e6ea;
    padding-left: 2rem;
}

.home-header__title {
    color: #00224e;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-header__org {
    color: #555;
    font-size: 1rem;
}

.home-header__greeting {
    margin-top: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .home-header__text {
        border-left: 0;
        padding-left: 0;
        text-align: center;
    }
}

/* Modul-nyitóoldal: gyorsgomb-kártyák a fő funkciókhoz (a modulszín a szülő .module-* osztályából jön) */
.quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin-bottom: 1.5rem;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    border-left: 4px solid var(--module-color);
    background: #fff;
    color: #212529;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-card:hover,
.quick-card:focus-visible {
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.quick-card:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.quick-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 4px;
    background: var(--module-gradient);
    color: var(--module-text);
    font-size: 1.4rem;
}

.quick-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.quick-card__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.quick-card__desc {
    color: #555;
    font-size: 0.9rem;
}

.quick-card__arrow {
    color: var(--module-color);
    transition: transform 0.15s ease;
}

.quick-card:hover .quick-card__arrow {
    transform: translateX(3px);
}

/* Szemléltető (demó) műszerfal a modulok nyitóoldalán (dashboards/partials/demo.blade.php) */
.demo-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px dashed #b35f00;
    border-radius: 4px;
    background: #fff8e6;
    color: #5c3a00;
}

.demo-banner .fa-flask {
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.demo-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* mobilon kettesével */
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-widget {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.demo-widget__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.demo-widget__title {
    font-weight: 700;
}

.demo-widget__subtitle {
    color: #6c757d;
    font-size: 0.85rem;
}

.demo-badge {
    flex: 0 0 auto;
    padding: 0.1rem 0.45rem;
    border: 1px dashed #b35f00;
    border-radius: 3px;
    color: #b35f00;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* számkártya */
.demo-tile {
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--module-chart);
}

.demo-tile__label {
    color: #495057;
    font-size: 0.9rem;
}

.demo-tile__label i {
    color: var(--module-chart);
}

.demo-tile__value {
    margin-top: auto; /* a számok egy vonalban, akkor is, ha a címke két sorba törik */
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.demo-tile__note {
    color: #6c757d;
    font-size: 0.8rem;
}

/* oszlopdiagram: <= 24px oszlop, 4px lekerekített teteje, egy alapvonal, érték csak az utolsón, a többi tooltipben */
.demo-chart {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: 180px;
    padding-top: 1.25rem;
}

.demo-chart__col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-chart__plot {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #dee2e6;
}

.demo-chart__bar {
    position: relative;
    width: 24px;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--module-chart);
    cursor: default;
}

.demo-chart__bar:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.demo-chart__bar:hover,
.demo-chart__bar:focus-visible {
    filter: brightness(1.15);
}

.demo-chart__bar:hover::after,
.demo-chart__bar:focus-visible::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: #212529;
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
}

.demo-chart__value {
    position: absolute; /* ne vegyen el helyet az oszloptól, így az oszlopmagasság arányos marad */
    left: 50%;
    transform: translate(-50%, -0.2rem);
    color: #212529;
    font-size: 0.85rem;
    font-weight: 700;
}

.demo-chart__label {
    margin-top: 0.3rem;
    color: #6c757d;
    font-size: 0.8rem;
}

/* lista */
.demo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.demo-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.demo-list li:last-child {
    border-bottom: 0;
}

.demo-list__when {
    flex: 0 0 6.5rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.demo-list__text {
    font-size: 0.9rem;
}

/* Rendszerszintű (nem modulhoz tartozó) műszerek: szürke. Csak a kezdőlapon jelennek meg. */
.module-system {
    --module-topbar-text: linear-gradient(90deg, #adb5bd, #adb5bd);
    --module-color: #495057;
    --module-chart: #6c757d;
    --module-gradient: linear-gradient(125deg, #6c757d, #6c757d);
    --module-text: #fff;
}

/* Szerviz (csak a Fő adminisztrátornak): lila. A felső sáv felirata sötétkéken világos lila (>= 7:1),
   a menü fejléce fehér betűs átmenet, a műszerek / vonalak fehér alapon >= 4.5:1. */
.module-service {
    --module-topbar-text: linear-gradient(90deg, #c39bff, #e2ccff);
    --module-gradient: linear-gradient(125deg, #4b1d84 0%, #8e44ad 100%);
    --module-stripe: linear-gradient(90deg, #8e44ad, #b47ae0); /* a sötétlila kezdet beleolvadna a sötétkék sávba */
    --module-color: #5b2a91;
    --module-chart: #7b3fb5;
    --module-text: #fff;
    --module-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Kezdőlap: áttekintő műszerek a modulkártyák alatt */
.home-overview {
    margin-top: 2.5rem;
}

.home-overview__title {
    margin-bottom: 0.75rem;
    color: #00224e;
    font-size: 1.3rem;
    font-weight: 700;
}

/* a műszer modulja szövegesen is (a szín ne legyen az egyetlen jelzés) */
.demo-tile__module {
    white-space: nowrap;
    align-self: flex-start;
    margin-bottom: 0.4rem;
    padding: 0.05rem 0.45rem;
    border-radius: 3px;
    background: var(--module-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* folyamatjelző (pl. e-mail küldés): a háttérsáv ugyanannak a színnek világosabb árnyalata */
.demo-meter {
    height: 8px;
    margin: 0.4rem 0 0.2rem;
    border-radius: 4px;
    background: #e9ecef;
    overflow: hidden;
}

.demo-meter__fill {
    height: 100%;
    border-radius: 4px;
    background: var(--module-chart);
}

/* a kezdőlapon szélesebb műszerek: asztalon soronként négy (rendszer + Adatlap, Online továbbképzés + E-learning) */
.home-overview .demo-tiles {
    /* auto-fill: ha csak a két élő rendszerműszer látszik (demó nélkül), akkor se nyúljanak a teljes szélességre */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

@media (max-width: 575.98px) {
    .home-overview .demo-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* mobilon kettesével */
    }

    /* keskeny kártyán a DEMÓ címke és a modulcímke új sorba törhet, hogy semmi ne lógjon ki */
    .home-overview .demo-widget__head {
        flex-wrap: wrap;
    }

    .home-overview .demo-tile__module {
        white-space: normal;
    }
}

/* Felső sáv: MET sötétkék (a magyaredzo.hu fejlécéhez illően), modulon belül alul a modul színes csíkja */
.main-header.app-topbar {
    background-color: #00224e;
    border-bottom: 0;
}

.main-header.app-topbar--module {
    border-bottom: 4px solid transparent;
    border-image: var(--module-stripe, var(--module-gradient)) 1;
}

.main-header.app-topbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.main-header.app-topbar .nav-link:hover,
.main-header.app-topbar .nav-link:focus {
    color: #fff;
}

/* a még nem kész funkció ikonja halványabb, de a felirata (title) egérrel látszik */
.main-header.app-topbar .nav-link.disabled {
    color: rgba(255, 255, 255, 0.45);
    pointer-events: auto;
    cursor: default;
}

/* olvasatlan üzenetek száma az ikon jobb felső sarkában (az AdminLTE alapjelvényénél nagyobb, jobban olvasható) */
.main-header.app-topbar .navbar-badge {
    top: 4px;
    right: auto;
    left: 1.6rem; /* az ikon jobb felső sarkából jobbra nő, így a "99+" sem takarja el a borítékot */
    min-width: 1.1rem;
    padding: 0.2rem 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

/* Felső sáv: az aktuális modul (vagy Törzsek) neve nagy, modulszínű betűkkel (akkora, mint az oldal címe) */
.topbar-module {
    margin-left: 0.75rem;
    background: var(--module-topbar-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem; /* = .page-title */
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .topbar-module {
        margin-left: 0.25rem;
        font-size: 1.15rem; /* a leghosszabb név (ONLINE TOVÁBBKÉPZÉS) is elférjen */
    }

    /* a jobb oldali ikonok (üzenetek, jelszó, hibabejelentés, kilépés) közelebb egymáshoz, hogy 390 px-en se lógjon ki a sáv */
    .main-header.app-topbar .navbar-nav .nav-link {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
}

/* Oldalcím (a metcommon app.css .page-title-jának felülírása): kisebb, mint a felső sáv modulfelirata,
   alatta rövid, modulszínű vonal (Törzsekben szürke). A felső térköz padding, hogy ne csússzon ki a tartalomterületből. */
.page-title {
    position: relative;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    font-size: 1.75rem;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: var(--module-chart, #6c757d);
}

@media (max-width: 575.98px) {
    .page-title {
        font-size: 1.1rem; /* mobilon is kisebb maradjon, mint a felső sáv modulfelirata (1.15rem) */
    }
}

/* "A modul fejlesztés alatt áll" tájékoztató (training, elearning): halvány piros, hogy a tesztelők
   egyértelműen lássák, hogy nem hiba miatt hiányzik a tartalom. (Az AdminLTE .alert-danger-je telt piros, az hibának hatna.) */
.dev-notice {
    border: 1px solid #f1aeb5;
    background-color: #f8d7da;
    color: #842029;
}

/* Üzenetek (MessageController, resources/views/messages/). Minta: metportal .met-msg-* */
/* olvashatóság miatt korlátozott szélesség, középre igazítva (hogy jobbra ne maradjon aszimmetrikus üres sáv) */
.msg-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.msg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.msg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.msg-list > li + li {
    border-top: 1px solid #e9ecef;
}

.msg-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #212529;
    text-decoration: none;
}

.msg-item:hover,
.msg-item:focus-visible {
    background: #eef2f7;
    color: #212529;
}

.msg-dot {
    flex: none;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: transparent;
}

.msg-item.is-unread .msg-dot {
    background: #007ac2;
}

.msg-subject {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-item.is-unread .msg-subject {
    font-weight: 700;
}

.msg-failed {
    flex: none;
    color: #b35f00;
}

.msg-date {
    flex: none;
    color: #6c757d;
    font-size: 0.9rem;
    white-space: nowrap;
}

.msg-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #6c757d;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.msg-empty i {
    font-size: 2rem;
    color: #007ac2;
    margin-bottom: 0.5rem;
}

.msg-empty p {
    margin: 0;
}

.msg-pages {
    margin-top: 1rem;
}

.msg-pages .pagination {
    --bs-pagination-color: #00224e;
    --bs-pagination-active-bg: #00224e;
    --bs-pagination-active-border-color: #00224e;
    justify-content: center;
}

.msg-back {
    display: inline-block;
    margin: 0.75rem 0 1rem;
    color: #00224e;
    font-weight: 600;
    text-decoration: none;
}

.msg-back:hover,
.msg-back:focus-visible {
    color: #007ac2;
    text-decoration: underline;
}

.msg-view {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: 4px solid #00224e;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.msg-view-head {
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.msg-view-subject {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 0.25rem;
}

/* figyelmeztetés a sikertelen kézbesítésről: halvány narancs (az AdminLTE .alert-warning-je telt sárga, az hibának hatna) */
.msg-warning {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #fff4e0;
    border: 1px solid #f5c98a;
    border-left: 4px solid #b35f00;
    color: #5c3200;
}

.msg-warning i {
    margin-top: 0.2rem;
    color: #b35f00;
}

.msg-body {
    display: block;
    width: 100%;
    min-height: 4rem;
    border: 0;
}

@media (max-width: 575.98px) {
    /* telefonon a tárgy több sorba törhet (a pötty mellett), a dátum alá kerül */
    .msg-item {
        flex-wrap: wrap;
        row-gap: 0.15rem;
        padding: 0.75rem;
    }

    .msg-subject {
        flex: 1 1 0;
        white-space: normal;
    }

    .msg-item .msg-date {
        order: 3;
        flex-basis: 100%;
        padding-left: 1.35rem;
    }

    .msg-view {
        padding: 1rem;
    }
}

/* Szerviz / E-mail automata (EmailAutomatController, resources/views/service/emailautomat-page.blade.php) */
.automat-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.automat-card {
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border-top: 3px solid var(--module-chart);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.automat-state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.automat-state__label {
    color: #495057;
    font-size: 0.9rem;
}

.automat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
}

.automat-badge::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: currentColor;
}

.automat-badge.is-running {
    background: #e3f4e7;
    color: #1e7b34;
}

.automat-badge.is-running::before {
    animation: automat-pulse 1.2s ease-in-out infinite;
}

.automat-badge.is-idle {
    background: #e9ecef;
    color: #495057;
}

@keyframes automat-pulse {
    50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
    .automat-badge.is-running::before {
        animation: none;
    }
}

.automat-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 1rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.automat-facts dt {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 400;
}

.automat-facts dd {
    margin: 0;
    font-weight: 600;
}

.automat-facts small {
    display: block;
    color: #6c757d;
    font-weight: 400;
}

.automat-start {
    background: var(--module-color);
    border-color: var(--module-color);
    color: #fff;
}

.automat-start:hover,
.automat-start:focus-visible {
    background: var(--module-chart);
    border-color: var(--module-chart);
    color: #fff;
}

.automat-start:disabled {
    background: #adb5bd;
    border-color: #adb5bd;
}

.automat-start-note {
    margin-top: 0.35rem;
    color: #6c757d;
    font-size: 0.8rem;
    text-align: right;
}

.automat-refresh {
    color: #6c757d;
    font-size: 0.8rem;
    text-align: right;
}

/* a műszerek (az E-mail automata és a Szerviz Áttekintés oldalán) ne nyúljanak szét, ha csak kettő van */
.automat-wrap .demo-tiles,
.service-tiles {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Szerviz Áttekintés: a gyorsgomb ugyanolyan széles, mint az Adatlap két gyorsgombja (legfeljebb 2 oszlop, akkor is, ha csak egy van) */
.quick-cards.module-service {
    grid-template-columns: repeat(auto-fill, minmax(max(300px, calc((100% - 1rem) / 2)), 1fr));
}

@media (max-width: 575.98px) {
    .automat-state > div:last-child,
    .automat-start-note {
        width: 100%;
        text-align: left;
    }

    .automat-start {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .automat-wrap .demo-tiles,
    .service-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* mobilon kettesével, mint a kezdőlapon */
    }
}

/* Bal menü: a működő almenüpontok ugyanolyan színűek, mint a főmenüpontok.
   A világosszürke (AdminLTE: #777) csak a még nem működő ("Hamarosan", .disabled) pontoké. */
.nav-sidebar .nav-treeview > .nav-item > .nav-link:not(.disabled):not(.active) {
    color: #343a40;
}

/* Modál: az alcím a cím alatt, új sorban, kisebb betűvel; ami nem fér ki, "..."-tal levágva
   (x-modal subtitle_alatta="1") */
.modal-header.modal-header-subtitle-alatta {
    flex-direction: column;
    align-items: stretch;
}

.modal-header-subtitle-alatta .modal-subtitle {
    float: none;
    min-width: 0;
    max-width: 100%;
    margin: 0.2rem 0 0;
    font-size: 0.95rem !important; /* a .card-title !important-tal 1.3rem */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-header-subtitle-alatta .modal-subtitle:empty {
    display: none;
}

/* Dátumválasztó (x-input-datepicker): a naptár ikon kattintható */
.app-datepicker-toggle {
    cursor: pointer;
}

/* Tördelés tiltása csak 768 px felett (telefonon törhet), pl. táblázat oszlopfejléce */
@media (min-width: 768px) {
    .text-md-nowrap {
        white-space: nowrap !important;
    }
}

/* Modul Áttekintés: az éles műszerek (pl. E-learning / Konferenciák) ne nyúljanak szét, ha kevés van; mobilon kettesével */
.live-tiles {
    /* ugyanolyan széles, mint alatta a demó négy kártyája (a sor negyede, legalább 240 px) */
    grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 3rem) / 4)), 1fr));
}

@media (max-width: 575.98px) {
    .live-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Listák: a nem érvényes (inaktív) sor halványabb, pl. E-learning / Konferencia előadások */
.row-inaktiv > td {
    color: #8a8f96;
}

/* Kattintható műszer (demo-tile partial, $tile['url']): a műszerhez tartozó oldalra ugrik.
   Egér alatt kiemelkedik, mint az Adatlap gyorsgomb-kártyái (.quick-card); a jobb felső sarokban nyíl. */
.demo-tile--link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.demo-tile--link:hover,
.demo-tile--link:focus-visible {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.demo-tile--link:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.demo-tile__arrow {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--module-chart);
    transition: transform 0.15s ease;
}

.demo-tile--link:hover .demo-tile__arrow {
    transform: translateX(3px);
}

/* E-learning / Kreditszerző anyagok / Kategóriák: kétszintű fa (főkategória sáv, alatta behúzva az alkategóriák) */
.cat-page {
    max-width: 960px;
}

.cat-tree {
    margin-top: 1rem;
}

.cat-group {
    margin-bottom: 0.75rem;
}

.cat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.6s ease;
}

.cat-row--main {
    background: #f4f6f9;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-weight: 600;
}

.cat-subs {
    margin-left: 1.5rem;
    border-left: 2px solid #ced4da;
}

.cat-row--sub {
    border-bottom: 1px solid #eceff3;
}

.cat-row--sub:last-child {
    border-bottom: 0;
}

.cat-row--flash {
    background-color: #fff3cd;
}

.cat-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cat-badge {
    background: #e9ecef;
    color: #495057;
    font-weight: 500;
}

.cat-badge--warning {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffda6a;
}

.cat-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}

/* a mini-btn alapból btn-block (100% széles): a sorban egymás mellett kell állniuk */
.cat-btns .mini-btn {
    flex: 0 0 auto;
    margin: 0;
}

.cat-btn-newsub {
    white-space: nowrap;
}

.cat-empty {
    color: #6c757d;
}

.cat-megjegyzes {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .cat-subs {
        margin-left: 0.75rem;
    }

    /* telefonon a gombok a név alá kerülnek */
    .cat-btns {
        margin-left: 0;
    }
}

/* E-learning / Gyakorlattár / Paraméterek: legfeljebb ötszintű fa oszlopokban (Szint 1 … Szint 5);
   szűkebb képernyőn az oszlopok tördelődnek, telefonon egymás alá kerülnek */
.ep-help {
    color: #6c757d;
    font-size: 0.9rem;
    max-width: 760px;
}

.ep-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem 1rem;
    margin-top: 1rem;
    align-items: start;
}

.ep-col {
    min-width: 0;
}

.ep-col__head {
    min-height: 2.9rem;
    margin-bottom: 0.4rem;
}

.ep-col__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.ep-col__parent {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-list {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #fff;
}

.ep-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 0;
    border-bottom: 1px solid #eceff3;
    background: #fff;
    color: #343a40;
    text-align: left;
    font-size: 0.9rem;
    transition: background-color 0.6s ease;
}

.ep-item:last-child {
    border-bottom: 0;
}

.ep-item:hover {
    background: #f4f6f9;
}

.ep-item:focus-visible {
    outline: 2px solid var(--module-chart, #1e8a3c);
    outline-offset: -2px;
}

.ep-item--active,
.ep-item--active:hover {
    background: var(--module-chart, #1e8a3c);
    color: #fff;
    font-weight: 600;
}

.ep-item--flash {
    background-color: #fff3cd;
}

.ep-item__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ep-item__db {
    flex: 0 0 auto;
    background: #e9ecef;
    color: #495057;
    font-weight: 500;
}

.ep-item__arrow {
    flex: 0 0 auto;
    opacity: 0.6;
}

.ep-empty {
    padding: 0.5rem 0.7rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

.ep-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

/* széles képernyőn mind az öt szint egy sorban, a teljes szélességben */
@media (min-width: 1200px) {
    .ep-tree {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-width: 1500px;
    }
}

@media (max-width: 767.98px) {
    .ep-tree {
        grid-template-columns: 1fr;
    }

    .ep-col__head {
        min-height: 0;
    }
}

/* ---------------------------------------------------------------------------------------------
   Bal menü (Mikka döntése, 2026-11-09, "A: vezetővonalas fa"):
   - kisebb betű (főpont 14 px, almenüpont 13 px), egyforma szélességű ikonok
   - az almenü beljebb húzva, ikon nélkül, bal oldalán modulszínű vezetővonallal
   - a lenyitott csoport nem teli kék gomb, hanem modulszínű félkövér szöveg
   - az aktív menüpont halvány modulszínű háttér + bal oldali sáv
   - a "Hamarosan" címke kicsi, halvány, keretes
   A modul színe: az aside megkapja a module-* osztályt (layouts/menu.blade.php); modulon kívül a MET sötétkék.
   --------------------------------------------------------------------------------------------- */
.main-sidebar {
    --menu-color: var(--module-color, #00224e);
    --menu-bg: color-mix(in srgb, var(--menu-color) 7%, #fff);
    --menu-tint: color-mix(in srgb, var(--menu-color) 14%, #fff);
    --menu-tint-strong: color-mix(in srgb, var(--menu-color) 22%, #fff);
    --menu-line: color-mix(in srgb, var(--menu-color) 30%, #fff);
}

.nav-sidebar > .nav-item > .nav-link {
    font-size: 0.875rem;
    padding: 0.4rem 0.6rem;
    margin-bottom: 1px;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link {
    font-size: 0.8125rem;
    padding: 0.3rem 0.6rem;
    margin-bottom: 1px;
}

.nav-sidebar > .nav-item > .nav-link > i:first-child {
    width: 1.25rem;
    margin-right: 0.35rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.nav-sidebar .nav-link p {
    margin: 0;
}

.nav-sidebar .nav-link .right {
    font-size: 0.75rem;
    color: #9aa0a6;
    top: 0.65rem;
}

/* A modul neve a felső sávban látszik, ezért a menüben nincs színes modulcím (Mikka, 2026-11-09):
   helyette egy vékony elválasztó vonal; a felirat a képernyőolvasóknak megmarad. */
.nav-sidebar .nav-header.menu-module-header {
    position: relative;
    height: 0;
    padding: 0;
    margin: 0.6rem 0.4rem 0.6rem;
    border-top: 1px solid var(--menu-line);
    background: none;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

/* Modulon belül az egész menüoszlop a modul színének halvány árnyalata (a betűk feketék maradnak) */
.main-sidebar[class*="module-"] {
    background-color: var(--menu-bg);
}

/* a logó képének törtfehér (#faf9f5) háttere a színes oszlopon ne látsszon dobozként:
   4%-os világosítással tiszta fehér lesz, a multiply pedig átlátszóvá teszi */
.main-sidebar[class*="module-"] .menu-logo {
    filter: brightness(1.045);
    mix-blend-mode: multiply;
}

.nav-sidebar .badge.badge-secondary {
    background: transparent;
    color: #9aa0a6;
    border: 1px solid #d5d9de;
    font-weight: 500;
    font-size: 0.625rem;
    padding: 0.1em 0.4em;
    vertical-align: 0.1em;
}

/* aktív (kiválasztott) menüpont */
.nav-sidebar .nav-link.active:not([href="#"]) {
    background: var(--menu-tint-strong) !important;
    color: var(--menu-color) !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--menu-color) !important;
}

.nav-sidebar .nav-link.active:not([href="#"]) > i:first-child {
    color: var(--menu-color);
}

/* lenyitott csoport (a szülő linkje "#") */
.nav-sidebar > .nav-item > .nav-link[href="#"].active {
    background: transparent !important;
    color: var(--menu-color) !important;
    box-shadow: none !important;
    font-weight: 600;
}

.nav-sidebar > .nav-item > .nav-link[href="#"].active > i:first-child,
.nav-sidebar > .nav-item > .nav-link[href="#"].active .right {
    color: var(--menu-color);
}

.nav-sidebar .nav-link:not(.active):not(.disabled):hover {
    background: var(--menu-tint);
    color: var(--menu-color);
}

/* almenü: behúzás + vezetővonal, ikon nélkül (a vonal mutatja, mihez tartozik) */
.nav-sidebar .nav-treeview {
    margin: 0.1rem 0 0.4rem 1.2rem;
    padding-left: 0.35rem;
    border-left: 2px solid var(--menu-line);
}

.nav-sidebar .nav-treeview .nav-link > i:first-child {
    display: none;
}

/* ===== Kreditszerző anyagok / Előadások (elearnings/lectures-page, lecture-modal) ===== */

/* szűrőpanel: a fejléc gomb, benne a megadott feltételek címkéi */
.lec-szurok-fej {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    background: #f8f9fa;
    border: 0;
    flex-wrap: wrap;
}

.lec-szurok-cim {
    font-weight: 600;
}

.lec-szurok-aktiv {
    flex: 1 1 auto;
}

.lec-szuro-cimke {
    background: #e9f5ec;
    color: #005d29;
    border: 1px solid #b7dfc0;
    font-weight: 500;
}

.lec-szurok-nyil {
    transition: transform 0.2s;
    margin-left: auto;
}

.lec-szurok-fej[aria-expanded="true"] .lec-szurok-nyil {
    transform: rotate(180deg);
}

/* az Ellenőrizve gomb (E-learning fő admin) */
.btn-ellenorzes {
    background: #cfe9ff;
    border-color: #6aa9de;
    color: #00224e;
}

.btn-ellenorzes:hover:not(:disabled) {
    background: #b3dbff;
}

/* kategóriák az ablakban: soronként egy, a végén a törlés gomb */
.lec-kategoriak {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.35rem 0.5rem;
    min-height: 3rem;
    max-height: 9.5rem;
    overflow-y: auto;
}

.lec-kategoria {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0;
}

.lec-kategoria + .lec-kategoria {
    border-top: 1px solid #eef0f2;
}

.lec-kategoria .mini-btn {
    width: auto;
    flex: 0 0 auto;
}

.lec-ellenorzes {
    font-size: 0.9rem;
    background: #f8f9fa;
}

.lec-video-meglevo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* kérdések */
.lec-kerdesek {
    max-height: 22rem;
    overflow-y: auto;
}

.lec-kerdes-szoveg {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lec-kerdes-gombok .mini-btn {
    width: auto;
    display: inline-block;
}

.lec-feltoltes-progress {
    height: 1.5rem;
}

/* a kiválasztott videófájl jelzése: halvány (a téma alert-info színe túl harsány) */
.lec-video-file .alert-info {
    background: #eaf4fb;
    color: #0b4f71;
    border-color: #b9dcf1;
}

/* A bal menü rögzített: mindig a látható magasságú, nem görgetődik a jobb oldali tartalommal (Mikka, 2026-11-10).
   Felül a logó, alul a verzió áll; ha a menüpontok nem férnek ki, csak a középső rész görget. */
.main-sidebar {
    position: fixed !important;
    top: 0;
    bottom: 0;
    height: 100vh;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
}

.main-sidebar > .col {
    flex: 0 0 auto; /* a logó dobozát a Bootstrap .col kitöltésre nyújtaná */
}

.main-sidebar .sidebar {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    overflow-y: auto;
    overflow-x: hidden;
}

/* A bal menü alján az aktuális verzió (albetűvel) - teszteléskor látszik, nem egy régi változatot néznek-e */
.main-sidebar .menu-verzio {
    flex: 0 0 auto;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    background: inherit;
    border-top: 1px solid var(--menu-line);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

/* Előadás ablak: két oszlop (xl). Ha a képernyő mégis alacsony, a fejléc és a lábléc helyben marad, a tartalom görget. */
#modal-elearning-lecture .modal-content {
    max-height: calc(100vh - 3.5rem);
}

#modal-elearning-lecture .modal-body {
    overflow-y: auto;
}

@media (min-width: 992px) {
    /* a jobb oldali oszlopban több kategória is elfér görgetés nélkül */
    #modal-elearning-lecture .lec-kategoriak {
        min-height: 8rem;
        max-height: 20rem;
    }
}

/* Elfogadott MET előadások: a MET által meghatározott kredit jelzése */
.al-met-badge {
    background: #eaf4fb;
    color: #0b4f71;
    border: 1px solid #b9dcf1;
    font-weight: 500;
    font-size: 0.7rem;
}

/* Elfogadott MET előadások: szervezetválasztó + „i” ikon mellette */
.al-szervezet {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}
.al-szervezet-valaszto {
    flex: 1 1 auto;
    min-width: 0;
}
.al-szervezet-valaszto .form-group {
    margin-bottom: 0;
}
.al-szervezet-info {
    flex: 0 0 auto;
    padding: 0.375rem 0.5rem;
    color: #0b4f71;
    font-size: 1.15rem;
    line-height: 1;
}

/* ---------------------------------------------------------------- Adatlap / Kreditek fül */
.coach-kredit-cim {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    border-bottom: 2px solid var(--module-color, #f7941d);
    padding-bottom: 0.3rem;
    margin-bottom: 0.75rem;
}

.coach-kredit-org {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.75rem 0 0.4rem;
}

.coach-kredit-table {
    font-size: 0.9rem;
}

.coach-kredit-table thead th {
    vertical-align: bottom;
    white-space: nowrap;
}

/* Megszerzett E-learning kredit: alatta kicsiben a beszámítható maximum */
.coach-kredit-max {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6c757d;
    white-space: nowrap;
}

/* a két fejlécsoron átnyúló (egysoros) oszlopnevek függőlegesen középre (Időszak, Doppingellenes, Etika) */
.coach-kredit-table thead th[rowspan],
.credit-period-list > thead > tr > th[rowspan],
.credit-period-list > tbody > tr > td {
    vertical-align: middle;
}

/* ---------------------------------------------------------------- E-learning / Kreditszerző időszak: telefonon kisebb cellamargó, hogy a táblázat kiférjen */
@media (max-width: 767.98px) {
    .credit-period-list > thead > tr > th,
    .credit-period-list > tbody > tr > td {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        font-size: 0.8rem;
    }

    .credit-period-list > thead > tr > th.dt-orderable-asc,
    .credit-period-list > thead > tr > th.dt-orderable-desc {
        padding-right: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .coach-kredit-table > thead > tr > th,
    .coach-kredit-table > tbody > tr > td {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        font-size: 0.82rem;
    }

    .coach-kredit-table thead th,
    .coach-kredit-max {
        white-space: normal;
    }
}

/* E-learning / Gyakorlattár / Gyakorlat listák: a lista gyakorlatai az ablakban (sorszám, név, megjegyzés; fel, le,
   megjegyzés, törlés gombok) */
.gyl-tetelek {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    min-height: 3rem;
    max-height: 20rem;
    overflow-y: auto;
}

.gyl-tetel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    transition: background-color 0.6s ease;
}

.gyl-tetel + .gyl-tetel {
    border-top: 1px solid #eef0f2;
}

.gyl-tetel--flash {
    background-color: #fff3cd;
}

.gyl-tetel__szoveg {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gyl-tetel__sorszam {
    color: #6c757d;
    font-variant-numeric: tabular-nums;
}

.gyl-tetel__megjegyzes {
    font-size: 0.8rem;
    color: #6c757d;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gyl-tetel__gombok {
    display: flex;
    flex: 0 0 auto;
    gap: 0.25rem;
}

/* a mini-btn alapból btn-block (100% széles): a sorban egymás mellett kell állniuk */
.gyl-tetel__gombok .mini-btn {
    width: auto;
    margin: 0;
}

.gyl-badge-nemervenyes {
    background: #e9ecef;
    color: #6c757d;
    font-weight: 500;
}

/* a hozzárendelő ablak pipái: a táblázatban (a fejlécben is) a helyükön, középen */
#gyl-ex-list .form-check-input {
    position: static;
    float: none;
    margin: 0;
    vertical-align: middle;
}

/* ---------------- E-learning / Gyakorlattár / Csempék ---------------- */

.et-bevezeto {
    max-width: 52rem;
}

/* a lista Szűrő oszlopa: a hosszú szavak is törhetnek (telefonon különben kilógna) */
.et-ag {
    overflow-wrap: anywhere;
}

/* az ablakban a kiválasztott ág útvonala */
.et-ag-mezo {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.4rem 0.75rem;
    min-height: 2.4rem;
    overflow-wrap: anywhere;
}

/* Kijelentkezett oldalak (layouts/vendeg: Elfelejtett jelszó, Új jelszó) - a login.blade.php kinézete */
.vendeg-logo {
    max-width: min(400px, 90vw);
    margin-top: 100px;
}

.vendeg-card {
    width: 28rem;
    max-width: calc(100vw - 32px);
}

.vendeg-intro {
    color: #495057;
}

.vendeg-megj,
.jelszo-megj {
    font-weight: normal;
    font-size: 0.85em;
    color: #6c757d;
}

.vendeg-info {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.vendeg-info i {
    font-size: 1.4rem;
    margin-top: 0.1rem;
}

.vendeg-info-ok {
    background: #d1e7dd;
    color: #0f5132;
}

.vendeg-info-hiba {
    background: #f8d7da;
    color: #842029;
}

.vendeg-vissza,
.vendeg-elfelejtett {
    margin-top: 1rem;
}

.vendeg-vissza {
    margin-bottom: 2rem;
}

/* Saját jelszó módosítása (JelszoController, resources/views/jelszo/edit) - a panel középen */
.jelszo-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.jelszo-panel {
    margin-top: 1rem;
}

.jelszo-gombok {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.jelszo-siker-ikon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0.5rem auto 1rem;
    border-radius: 50%;
    background: #d1e7dd;
    color: #0f5132;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.jelszo-siker-szoveg {
    font-size: 1.1rem;
    font-weight: 600;
}

.jelszo-siker-megj {
    color: #6c757d;
}

/* Áttekintés: ha a sorban egyetlen grafikon / lista van, ne nyúljon szét - asztalon fél szélesség, telefonon teljes */
.demo-row--egy {
    grid-template-columns: repeat(auto-fill, minmax(max(320px, calc((100% - 1rem) / 2)), 1fr));
}

/* Adatlapok / Jóváhagyásra várók: telefonon az Azon, a Titulus, a (mindig „igen”) Jóváhagyásra vár? és Aktív oszlop rejtve,
   hogy a Szervezet és a Jóváhagyás oka elférjen; a szervezetek listájában maradnak */
@media (max-width: 767.98px) {
    #div-page-coaches.coach-lista-jv .coach-jv-mobil-rejtett {
        display: none;
    }
}

/* Adminisztrátori nyilatkozatok ablaka a belépő oldalon (login.blade.php, AdminNyilatkozatService):
   görgethető, de csak akkora, amekkora a tartalma */
#modal-admin-nyilatkozat .modal-dialog-scrollable {
    height: auto;
}

#modal-admin-nyilatkozat .modal-content {
    height: auto;
    max-height: calc(100vh - 3.5rem);
}

.admin-nyilatkozat-intro {
    color: #495057;
}

/* Törzsek / Felhasználók, Alapadatok fül: utolsó belépés, nyilatkozatok elfogadása (csak kiírás) */
.user-idopontok {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9em;
    color: #495057;
}

.user-idopont-cimke {
    color: #6c757d;
    margin-right: 0.25rem;
}

/* ===== Szervezetek / Licensz besorolás fül (organization-licensz-tab) ===== */
.org-licensz {
    padding-top: 0.75rem;
    max-width: 640px;
}
.org-licensz-uj {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.org-licensz-mezo {
    flex: 1 1 auto;
    min-width: 0;
}
.org-licensz-tabla {
    margin-bottom: 0;
}
.org-licensz-tabla td {
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.org-licensz-gomb-oszlop {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}
.org-licensz-ures {
    color: #6c757d;
    font-style: italic;
}

/* ===== Kreditszerző időszak – licensz besorolás alapján (credit-period-modal) ===== */
.cp-licensz-tabla {
    margin-bottom: 0.5rem;
}
.cp-licensz-tabla th,
.cp-licensz-tabla td {
    vertical-align: middle;
}
.cp-licensz-nev {
    overflow-wrap: anywhere;
}
.cp-licensz-szam {
    width: 9rem;
}
.cp-licensz-szam .form-control {
    min-width: 4.5rem;
}
.cp-licensz-torolt {
    color: #6c757d;
    font-style: italic;
    font-size: 0.875em;
}
@media (max-width: 575.98px) {
    .cp-licensz-szam {
        width: 5.5rem;
    }
    .cp-licensz-tabla th {
        font-size: 0.8rem;
    }
}
