body {
        background: #0a0f1a;
        color: #e5e7eb;
        font-family: "JetBrains Mono", Consolas, monospace;
        margin: 0;
        padding: 0;
    }

    /* === HEADER / LOGO === */
    .top-header {
        background: linear-gradient(90deg, #1e293b, #0f172a);
        padding: 25px 30px;
        border-bottom: 1px solid #334155;
        display: flex;
        align-items: center;
        gap: 20px;
      
    }

    .app-logo {
        font-size: 1.7rem;
        font-weight: 700;
        color: #38bdf8;
        letter-spacing: 0.03em;
    }

    .app-sub {
        color: #94a3b8;
        font-size: 0.9rem;
        margin-top: 2px;
    }

    /* === MODULES === */
    .module {
        max-width: 1200px;
        margin: 30px auto;
        padding: 22px 26px;
        border-radius: 14px;
        box-shadow: 0 12px 38px rgba(0,0,0,0.55);
        border: 1px solid #1e293b;
    }

    .module-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
        font-weight: 600;
        color: #38bdf8;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .panel {
        background: #111827;
        border-radius: 10px;
        padding: 18px 20px;
        margin-bottom: 20px;
        border: 1px solid #1e293b;
    }

    .section-title {
        margin-bottom: 12px;
        color: #f1f5f9;
        font-weight: 600;
        font-size: 1rem;
    }

    label { font-size: 0.9rem; }

    input[type="text"],
    select {
        background: #0a0f1a;
        border-radius: 6px;
        border: 1px solid #334155;
        color: #e5e7eb;
        padding: 6px 10px;
        font-family: "JetBrains Mono", monospace;
        min-width: 220px;
    }

    input[type="text"]:focus,
    select:focus {
        outline: none;
        border-color: #38bdf8;
        box-shadow: 0 0 0 1px #38bdf8;
    }

    .btn {
        background: linear-gradient(135deg, #38bdf8, #6366f1);
        color: #0f172a;
        border: none;
        border-radius: 6px;
        padding: 8px 16px;
        font-weight: 700;
        cursor: pointer;
        font-family: "JetBrains Mono", monospace;
        transition: 0.15s;
    }

    .btn:hover {
        filter: brightness(1.15);
        transform: translateY(-1px);
    }

    .layout {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: flex-start;
}
body {
    background: linear-gradient(
        to bottom,
        #1e3a8a 0%,    /* kék */
        #dc2626 25%,   /* piros */
        #f59e0b 50%,   /* sárga */
        #16a34a 75%,   /* zöld */
        #1e3a8a 100%   /* vissza kék, hogy szépen zárjon */
    );
    background-attachment: fixed;
    background-size: 100% 200%;
}
/* bal / jobb oszlop – gridben csak annyi, hogy engedjük szűkülni */
.left,
.right {
    min-width: 0;
}

/* mobilon egymás alá */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

    .left .panel, .right .panel { margin-top: 0; }

    .preview-box textarea {
        border-radius: 10px;
        border: 1px solid #1e293b;
        background: #020617;
    }

    /* TABLES */
    table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.85rem;
    }

    th, td {
        padding: 6px 8px;
        border-bottom: 1px solid #1e293b;
        white-space: nowrap;
    }

    th {
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        color: #94a3b8;
    }

    td.name a {
        color: #38bdf8;
        text-decoration: none;
    }

    td.name a:hover {
        text-decoration: underline;
    }

    .muted { color: #94a3b8; font-size: 0.85rem; }
    .icon { margin-right: 6px; }
	.layout-wrapper {
    display: flex;
    gap: 22px;
    margin-top: 25px;
}

/* Bal oldali LISTA panel */
.file-list-panel {
    flex: 0 0 45%;
    background: #0f172a;
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 14px;
    padding: 16px;
    max-height: 78vh;
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

/* Jobb oldali FILE VIEWER panel */
.file-viewer-panel {
    flex: 1;
    background: #111827;
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: 14px;
    padding: 16px;
    max-height: 78vh;
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

/* Fájl tartalom */
#fileViewer pre {
    color: #e5e7eb;
    font-size: 0.88rem;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .layout-wrapper {
        flex-direction: column;
    }
    .file-list-panel,
    .file-viewer-panel {
        flex: 1 1 auto;
        max-height: unset;
    }
}

.left table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

.left th,
.left td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.legal-top-bar {
    background: #0f172a;
    padding: 10px 25px;
    border-bottom: 1px solid #1e293b;
    text-align: right;
}

.legal-top-bar a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.90rem;
}

.legal-top-bar a:hover {
    text-decoration: underline;
}
.m-footer {
    background: #0f172a;
    margin-top: 40px;
    padding: 16px 0;
    border-top: 1px solid #1e293b;
}

.m-footer-inner {
    max-width: 1180px;
    margin: auto;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.m-footer a {
    color: #38bdf8;
    text-decoration: none;
}

.m-footer a:hover {
    text-decoration: underline;
}

.m-footer .sep {
    opacity: 0.4;
}
/* === EDITOR + PREVIEW SPLIT LAYOUT === */
.editor-preview-layout {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.editor-col,
.preview-col {
    flex: 1 1 0;
    min-width: 0;
}

/* Bal oldali code editor doboz már létezik (preview-box), csak kicsit megnyomjuk magasságra */
.preview-box textarea {
    min-height: 65vh;
    resize: vertical;
}

/* Jobb oldali HTML előnézet keret */
.preview-frame-wrapper {
    background: #020617;
    border-radius: 10px;
    border: 1px solid #1e293b;
    padding: 0;
    overflow: hidden;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
}

.preview-frame-header {
    padding: 6px 10px;
    border-bottom: 1px solid #1e293b;
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-frame-header span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-frame-body {
    flex: 1;
    overflow: hidden;
}

/* Az iframe, ami a kimenetet mutatja */
.preview-frame-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #020617;
}

/* Ha nincs HTML preview ehhez a fájltípushoz */
.preview-frame-empty {
    padding: 10px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Mobilon a két oszlop egymás alá csúszik */
@media (max-width: 900px) {
    .editor-preview-layout {
        flex-direction: column;
    }
}

/* === BACK TO TOP GOMB === */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #0f172a;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15,23,42,0.9);
    display: none;
    z-index: 999;
}

.back-to-top:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.editor-preview-vertical {
    display: block;
    width: 100%;
}

.editor-fullwidth-box {
    width: 100%;
    margin-bottom: 20px;
}

.editor-fullwidth-box textarea {
    width: 100%;
    min-height: 60vh;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 10px;
    font-family: ui-monospace, Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 0.85rem;
    resize: vertical;
}

/* Preview keret */
.preview-block {
    width: 100%;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.preview-block-header {
    padding: 8px 12px;
    border-bottom: 1px solid #1e293b;
    font-size: 0.85rem;
    color: #9ca3af;
}

.preview-block-body {
    height: 55vh;
    overflow: hidden;
}

.preview-block-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #020617;
}

.preview-block-empty {
    padding: 12px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Mobilbarát */
@media (max-width: 900px) {
    .preview-block-body {
        height: 50vh;
    }
}
td.path {
    white-space: normal;
    word-break: break-all;
}
.fav-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    font-size: 0.8rem;
}
.fav-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}
.fav-list a {
    color: #38bdf8;
    text-decoration: none;
}
.fav-list a:hover {
    text-decoration: underline;
}
.fav-remove {
    font-size: 0.75rem;
    color: #fca5a5;
}
.panel-diff {
    margin-top: 8px;
    margin-bottom: 8px;
    background: #020617;
    border-radius: 8px;
    border: 1px solid #1e293b;
    padding: 8px 10px;
}
.diff-title {
    font-size: 0.8rem;
    color: #e5e7eb;
    margin-bottom: 4px;
}
.diff-pre {
    font-size: 0.75rem;
    color: #e5e7eb;
    white-space: pre-wrap;
    word-break: break-word;
}
.diff-pre .removed { color:#fecaca; }
.diff-pre .added   { color:#bbf7d0; }
.preview-image {
    max-width: 100%;
    max-height: 60vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #1e293b;
    object-fit: contain;
    background: #020617;
}
/* ============= M-EXPLORER PRO SPLASH ================== */

#mx-splash {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center top, #1e293b 0, #0f172a 50%, #000 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    font-family: system-ui, sans-serif;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#mx-splash.hide {
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
}

/* háttér orbs */

.mx-splash-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mx-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: mx-orb-move 15s ease-in-out infinite alternate;
}

.orb-a { left: -40px; top: -20px; background: #38bdf8; }
.orb-b { right: -60px; top: 30%; background: #a855f7; animation-delay: 4s; }
.orb-c { left: 50%; bottom: -60px; background: #22c55e; animation-delay: 7s; }

@keyframes mx-orb-move {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(40px, -50px) scale(1.2); }
}

/* tartalom blokk */

.mx-splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 30px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.4);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 440px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.7);
}

/* logó */

.mx-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.mx-logo-icon {
    font-size: 2.6rem;
    margin-bottom: 8px;
    animation: mx-pulse 2.8s infinite;
}

@keyframes mx-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.85; }
}

