html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.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;
}

/* ===== Radzen toast / notification — mindig a modal overlay-ek felett ===== */
/* A projektben a modal overlay-ek 1500-as z-indexen vannak; a notifications mindig fölöttük. */
.rz-notification,
.rz-growl,
.rz-growl-item-container,
.rz-notification-item-wrapper {
    z-index: 99999 !important;
}

.rz-notification {
    position: fixed !important;
}

/* ===== Gombok — egységes disabled + loading állapot ===== */
/* Minden gomb, ami disabled, automatikusan kapja az elhalványulást és a nem kattinthatóságot.
   A loading animációt az ikon cseréjével (ti-loader-2 ti-spin) oldjuk meg a Razor oldalon. */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* A ti-spin animáció (Tabler Icons) — ha az ikon csere minta használva van,
   a forgó animáció automatikusan megjelenik. */
.ti-spin {
    animation: cf-spin 1s linear infinite;
}

@keyframes cf-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Tabler Icons — globális stílus ===== */
/* A Tabler ikonok 24×24 grid-en, 2px stroke-kal jönnek a webfont-ból. */
/* Egységesen 1.05em-re méretezzük, hogy ne tűnjenek picinek a Font Awesome után. */
i.ti {
    display: inline-block;
    font-size: 1.05em;
    line-height: 1;
    vertical-align: -0.125em;
}

/* A topbar / sidebar / button ikonok kicsit nagyobbak az olvashatóságért */
.cf-nav-item i.ti,
.cf-sidebar-toggle i.ti,
.cf-user-btn .cf-avatar i.ti {
    font-size: 1.15rem;
}

/* ============================================================
   LANDING PAGE — globális override blokk
   A Home.razor.css scoped attribútum-mismatch miatt itt biztosítjuk
   a kritikus szabályokat a teljes landing page-en.
   ============================================================ */

/* Színváltozók duplikálva globálisan (a Home.razor.css :root scoped lehet) */
.al-landing {
    --al-primary:      #1a3a5c;
    --al-primary-dark: #0f2540;
    --al-accent:       #10b981;
    --al-danger:       #dc2626;
    --al-text:         #0f2540;
    --al-muted:        #475569;
    --al-bg:           #ffffff;
    --al-card-2:       #f1f5f9;
    --al-border:       #cbd5e1;
    --al-secondary:    #e2e8f0;
    background: #ffffff !important;
    color: #0f2540 !important;
}

/* Buttons */
.al-landing .al-btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 22px;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.al-landing .al-btn-lg { padding: 14px 28px; font-size: 1rem; }
.al-landing .al-btn-full { width: 100%; }

.al-landing .al-btn-primary {
    background: #1a3a5c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(26, 58, 92, 0.25) !important;
}
.al-landing .al-btn-primary:hover {
    background: #0f2540 !important;
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35) !important;
    transform: translateY(-1px);
}

.al-landing .al-btn-glass {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0f2540 !important;
    border: 1px solid #cbd5e1 !important;
}
.al-landing .al-btn-glass:hover {
    background: #ffffff !important;
    border-color: #1a3a5c !important;
    color: #1a3a5c !important;
}

.al-landing .al-btn-ghost {
    background: transparent !important;
    color: #475569 !important;
}
.al-landing .al-btn-ghost:hover {
    background: #e2e8f0 !important;
    color: #0f2540 !important;
}

.al-landing .al-btn-secondary {
    background: #e2e8f0 !important;
    color: #0f2540 !important;
}
.al-landing .al-btn-secondary:hover { background: #cbd5e1 !important; }

/* Navbar */
.al-landing .al-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(15, 37, 64, 0.06) !important;
}

.al-landing .al-brand-icon {
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    color: #ffffff !important;
}

/* Kártyák — fehér háttér + szegély */
.al-landing .al-problem-card,
.al-landing .al-solution-card,
.al-landing .al-price-card,
.al-landing .al-float-card,
.al-landing .al-dash-kpi,
.al-landing .al-chart-card,
.al-landing .al-step-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 37, 64, 0.06) !important;
}

