h1:focus {
    outline: none;
}

/* ---------- eFaktúra modul ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --ef-primary: #4f46e5;
    --ef-primary-2: #06b6d4;
    --ef-accent: #a855f7;
    --ef-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --ef-bg: #f5f7fb;
    --ef-border: #e6e9f2;
    --ef-text: #0f172a;
    --ef-muted: #64748b;
    --ef-radius: 14px;
    --ef-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(15, 23, 42, .12);
    --ef-shadow-lg: 0 20px 50px -12px rgba(79, 70, 229, .35);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    color: var(--ef-text);
    background:
        radial-gradient(1200px 600px at 100% -10%, rgba(124, 58, 237, .08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(6, 182, 212, .08), transparent 60%),
        var(--ef-bg);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ef-primary); }

.ef-shell { display: flex; min-height: 100vh; }

/* ----- Sidebar ----- */
.ef-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0b1023 0%, #151a3a 55%, #1e1b4b 100%);
    color: #fff;
    padding: 1.25rem 1rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(15, 23, 42, .15);
}
.ef-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 0 0, rgba(124, 58, 237, .35), transparent 70%);
    pointer-events: none;
}
.ef-sidebar > * { position: relative; }

.ef-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}
.ef-brand::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ef-grad);
    box-shadow: 0 6px 18px rgba(124, 58, 237, .5);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect width='34' height='34' rx='10'/%3E%3C/svg%3E");
}
.ef-brand span {
    background: linear-gradient(90deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ef-sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-top: 1.25rem; }

.ef-brand.has-logo { color: #fff; text-decoration: none; }
.ef-brand.has-logo::before { display: none; }
.ef-brand img {
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, .45));
}
.ef-sidebar-logo { margin: 1.5rem 0 1rem; text-align: center; }
.ef-sidebar-logo img { width: 100%; max-width: 200px; height: auto; object-fit: contain; }
.ef-hero-logo { display: block; width: auto; height: auto; max-width: min(520px, 50vw); max-height: 378px; margin: 0 0 0 auto; }
.ef-login-page { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
.ef-login-title {
    text-align: center;
    color: #fff;
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 0 0 .5rem;
}
.ef-login-title em {
    font-style: normal;
    background: linear-gradient(90deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (max-width: 860px) { .ef-login-title { font-size: 1.8rem; } }
.ef-login-subtitle {
    text-align: center;
    color: #c7d2fe;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 2rem;
}
.ef-login-hero .ef-brand img { height: 52px; max-width: 180px; }
.ef-login-logo { display: none; height: 56px; max-width: 200px; object-fit: contain; margin: 0 auto 1.25rem; }
@media (max-width: 860px) { .ef-login-logo { display: block; } }
.ef-sidebar nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #c7d2fe;
    text-decoration: none;
    padding: .6rem .75rem;
    border-radius: 10px;
    font-weight: 500;
    transition: background .2s, color .2s, transform .2s;
}
.ef-sidebar nav a svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.ef-sidebar nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: translateX(3px); }
.ef-sidebar nav a.active {
    background: var(--ef-grad);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(124, 58, 237, .6);
}
.ef-sidebar nav a.active svg { opacity: 1; }

.ef-company-select, .ef-Firma-select {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: .65rem .75rem;
}
.ef-company-select label, .ef-Firma-select label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #a5b4fc; margin-bottom: 6px; font-weight: 600; }
.ef-company-select select, .ef-Firma-select select {
    width: 100%;
    padding: .45rem .5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(15, 23, 42, .6);
    color: #fff;
    font: inherit;
}
.ef-company-select a, .ef-Firma-select a { color: #67e8f9; }

.ef-user {
    margin-top: auto;
    padding: .9rem;
    font-size: .8rem;
    color: #c7d2fe;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
}
.ef-user > div:first-child { font-weight: 600; color: #fff; word-break: break-all; margin-bottom: .25rem; }
.ef-user form { margin-top: .6rem; }
.ef-user a { color: #a5b4fc; }
.ef-user .ef-btn { width: 100%; background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .15); }
.ef-user .ef-btn:hover { background: rgba(255, 255, 255, .16); }

/* ----- Main ----- */
.ef-main { flex: 1; padding: 2rem 2.5rem; overflow-x: auto; animation: ef-fade .4s ease both; }
.ef-main h1 {
    margin-top: 0;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(90deg, #0f172a, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ef-main h3 { font-weight: 700; letter-spacing: -.01em; }

@keyframes ef-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ef-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -25px); } }

/* ----- Login ----- */
.ef-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1023 0%, #1e1b4b 50%, #0e7490 100%);
}
.ef-login-shell::before, .ef-login-shell::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    animation: ef-float 12s ease-in-out infinite;
}
.ef-login-shell::before { width: 460px; height: 460px; background: #7c3aed; top: -120px; left: -100px; }
.ef-login-shell::after { width: 420px; height: 420px; background: #06b6d4; bottom: -140px; right: -80px; animation-delay: -6s; }

.ef-login-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 420px;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1280px;
}
.ef-login-hero { color: #fff; }
.ef-login-hero .ef-brand { color: #fff; font-size: 1.5rem; }
.ef-login-hero h2 { font-size: 2.6rem; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 1rem 0; }
.ef-login-hero h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ef-login-hero p { color: #c7d2fe; font-size: 1.05rem; line-height: 1.6; max-width: 460px; }
.ef-login-hero ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ef-login-hero li { display: flex; align-items: center; gap: .6rem; color: #e0e7ff; }
.ef-login-hero li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(103, 232, 249, .2);
    color: #67e8f9;
    font-weight: 700;
    font-size: .75rem;
}

.ef-login.ef-card {
    width: 100%;
    max-width: 420px;
    padding: 2.25rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
    border-radius: 20px;
    justify-self: start;
}
.ef-login h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .25rem; letter-spacing: -.02em; }
.ef-login .ef-muted { margin: 0 0 1.5rem; }
.ef-login .ef-btn.primary { width: 100%; padding: .75rem; font-size: .95rem; }

@media (max-width: 860px) {
    .ef-login-wrap { grid-template-columns: 1fr; }
    .ef-login-hero { display: none; }
    .ef-login.ef-card { justify-self: center; }
    .ef-shell { flex-direction: column; }
    .ef-sidebar { width: 100%; height: auto; position: relative; }
    .ef-main { padding: 1.25rem; }
}

.ef-checks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.ef-checks label { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }

/* ----- Cards ----- */
.ef-card {
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--ef-shadow);
}

.ef-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.ef-cards .ef-card {
    position: relative;
    overflow: hidden;
    margin: 0;
    transition: transform .25s, box-shadow .25s;
}
.ef-cards .ef-card:hover { transform: translateY(-4px); box-shadow: var(--ef-shadow-lg); }
.ef-cards .ef-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--ef-card-c, #4f46e5);
    opacity: .08;
}
.ef-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ef-card-c, #4f46e5);
    box-shadow: 0 8px 18px -6px var(--ef-card-c, #4f46e5);
    margin-bottom: .9rem;
}
.ef-stat-icon svg { width: 22px; height: 22px; }
.ef-stat { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ef-stat-label { color: var(--ef-muted); font-weight: 500; margin-top: .2rem; }

.ef-card.c-green { --ef-card-c: #10b981; }
.ef-card.c-amber { --ef-card-c: #f59e0b; }
.ef-card.c-red { --ef-card-c: #ef4444; }
.ef-card.c-violet { --ef-card-c: #7c3aed; }

/* ----- Hero banner ----- */
.ef-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
    background: var(--ef-grad);
    box-shadow: var(--ef-shadow-lg);
}
.ef-hero::before, .ef-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.ef-hero::before { width: 280px; height: 280px; right: -60px; top: -120px; }
.ef-hero::after { width: 180px; height: 180px; right: 160px; bottom: -110px; }
.ef-hero > * { position: relative; }
.ef-hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; opacity: .85; }
.ef-hero h2 { margin: .35rem 0 .5rem; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.ef-hero p { margin: 0; opacity: .9; }
.ef-hero .ef-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    font-weight: 600;
    font-size: .8rem;
}
.ef-hero .ef-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .3); }
.ef-hero a { color: #fff; }

/* ----- Tables ----- */
.ef-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    overflow: hidden;
    box-shadow: var(--ef-shadow);
}
.ef-table th, .ef-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--ef-border); text-align: left; vertical-align: top; }
.ef-table th { background: #f8fafc; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ef-muted); }
.ef-table tbody tr { transition: background .15s; }
.ef-table tbody tr:hover { background: #f5f3ff; }
.ef-table tbody tr:last-child td { border-bottom: none; }
.ef-table td.num, .ef-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ----- Forms ----- */
.ef-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem 1rem; }
.ef-form label { display: flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 600; color: #334155; }
.ef-form input, .ef-form select, .ef-form textarea,
.ef-table input, .ef-table select {
    padding: .55rem .7rem;
    border: 1px solid #d8dde8;
    border-radius: 10px;
    font: inherit;
    font-weight: 400;
    color: var(--ef-text);
    background: #fff;
    width: 100%;
    transition: border-color .15s, box-shadow .15s;
}
.ef-form input:focus, .ef-form select:focus, .ef-form textarea:focus,
.ef-table input:focus, .ef-table select:focus {
    outline: none;
    border-color: var(--ef-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .15);
}

.ef-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }

/* ----- Buttons ----- */
.ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--ef-border);
    background: #fff;
    color: var(--ef-text);
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.ef-btn:hover { background: #f1f5f9; transform: translateY(-1px); }
.ef-btn:active { transform: translateY(0); }
.ef-btn.primary {
    background: var(--ef-grad);
    background-size: 150% 150%;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .7);
}
.ef-btn.primary:hover { background-position: 100% 0; box-shadow: 0 12px 26px -8px rgba(79, 70, 229, .8); }
.ef-btn.danger { color: #dc2626; }
.ef-btn.danger:hover { background: #fef2f2; border-color: #fecaca; }
.ef-btn:disabled { opacity: .5; cursor: default; transform: none; }
.ef-btn.sm { padding: .3rem .65rem; font-size: .8rem; border-radius: 8px; }

/* ----- Badges & alerts ----- */
.ef-badge { display: inline-flex; align-items: center; gap: .3rem; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.ef-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ef-badge.ok { background: #dcfce7; color: #15803d; }
.ef-badge.info { background: #e0e7ff; color: #4338ca; }
.ef-badge.warn { background: #fef3c7; color: #b45309; }
.ef-badge.err { background: #fee2e2; color: #b91c1c; }
.ef-badge.muted { background: #f1f5f9; color: var(--ef-muted); }

.ef-alert { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; border: 1px solid transparent; border-left-width: 4px; }
.ef-alert.ok { background: #f0fdf4; color: #166534; border-color: #bbf7d0; border-left-color: #22c55e; }
.ef-alert.err { background: #fef2f2; color: #991b1b; border-color: #fecaca; border-left-color: #ef4444; white-space: pre-wrap; }
.ef-alert.warn { background: #fffbeb; color: #92400e; border-color: #fde68a; border-left-color: #f59e0b; }
.ef-alert.info { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; border-left-color: #6366f1; }
.ef-alert code { background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 6px; }

.ef-muted { color: var(--ef-muted); }
.ef-small { font-size: .8rem; }

/* ----- Empty state ----- */
.ef-empty { text-align: center; padding: 2rem 1rem; animation: ef-fade .5s ease both; }
.ef-empty-art { width: 200px; height: 150px; animation: ef-float-sm 5s ease-in-out infinite; }
.ef-empty h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; font-weight: 800; }
.ef-empty p { margin: 0 auto; max-width: 440px; color: var(--ef-muted); line-height: 1.6; }
@keyframes ef-float-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----- Charts ----- */
.ef-charts { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.ef-charts .ef-card { margin: 0; }
.ef-charts h3 { margin: 0 0 1rem; font-size: 1rem; }
.ef-chart-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ef-legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--ef-muted); margin-bottom: 1rem; }
.ef-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.ef-legend .l-out::before { background: linear-gradient(180deg, #7c3aed, #4f46e5); }
.ef-legend .l-in::before { background: linear-gradient(180deg, #22d3ee, #06b6d4); }

.ef-bars { display: flex; align-items: flex-end; gap: 1rem; height: 220px; padding-top: 1.5rem; border-bottom: 1px dashed var(--ef-border); }
.ef-bar-col { flex: 1; display: flex; flex-direction: column; height: 100%; }
.ef-bar-pair { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.ef-bar {
    position: relative;
    width: 38%;
    max-width: 28px;
    border-radius: 8px 8px 3px 3px;
    transform-origin: bottom;
    animation: ef-grow .8s cubic-bezier(.2, .8, .2, 1) both;
    transition: filter .2s;
}
.ef-bar.out { background: linear-gradient(180deg, #7c3aed, #4f46e5); box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .7); }
.ef-bar.in { background: linear-gradient(180deg, #22d3ee, #06b6d4); box-shadow: 0 6px 14px -6px rgba(6, 182, 212, .7); animation-delay: .1s; }
.ef-bar:hover { filter: brightness(1.15); }
.ef-bar span { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 700; color: var(--ef-muted); opacity: 0; transition: opacity .2s; }
.ef-bar:hover span { opacity: 1; }
.ef-bar-label { text-align: center; font-size: .75rem; color: var(--ef-muted); padding-top: .5rem; text-transform: capitalize; }
@keyframes ef-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.ef-donut {
    --p: 0;
    width: 170px;
    height: 170px;
    margin: .5rem auto 1.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#10b981 calc(var(--p) * 1%), #eef2f7 0);
    animation: ef-donut 1.2s ease both;
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .5);
}
.ef-donut > div {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ef-donut strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.ef-donut span { font-size: .75rem; color: var(--ef-muted); }
@keyframes ef-donut { from { --p: 0; } }
.ef-donut-legend { display: grid; gap: .5rem; font-size: .85rem; }
.ef-donut-legend div { display: flex; align-items: center; gap: .5rem; }
.ef-donut-legend i { width: 10px; height: 10px; border-radius: 3px; }
.ef-donut-legend b { margin-left: auto; }

@media (max-width: 1100px) { .ef-charts { grid-template-columns: 1fr; } }

.ef-filter { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.ef-filter h3 { margin: 0; font-size: 1.1rem; }
.ef-filter-ctrl { display: flex; align-items: center; gap: .5rem; }
.ef-filter select {
    padding: .5rem 2rem .5rem .8rem;
    border: 1px solid var(--ef-border);
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center / 14px;
    appearance: none;
    font: inherit;
    font-weight: 600;
    color: var(--ef-text);
    cursor: pointer;
    box-shadow: var(--ef-shadow);
    text-transform: capitalize;
}
.ef-filter select:focus { outline: none; border-color: var(--ef-primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }

.ef-bars.dense { gap: 3px; }
.ef-bars.dense .ef-bar-pair { gap: 1px; }
.ef-bars.dense .ef-bar { width: 45%; border-radius: 3px 3px 1px 1px; }
.ef-bars.dense .ef-bar-label { font-size: .6rem; }

/* ----- Rozbaľovacia skupina v menu ----- */
.ef-sidebar nav .ef-nav-group {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .6rem .75rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #c7d2fe;
    font: inherit;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.ef-sidebar nav .ef-nav-group svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.ef-sidebar nav .ef-nav-group:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.ef-sidebar nav .ef-nav-group.has-active { color: #fff; background: rgba(124, 58, 237, .25); }
.ef-sidebar nav .ef-nav-group .ef-nav-chevron { margin-left: auto; width: 16px; height: 16px; transition: transform .25s; }
.ef-sidebar nav .ef-nav-group.open .ef-nav-chevron { transform: rotate(180deg); }
.ef-nav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.ef-nav-sub.open { grid-template-rows: 1fr; }
.ef-nav-sub > div { overflow: hidden; display: flex; flex-direction: column; gap: 2px; margin-left: 1.35rem; padding-left: .75rem; border-left: 1px solid rgba(165, 180, 252, .2); }
.ef-sidebar nav .ef-nav-sub a { padding: .4rem .7rem; font-size: .85rem; border-radius: 8px; }
.ef-sidebar nav .ef-nav-sub a.active { background: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; font-weight: 600; }

/* ----- Import – prehľad ----- */
.ef-import-intro { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.ef-import-intro img { display: block; max-width: 100%; max-height: 260px; margin: 0 auto 1rem; object-fit: contain; }
.ef-import-intro h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; }
.ef-import-intro p { color: var(--ef-muted); line-height: 1.6; margin: 0; }
.ef-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.ef-tiles .ef-tile { flex: 0 1 240px; }
.ef-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ef-border);
    box-shadow: var(--ef-shadow);
    color: var(--ef-text);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ef-tile::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--ef-card-c);
    opacity: .08;
    transition: transform .4s;
}
.ef-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -15px var(--ef-card-c); border-color: var(--ef-card-c); }
.ef-tile:hover::after { transform: scale(1.6); }
.ef-tile strong { font-size: 1.05rem; }
.ef-tile .ef-badge { align-self: flex-start; margin-top: .25rem; }
.ef-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: .5rem;
    background: var(--ef-card-c);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -8px var(--ef-card-c);
}
pre.ef-pre { background: #0b1023; color: #c7d2fe; padding: 1rem; border-radius: 12px; overflow-x: auto; font-size: .75rem; max-height: 300px; }

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}