.mx-logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* alcím */
.mx-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 14px;
}

/* díszítő csík */
.mx-divider {
    height: 2px;
    width: 80%;
    margin: 0 auto 18px;
    background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, #22c55e, transparent);
    background-size: 200% 100%;
    animation: mx-divider-move 3s linear infinite;
}

@keyframes mx-divider-move {
    0% { background-position-x: 0%; }
    100% { background-position-x: 200%; }
}

/* készítő */
.mx-madeby .label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.mx-madeby .brand {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* loader */
.mx-loader {
    height: 4px;
    width: 100%;
    border-radius: 999px;
    background: rgba(51,65,85,0.6);
    overflow: hidden;
}

.mx-loader-bar {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #22c55e);
    background-size: 200% 100%;
    animation: mx-loader-run 2s ease-in-out infinite;
    border-radius: inherit;
}

@keyframes mx-loader-run {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(30%); }
    100% { transform: translateX(120%); }
}

body.no-scroll {
    overflow: hidden;
}

.top-header {
    background: radial-gradient(circle at left top, #38bdf8 0, #0f172a 48%, #020617 100%);
    padding: 18px 26px;
    border-bottom: 1px solid rgba(148,163,184,0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.app-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-sub {
    font-size: 0.85rem;
    color: #cbd5f5;
}

/* kis "chip" jobb oldalra – verzió / powered by */

.top-header-chip {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.7);
    border: 1px solid rgba(148,163,184,0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e5e7eb;
}
.top-header-chip span:first-child {
    opacity: 0.8;
}

/* felső bar a cím + root jelzéssel */

.top-bar {
    max-width: 1200px;
    margin: 18px auto 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
    border: 1px solid rgba(30,64,175,0.55);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.95);
}

.top-bar h1 {
    font-size: 1.2rem;
    margin: 0 0 4px;
}

.top-bar .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.75rem;
}

.top-bar .badge code {
    font-size: 0.75rem;
    color: #e5e7eb;
}

/* "Kezelési útmutató" sáv */

.legal-top-bar {
    background: #020617;
    border-bottom: 1px solid #1e293b;
    text-align: right;
    padding: 4px 24px;
    font-size: 0.8rem;
}

.legal-top-bar a {
    color: #a5b4fc;
    text-decoration: none;
}
.legal-top-bar a:hover {
    text-decoration: underline;
}

/* ==== SEARCH MODULE – ÚJ LAYOUT ==== */

.module-search {
    max-width: 1200px;
    margin: 0 auto 18px;
}

.module-search .module-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
}

.module-search .module-title-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: radial-gradient(circle at top, #38bdf8, #1d4ed8);
    box-shadow: 0 0 0 1px rgba(191,219,254,0.4);
}

/* kereső panel */

.panel-search {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(37,99,235,0.65);
    box-shadow: 0 20px 55px rgba(15,23,42,0.95);
}

/* felső sor: kis infó + státuszchip */

.search-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.search-header-row-main {
    font-size: 0.9rem;
    color: #e5e7eb;
}
.search-header-row-main span {
    color: #38bdf8;
    font-weight: 600;
}

.search-status-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(56,189,248,0.7);
    font-size: 0.75rem;
    color: #bae6fd;
}

/* 2 oszlopos grid a keresőmezőkhöz */

.search-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px 22px;
    margin-top: 4px;
}

.search-col-group {
    padding-right: 6px;
    border-right: 1px solid rgba(30,64,175,0.6);
}
.search-col-group:last-child {
    border-right: none;
    padding-right: 0;
}

.search-group-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-bottom: 6px;
}

/* egységesebb field-row stílus a keresőben */

.module-search .field-row {
    margin-bottom: 8px;
}

.module-search label {
    font-size: 0.8rem;
    color: #cbd5f5;
}

.module-search input[type="text"],
.module-search select {
    width: 100%;
    max-width: 100%;
}

/* keresés gomb sor */