.al-landing .al-dash-mock {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 40px rgba(15, 37, 64, 0.10), 0 2px 8px rgba(15, 37, 64, 0.04) !important;
}

/* Hero badge */
.al-landing .al-hero-badge {
    background: rgba(26, 58, 92, 0.06) !important;
    border: 1px solid rgba(26, 58, 92, 0.30) !important;
    color: #1a3a5c !important;
}

/* Positioning band */
.al-landing .al-positioning-band {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    color: #ffffff !important;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

/* Footer fehér téma alatt */
.al-landing .al-footer {
    background: #f8fafc !important;
    border-top: 1px solid #cbd5e1 !important;
}

/* CTA wrap */
.al-landing .al-cta-wrap {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    color: #ffffff !important;
}

/* Floating element ikonok árnyékai */
.al-landing .al-orb { opacity: 0.6 !important; }

/* ============================================================
   LANDING — Full responsive a kritikus elemekre
   ============================================================ */
@media (max-width: 1024px) {
    .al-landing .al-float-card { display: none !important; }
    .al-landing .al-nav-links { gap: 18px; }
}
@media (max-width: 900px) {
    .al-landing .al-nav-links,
    .al-landing .al-nav-cta { display: none !important; }
    .al-landing .al-burger { display: flex !important; }
}
@media (max-width: 768px) {
    .al-landing .al-container { padding: 0 14px; }
    .al-landing .al-section { padding: 48px 0 !important; }
    .al-landing .al-hero { padding: 96px 0 48px !important; min-height: auto !important; }
    .al-landing .al-positioning-band { padding: 32px 0 !important; }
    .al-landing .al-positioning-inner { flex-direction: column !important; text-align: center; gap: 16px; }
    .al-landing .al-problem-grid,
    .al-landing .al-solution-grid,
    .al-landing .al-dash-charts,
    .al-landing .al-dash-kpis,
    .al-landing .al-pricing-grid { grid-template-columns: 1fr !important; }
    .al-landing .al-hero-cta,
    .al-landing .al-cta-actions { flex-direction: column !important; align-items: stretch !important; }
    .al-landing .al-hero-cta .al-btn,
    .al-landing .al-cta-actions .al-btn { width: 100%; }
    .al-landing .al-footer-top { grid-template-columns: 1fr !important; gap: 32px; }
    .al-landing .al-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .al-landing .al-trust { grid-template-columns: 1fr !important; }
    .al-landing .al-btn { min-height: 44px; }
}
@media (max-width: 480px) {
    .al-landing .al-container { padding: 0 12px; }
    .al-landing .al-hero-h2 { font-size: 1.5rem !important; }
    .al-landing .al-section-head h2 { font-size: 1.5rem !important; }
    .al-landing .al-positioning-headline { font-size: 0.95rem !important; }
    .al-landing .al-footer-links { grid-template-columns: 1fr !important; }
    .al-landing .al-kpi-value { font-size: 1.2rem !important; }
}

/* Solution kártya ikonok (al-sol-icon) — gradient backgroundok scoped CSS miatt itt globálisan */
.al-landing .al-sol-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.al-landing .al-sol-icon.al-grad-primary { background: linear-gradient(135deg, #1a3a5c, #0f2540) !important; }
.al-landing .al-sol-icon.al-grad-accent  { background: linear-gradient(135deg, #10b981, #059669) !important; }
.al-landing .al-sol-icon.al-grad-violet  { background: linear-gradient(135deg, #7c3aed, #5b21b6) !important; }
.al-landing .al-sol-icon.al-grad-blue    { background: linear-gradient(135deg, #2563eb, #1e40af) !important; }
.al-landing .al-sol-icon.al-icon-sm      { width: 36px; height: 36px; font-size: 1.1rem; }

/* Float card ikonok (Hero lebegő statok) */
.al-landing .al-float-icon {
    width: 40px;
    height: 52px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.al-landing .al-float-icon-primary { background: linear-gradient(135deg, #1a3a5c, #0f2540) !important; }
.al-landing .al-float-icon-accent  { background: linear-gradient(135deg, #10b981, #059669) !important; }
.al-landing .al-float-icon-violet  { background: linear-gradient(135deg, #7c3aed, #5b21b6) !important; }

/* Problem kártya színek garantálva — fehér háttéren halvány pasztel ikon-háttér */
.al-landing .al-problem-card {
    padding: 24px;
    border-radius: 1rem;
    transition: all 0.2s;
}
.al-landing .al-problem-card.al-prob-red {
    border-color: rgba(220, 38, 38, 0.30) !important;
    background: rgba(220, 38, 38, 0.04) !important;
}
.al-landing .al-problem-card.al-prob-orange {
    border-color: rgba(234, 88, 12, 0.30) !important;
    background: rgba(234, 88, 12, 0.04) !important;
}
.al-landing .al-problem-card.al-prob-yellow {
    border-color: rgba(245, 158, 11, 0.30) !important;
    background: rgba(245, 158, 11, 0.04) !important;
}
.al-landing .al-problem-card.al-prob-purple {
    border-color: rgba(124, 58, 237, 0.30) !important;
    background: rgba(124, 58, 237, 0.04) !important;
}
.al-landing .al-problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.al-landing .al-prob-red    .al-problem-icon { background: rgba(220, 38, 38, 0.12) !important; color: #dc2626 !important; }
.al-landing .al-prob-orange .al-problem-icon { background: rgba(234, 88, 12, 0.12) !important; color: #ea580c !important; }
.al-landing .al-prob-yellow .al-problem-icon { background: rgba(245, 158, 11, 0.12) !important; color: #f59e0b !important; }
.al-landing .al-prob-purple .al-problem-icon { background: rgba(124, 58, 237, 0.12) !important; color: #7c3aed !important; }

/* KPI trend színek (Dashboard mockban) */
.al-landing .al-kpi-trend.al-up   { color: #10b981 !important; }
.al-landing .al-kpi-trend.al-down { color: #dc2626 !important; }

/* Brand icon & Dashboard mock logo — a betű helyett logókép */
.al-landing .al-brand-icon {
    padding: 0 !important;
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    overflow: hidden;
}
.al-landing .al-brand-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* fehérre teszi a logót, hogy a navy háttéren látszódjon */
}
.al-landing .al-dash-logo {
    padding: 0 !important;
    overflow: hidden;
}
.al-landing .al-dash-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ===== CTA szekció — navy gradient háttéren fehér szöveg ===== */
.al-landing .al-cta-inner h2,
.al-landing .al-cta-inner p {
    color: #ffffff !important;
}

.al-landing .al-cta-highlight {
    background: linear-gradient(90deg, #10b981, #34d399) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.al-landing .al-cta-fine {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* A CTA-ban a glass gomb átláthatóvá tétele a navy háttéren */
.al-landing .al-cta-wrap .al-btn-glass {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
}
.al-landing .al-cta-wrap .al-btn-glass:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.50) !important;
    color: #ffffff !important;
}

/* A CTA primary gomb fehér háttéren navy szöveggel (kontraszt a navy panel-en) */
.al-landing .al-cta-wrap .al-btn-primary {
    background: #ffffff !important;
    color: #1a3a5c !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20) !important;
}
.al-landing .al-cta-wrap .al-btn-primary:hover {
    background: #f1f5f9 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30) !important;
}

/* ===== Pricing toggle -20% kedvezmény badge ===== */
.al-landing .al-tg-save {
    background: rgba(16, 185, 129, 0.20) !important;
    color: #10b981 !important;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

/* Aktív (sötét bg) toggle gombon a kedvezmény badge világos zöld háttér + fehér szöveg */
.al-landing .al-tg-active .al-tg-save {
    background: #10b981 !important;
    color: #ffffff !important;
}

/* ===== Brand logo (img a navbar + footer-ben, közvetlen img tag, keret nélkül) ===== */
.al-landing img.al-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    /* Keretek, hátterek, filter, border-radius — semmi */
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    filter: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Dashboard mock-ban a logó kicsit nagyobb (a topbar méretéhez igazítva) */
.al-landing img.al-dash-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    filter: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* A korábbi span-re vonatkozó keretes override eltávolítása override-szal: ha valahol még az old class hatna */
.al-landing .al-brand-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ===== Register oldal — Radzen button color override (scoped CSS attribute-mismatch workaround) ===== */
.register-actions .rz-button.rz-primary {
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    border-color: #1a3a5c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(26, 58, 92, 0.25) !important;
}
.register-actions .rz-button.rz-primary:hover {
    background: linear-gradient(135deg, #0f2540, #1a3a5c) !important;
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35) !important;
    transform: none !important;
}
.register-actions .rz-button.rz-light {
    background: #f1f5f9 !important;
    color: #0f2540 !important;
    border: 1px solid #cbd5e1 !important;
}
.register-actions .rz-button.rz-light:hover {
    background: #e2e8f0 !important;
    transform: none !important;
}
.register-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
}
.register-actions .rz-button {
    min-width: 200px;
}

/* Register card panel hover-on NE ugráljon */
.register-card,
.register-card:hover,
.register-right,
.register-right:hover {
    transform: none !important;
}

/* "Már van fiókja? Bejelentkezés" link hangsúlyos zöld CTA pill */
.register-header p {
    font-size: 0.98rem !important;
    padding: 10px 16px !important;
    background: rgba(16, 185, 129, 0.06) !important;
    border: 1px solid rgba(16, 185, 129, 0.30) !important;
    border-radius: 10px !important;
    display: inline-block !important;
    margin-top: 8px !important;
}
.register-header a {
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    margin-left: 4px;
}
.register-header a:hover {
    color: #059669 !important;
    text-decoration: underline;
}

/* ===== Register oldal — bal panel navy gradient + szöveg-kontraszt javítás ===== */
.register-page {
    background: #f8fafc !important;
}

.register-card {
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(15, 37, 64, 0.10) !important;
}

.register-left {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

    .register-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 25% 50%, rgba(16, 185, 129, 0.18), transparent 45%),
            radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 50%);
        pointer-events: none;
    }

.register-left .register-left-content {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
}

/* Bal panelen lévő logo — fehér színű (a navy háttéren) */
.register-left .brand {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px !important;
    text-decoration: none;
}

.register-left .brand .brand-logo {
    height: 96px !important;
    width: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    filter: none !important; /* fehér színűre tesi a logót a navy panelen */
}

/* "Indítsa el pénzügyi kontrollját" cím — fehéren */
.register-left h2 {
    color: #ffffff !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin: 0 0 14px !important;
    letter-spacing: -0.02em;
}

/* Subtitle — világos fehér 80% (ne fehér-fehér) */
.register-left p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.98rem !important;
    line-height: 1.55;
    margin: 0 0 32px !important;
}

/* Benefit lista — fehér szöveg + zöld accent ikon */
.register-left .benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register-left .benefit {
    color: rgba(255, 255, 255, 0.92) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
}

.register-left .benefit .rz-icon,
.register-left .benefit ::deep .rz-icon,
.register-left .benefit i {
    color: #10b981 !important;
    font-size: 20px !important;
}

/* ============================================================
   REGISTER OLDAL — MAGASABB SPECIFICITÁS-ÚJRA-DEFINÍCIÓK
   A scoped CSS [b-xxx] attribútum-szelektor specificitása magasabb,
   és benne `var(--clr-primary)` van ami undefined (mert a :root[b-xxx]
   nem matchel a <html>-re). Ezért hardcode-olt színekkel és body-prefixszel
   magasabb specificitást és független szín-értéket adunk.
   ============================================================ */
.register-page {
    background: #f8fafc !important;
}

.register-page .register-card {
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(15, 37, 64, 0.10) !important;
    transform: none !important;
}

.register-page .register-card .register-left {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.register-page .register-card .register-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(16, 185, 129, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 50%) !important;
    pointer-events: none;
}

.register-page .register-card .register-left .register-left-content {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
}

.register-page .register-card .register-left .brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 32px !important;
    text-decoration: none;
}

.register-page .register-card .register-left .brand .brand-logo {
    /* A logo PNG-nek fehér háttere van — lekerekített fehér badge-ben mutatjuk,
       mint egy app-ikon. Így a navy paneleren elegánsan jelenik meg, nem nyersen. */
    height: 96px !important;
    width: 96px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 10px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    filter: none !important;
    object-fit: contain !important;
}

.register-page .register-card .register-left h2 {
    color: #ffffff !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin: 0 0 14px !important;
    letter-spacing: -0.02em;
}

.register-page .register-card .register-left p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.98rem !important;
    line-height: 1.55;
    margin: 0 0 32px !important;
}

.register-page .register-card .register-left .benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.register-page .register-card .register-left .benefit {
    color: rgba(255, 255, 255, 0.92) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.93rem !important;
}

.register-page .register-card .register-left .benefit i,
.register-page .register-card .register-left .benefit .rz-icon {
    color: #10b981 !important;
    font-size: 20px !important;
}

/* Jobb panel form */
.register-page .register-card .register-right {
    background: #ffffff !important;
    transform: none !important;
}

.register-page .register-card .register-right:hover,
.register-page .register-card:hover {
    transform: none !important;
}

/* Register-header h1 sötét navy */
.register-page .register-card .register-right .register-header h1 {
    color: #0f2540 !important;
}

/* "Már van fiókja? Bejelentkezés" link hangsúlyos zöld pill-CTA */
.register-page .register-card .register-right .register-header p {
    font-size: 0.98rem !important;
    padding: 10px 16px !important;
    background: rgba(16, 185, 129, 0.06) !important;
    border: 1px solid rgba(16, 185, 129, 0.30) !important;
    border-radius: 10px !important;
    display: inline-block !important;
    margin-top: 8px !important;
    color: #475569 !important;
}

.register-page .register-card .register-right .register-header a {
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    margin-left: 4px;
    text-decoration: none;
}

.register-page .register-card .register-right .register-header a:hover {
    color: #059669 !important;
    text-decoration: underline;
}

/* Register-actions gombok középre + nincs hover-mozgás */
.register-page .register-card .register-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
}

.register-page .register-card .register-actions .rz-button {
    min-width: 200px !important;
    flex: 0 1 auto !important;
}

.register-page .register-card .register-actions .rz-button.rz-primary {
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    border-color: #1a3a5c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(26, 58, 92, 0.25) !important;
}

.register-page .register-card .register-actions .rz-button.rz-primary:hover {
    background: linear-gradient(135deg, #0f2540, #1a3a5c) !important;
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35) !important;
    transform: none !important;
}

.register-page .register-card .register-actions .rz-button.rz-light {
    background: #f1f5f9 !important;
    color: #0f2540 !important;
    border: 1px solid #cbd5e1 !important;
}

.register-page .register-card .register-actions .rz-button.rz-light:hover {
    background: #e2e8f0 !important;
    transform: none !important;
}

/* ============================================================
   FORGOT PASSWORD oldal — Login stílusra (split design: navy bal + fehér card jobb)
   ============================================================ */

body div.fp-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Bal oldal — navy gradient + fehér card a közepén */
body div.fp-container .fp-box {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #0f2540 0%, #1a3a5c 50%, #1e4673 100%) !important;
}

/* Fehér kártya a navy háttéren */
body div.fp-container .fp-content {
    background-color: #ffffff !important;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    /* Hover-on NINCS panel-elmozdulás (a form ne ugráljon) */
}

body div.fp-container .fp-content:hover {
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
}

/* Header — logó középre + cím + subtitle */
body div.fp-container .fp-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

body div.fp-container .fp-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none;
    margin-bottom: 1rem;
}

body div.fp-container .fp-brand-logo {
    height: 144px !important;
    width: auto !important;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

body div.fp-container .fp-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #0f2540 !important;
    margin: 0 0 0.5rem !important;
    letter-spacing: -0.02em;
}

body div.fp-container .fp-subtitle {
    color: #64748b !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Form */
body div.fp-container .fp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

body div.fp-container .fp-form-group label {
    display: block;
    color: #0f2540;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

body div.fp-container .fp-form-group .rz-textbox {
    width: 100%;
}

/* Reset link küldése gomb — navy gradient, középre */
body div.fp-container .fp-btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 240px;
    align-self: center;
}

body div.fp-container .fp-btn-primary {
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(26, 58, 92, 0.25) !important;
}

body div.fp-container .fp-btn-primary:hover:not([disabled]) {
    background: linear-gradient(135deg, #0f2540, #1a3a5c) !important;
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35) !important;
    transform: translateY(-1px);
}

body div.fp-container .fp-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sikeres elküldés állapot — zöld accent */
body div.fp-container .fp-success {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.30);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    margin: 1rem 0;
}

body div.fp-container .fp-success i {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 8px;
    display: block;
}

body div.fp-container .fp-success p {
    color: #0f2540;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer — vissza link, zöld accent CTA pill (mint a Login footer) */
body div.fp-container .fp-footer {
    margin-top: 2rem;
    padding: 14px 18px;
    text-align: center;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.30);
    border-radius: 12px;
}

body div.fp-container .fp-footer a {
    color: #10b981 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

body div.fp-container .fp-footer a:hover {
    color: #059669 !important;
    text-decoration: underline;
}

body div.fp-container .fp-footer a i {
    transition: transform 0.2s ease;
}

body div.fp-container .fp-footer a:hover i {
    transform: translateX(-3px);
}

/* Jobb oldali nagy logós szekció — fehér háttér + teljes brand mid-szinten (Login mintára) */
body div.fp-container .fp-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-color: #ffffff;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    box-shadow: inset 80px 0 120px -80px rgba(15, 37, 64, 0.08);
}

body div.fp-container .fp-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.6), rgba(241, 245, 249, 0.3));
    pointer-events: none;
}

body div.fp-container .fp-image-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
}

body div.fp-container .fp-image-brand-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}

body div.fp-container .fp-image-brand-logo {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    background-color: transparent;
}

/* Mobile-on a jobb oldali nagy brand eltüntetése, a form full-width */
@media (max-width: 992px) {
    body div.fp-container .fp-box {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    body div.fp-container .fp-image {
        display: none;
    }
}

@media (max-width: 576px) {
    body div.fp-container .fp-content {
        padding: 1.5rem;
    }
    body div.fp-container .fp-title {
        font-size: 1.5rem !important;
    }
    body div.fp-container .fp-brand-logo {
        height: 110px !important;
    }
}

/* Jelszó követelmény hint — Register + ResetPassword oldalakon egységesen */
.password-hint,
.rp-pwd-hint {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.4;
    font-style: italic;
}

/* ============================================================
   DASHBOARD — Új/Átnevezés modal fejléc kontraszt fix
   A scoped CSS attribute-mismatch miatt a navy gradient háttér + fehér szöveg
   nem alkalmazódik. Globális override magasabb specificitással.
   ============================================================ */
.db-dbedit-overlay .db-dbedit-panel {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.4) !important;
}

.db-dbedit-overlay .db-dbedit-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%) !important;
    color: #ffffff !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.db-dbedit-overlay .db-dbedit-title {
    color: #ffffff !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.db-dbedit-overlay .db-dbedit-title i {
    color: #10b981 !important;
    font-size: 1.2rem !important;
}

.db-dbedit-overlay .db-dbedit-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s;
}

.db-dbedit-overlay .db-dbedit-close:hover {
    background: rgba(255, 255, 255, 0.30) !important;
}

.db-dbedit-overlay .db-dbedit-close i {
    color: #ffffff !important;
}

/* Footer gombok kontraszt — Mégse világos szürke, Létrehozás navy */
.db-dbedit-overlay .db-dbedit-footer {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
    padding: 14px 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.db-dbedit-overlay .db-dbedit-btn-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

.db-dbedit-overlay .db-dbedit-btn-cancel:hover {
    background: #e2e8f0 !important;
    color: #0f2540 !important;
}

.db-dbedit-overlay .db-dbedit-btn-save {
    background: linear-gradient(135deg, #1a3a5c, #0f2540) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.25) !important;
}

.db-dbedit-overlay .db-dbedit-btn-save:hover {
    background: linear-gradient(135deg, #0f2540, #1a3a5c) !important;
    box-shadow: 0 6px 16px rgba(26, 58, 92, 0.35) !important;
}