.search-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px dashed rgba(51,65,85,0.9);
}

.search-actions-row .muted {
    font-size: 0.78rem;
}

/* mobilra: 1 oszlopos grid */

@media (max-width: 900px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    .search-col-group {
        border-right: none;
        border-bottom: 1px solid rgba(30,64,175,0.6);
        padding-bottom: 8px;
        margin-bottom: 6px;
    }
    .search-col-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}
/* SEARCH MODULE – kereső mező rövidítése */
.module-search input[type="text"][name="q"] {
    max-width: 320px;   /* ide állíthatsz tetszőleges értéket */
}



/* FIX NAV WRAPPER – a header után tapad a tetejére és ott marad */
.module-nav-fixed {
    position: sticky;
    top: 0;                /* amikor eléri az oldal tetejét, ott “ragad” */
    z-index: 999;
    background: #0c1221;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* NAV tartalom – több sorra is törhet */
.module-nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;      /* ettől lesz 2 sor, ha nem fér ki */
    gap: 8px;
    justify-content: center;
}

/* NAV gombok */
.module-nav-inner a {
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    color: #cdd8f0;
    text-decoration: none;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: 0.15s;
}

.module-nav-inner a span {
    font-size: 0.7rem;
    color: #94a3b8;
}

.module-nav-inner a:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
}
/* nav „pill” gombok */


/* KÉTOSZLOPOS SOR – TALÁLATOK + KEDVENCEK */
.two-col-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
}

.panel-results {
    background: #020617;
}

.panel-favorites {
    background: #0f172a;
}

/* GÖRGETHETŐ TARTALOM – TALÁLATOK / FILE LISTA */
.scroll-panel {
    max-height: 260px;
    overflow-y: auto;
}

.scroll-panel-big {
    max-height: 420px;
    overflow-y: auto;
}

/* MODUL HÁTTÉR VARIÁCIÓK */
.module-search {
    background: #020617;
}

.panel-filelist-full {
    background: #020617;
}

/* KOMPAKT TÁBLÁK */
.table-compact {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.table-compact th,
.table-compact td {
    padding: 4px 6px;
    border-bottom: 1px solid #1e293b;
    white-space: nowrap;
}

/* FULL WIDTH FILE LISTA – MODERNEBB KINÉZET */
.filelist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.filelist-table thead tr {
    background: #020617;
}

.filelist-table th,
.filelist-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1f2937;
    white-space: nowrap;
}

.filelist-table td.path {
    white-space: normal;
    font-size: 0.8rem;
    color: #9ca3af;
}

.filelist-table tbody tr:nth-child(odd) {
    background: rgba(15,23,42,0.75);
}

.filelist-table tbody tr:nth-child(even) {
    background: rgba(15,23,42,0.55);
}

.filelist-table tbody tr:hover {
    background: rgba(56,189,248,0.20);
}

/* MOBILNÁL A KÉT OSZLOP EGYMÁS ALÁ */
@media (max-width: 900px) {
    .two-col-row {
        grid-template-columns: 1fr;
    }
}
/* ABC NAV A FULL FILE LISTÁHOZ */
.letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.letter-nav a,
.letter-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #1f2937;
    text-decoration: none;
}

.letter-nav a {
    color: #e5e7eb;
    background: #020617;
    cursor: pointer;
    transition: 0.15s;
}

.letter-nav a.active:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.5);
}

.letter-nav span.disabled {
    color: #4b5563;
    background: #020617;
    opacity: 0.5;
}

/* Betű-blokk szeparátor sor a táblázatban */
.file-letter-separator td {
    background: #020617;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-top: 6px;
}

.fav-col-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.fav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 3px;
}

.fav-link {
    color: #e5e7eb;
    text-decoration: none;
}

.fav-link:hover {
    color: #38bdf8;
}

.fav-remove {
    color: #fca5a5;
    text-decoration: none;
    margin-left: 6px;
}

.fav-remove:hover {
    color: #fecaca;
}

.fav-empty {
    font-size: 0.85rem;
    margin-top: 4px;
}

.fav-current-dir {
    margin: 6px 0 10px;
}

.btn-secondary {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(56,189,248,0.1);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 12px 40px;
}
.db-layout {
    display: grid;
    grid-template-columns: 344px 1fr;
    gap: 16px;
    margin-top: 20px;
}

.db-left {
    max-height: 70vh;
    overflow-y: auto;
}

.db-sql {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.db-sql textarea {
    width: 100%;
    height: 260px;
    background: #0f1628;
    color: #fff;
    border: 1px solid #23314f;
    border-radius: 6px;
    padding: 10px;
    font-family: monospace;
    resize: vertical;
}

.db-results {
    grid-column: span 2;
    margin-top: 20px;
}
.db-cell {
    cursor: pointer;
}

.db-cell-editing {
    background: rgba(56,189,248,0.15) !important;
}

.db-inline-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #38bdf8;
    background: #020617;
    color: #e5e7eb;
    border-radius: 4px;
    font-size: 0.78rem;
    padding: 2px 4px;
    font-family: "JetBrains Mono", Consolas, monospace;
}
.db-cell {
    cursor: pointer;
    position: relative;
}

.db-cell-editing {
    padding: 0;
}

.db-inline-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #38bdf8;
    background: #020617;
    color: #e5e7eb;
    font-family: inherit;
    font-size: 0.8rem;
    padding: 4px 6px;
}

/* ===================== */
/*  ÚJ: ÚTVONAL / BREADCRUMB KIEMELÉS  */
/* ===================== */

.breadcrumb {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(56,189,248,0.5);
    font-size: 0.83rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.breadcrumb strong {
    color: #f9fafb;
    margin-right: 4px;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,0.85);
    color: #38bdf8;
    text-decoration: none;
    border: 1px solid rgba(56,189,248,0.5);
    font-size: 0.82rem;
}

.breadcrumb a:hover {
    background: rgba(56,189,248,0.16);
    color: #e0f2fe;
}

/* ROOT badge legyen hangsúlyosabb a top-bárban */

.top-bar .badge {
    font-size: 0.8rem;
    background: radial-gradient(circle at left, rgba(56,189,248,0.22), rgba(15,23,42,0.95));
    border-color: rgba(56,189,248,0.75);
}

.top-bar .badge span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #bfdbfe;
}
/* ===== Modul egyedi hátterek ===== */



/*
.module.module-search-bg {
    background: linear-gradient(to bottom right, #1e3a8a, #3b82f6) !important;
}

.module.module-results-bg {
    background: linear-gradient(to bottom right, #065f46, #10b981)!important;
}

.module.module-fav-bg {
    background: linear-gradient(to bottom right, #4c1d95, #7c3aed)!important;
}

.module.module-editor-bg {
    background: linear-gradient(to bottom right, #7c2d12, #ea580c)!important;
}

.module.module-filelist-bg {
    background: linear-gradient(to bottom right, #1e293b, #334155)!important;
}

.module.module-backup-bg {
    background: linear-gradient(to bottom right, #7f1d1d, #b91c1c)!important;
}

.module.module-db-bg {
    background: linear-gradient(to bottom right, #78350f, #f59e0b)!important;
}

.module.module-help-bg {
    background: linear-gradient(to bottom right, #083344, #0ea5e9)!important;
}
.module.module-upload-bg {
    background: linear-gradient(to bottom right, #0b1226, #162447);
}*/
.theme-toggle {
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(148,163,184,0.7);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #e5e7eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(15,23,42,0.8);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-toggle:hover {
    background: rgba(30,64,175,0.95);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.9);
}

/* ===== MODULE ANIMÁCIÓ + PARALLAX ALAP ===== */

.module {
    position: relative;
    overflow: hidden;
    --parallax-y: 0px;
    transform: translateY(var(--parallax-y));
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        background 0.35s ease-out,
        border-color 0.35s ease-out;
}

.module:hover {
    transform: translateY(calc(var(--parallax-y) - 3px));
    box-shadow: 0 20px 55px rgba(0,0,0,0.8);
}

/* ===== DINAMIKUS, LASSAN MOZGÓ GRADIENT HÁTTEREK ===== */

.module.module-search-bg,
.module.module-results-bg,
.module.module-fav-bg,
.module.module-editor-bg,
.module.module-filelist-bg,
.module.module-backup-bg,
.module.module-db-bg,
.module.module-help-bg,
.module.module-upload-bg {
    background-size: 160% 160%;
    animation: moduleBgMove 22s ease-in-out infinite alternate;
}

@keyframes moduleBgMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* ===== LIGHT THEME OVERRIDE ===== */
/* alap: dark; a body.theme-light aktiválja a világos módot */

body.theme-light {
    background: #e5e7eb;
    color: #0f172a;
}

/* felső sávok */

body.theme-light .top-header {
    background: linear-gradient(90deg, #e5e7eb, #cbd5f5);
    border-bottom-color: #cbd5f5;
    box-shadow: 0 10px 25px rgba(15,23,42,0.25);
}

body.theme-light .app-logo {
    color: #1f2937;
}

body.theme-light .app-sub {
    color: #4b5563;
}

body.theme-light .top-bar {
    background: #f3f4f6;
    border-color: #d1d5db;
    box-shadow: 0 12px 28px rgba(15,23,42,0.18);
}

body.theme-light .top-bar .badge {
    background: #e5e7eb;
    border-color: #cbd5f5;
}

/* theme toggle light módban */

body.theme-light .theme-toggle {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
    box-shadow: 0 8px 18px rgba(15,23,42,0.15);
}

/* modul / panel világosabb */

body.theme-light .module {
    background: #f9fafb;
    border-color: #e5e7eb;
    box-shadow: 0 14px 30px rgba(15,23,42,0.12);
}

body.theme-light .panel {
    background: #ffffff;
    border-color: #e5e7eb;
}

body.theme-light .section-title,
body.theme-light .module-title {
    color: #111827;
}

body.theme-light .muted {
    color: #6b7280;
}

/* inputok / selectek */

body.theme-light input[type="text"],
body.theme-light select,
body.theme-light textarea {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

body.theme-light input[type="text"]:focus,
body.theme-light select:focus,
body.theme-light textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

/* táblák */

body.theme-light table {
    background: transparent;
}

body.theme-light th {
    color: #6b7280;
    border-bottom-color: #e5e7eb;
}

body.theme-light td {
    border-bottom-color: #e5e7eb;
}

/* file list sorok világos módra */

body.theme-light .filelist-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}
body.theme-light .filelist-table tbody tr:nth-child(even) {
    background: #f3f4f6;
}
body.theme-light .filelist-table tbody tr:hover {
    background: #dbeafe;
}

/* dinamikus modul hátterek világos módon kevésbé intenzívek */

body.theme-light .module.module-search-bg,
body.theme-light .module.module-results-bg,
body.theme-light .module.module-fav-bg,
body.theme-light .module.module-editor-bg,
body.theme-light .module.module-filelist-bg,
body.theme-light .module.module-backup-bg,
body.theme-light .module.module-db-bg,
body.theme-light .module.module-help-bg {
    background: linear-gradient(to bottom right, #ffffff, #e5e7eb);
    animation: none; /* ha mégis akarod mozgatni light-ban is, ezt vedd ki */
}

/* back-to-top light módban */

body.theme-light .back-to-top {
    box-shadow: 0 12px 25px rgba(148,163,184,0.9);
}

/* footer */

body.theme-light .m-footer {
    background: #f3f4f6;
    border-top-color: #e5e7eb;
}

body.theme-light .m-footer-inner {
    color: #6b7280;
}
.module {
    background: rgba(0, 0, 0, 0.35);  /* sötét overlay */
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.module {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
	    background: rgba(15,23,42,0.82);      /* átlátszó sötét overlay */
    backdrop-filter: blur(10px);          /* glassmorphism */
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}
body {
    background: linear-gradient(
        to bottom,
        #1e3a8a 0%,    /* kék */
        #2563eb 15%,
        #dc2626 30%,   /* piros */
        #ea580c 45%,
        #f59e0b 60%,   /* sárga */
        #84cc16 75%,
        #16a34a 90%,   /* zöld */
        #0f172a 100%
    );
    background-size: 100% 300%;
    background-attachment: fixed;
    animation: mx-gradient-flow 28s ease-in-out infinite alternate;

    color: #e5e7eb;
    font-family: "JetBrains Mono", Consolas, monospace;
    margin: 0;
    padding: 0;
}

/* animáció a színfolyamhoz */
@keyframes mx-gradient-flow {
    0% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 50% 100%;
    }
}
.legal-section h2 {
    margin-top: 0;
    font-size: 1.1rem;
}

.legal-section h3 {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.legal-section h4 {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bfdbfe;
}

.legal-section p,
.legal-section ul {
    font-size: 0.85rem;
    line-height: 1.5;
}
/* === LOGO – NEON TECH === */

.app-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(148,163,184,0.6),
        0 0 26px rgba(56,189,248,0.9);
    background: radial-gradient(circle at top left, #0b1220, #020617);
}

.mx-logo-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: mx-logo-glow 3.5s ease-in-out infinite;
}

.logo-wordmark {
    color: #e5e7eb;
    text-shadow: 0 0 12px rgba(15,23,42,0.9);
}

/* finom neon pulzálás */
@keyframes mx-logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(56,189,248,0.9));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(168,85,247,0.95));
    }
}

/* mobilon kicsit kisebb */
@media (max-width: 600px) {
    .logo-mark {
        width: 30px;
        height: 30px;
    }
    .app-logo {
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }
}
.upload-dropzone {
    margin-top: 4px;
    border: 1px dashed #4b5563;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    background: rgba(15,23,42,0.9);
    position: relative;
    cursor: pointer;
}

.upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-dropzone.dragover {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.6);
    background: rgba(15,23,42,0.95);
}
/* =========================================================
   M-Explorer PRO – Modul-dekorációs rendszer
   Egységes top-line, inset-glow és hover-effekt
   GP × Milan design edition 💎
   ========================================================= */

/* Alap modul doboz finom kis “lebegéssel” */
.module {
    position: relative;
    border-radius: 12px;
    margin-bottom: 55px;        /* hogy legyen tér a modulok között */
    padding-top: 25px;
    padding-bottom: 25px;
    transition: transform 0.20s ease, box-shadow 0.20s ease;
}

.module:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

/* ===== Modul háttérek + top-line + glow ===== */

/* SEARCH */
.module.module-search-bg {
    background: linear-gradient(to bottom right, #0a1220, #0d1a33);
    border-top: 3px solid #38bdf8;
    box-shadow: inset 0 -1px 12px rgba(56, 189, 248, 0.35);
}

/* RESULTS */
.module.module-results-bg {
    background: linear-gradient(to bottom right, #0f1a2e, #11203b);
    border-top: 3px solid #a855f7;
    box-shadow: inset 0 -1px 12px rgba(168, 85, 247, 0.35);
}

/* FAVORITES */
.module.module-fav-bg {
    background: linear-gradient(to bottom right, #0d1726, #12243d);
    border-top: 3px solid #fbbf24;
    box-shadow: inset 0 -1px 12px rgba(251, 191, 36, 0.35);
}

/* EDITOR */
.module.module-editor-bg {
    background: linear-gradient(to bottom right, #101b2c, #152a44);
    border-top: 3px solid #22c55e;
    box-shadow: inset 0 -1px 12px rgba(34, 197, 94, 0.35);
}

/* FILELIST */
.module.module-filelist-bg {
    background: linear-gradient(to bottom right, #0d1624, #1a2642);
    border-top: 3px solid #3b82f6;
    box-shadow: inset 0 -1px 12px rgba(59, 130, 246, 0.35);
}

/* BACKUP */
.module.module-backup-bg {
    background: linear-gradient(to bottom right, #0d1321, #25314f);
    border-top: 3px solid #eab308;
    box-shadow: inset 0 -1px 12px rgba(234, 179, 8, 0.35);
}

/* DATABASE MODULE */
.module.module-db-bg {
    background: linear-gradient(to bottom right, #101820, #1b293d);
    border-top: 3px solid #ef4444;
    box-shadow: inset 0 -1px 12px rgba(239, 68, 68, 0.35);
}

/* HELPDESK */
.module.module-help-bg {
    background: linear-gradient(to bottom right, #111827, #26354f);
    border-top: 3px solid #f472b6;
    box-shadow: inset 0 -1px 12px rgba(244, 114, 182, 0.35);
}

/* EULA / FAQ (ha akarjuk később külön) */
.module.module-legal-bg {
    background: linear-gradient(to bottom right, #1a1f2d, #2a3348);
    border-top: 3px solid #8b5cf6;
    box-shadow: inset 0 -1px 12px rgba(139, 92, 246, 0.35);
}
.module-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* kis kerek ikon a cím előtt */
.module-title-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #38bdf8, #1d4ed8);
    box-shadow: 0 0 0 1px rgba(191,219,254,0.4);
}
/* ===== Modul – top vonal + hover ===== */

.module {
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

/* alap top-vonal, ha nincs egyedi */
.module::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    opacity: 0.7;
    pointer-events: none;
}

/* finom hover – kicsi lift + erősebb árnyék */
.module:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(148,163,184,0.7);
}
#search.module::before      { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
#results.module::before     { background: linear-gradient(90deg, #22c55e, #16a34a); }
#favorites.module::before   { background: linear-gradient(90deg, #facc15, #f97316); }
#editor.module::before      { background: linear-gradient(90deg, #a855f7, #6366f1); }
#filelist.module::before    { background: linear-gradient(90deg, #38bdf8, #22c55e); }
#backup.module::before      { background: linear-gradient(90deg, #f97316, #ef4444); }
#db.module::before          { background: linear-gradient(90deg, #22c55e, #38bdf8); }
#helpdesk.module::before    { background: linear-gradient(90deg, #f97316, #ec4899); }
#usage-guide.module::before { background: linear-gradient(90deg, #38bdf8, #a855f7); }
#privacy.module::before     { background: linear-gradient(90deg, #22c55e, #38bdf8); }

/* ===== Upload module / dropzone ===== */

.upload-dropzone {
    position: relative;
    margin-top: 6px;
    padding: 18px 14px;
    border-radius: 10px;
    border: 1px dashed #4b5563;
    background: rgba(15,23,42,0.9);
    text-align: center;
    font-size: 0.9rem;
    color: #e5e7eb;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease,
                background-color 0.15s ease,
                box-shadow 0.15s ease,
                transform 0.1s ease;
}

.upload-dropzone-label {
    pointer-events: none;
}

/* a file input láthatatlan, de kattintható */
.upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* drag-over állapot */
.upload-dropzone.is-dragover {
    border-color: #38bdf8;
    background: rgba(15,23,42,1);
    box-shadow: 0 0 0 1px rgba(56,189,248,0.7), 0 10px 30px rgba(15,23,42,0.9);
    transform: translateY(-1px);
}
/* ===== Legal / EULA modul finomhangolás ===== */

.legal-panel {
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: none;
}

.legal-panel h2,
.legal-panel h3,
.legal-panel h4 {
    margin-top: 14px;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.legal-panel p {
    margin: 4px 0 8px;
}

.legal-panel ul {
    padding-left: 20px;
    margin: 4px 0 10px;
}

.legal-panel li {
    margin: 2px 0;
}
/* ===== Modul címsor + What is it? gomb ===== */

.module-title-with-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.module-title-with-help > span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.module-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(15,23,42,0.8);
    color: #e5e7eb;
    font-size: 0.78rem;
    cursor: pointer;
    font-family: "JetBrains Mono", Consolas, monospace;
    transition: 0.15s ease;
    white-space: nowrap;
}

.module-help-btn .icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: radial-gradient(circle at top, #38bdf8, #1d4ed8);
    color: #0b1120;
}

.module-help-btn .label {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.module-help-btn:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56,189,248,0.45);
    background: rgba(15,23,42,1);
    transform: translateY(-1px);
}

/* ===== Modul súgó modál ===== */

.mx-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.mx-modal.is-open {
    display: block;
}

.mx-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(4px);
}

.mx-modal-dialog {
    position: relative;
    max-width: 520px;
    margin: 80px auto;
    background: #020617;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.7);
    box-shadow: 0 24px 60px rgba(0,0,0,0.85);
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mx-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #e5e7eb;
}

.mx-modal-body {
    font-size: 0.9rem;
    color: #cbd5f5;
    line-height: 1.5;
    max-height: 260px;
    overflow-y: auto;
}

.mx-modal-footer {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* kisebb kijelzőkön */
@media (max-width: 600px) {
    .mx-modal-dialog {
        margin: 40px 10px;
    }
}
/* Üres állapot az editor + preview részhez */
.editor-empty-state .editor-fullwidth-box,
.editor-empty-state .preview-block {
    min-height: 260px;
}

.mx-editor-empty,
.mx-preview-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.mx-editor-empty-text,
.mx-preview-empty-text {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Lassan forgó M-Explorer logo */
.mx-logo-spinner {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    animation: mx-spin-slow 18s linear infinite;
}

.mx-logo-spinner.mini {
    width: 60px;
    height: 60px;
}

.mx-logo-spinner .mx-logo-svg {
    width: 100%;
    height: 100%;
}

@keyframes mx-spin-slow {
    0% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0.0));
    }
    50% {
        transform: rotate(180deg);
        filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
    }
    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 0 rgba(34, 197, 94, 0.0));
    }
}
/* === ANIMÁLT LOGÓ (vízszintes forgás, pulzálás, felirat fade) === */

.mx-logo-spinner {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation:
        mx-rotate-horizontal 14s linear infinite,
        mx-pulse 6s ease-in-out infinite;
    position: relative;
    opacity: 0.9;
}

.mx-logo-spinner.mini {
    width: 70px;
    height: 70px;
}

/* SVG fix */
.mx-logo-spinner .mx-logo-svg {
    width: 100%;
    height: 100%;
}

/* ---- 1) VÍZSZINTES FORGÁS (Y tengely) ---- */
@keyframes mx-rotate-horizontal {
    0%   { transform: rotateY(0deg); }
    50%  { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

/* ---- 2) PULZÁLÁS (+ kicsit fénylik) ---- */
@keyframes mx-pulse {
    0%   { transform: scale(1); filter: drop-shadow(0 0 0 rgba(168,85,247,0)); }
    40%  { transform: scale(1.14); filter: drop-shadow(0 0 18px rgba(56,189,248,0.35)); }
    70%  { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ---- 3) FELIRAT ANIMÁCIÓ ---- */
.mx-logo-text-float {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: linear-gradient(to right, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    color: transparent;

    opacity: 0;
    animation: mx-text-fade 6s ease-in-out infinite;
    margin-top: 12px;
}

@keyframes mx-text-fade {
    0%   { opacity: 0; transform: translateY(10px); }
    30%  { opacity: 1; transform: translateY(0); }
    70%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10px); }
}
/* ===== DB modul – SQL konzol magasság ===== */

.db-sql textarea {
    width: 100%;
    min-height: 220px;          /* alapmagasság */
    resize: vertical;
}

/* Kompakt mód (összecsukott / kisebb konzol) */
.db-sql.db-sql-compact textarea {
    min-height: 110px;
    max-height: 160px;
}

/* „Másik adatbázis” panel pici elválasztással */
.db-connection {
    margin-top: 12px;
}
.db-sql textarea {
    min-height: 180px;
    max-height: 280px;
}

.db-sql.compact textarea {
    min-height: 80px;
    max-height: 120px;
}
/* === FORM CONTROL ALAPSTÍLUSOK === */

.field-row label {
    font-size: 0.85rem;
    color: #9ca3af;
    display: inline-block;
    margin-bottom: 3px;
}

/* szövegmezők, jelszó, szám, textarea, select */
.field-row input[type="text"],
.field-row input[type="password"],
.field-row input[type="number"],
.field-row input[type="email"],
.field-row input[type="url"],
.field-row select,
.field-row textarea {
    width: 100%;
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #e5e7eb;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        transform 0.1s ease;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
}

.field-row input[type="text"]::placeholder,
.field-row input[type="password"]::placeholder,
.field-row input[type="number"]::placeholder,
.field-row input[type="email"]::placeholder,
.field-row input[type="url"]::placeholder,
.field-row textarea::placeholder {
    color: #6b7280;
}

/* hover + fókusz állapot */
.field-row input[type="text"]:hover,
.field-row input[type="password"]:hover,
.field-row input[type="number"]:hover,
.field-row input[type="email"]:hover,
.field-row input[type="url"]:hover,
.field-row select:hover,
.field-row textarea:hover {
    border-color: #4b5563;
}

.field-row input[type="text"]:focus,
.field-row input[type="password"]:focus,
.field-row input[type="number"]:focus,
.field-row input[type="email"]:focus,
.field-row input[type="url"]:focus,
.field-row select:focus,
.field-row textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
    background: #020617;
    transform: translateY(-1px);
}

/* textarea legyen kicsit nagyobb, ne 100% magasság */
.field-row textarea {
    min-height: 120px;
    resize: vertical;
}
.field-row input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    border: 2px solid #4b5563;
    background: #020617;
    display: inline-block;
    position: relative;
    margin-right: 6px;
    vertical-align: -2px;
    outline: none;
    cursor: pointer;
    transition:
        border-color 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease;
}

.field-row input[type="radio"]:hover {
    border-color: #9ca3af;
}

.field-row input[type="radio"]:checked {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.field-row input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #e0f2fe, #38bdf8);
}

/* a rádiók melletti label kicsit távolabb legyen */
.field-row label > input[type="radio"] + span,
.field-row label > input[type="radio"] + strong {
    margin-left: 2px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
    color: #e5e7eb;
    margin-top: 0;
}

/* fő app cím (fent a top-bar-ban lévő H1) */
.top-bar h1,
h1 {
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

/* modul címekhez: .module-title már megvan, ezt finomítjuk */
.module-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* section-title – panelek alcímei */
.section-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #cbd5f5;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.6), transparent);
    opacity: 0.5;
}

/* legal / EULA / privacy címek */
.legal-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.legal-panel h3 {
    font-size: 1.05rem;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    color: #e5e7eb;
}

.legal-panel h4 {
    font-size: 0.95rem;
    margin-top: 0.9rem;
    margin-bottom: 0.3rem;
    color: #cbd5f5;
}
/* === LISTÁK – MODERN BULLETEK === */

/* EULA / FAQ / privacy panelekben lévő listák */
.panel ul,
.legal-panel ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.panel ul li,
.legal-panel ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
    color: #d1d5db;
}

.panel ul li::before,
.legal-panel ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}

/* számozott listák (ol) – szép kék sorszámmal */
.panel ol,
.legal-panel ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    counter-reset: mexp-ol;
}

.panel ol li,
.legal-panel ol li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
    color: #d1d5db;
    counter-increment: mexp-ol;
}

.panel ol li::before,
.legal-panel ol li::before {
    content: counter(mexp-ol) ".";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    opacity: 0.9;
}
/* egy kis ritmus a sorok között */
.field-row {
    margin-bottom: 10px;
}
.php-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.php-config-item {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: rgba(15,23,42,0.8);
}

.php-config-input {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.85rem;
}
/* ===== TOP BAR – HELP BEACON ===== */
.top-bar-support-beacon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(96,165,250,0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
    color: #dbeafe;
    font-size: 0.85rem;
    line-height: 1.1rem;
    position: absolute;
    right:350px;
    top: 22px;
}

.top-bar-support-beacon:hover {
    background: rgba(59,130,246,0.25);
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(96,165,250,0.35);
}

.top-bar-support-beacon .beacon-icon {
    font-size: 1.35rem;
    animation: beaconPulse 2.5s infinite ease-in-out;
}

.top-bar-support-beacon .beacon-text span {
    font-size: 0.75rem;
    opacity: 0.7;
}

@keyframes beaconPulse {
    0% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(0.9); }
}
/* ===== HELP DESK – SUPPORT PANEL ===== */
.support-quick-access {
    background: rgba(30,41,59,0.45);
    border: 1px solid rgba(148,163,184,0.2);
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.support-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.support-logo {
    height: 38px;
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.2));
}

.support-text {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.support-buttons .btn-small {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-small.blue {
    background: linear-gradient(135deg,#3b82f6,#1e40af);
}

.btn-small.amber {
    background: linear-gradient(135deg,#f59e0b,#b45309);
}

.support-action {
    margin-top: 14px;
}

.btn-wide {
    width: 100%;
    padding: 10px 0;
    font-size: 0.9rem;
    border-radius: 10px;
}

.green {
    background: linear-gradient(135deg,#22c55e,#15803d);
}

.support-note {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.25rem;
}
.support-quick-access {
    margin-bottom: 16px;
    background: radial-gradient(circle at top left, #1d4ed8 0, #020617 55%);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    padding: 14px 18px;
    font-size: 0.85rem;
}

.support-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.support-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.support-logo {
    max-height: 26px;
    display: block;
    filter: drop-shadow(0 0 4px rgba(15, 23, 42, 0.7));
}

.support-text {
    flex: 1 1 200px;
    color: #e5e7eb;
}

.support-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.support-action {
    margin-top: 10px;
    text-align: right;
}

.btn.btn-small {
    padding: 5px 10px;
    font-size: 0.78rem;
    border-radius: 999px;
}

.btn.btn-small.blue {
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
}

.btn.btn-small.amber {
    background: linear-gradient(135deg, #fbbf24, #f97316);
}

.btn.btn-wide.green {
    width: 100%;
    max-width: 260px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    margin-left: auto;
    margin-right: 0;
}

.helpdesk-dpo-note {
    margin-top: 16px;
    font-size: 0.82rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}
.helpdesk-dpo-note p {
    margin-bottom: 0.4rem;
}
.support-quick-access {
    margin-bottom: 16px;
    background: radial-gradient(circle at top left, #1e40af 0, #020617 55%);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
    padding: 18px 22px;
    font-size: 0.9rem;
}

.support-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

/* 🔵 LOGÓK – nagyobb méret */
.support-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-logo {
    max-height: 44px; /* <-- NAGYOBB IKONOK */
    display: block;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
}

/* SZÖVEG BLOKK */
.support-text {
    flex: 1 1 auto;
    min-width: 240px;
    color: #e5e7eb;
}

/* 🔵 GOMBSOR – egy sorban, vízszintesen */
.support-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.support-buttons .btn-small {
    padding: 7px 14px;
    font-size: 0.82rem;
    border-radius: 999px;
}

/* Távoli segítség gomb ugyanabba a sorba kerül */
.support-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-small.blue {
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
}

.btn-small.amber {
    background: linear-gradient(135deg, #fbbf24, #f97316);
}

.btn-small.green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Reszponzív töréspont */
@media (max-width: 720px) {
    .support-row {
        flex-direction: column;
        align-items: stretch;
    }

    .support-buttons,
    .support-action {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.module-remote-bg {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.08), transparent 55%),
                radial-gradient(circle at bottom right, rgba(129,140,248,0.08), transparent 55%),
                #020617;
    border: 1px solid #1f2937;
}

.remote-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* quick access sor */
.support-quick-access {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(15,23,42,0.9);
    border: 1px dashed rgba(148,163,184,0.6);
}

.support-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.support-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.support-logo {
    height: 32px;           /* nagyobb lett */
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(148,163,184,0.6));
}

.support-main-text {
    flex: 1 1 220px;
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* gombok egy sorban, szöveg alatt */
.support-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.78rem;
    border-radius: 999px;
}

/* finomabb alap gomb – soft */
.btn-soft {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.7);
    color: #e5e7eb;
}

.btn-soft:hover {
    background: rgba(30,64,175,0.7);
}

/* kiemelt gomb (accent) */
.btn-accent {
    background: linear-gradient(135deg,#22c55e,#3b82f6);
    border: none;
    color: #0b1120;
    font-weight: 600;
}

.btn-accent:hover {
    filter: brightness(1.05);
}

/* középső két hasáb */
.remote-content {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap: 18px;
    margin-top: 10px;
}

.remote-col h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.remote-col p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5f5;
}

/* alsó docs rész */
.remote-docs {
    margin-top: 14px;
    border-top: 1px solid rgba(51,65,85,0.8);
    padding-top: 10px;
}

.remote-docs h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.remote-docs p {
    font-size: 0.84rem;
    color: #cbd5f5;
}

.remote-doc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

/* mobilra tördelés */
@media (max-width: 900px) {
    .remote-content {
        grid-template-columns: minmax(0,1fr);
    }

    .support-row {
        align-items: flex-start;
    }

    .support-buttons-row {
        justify-content: flex-start;
    }
}
.mini-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.8rem;
}

.mini-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}

.mini-list .icon {
    opacity: 0.8;
    font-size: 0.9rem;
}

.mini-list a {
    color: #e5e7eb;
    text-decoration: none;
}

.mini-list a:hover {
    text-decoration: underline;
}
.zip-block {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 18px 22px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
    transition: 0.25s ease;
}

.zip-block:hover {
    border-color: #6366f1;
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.45);
}

.zip-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zip-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 6px #6366f1);
}

.zip-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.zip-desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

.zip-btn {
    padding: 10px 16px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.zip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

@media (max-width: 640px) {
    .zip-block {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .zip-btn {
        width: 100%;
    }
}
.mx-card {
    position: relative;
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #000 100%);
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.mx-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from 140deg,
        rgba(56, 189, 248, 0.0),
        rgba(56, 189, 248, 0.35),
        rgba(168, 85, 247, 0.4),
        rgba(236, 72, 153, 0.45),
        rgba(34, 197, 94, 0.3),
        rgba(56, 189, 248, 0.0)
    );
    opacity: 0.14;
    z-index: -1;
}

.mx-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 55%);
    mix-blend-mode: screen;
    z-index: -1;
}

.mx-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mx-card-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mx-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 0, rgba(250, 250, 255, 0.85) 0, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.7), rgba(147, 51, 234, 0.8));
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.8),
        0 0 40px rgba(147, 51, 234, 0.7);
    font-size: 18px;
}

.mx-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #e5e7eb;
    text-transform: uppercase;
}

.mx-card-sub {
    font-size: 0.78rem;
    color: #9ca3af;
}

.mx-card-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.35), transparent 60%);
    color: #cbd5f5;
    white-space: nowrap;
}

.mx-card-body {
    font-size: 0.8rem;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mx-card-desc {
    color: #9ca3af;
    font-size: 0.78rem;
}

.mx-card-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.mx-card-fields label {
    font-size: 0.78rem;
    color: #94a3b8;
}

.mx-card-fields input[type="text"] {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 6px 10px;
    font-size: 0.8rem;
    color: #e5e7eb;
    min-width: 200px;
}

.mx-card-fields input[type="text"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.7);
}

.mx-card-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mx-card-actions .hint {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Gomb – neon gradient */
.btn-gradient {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    border: none;
    color: #f9fafb;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(248, 250, 252, 0.4), transparent 50%, rgba(15, 23, 42, 0.6));
    opacity: 0;
    transition: opacity 0.18s ease-out;
}

.btn-gradient span {
    position: relative;
    z-index: 1;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover {
    box-shadow:
        0 0 20px rgba(129, 140, 248, 0.7),
        0 0 40px rgba(236, 72, 153, 0.6);
    transform: translateY(-0.5px);
}

/* Upload kártya minimális extra */
.mx-upload-note {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Kedvencek – elegáns pill stílus */
.fav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), #020617);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.85);
}

.fav-link {
    font-size: 0.8rem;
    color: #e5e7eb;
    text-decoration: none;
}

.fav-link:hover {
    text-decoration: underline;
}

.fav-remove {
    font-size: 0.78rem;
    color: #fca5a5;
    text-decoration: none;
    padding-left: 6px;
}

.fav-remove:hover {
    color: #fecaca;
}

/* Mobil finomhangolás */
@media (max-width: 768px) {
    .mx-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .mx-card-badge {
        margin-top: 4px;
    }
    .mx-card-fields {
        flex-direction: column;
        align-items: stretch;
    }
    .mx-card-fields input[type="text"] {
        width: 100%;
    }
}
.module-po-bg {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.10), transparent 55%),
                radial-gradient(circle at bottom right, rgba(168,85,247,0.10), transparent 55%),
                #020617;
}

.po-select-form .field-row input[type="text"] {
    max-width: 420px;
}

.po-edit-block {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.05), transparent 55%),
                #020617;
    margin-bottom: 12px;
}

.po-edit-header {
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.module-logs-bg {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.02), transparent),
                rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.log-viewer-wrapper {
    max-height: 260px;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: #020617;
    padding: 8px 10px;
}

.log-viewer {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: pre-wrap;
    word-break: break-all;
}
/* Vault: függőleges rendezés + sor törés */
.vault-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vault-file-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.vault-file-left {
  min-width: 0;           /* kell az ellipszishez */
  flex: 1 1 auto;
}

.vault-file-name {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;    /* ha inkább tördelést akarsz: tedd ezt ki */
}

.vault-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;        /* ez a lényeg: gombok törhetnek */
  flex: 0 0 auto;
}

/* Mobilon még barátságosabb: gombok balra is mehetnek */
@media (max-width: 900px) {
  .vault-file-row {
    flex-direction: column;
    align-items: stretch;
  }
  .vault-actions {
    justify-content: flex-start;
  }
  .vault-file-name {
    white-space: normal;  /* mobilon tördelhet */
    overflow: visible;
    text-overflow: clip;
  }
}
.mx-alert-holder {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0 6px;
}

.mx-alert.mx-alert-warn {
    max-width: 880px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #7c2d12;
    background: linear-gradient(135deg, #451a03, #7c2d12);
    color: #ffedd5;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.mx-alert-title {
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .2px;
}

.mx-alert-text {
    margin-top: 6px;
    font-size: 13px;
    color: #fed7aa;
}

.mx-alert-text .btn {
    margin-left: 10px;
}
.mx-modal { position: fixed; inset: 0; z-index: 9999; }
.mx-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.mx-modal-card {
  position: relative;
  margin: 8vh auto 0;
  max-width: 720px;
  width: calc(100% - 24px);
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  overflow: hidden;
}
.mx-modal-head {
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 14px;
  background: #020617;
  border-bottom: 1px solid #1f2937;
}
.mx-modal-body { padding: 14px; color: #e5e7eb; }
.mx-modal-body p { margin: 0 0 12px; color: #cbd5e1; }
.mx-modal-body strong { color: #e5e7eb; }