/* ============================================================
   obecne.css — Fajn Účet
   Obecné styly načítané na každé stránce projektu.
   Obsahuje: proměnné, reset, body, header, footer, sidebar, layout.
   ============================================================ */

/* =============================================================
   DESIGN TOKENS
   ============================================================= */
:root {
    --background:             210 20% 98%;
    --foreground:             222 47% 11%;
    --card:                   0 0% 100%;
    --primary:                33 100% 50%;   /* oranžová Fajn Účet */
    --primary-foreground:     0 0% 100%;
    --secondary:              210 40% 96%;
    --secondary-foreground:   222 47% 11%;
    --muted:                  210 40% 96%;
    --muted-foreground:       215 20% 35%;
    --accent:                 212 100% 50%;  /* modrá */
    --accent-foreground:      0 0% 100%;
    --destructive:            0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border:                 214 32% 91%;
    --success:                142 76% 36%;
    --warning:                38 92% 50%;
    --radius:                 0.5rem;
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

/* =============================================================
   BODY & POZADÍ
   ============================================================= */
body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-image: url('https://kodovani-ai.fajntest.cz/fajnucet_cz/img/page-bg-mobile.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: hsl(var(--foreground));
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body {
        background-image: url('https://kodovani-ai.fajntest.cz/fajnucet_cz/img/page-bg-desktop.jpg');
    }
}

/* =============================================================
   HEADER
   ============================================================= */
header {
    position: relative;
}

header .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* puvodne: padding: 0.5rem 1rem; */
    max-width: 1390px;
    margin: 0 auto;
    padding: 12px 18px;
}

header .logo,
header .mobile-logo {
    position: relative;
    z-index: 2;
}

header .logo img,
header .mobile-logo img {
    /* puvodne: max-width: 175px; */
    height: 45px;
    width: auto;
    display: block;
}
@media (min-width: 1100px) {
    header .logo img,
    header .mobile-logo img { height: 57px; }
}
@media (min-width: 1281px) {
    header .logo img,
    header .mobile-logo img { height: 76px; }
}

/* Logo area — logo odkaz + claim vedle sebe */
.fu-logo-area {
    display: flex;
    align-items: center;
    gap: 18px;
}
@media (min-width: 768px) {
    .fu-logo-area { gap: 30px; }
}

/* Claim vedle loga */
.fu-header-claim {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    color: #ffffff;
    max-width: 600px;
    pointer-events: none;
    margin: 0;
}
@media (min-width: 1281px) {
    .fu-header-claim {
        font-size: 19px;
        line-height: 21px;
        font-weight: 600;
    }
}

/* Hamburger tlačítko (mobil) */
header .menu-hamburger {
    padding: 0.5rem;
}
/* Skryté tam, kde běží spodní navigace — položky webu jsou v panelu "Více".
   Stránky bez sidebaru (přihlášení, registrace) spodní navigaci nemají,
   takže tam hamburger na mobilu zůstává jako jediná cesta do menu.
   Na desktopu (od 992px) je horní menu inline v hlavičce. */
@media (max-width: 1023px) {
    body:has(.mobile-bottomnav) header .menu-hamburger {
        display: none;
    }
}
@media (min-width: 992px) {
    header .menu-hamburger {
        display: none;
    }
}

/* Nav panel — na mobilu fixed přes celou obrazovku, na desktopu inline */
header .menu {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    /* puvodne: width: calc(100% - 2rem); - nechavalo pruh vpravo, kryjeme celou sirku */
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    padding: 0.5rem 1rem;
    background: #0074ff;
}
@media (min-width: 992px) {
    header .menu {
        display: block !important;
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
    }
}

/* Hlavička mobilního menu (logo + zavřít) */
header .menu .mobile-menu-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
@media (min-width: 992px) {
    header .menu .mobile-logo {
        display: none;
    }
}

header .menu .menu-close {
    padding: 1.5rem 0.5rem 0.5rem;
}
@media (min-width: 992px) {
    header .menu .menu-close {
        display: none;
    }
}

header .menu .menu-close img {
    max-width: 20px;
}

/* Seznam odkazů */
header ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    padding: 1.5rem;
    list-style: none;
    gap: 2rem;
}
@media (min-width: 992px) {
    header ul {
        flex-direction: row;
        justify-content: flex-end;
        min-height: auto;
        margin: 0;
        padding: 0;
        gap: 1rem;
    }
}
@media (min-width: 1200px) {
    header ul {
        gap: 2.5rem;
    }
}

header ul li a {
    display: block;
    padding: 0.5rem 1rem;
    transition: ease-in-out 0.3s;
    border: 1px solid transparent;
    border-radius: 38px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1.875rem;
}
@media (min-width: 768px) {
    header ul li a {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
}

header ul li.active a,
header ul li a:hover,
header ul li a:focus {
    border-color: #fff;
    text-decoration: none;
}

/* Maskot (obrázek vedle nadpisu) */
header .maskot-aside {
    position: absolute;
    right: -22px;
    bottom: 0;
    max-width: 110px;
}
@media (min-width: 768px) {
    header .maskot-aside {
        display: none;
    }
}

/* Nadpis v headeru (hero sekce) */
header h1 {
    margin-top: 0;
    color: #fff;
    letter-spacing: -1px;
    text-align: center;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
    font-size: 2.375rem;
    line-height: 2.75rem;
}
@media (min-width: 768px) {
    header h1 {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: -2rem;
        margin-left: -4rem;
        gap: 0;
    }
}
@media (min-width: 992px) {
    header h1 {
        margin: -4rem 0 -2rem -4rem;
        gap: 1rem;
        font-size: 3rem;
        line-height: 3rem;
    }
}

header h1 p    { margin-bottom: 0; }
header h1 .divider     { display: block; }
header h1 .second-line { display: block; }

@media (min-width: 768px) {
    header h1 .second-line { margin-left: 4rem; }
    header h1 .comma       { display: none; }
}

header h1 img {
    display: none;
    max-width: 300px;
}
@media (min-width: 768px) {
    header h1 img { display: block; }
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 5.625rem 1rem;
    color: #fff;
}
footer a { color: #fff; }

footer .address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer {
    margin: 0 auto;
    padding: 30px 20px;
    box-sizing: border-box;
}
@media (min-width: 992px) {
    .footer {
        padding: 30px 16px;
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
    }
}

.footer__holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}
@media (min-width: 992px) {
    .footer__holder { align-items: flex-start; }
}

.footer__logo img { max-width: 175px; }

.footer__panel {
    border-bottom: 1px dashed white;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-weight: 100;
    font-size: 16px;
    width: 100%;
}
@media (min-width: 992px) {
    .footer__panel { flex-direction: row; }
}

.footer__panel div {
    flex: 1 0 auto;
    text-align: center;
}
@media (min-width: 992px) {
    .footer__panel div { text-align: left; }
}

.footer__panel div p {
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__panel address {
    font-style: normal;
    font-weight: 100;
}
.footer__panel address span          { display: block; }
.footer__panel address span:last-child { margin-top: 24px; }

.footer__panel ul {
    margin: 0;
    padding: 0;
}
.footer__panel ul li              { list-style-type: none; margin-bottom: 4px; }
.footer__panel ul li a            { text-decoration: none; }
.footer__panel ul li a:hover      { text-decoration: underline; }

.footer__panel .social-item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
}
@media (min-width: 992px) {
    .footer__panel .social-item-wrapper { justify-content: flex-start; }
}

.footer__panel .social-item {
    max-width: 30px;
    transition: ease-in-out 0.2s;
}
.footer__panel .social-item:hover { transform: scale(0.8); }

.footer__bottom {
    font-size: 14px;
    text-align: center;
    width: 100%;
}

/* =============================================================
   CONTAINER
   ============================================================= */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* =============================================================
   CARD
   ============================================================= */
.card {
    background: hsl(var(--card));
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.card-header { padding: 1.25rem 1.25rem 0.75rem; }

.card-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1.125rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--foreground));
}
.card-title .title-icon { color: hsl(var(--primary)); }

.card-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.125rem;
}

.card-padding { padding: 0 1.25rem 1.25rem; }

.view-all-btn {
    padding: 0.375rem 0.75rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    font-family: inherit;
    color: hsl(var(--foreground));
    transition: background 0.15s;
}
.view-all-btn:hover { background: hsl(var(--secondary)); }

/* =============================================================
   HLAVNÍ LAYOUT (2 sloupce: sidebar + obsah)
   ============================================================= */
.main-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
@media (min-width: 1024px) {
    .main-layout { flex-direction: row; }
}

.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* =============================================================
   SIDEBAR
   ============================================================= */
.sidebar {
    width: 100%;
    flex-shrink: 0;
}
@media (min-width: 1024px) {
    .sidebar { width: 18rem; }
}

.sidebar-nav {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: all 0.15s;
    font-family: inherit;
}
.sidebar-item:hover { background: hsl(var(--secondary)); }

.sidebar-item .item-icon {
    color: hsl(var(--muted-foreground));
    flex-shrink: 0;
}

.sidebar-item.active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}
.sidebar-item.active .item-icon { color: hsl(var(--primary-foreground)); }

.sidebar-content {
    flex: 1;
    min-width: 0;
}
.sidebar-content p:first-child { font-weight: 500; font-size: 0.875rem; }
.sidebar-content p:last-child {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-item.active .sidebar-content p            { color: hsl(var(--primary-foreground)); }
.sidebar-item.active .sidebar-content p:last-child { color: hsl(0 0% 100% / 0.8); }

.sidebar-badge {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sidebar-item.active .sidebar-badge {
    background: hsl(var(--primary-foreground));
    color: hsl(var(--primary));
}

.sidebar-item.logout-btn {
    margin-top: 0.5rem;
    color: hsl(var(--muted-foreground));
}
.sidebar-item.logout-btn:hover { color: hsl(var(--destructive)); }

/* Rozcestnik na portaly skupiny - oranzove UI Fajn brigady */
.sidebar-portals {
    --fb-orange: #FF8C00;
    --fb-orange-dark: #ea580c;
    margin-top: 0.75rem;
    padding: 0.75rem 0.5rem 0.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 140, 0, 0.35);
    background: rgba(255, 140, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-portals__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fb-orange-dark);
}
.sidebar-portals__title-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: var(--fb-orange);
}

.sidebar-portals__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    border-left: 3px solid transparent;
    font-size: 0.8125rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: all 0.15s;
}
.sidebar-portals__link:hover {
    background: rgba(255, 140, 0, 0.14);
    border-left-color: var(--fb-orange);
    color: var(--fb-orange-dark);
}
.sidebar-portals__link-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: var(--fb-orange);
    opacity: 0;
    transition: opacity 0.15s;
}
.sidebar-portals__link:hover .sidebar-portals__link-icon {
    opacity: 1;
}

/* Mobilní sidebar hlavička s křížkem */
.sidebar-mobile-header { display: none; }
.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: hsl(var(--foreground));
    border-radius: 0.375rem;
    line-height: 0;
}
.sidebar-close:hover { background: hsl(var(--secondary)); }

/* Mobilní sidebar */
@media (max-width: 1023px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 40;
        background: hsl(var(--background));
        padding: 1rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .sidebar.active { transform: translateX(0); }
    .sidebar-mobile-header {
        display: flex;
        justify-content: flex-end;
        padding-bottom: 0.5rem;
    }
    .mobile-menu-btn { display: block; }
}

/* Mobilní overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
}
.mobile-overlay.active { display: block; }

/* =============================================================
   UVÍTACÍ KARTA (sdílená na všech podstránkách)
   ============================================================= */
.uvitaci-karta {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) {
    .uvitaci-karta { padding: 1.5rem 2rem; }
}

.uvitaci-karta__nadpis {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(var(--foreground));
}
@media (min-width: 768px) {
    .uvitaci-karta__nadpis { font-size: 1.875rem; }
}

.uvitaci-karta__popis {
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
    font-size: 0.9375rem;
}

/* ===== Souhrnný progress bar ===== */
.uvitaci-karta__progress { margin-top: 1.5rem; }

.uvitaci-karta__progress-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.uvitaci-karta__progress-aktualni {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.uvitaci-karta__progress-cil {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.uvitaci-karta__progress-track {
    height: 0.625rem;
    border-radius: 9999px;
    background: hsl(var(--muted));
    overflow: hidden;
}

.uvitaci-karta__progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, hsl(var(--success)), hsl(var(--primary)));
    transition: width 0.6s ease;
}

/* nekompletni profil (pod 100 %) - oranzovy bar */
.uvitaci-karta__progress-fill--nekompletni {
    background: hsl(var(--warning));
}

/* ===== Checklist dokončení profilu (kompaktní dlaždice) ===== */
.uvitaci-karta__checklist {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Jedna dlaždice — na PC 4 v řadě, na tabletu 2, na mobilu pod sebe */
.uvitaci-karta__ukol {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    margin-bottom: 2px;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
}
@media (min-width: 640px) {
    .uvitaci-karta__ukol { flex: 1 1 calc(50% - 0.25rem); }
}
@media (min-width: 1024px) {
    .uvitaci-karta__ukol { flex: 1 1 0; min-width: 0; }
}

/* Ikona úkolu s malou stavovou značkou v rohu */
.uvitaci-karta__ukol-ikona-wrap {
    position: relative;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
}
.uvitaci-karta__ukol-ikona {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--muted-foreground));
}

.uvitaci-karta__ukol-stav {
    position: absolute;
    right: -0.25rem;
    bottom: -0.25rem;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 9999px;
    border: 2px solid hsl(var(--background));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.uvitaci-karta__ukol-stav .lucide { width: 0.5rem; height: 0.5rem; stroke-width: 4; }

.uvitaci-karta__ukol-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.uvitaci-karta__ukol-nazev {
    font-weight: 600;
    font-size: 0.8125rem;
    color: hsl(var(--foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.uvitaci-karta__ukol-popis {
    font-size: 0.6875rem;
    color: hsl(var(--muted-foreground));
}

/* Splněné: text "Hotovo" je v popisku, žádné tlačítko navíc */
.uvitaci-karta__ukol-hotovo { display: none; }

/* Akce u nesplněných — jen šipka jako kompaktní tlačítko */
.uvitaci-karta__ukol-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transition: opacity 0.15s;
}
.uvitaci-karta__ukol-btn:hover { opacity: 0.9; }
/* Text akce v tlačítku skryjeme, necháme jen šipku */
.uvitaci-karta__ukol-btn-text { display: none; }
.uvitaci-karta__ukol-btn .lucide { width: 0.875rem; height: 0.875rem; }

/* --- Stavové varianty --- */
.uvitaci-karta__ukol--hotovo {
    border-color: hsl(var(--success) / 0.3);
    background: hsl(var(--success) / 0.06);
}
.uvitaci-karta__ukol--hotovo .uvitaci-karta__ukol-stav { background: hsl(var(--success)); }

.uvitaci-karta__ukol--castecne {
    border-color: hsl(38 92% 50% / 0.4);
    background: hsl(38 92% 50% / 0.07);
}
.uvitaci-karta__ukol--castecne .uvitaci-karta__ukol-stav { background: hsl(38 92% 50%); }

.uvitaci-karta__ukol--chybi {
    border-color: hsl(var(--border));
}
.uvitaci-karta__ukol--chybi .uvitaci-karta__ukol-stav { background: hsl(var(--muted-foreground)); }

/* Hodnocení + odznáčky */
.uvitaci-karta__hodnoceni {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid hsl(var(--border));
}

.uvitaci-karta__hodnoceni-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .uvitaci-karta__hodnoceni-flex { flex-direction: row; align-items: center; gap: 2rem; }
}

.uvitaci-karta__hvezdicky {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.uvitaci-karta__hvezdicky-ikona {
    width: 2.5rem;
    height: 2.5rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
}

.uvitaci-karta__hvezdicky-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.uvitaci-karta__hvezdicky-radek {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.125rem;
}

.uvitaci-karta__hvezda--plna  { color: hsl(var(--primary)); fill: hsl(var(--primary)); }
.uvitaci-karta__hvezda--prazdna { color: hsl(var(--muted)); fill: hsl(var(--muted)); }

.uvitaci-karta__hvezdicky-hodnota {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Odznáčky */
.uvitaci-karta__odznacky { flex: 1; }

.uvitaci-karta__odznacky-nadpis {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.uvitaci-karta__odznacky-seznam {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.uvitaci-karta__odznak {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid;
    transition: all 0.15s;
}

.uvitaci-karta__odznak--ziskan {
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    font-weight: 500;
}

.uvitaci-karta__odznak--neziskan {
    background: hsl(var(--muted) / 0.5);
    border-color: hsl(var(--border));
    color: hsl(var(--muted-foreground));
    opacity: 0.5;
}

/* Info box */
.uvitaci-karta__info-box {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: hsl(var(--accent) / 0.1);
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--accent) / 0.2);
}

.uvitaci-karta__info-ikona { color: hsl(var(--accent)); flex-shrink: 0; }

.uvitaci-karta__info-box p { font-size: 0.875rem; }

.uvitaci-karta__info-box strong {
    font-weight: 500;
    color: hsl(var(--accent));
}

.uvitaci-karta__info-text {
    color: hsl(var(--muted-foreground));
    margin-left: 0.25rem;
}

.uvitaci-karta__info-link {
    color: hsl(var(--accent));
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.uvitaci-karta__info-link:hover { background: hsl(var(--accent) / 0.1); }

/* =============================================================
   LUCIDE IKONY
   ============================================================= */
.lucide    { width: 1.25rem;  height: 1.25rem; }
.lucide-sm { width: 0.875rem; height: 0.875rem; }
.lucide-lg { width: 1.5rem;   height: 1.5rem; }
.lucide-xl { width: 3rem;     height: 3rem; }



.naseptavac-tags-wrapper {
	display: flex;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid hsl(214 32% 91%);
	border-radius: 0.5rem;
	background: #fff;
	cursor: text;
	min-height: 44px;
	align-items: center;
}

.naseptavac-tags-wrapper:focus-within {
	border-color: hsl(33 100% 50%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	box-shadow: 0 0 0 3px hsl(33 100% 50% / 0.15);
}

.naseptavac-tag {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	background: hsl(33 100% 50% / 0.12);
	color: hsl(33 100% 30%);
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 500;
	white-space: nowrap;
}

.naseptavac-tag__x {
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	color: hsl(33 100% 40%);
	margin-left: 2px;
}

.welcome-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) {
    .welcome-card { padding: 1.5rem 2rem; }
}
.welcome-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(var(--foreground));
}
@media (min-width: 768px) {
    .welcome-title { font-size: 1.875rem; }
}
.welcome-subtitle {
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
    font-size: 0.9375rem;
}
.naseptavac-tag__x:hover {
	color: hsl(0 72% 51%);
}

.dotaznik-status-ok {
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	border-radius: 14px;
	padding: 18px 24px;
	margin: 20px auto;
	max-width: 1200px;
	display: flex;
	align-items: center;
	gap: 16px;
	animation: fadeInStatus 0.4s ease;
}

.dotaznik-status-ok__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: #22c55e;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.dotaznik-status-ok__icon svg {
	width: 20px;
	height: 20px;
}

.dotaznik-status-ok__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dotaznik-status-ok__text strong {
	font-size: 15px;
	color: #166534;
}

.dotaznik-status-ok__text span {
	font-size: 14px;
	color: #4ade80;
}
.dotaznik-delete-btn {
	text-decoration: none;
	color: hsl(0 72% 51%) !important;
	border-color: hsl(0 72% 51% / 0.3) !important;
}

.dotaznik-delete-btn:hover {
	background: hsl(0 72% 51% / 0.1) !important;
	border-color: hsl(0 72% 51%) !important;
}

.dotaznik-delete-btn {
	color: hsl(0 72% 51%) !important;
	border-color: hsl(0 72% 51% / 0.3) !important;
}

.dotaznik-delete-btn:hover {
	background: hsl(0 72% 51% / 0.1) !important;
	border-color: hsl(0 72% 51%) !important;
}

.cv-modal__icon--danger {
	color: hsl(0 72% 51%);
}

.cv-modal__icon--success {
	background: hsl(142 72% 94%);
	color: hsl(142 72% 35%);
}

.cv-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: color 0.15s, background 0.15s;
}

.cv-modal__close:hover {
	color: #333;
	background: #f0f0f0;
}

.cv-modal__btn--primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: hsl(33 100% 50%);
	color: white;
	border: none;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s;
}

.cv-modal__btn--primary:hover {
	background: hsl(33 100% 42%);
	color: white;
}

.cv-modal__btn--danger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: hsl(0 72% 51%);
	color: white;
	border: none;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s;
}

.cv-modal__btn--danger:hover {
	background: hsl(0 72% 41%);
}
@keyframes fadeInStatus {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.naseptavac-tags-input {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 2px 0 !important;
	flex: 1;
	min-width: 120px;
	font-size: 0.875rem;
	background: transparent !important;
}

.naseptavac-dropdown {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 100;
	background: #fff;
	border: 1px solid hsl(214 32% 91%);
	border-radius: 0.5rem;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	list-style: none;
	margin: 4px 0 0;
	padding: 4px 0;
	max-height: 220px;
	overflow-y: auto;
}

.naseptavac-dropdown li {
	padding: 8px 14px;
	font-size: 0.875rem;
	cursor: pointer;
	color: #333;
}

.naseptavac-dropdown li:hover,
.naseptavac-dropdown li.active {
	background: hsl(33 100% 50% / 0.1);
	color: hsl(33 100% 40%);
}

/* =============================================================
   MOBILNI SPODNI NAVIGACE (bottom navigation)
   Na PC skryta (levy sidebar zustava), na mobilu nahrazuje sidebar.
   ============================================================= */
.mobile-bottomnav { display: none; }
.mobile-more__overlay { display: none; }

@media (max-width: 1023px) {
    /* Na mobilu off-canvas sidebar nepouzivame - navigace je dole */
    .sidebar { display: none; }

    .mobile-bottomnav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        background: hsl(var(--background));
        border-top: 1px solid hsl(var(--border));
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-bottomnav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1875rem;
        padding: 0.5rem 0.25rem 0.4375rem;
        border: none;
        background: none;
        font-family: inherit;
        text-decoration: none;
        color: hsl(var(--muted-foreground));
        cursor: pointer;
        min-height: 3.25rem;
        transition: color 0.15s;
    }
    .mobile-bottomnav__item.is-active { color: hsl(var(--primary)); }

    .mobile-bottomnav__icon-wrap { position: relative; line-height: 0; }
    .mobile-bottomnav__icon-wrap .lucide { width: 1.5rem; height: 1.5rem; }

    .mobile-bottomnav__label {
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1;
    }

    .mobile-bottomnav__badge {
        position: absolute;
        top: -0.375rem;
        right: -0.5rem;
        min-width: 1rem;
        height: 1rem;
        padding: 0 0.25rem;
        border-radius: 9999px;
        background: hsl(var(--destructive, 0 84% 60%));
        color: #fff;
        font-size: 0.625rem;
        font-weight: 700;
        line-height: 1rem;
        text-align: center;
        box-sizing: border-box;
    }

    /* Aby spodni lista neprekryvala konec obsahu */
    .main-content,
    .cv-varianty-page,
    .zivotopis-page {
        padding-bottom: 4.5rem;
    }

    /* ===== Panel "Vice" ===== */
    .mobile-more__overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(0, 0, 0, 0.45);
        align-items: flex-end;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }
    .mobile-more__overlay.is-open { opacity: 1; visibility: visible; }

    .mobile-more__panel {
        width: 100%;
        background: #fff;
        border-radius: 1.25rem 1.25rem 0 0;
        padding: 0.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        max-height: 85vh;
        overflow-y: auto;
    }
    .mobile-more__overlay.is-open .mobile-more__panel { transform: translateY(0); }

    .mobile-more__handle {
        width: 2.5rem;
        height: 0.25rem;
        border-radius: 9999px;
        background: hsl(var(--border));
        margin: 0 auto 0.875rem;
    }

    .mobile-more__title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: hsl(var(--foreground));
        margin-bottom: 0.875rem;
    }

    .mobile-more__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }
    .mobile-more__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4375rem;
        padding: 0.875rem 0.5rem;
        border-radius: 0.75rem;
        border: 1px solid hsl(var(--border));
        background: hsl(var(--background));
        text-decoration: none;
        color: hsl(var(--foreground));
        font-size: 0.75rem;
        font-weight: 600;
        text-align: center;
    }
    .mobile-more__item.is-active {
        border-color: hsl(var(--primary));
        background: hsl(var(--primary) / 0.08);
        color: hsl(var(--primary));
    }
    .mobile-more__icon-wrap { position: relative; line-height: 0; }
    .mobile-more__icon-wrap .lucide { width: 1.5rem; height: 1.5rem; }
    .mobile-more__badge {
        position: absolute;
        top: -0.375rem;
        right: -0.5rem;
        min-width: 1rem;
        height: 1rem;
        padding: 0 0.25rem;
        border-radius: 9999px;
        background: hsl(var(--destructive, 0 84% 60%));
        color: #fff;
        font-size: 0.625rem;
        font-weight: 700;
        line-height: 1rem;
        text-align: center;
        box-sizing: border-box;
    }

    .mobile-more__subtitle {
        margin: 1.25rem 0 0.5rem;
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: hsl(var(--muted-foreground));
    }
    .mobile-more__portals {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .mobile-more__portals a {
        padding: 0.625rem 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid rgba(255, 140, 0, 0.35);
        background: rgba(255, 140, 0, 0.07);
        color: #ea580c;
        text-decoration: none;
        font-size: 0.8125rem;
        font-weight: 600;
        text-align: center;
    }

    .mobile-more__logout {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
        padding: 0.75rem;
        border-radius: 0.625rem;
        border: 1px solid hsl(var(--border));
        color: hsl(var(--muted-foreground));
        text-decoration: none;
        font-weight: 600;
        font-size: 0.875rem;
    }
    .mobile-more__logout .lucide { width: 1.125rem; height: 1.125rem; }
}


/* =============================================================
   STATUS HLASKA (sdilena komponenta p.komp.s.statusy)
   ============================================================= */
.modal-info {
    width: auto;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0px 0px 5px 0px #b0b0b0;
    padding: 25px 50px;
    text-align: center;
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
    border-radius: 10px;
    border: 2px solid #8fff42;
    background: linear-gradient(180deg, rgba(122, 202, 67, 0.95) 0%, rgba(67, 202, 89, 0.76) 100%);
    color: #fff;
}
.modal-info .close {
    position: absolute;
    right: 4px;
    top: 4px;
    font-size: 30px;
    line-height: 30px;
    width: 20px;
    height: 20px;
    color: #fff;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}


/* ============================================================
   PRŮVODCE — fancybox iframe (karta bez bílého přesahu)
   Průvodce se otevírá jako fancybox iframe z celého Fajn účtu,
   proto styling patří do globálního styly.css (ne do CSS jedné stránky),
   aby karta + blur vypadaly stejně na VŠECH stránkách kde se průvodce spustí.
   ============================================================ */
.fancybox__container.pruvodce-fancybox {
    --fancybox-bg: rgba(0, 0, 0, 0.5);
}
.fancybox__container.pruvodce-fancybox .fancybox__backdrop {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.fancybox__container.pruvodce-fancybox .fancybox__content {
    background: transparent;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}
.fancybox__container.pruvodce-fancybox .has-iframe .fancybox__content {
    width: 520px;
    max-width: calc(100vw - 2rem);
    /* vychozi vyska (fallback nez JS ohlasi skutecnou vysku karty z iframe pres postMessage);
       skutecnou vysku dle obsahu nastavi pruvodce_nastav_vysku() -> zadny orez ani scrollbar */
    height: 660px;
    max-height: calc(100vh - 2rem);
}
.fancybox__container.pruvodce-fancybox .fancybox__iframe {
    background: transparent;
}
.fancybox__container.pruvodce-fancybox .f-button.is-close-btn {
    display: none;
}
/* zadny vnejsi scrollbar okolo karty - slide/viewport nesmi scrollovat ani pridavat padding;
   vysku karty resi dynamicka vyska iframe (pruvodce_nastav_vysku pres postMessage) */
.fancybox__container.pruvodce-fancybox .fancybox__viewport,
.fancybox__container.pruvodce-fancybox .fancybox__slide {
    overflow: hidden;
}
.fancybox__container.pruvodce-fancybox .fancybox__slide {
    padding: 0;
}
.fancybox__container.pruvodce-fancybox .fancybox__slide.has-close-btn {
    padding-top: 0;
}

/* ============================================================
   MODAL - ucet neni aktivovany
   Vykresluje se primo do stranky (p.komp.s.neaktivni_ucet.php),
   zobrazuje se na vsech strankach FU dokud uchazec neaktivuje ucet.
   ============================================================ */

/* zamknuti scrollovani stranky pod modalem */
html.neaktiv-modal-open,
html.neaktiv-modal-open body {
    overflow: hidden;
}

.neaktiv-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
}

.neaktiv-modal__backdrop {
    position: absolute;
    inset: 0;
    background: hsl(222 47% 11% / 0.55);
    backdrop-filter: blur(3px);
}

.neaktiv-modal__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    /* vpravo uzsi padding - zbytek dorovna odsazeni scrollbaru (scrollbar-gutter) */
    padding: 1.75rem 1.25rem 1.75rem 1.75rem;
    box-sizing: border-box;
    background: hsl(var(--card));
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 3.5rem hsl(222 47% 11% / 0.28);
    text-align: center;
    animation: neaktivVyjezd 0.22s ease;

    /* Firefox - tenky scrollbar v barvach modalu */
    scrollbar-width: thin;
    scrollbar-color: hsl(215 20% 35% / 0.35) transparent;
    /* misto pro scrollbar se rezervuje vzdy - obsah pri objeveni neposkoci */
    scrollbar-gutter: stable;
}

/* ---- Scrollbar karty (WebKit/Blink) ---- */
.neaktiv-modal__box::-webkit-scrollbar {
    width: 0.5rem;
}

.neaktiv-modal__box::-webkit-scrollbar-track {
    background: transparent;
}

.neaktiv-modal__box::-webkit-scrollbar-thumb {
    background: hsl(215 20% 35% / 0.3);
    /* prstenec z barvy karty odsadi jezdce od okraje */
    border: 2px solid hsl(var(--card));
    border-radius: 9999px;
}

.neaktiv-modal__box::-webkit-scrollbar-thumb:hover {
    background: hsl(215 20% 35% / 0.5);
}

.neaktiv-modal__box::-webkit-scrollbar-corner {
    background: transparent;
}

@keyframes neaktivVyjezd {
    from { opacity: 0; transform: translateY(1rem) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Ikona ---- */
.neaktiv-modal__ikona {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    background: hsl(33 100% 50% / 0.1);
    border-radius: 50%;
    color: hsl(33 100% 50%);
}

.neaktiv-modal__ikona .lucide {
    width: 1.75rem;
    height: 1.75rem;
}

/* ---- Nadpis + text ---- */
.neaktiv-modal__nadpis {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.neaktiv-modal__text {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
}

/* ---- Hlavni tlacitka ---- */
.neaktiv-modal__akce {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

.neaktiv-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    flex: 1 1 auto;
    min-height: 2.875rem;
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.neaktiv-modal__btn:disabled {
    cursor: default;
    opacity: 0.75;
}

/* tmavsi modra - bily text na hsl(var(--accent)) ma jen 4.13:1 */
.neaktiv-modal__btn--primary {
    background: hsl(212 100% 42%);
    border: 1px solid hsl(212 100% 42%);
    color: hsl(var(--accent-foreground));
}

.neaktiv-modal__btn--primary:hover:not(:disabled) {
    background: hsl(212 100% 36%);
    border-color: hsl(212 100% 36%);
}

.neaktiv-modal__btn--ghost {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

/* ramecek ve firemni oranzove; text tmavsi kvuli citelnosti (4.53:1) */
.neaktiv-modal__btn--ghost:hover,
.neaktiv-modal__btn--aktivni {
    border-color: hsl(33 100% 50%);
    color: hsl(33 100% 50%);
    background: hsl(33 100% 50% / 0.1);
}

/* ---- Stavova hlaska po odeslani aktivacniho emailu ---- */
.neaktiv-modal__stav {
    margin: 0.875rem 0 0;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
}

.neaktiv-modal__stav--ok {
    background: hsl(var(--success) / 0.1);
    border: 1px solid hsl(var(--success) / 0.3);
    color: hsl(var(--success));
}

.neaktiv-modal__stav--chyba {
    background: hsl(var(--destructive) / 0.08);
    border: 1px solid hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

/* ---- Rychla aktivace pres social login ---- */
.neaktiv-modal__rychle {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid hsl(var(--border));
}

.neaktiv-modal__rychle-nadpis {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.neaktiv-modal__soc-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.neaktiv-modal__soc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.neaktiv-modal__soc-btn:hover {
    border-color: hsl(var(--accent));
    background: hsl(var(--accent) / 0.04);
    transform: translateY(-1px);
}

.neaktiv-modal__soc-ikona {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.neaktiv-modal__soc-ikona--gmail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M6 40h7V23.1L4 17v20c0 1.7 1.3 3 2 3z'/%3E%3Cpath fill='%2334A853' d='M35 40h7c.7 0 2-1.3 2-3V17l-9 6.1V40z'/%3E%3Cpath fill='%23FBBC05' d='M35 10H13L24 18.1 35 10z'/%3E%3Cpath fill='%234285F4' d='M13 10H6c-.7 0-2 1.3-2 3v4l9 6 9-6V10z'/%3E%3Cpath fill='%23EA4335' d='M44 13v4l-9 6-2-1.4L24 18.1 13 23l-9-6V13c0-1.7 1.3-3 2-3h7l11 8.1L35 10h7c.7 0 2 1.3 2 3z'/%3E%3C/svg%3E");
}

.neaktiv-modal__soc-ikona--seznam {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%23CC0000'/%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='white' font-size='22' font-weight='bold' font-family='Arial'%3ES%3C/text%3E%3C/svg%3E");
}

.neaktiv-modal__soc-ikona--apple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.05 12.65c.02-2.15 1.75-3.18 1.83-3.23-1-1.46-2.55-1.66-3.1-1.68-1.32-.14-2.58.78-3.25.78-.68 0-1.71-.76-2.81-.74-1.45.02-2.78.84-3.53 2.13-1.5 2.61-.38 6.47 1.08 8.59.72 1.04 1.57 2.2 2.7 2.16 1.08-.04 1.49-.7 2.8-.7 1.3 0 1.67.7 2.81.68 1.16-.02 1.9-1.05 2.61-2.1.82-1.2 1.16-2.37 1.18-2.43-.03-.01-2.26-.87-2.28-3.44z'/%3E%3Cpath fill='%23000' d='M14.94 6.32c.59-.72.99-1.71.88-2.7-.85.03-1.89.57-2.5 1.28-.55.63-1.03 1.64-.9 2.61.95.07 1.92-.48 2.52-1.19z'/%3E%3C/svg%3E");
}

.neaktiv-modal__soc-ikona--fb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%231877F2' d='M44 24c0-11-9-20-20-20S4 13 4 24c0 10 7.3 18.3 17 19.8V30h-5v-6h5v-4.5c0-5 3-7.8 7.6-7.8 2.2 0 4.4.4 4.4.4V17h-2.5c-2.5 0-3.2 1.5-3.2 3.1V24h5.5l-.9 6H27v13.8C36.7 42.3 44 34 44 24z'/%3E%3C/svg%3E");
}

/* ---- Kontaktni formular na podporu ---- */
.neaktiv-modal__podpora {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid hsl(var(--border));
    text-align: left;
}

.neaktiv-modal__podpora[hidden] {
    display: none;
}

.neaktiv-modal__podpora-nadpis {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.neaktiv-modal__podpora-lead {
    margin: 0 0 0.875rem;
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
}

.neaktiv-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

/* policka formulare (pohled qr_help) */
.neaktiv-modal__podpora .qr-help__field {
    margin-bottom: 0.625rem;
}

.neaktiv-modal__grid .qr-help__field {
    margin-bottom: 0;
}

.neaktiv-modal__podpora .qr-help__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.neaktiv-modal__podpora .qr-help__input,
.neaktiv-modal__podpora .qr-help__textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.625rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--muted) / 0.5);
    font-size: 0.8125rem;
    color: hsl(var(--foreground));
    font-family: inherit;
    transition: all 0.15s;
}

.neaktiv-modal__podpora .qr-help__input:focus,
.neaktiv-modal__podpora .qr-help__textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    background: white;
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.neaktiv-modal__podpora .qr-help__input--readonly {
    background: hsl(var(--primary) / 0.06);
    border-color: hsl(var(--primary) / 0.25);
    color: hsl(var(--foreground));
    font-weight: 500;
    cursor: default;
}

.neaktiv-modal__podpora .qr-help__input--readonly:focus {
    background: hsl(var(--primary) / 0.06);
    border-color: hsl(var(--primary) / 0.25);
    box-shadow: none;
}

.neaktiv-modal__podpora .qr-help__textarea {
    resize: vertical;
    min-height: 4rem;
    line-height: 1.45;
}

/* informace o zpracovani udaju (cl. 13 GDPR) */
.neaktiv-modal__gdpr {
    margin: 0.25rem 0 0.75rem;
    padding: 0.625rem 0.75rem;
    background: hsl(33 100% 50% / 0.1);
    border-left: 3px solid hsl(33 100% 50%);
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: hsl(var(--muted-foreground));
}

.neaktiv-modal__gdpr-odkaz {
    color: hsl(212 100% 42%);
    text-decoration: underline;
}

.neaktiv-modal__gdpr-odkaz:hover {
    color: hsl(212 100% 36%);
}

/* potvrzeni odeslani formulare */
.neaktiv-modal__done {
    margin: 0 0 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.neaktiv-modal__done--ok {
    background: hsl(var(--success) / 0.1);
    border: 1px solid hsl(var(--success) / 0.3);
    color: hsl(var(--success));
}

.neaktiv-modal__done--chyba {
    background: hsl(var(--destructive) / 0.08);
    border: 1px solid hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

/* odeslat */
.neaktiv-modal__podpora .qr-help__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    width: 100%;
    min-height: 2.75rem;
    margin-top: 0.25rem;
    padding: 0.6875rem 1rem;
    /* tmavsi modra - bily text na hsl(var(--accent)) ma jen 4.13:1 */
    background: hsl(212 100% 42%);
    border: none;
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: hsl(var(--accent-foreground));
    cursor: pointer;
    transition: background 0.15s;
}

.neaktiv-modal__podpora .qr-help__submit:hover:not(:disabled) {
    background: hsl(212 100% 36%);
}

.neaktiv-modal__podpora .qr-help__submit:disabled {
    cursor: default;
    opacity: 0.85;
}

/* ---- Mobil ---- */
@media (max-width: 480px) {
    .neaktiv-modal {
        padding: 0;
        align-items: flex-end;
    }

    .neaktiv-modal__box {
        max-width: none;
        max-height: 94vh;
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 1.25rem 1.25rem 0 0;
        animation: none;
    }

    .neaktiv-modal__akce {
        flex-direction: column;
    }

    .neaktiv-modal__btn {
        width: 100%;
    }

    .neaktiv-modal__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .neaktiv-modal__grid .qr-help__field {
        margin-bottom: 0.625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neaktiv-modal__box {
        animation: none;
    }

    .neaktiv-modal__soc-btn:hover {
        transform: none;
    }
}


/* =============================================================
   HLAVICKA — PRIHLASENY / NEPRIHLASENY STAV (Wrike 4579381803)
   1:1 z kodovani-ai fajnucet_cz/fu-header.css + prihlasovaci
   dropdown z fajn-prace (styly1.css .hvb-login*, styly.css souhlas)
   ============================================================= */
/* =======================================================
   HLAVIČKA — PŘIHLÁŠENÝ/ODHLÁŠENÝ STAV — Fajn Účet
   Ikony Uložené/Upozornění + user badge s odhlásit (port
   z Fajn Práce). Výchozí stav je přihlášený; odhlášený stav
   (tlačítko Přihlásit + login dropdown) se zobrazuje jen na
   prihlaseni.php přes $fuGuest — viz _header.php.
   Napojeno na design tokeny z obecne.css (--primary, --accent…).
   ======================================================= */

/* Menu (Hledám práci / Hledám brigádu / Kontakt) vystředěné
   mezi claimem loga a ikonami vpravo — jen na desktopu, kde je
   menu inline (od 992px) a .fu-user viditelná (od 1024px). */
@media (min-width: 1024px) {
	header .menu {
		flex: 1;
		display: flex !important;
		justify-content: center;
	}
	header .menu ul {
		justify-content: center;
	}
}

.fu-user {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

/* Do 1023px řeší Upozornění i Odhlásit spodní mobilní navigace
   (.mobile-bottomnav v _sidebar.php) — horní blok tam schováme,
   ať se funkce nezdvojují. */
@media (max-width: 1023px) {
	.fu-user {
		display: none;
	}
}

/* Mobilní blok — ikony Uložené nabídky/Upozornění + zmenšený avatar.
   Jediná stopa po přihlášení v horní hlavičce na mobilu; odhlásit
   zůstává jen ve spodní .mobile-bottomnav (panel „Více“). Na desktopu
   (kde je vidět plný ".fu-user") zůstává schovaný. */
.fu-user-mobile {
	display: none;
}

@media (max-width: 1023px) {
	.fu-user-mobile {
		display: flex;
		align-items: center;
		gap: 4px;
		margin-left: auto;
	}
}

.fu-ub-mobile {
	display: none;
}

@media (max-width: 1023px) {
	.fu-ub-mobile {
		display: block;
		position: relative;
		width: 34px;
		height: 34px;
		flex-shrink: 0;
	}

	.fu-ub-mobile__ring {
		position: absolute;
		inset: 0;
		width: 34px;
		height: 34px;
		transform: rotate(-90deg);
	}

	.fu-ub-mobile__ring-bg {
		fill: none;
		stroke: rgba(255, 255, 255, 0.35);
		stroke-width: 3;
	}

	.fu-ub-mobile__ring-fg {
		fill: none;
		stroke: #fff;
		stroke-width: 3;
		stroke-linecap: round;
	}

	.fu-ub-mobile__initials {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: 700;
		font-size: 11px;
		color: hsl(var(--primary));
		background: #fff;
		border-radius: 50%;
		margin: 4px;
	}
}

/* Ikony Uložené nabídky + Upozornění — hlavička má syté barevné
   pozadí, takže ikony dostávají bílé sklo, ať jsou dobře vidět. */
.fu-user__ikona {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
	flex-shrink: 0;
}

.fu-user__ikona:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.05);
}

.fu-user__ikona:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.fu-user__ikona svg {
	width: 20px;
	height: 20px;
}

/* Zmenšená varianta pro mobilní hlavičku — menší kruh, ať se ikony
   vejdou vedle avataru na užší obrazovce. */
.fu-user__ikona--mobile {
	width: 32px;
	height: 32px;
}

.fu-user__ikona--mobile svg {
	width: 17px;
	height: 17px;
}

/* Menší kruh = menší badge, jinak číslo přesahuje přes celou ikonu
   a překrývá ji (viz .fu-user__odznak níže, dimenzovaný na 38px kruh). */
.fu-user__ikona--mobile .fu-user__odznak {
	top: 2px;
	right: 2px;
	min-width: 14px;
	height: 14px;
	padding: 0 3px;
	font-size: 9px;
	line-height: 14px;
}

.fu-user__odznak {
	position: absolute;
	top: 6px;
	right: 6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	background: hsl(var(--accent));
	color: #fff;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

.fu-user__odznak--aktivni {
	min-width: 8px;
	height: 8px;
	top: 8px;
	right: 9px;
	padding: 0;
}

/* =======================================================
   ODHLÁŠENÝ STAV V HLAVIČCE — tlačítko Přihlásit se + dropdown
   se stejnými loginy jako formulář na prihlaseni.php.
   Vzor: InWork odpovědní formulář (bez firemní sekce — Fajn Účet
   je jen uchazečský portál).
   ======================================================= */
.fu-login {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.fu-login__guest[hidden],
.fu-user__badge[hidden] {
	display: none;
}

.fu-header__prihlasit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	margin-left: 10px;
	background: #fff;
	color: hsl(var(--primary));
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(255, 255, 255, 0.25);
	transition: transform 0.15s ease;
}
.fu-header__prihlasit:hover {
	transform: scale(1.03);
}
.fu-header__prihlasit svg {
	width: 16px;
	height: 16px;
}

.fu-login__drop {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 280px;
	display: none;
	background: #fff;
	border: 1.5px solid hsl(var(--primary));
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	z-index: 100;
}
.fu-login__drop.show {
	display: block;
	animation: fuLoginDropIn 0.18s ease-out;
}
@keyframes fuLoginDropIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

.fu-login__drop-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: hsl(var(--foreground));
}

.fu-login__upozorneni {
	padding: 10px 12px;
	margin-bottom: 10px;
	background: #fff3cd;
	border: 1px solid #ffeeba;
	border-radius: 6px;
	color: #856404;
	font-size: 13px;
	line-height: 1.4;
}

.fu-login__icons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.fu-login__soc {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	background: hsl(var(--muted));
	border: 1.5px solid hsl(var(--border));
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: hsl(var(--foreground));
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fu-login__soc:hover,
.fu-login__soc:focus {
	border-color: hsl(var(--primary));
	background: hsl(var(--primary) / 0.08);
	color: hsl(var(--primary));
	outline: none;
}

.fu-login__soc-ico {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.fu-login__soc-ico--email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%230074ff'/%3E%3Cpath stroke='white' stroke-width='2.5' fill='none' d='M8 14h32v20H8z'/%3E%3Cpath stroke='white' stroke-width='2.5' fill='none' d='M8 14l16 11L40 14'/%3E%3C/svg%3E");
}
.fu-login__soc-ico--gmail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M6 40h7V23.1L4 17v20c0 1.7 1.3 3 2 3z'/%3E%3Cpath fill='%2334A853' d='M35 40h7c.7 0 2-1.3 2-3V17l-9 6.1V40z'/%3E%3Cpath fill='%23FBBC05' d='M35 10H13L24 18.1 35 10z'/%3E%3Cpath fill='%234285F4' d='M13 10H6c-.7 0-2 1.3-2 3v4l9 6 9-6V10z'/%3E%3Cpath fill='%23EA4335' d='M44 13v4l-9 6-2-1.4L24 18.1 13 23l-9-6V13c0-1.7 1.3-3 2-3h7l11 8.1L35 10h7c.7 0 2 1.3 2 3z'/%3E%3C/svg%3E");
}
.fu-login__soc-ico--fb {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%231877F2' d='M44 24c0-11-9-20-20-20S4 13 4 24c0 10 7.3 18.3 17 19.8V30h-5v-6h5v-4.5c0-5 3-7.8 7.6-7.8 2.2 0 4.4.4 4.4.4V17h-2.5c-2.5 0-3.2 1.5-3.2 3.1V24h5.5l-.9 6H27v13.8C36.7 42.3 44 34 44 24z'/%3E%3C/svg%3E");
}
.fu-login__soc-ico--seznam {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%23CC0000'/%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='white' font-size='22' font-weight='bold' font-family='Arial'%3ES%3C/text%3E%3C/svg%3E");
}

@media (max-width: 600px) {
	.fu-header__prihlasit {
		padding: 8px;
		gap: 0;
	}
	.fu-header__prihlasit span {
		display: none;
	}
}

/* Odhlášený stav v mobilní hlavičce — místo avataru jednoduché kolečko
   s ikonou přihlášení; klik odscroluje na formulář na prihlaseni.php. */
.fu-ub-mobile--guest {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.16);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	padding: 0;
}
.fu-ub-mobile--guest svg {
	width: 18px;
	height: 18px;
}

/* User badge — avatar + jméno + odhlásit.
   Hlavička má syté oranžové/modré pozadí, takže badge dostává
   plné bílé pozadí + výrazný stín, ať proti němu jasně vystupuje. */
.fu-user__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 14px;
	padding: 7px 10px 7px 7px;
	margin-left: 10px;
	box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.fu-ub {
	position: relative;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	display: block;
	transition: transform 0.15s;
}

.fu-ub:hover { transform: scale(1.05); }

.fu-ub__ring {
	position: absolute;
	inset: 0;
	width: 40px;
	height: 40px;
	transform: rotate(-90deg);
}

.fu-ub__ring-bg {
	fill: none;
	stroke: hsl(var(--primary) / 0.2);
	stroke-width: 3;
}

.fu-ub__ring-fg {
	fill: none;
	stroke: hsl(var(--success));
	stroke-width: 3;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.4s ease;
}

.fu-ub__initials {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	color: hsl(var(--primary));
	background: #fff;
	border-radius: 50%;
	margin: 4px;
}

.fu-ub__pct {
	position: absolute;
	bottom: -4px;
	right: -4px;
	background: hsl(var(--success));
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	padding: 1px 5px;
	border-radius: 8px;
	border: 1.5px solid #fff;
	line-height: 1.2;
}

.fu-ub__info {
	min-width: 0;
	line-height: 1.2;
}

.fu-ub__name {
	font-size: 13px;
	font-weight: 700;
	color: hsl(var(--foreground));
	white-space: nowrap;
}

.fu-ub__status {
	font-size: 11px;
	color: hsl(var(--muted-foreground));
	margin-top: 1px;
	white-space: nowrap;
}

.fu-ub__logout {
	flex-shrink: 0;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	white-space: nowrap;
	transition: all 0.15s;
}

.fu-ub__logout:hover,
.fu-ub__logout:focus {
	background: hsl(var(--destructive) / 0.12);
	color: hsl(var(--destructive));
	border-color: hsl(var(--destructive) / 0.4);
	outline: none;
}

@media (max-width: 1100px) {
	.fu-ub__info { display: none; }
	.fu-ub__logout-label { display: none; }
	.fu-ub__logout {
		min-width: 36px;
		padding: 6px;
		justify-content: center;
	}
	.fu-user__badge {
		padding: 4px 6px 4px 4px;
		gap: 6px;
	}
}

/* =======================================================
   MODAL ODHLÁŠENÍ
   ======================================================= */
.fu-ub-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 3500;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.fu-ub-modal.open { display: flex; }

.fu-ub-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 41, 59, 0.5);
	backdrop-filter: blur(2px);
}

.fu-ub-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	max-width: 420px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(30, 41, 59, 0.3);
	animation: fuUbModalIn 0.2s ease-out;
	font-family: "Rubik", sans-serif;
}

@keyframes fuUbModalIn {
	from { opacity: 0; transform: translateY(8px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fu-ub-modal__title {
	font-size: 18px;
	font-weight: 800;
	color: hsl(var(--foreground));
	margin: 0 0 8px;
}

.fu-ub-modal__text {
	font-size: 14px;
	color: hsl(var(--muted-foreground));
	margin: 0 0 20px;
	line-height: 1.5;
}

.fu-ub-modal__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.fu-ub-modal__btn {
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	border: none;
	transition: all 0.15s;
}

.fu-ub-modal__btn--cancel {
	background: hsl(var(--muted));
	color: hsl(var(--foreground));
}

.fu-ub-modal__btn--cancel:hover { background: hsl(var(--border)); }

.fu-ub-modal__btn--confirm {
	background: hsl(var(--destructive));
	color: #fff;
}

.fu-ub-modal__btn--confirm:hover { background: hsl(var(--destructive) / 0.85); }

@media (max-width: 480px) {
	.fu-ub-modal__actions { flex-direction: column-reverse; }
	.fu-ub-modal__btn { width: 100%; }
}


/* ----- prihlasovaci dropdown (vzor fajn-prace horni_menu2) ----- */
.hvb-login__drop {
	--hvb-modra: #0074ff;
	--hvb-modra-tmava: #0058c4;
	--hvb-modra-svetla: #e6f1ff;
	--hvb-oranz: #ff8c00;
	--hvb-oranz-tmava: #cc7000;
	--hvb-oranz-svetla: #fff3e0;
	--hvb-seda-90: #f8fafc;
	--hvb-seda-80: #f1f5f9;
	--hvb-seda-60: #cbd5e1;
	--hvb-seda-40: #94a3b8;
	--hvb-seda-20: #475569;
	--hvb-seda-10: #1e293b;
}
/* =======================================================
   PŘIHLAŠOVACÍ DROPDOWN + USER BADGE + MODAL
   (port z inwork_cz odpovědní formulář varianta B)
   ======================================================= */

/* Slot pro přihlášení v hlavičce */
.hvb-login {
	position: relative;
	display: inline-flex;
	align-items: center;
}

/* GUEST stav — wrapper kolem tlačítka pro pozici dropdownu */
.hvb-login__guest {
	position: relative;
	display: inline-flex;
}

/* Dropdown panel — pod tlačítkem Přihlásit */
.hvb-login__drop {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 260px;
	display: none;
	background: #fff;
	border: 1.5px solid var(--hvb-modra);
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 100;
}

.hvb-login__drop.show {
	display: block;
	animation: hvbLoginDropIn 0.18s ease-out;
}

@keyframes hvbLoginDropIn {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hvb-login__drop-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hvb-seda-20);
}

/* =======================================================
   Dropdown se 2 sekcemi (uchazeč / firma)
   ======================================================= */
.hvb-login__drop { min-width: 320px; }

.hvb-login__sekce {
	padding: 4px 0;
}

.hvb-login__sekce-nadpis {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hvb-seda-10);
	letter-spacing: 0.01em;
}

.hvb-login__sekce-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	flex-shrink: 0;
}

.hvb-login__sekce-badge svg {
	width: 13px;
	height: 13px;
}

.hvb-login__sekce-badge--uchazec {
	background: var(--hvb-modra-svetla);
	color: var(--hvb-modra);
}

.hvb-login__sekce-badge--firma {
	background: var(--hvb-oranz-svetla);
	color: var(--hvb-oranz);
}

.hvb-login__sekce-podtitulek {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--hvb-seda-40);
	line-height: 1.4;
}

/* Oddělovač "nebo" mezi sekcemi */
.hvb-login__divider {
	position: relative;
	margin: 14px 0 12px;
	text-align: center;
	height: 1px;
	background: var(--hvb-seda-80);
}

.hvb-login__divider span {
	position: relative;
	top: -10px;
	padding: 0 10px;
	background: #fff;
	font-size: 11px;
	font-weight: 600;
	color: var(--hvb-seda-40);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Firma — tlačítko a CTA */
.hvb-login__firma-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	background: var(--hvb-oranz);
	color: #fff;
	border: none;
	border-radius: 9px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	box-shadow: 0 4px 10px -4px rgba(255, 140, 0, 0.4);
	text-decoration: none;
}

.hvb-login__firma-btn:hover {
	background: var(--hvb-oranz-tmava);
	transform: translateY(-1px);
}

.hvb-login__firma-btn svg {
	width: 14px;
	height: 14px;
}

.hvb-login__firma-vse {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-top: 8px;
	padding: 6px;
	font-size: 12px;
	color: var(--hvb-seda-20);
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.15s;
}

.hvb-login__firma-vse:hover {
	background: var(--hvb-oranz-svetla);
	color: var(--hvb-oranz-tmava);
}

.hvb-login__firma-vse strong {
	color: var(--hvb-oranz);
	font-weight: 600;
}

.hvb-login__firma-vse svg {
	width: 10px;
	height: 10px;
	color: var(--hvb-oranz);
}

/* Mobil popup — větší šířka pro 2 sekce */
@media (max-width: 480px) {
	.hvb-login__drop--mobile { width: min(94vw, 380px); }
	.hvb-login__divider { margin: 12px 0 10px; }
}

.hvb-login__icons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.hvb-login__soc {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	background: var(--hvb-seda-90);
	border: 1.5px solid var(--hvb-seda-60);
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--hvb-seda-20);
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	justify-content: flex-start;
	text-decoration: none;
}

.hvb-login__soc:hover,
.hvb-login__soc:focus {
	border-color: var(--hvb-modra);
	background: var(--hvb-modra-svetla);
	color: var(--hvb-modra);
	outline: none;
}

.hvb-login__soc-ico {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex-shrink: 0;
}

.hvb-login__soc-ico--email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%230074ff'/%3E%3Cpath stroke='white' stroke-width='2.5' fill='none' d='M8 14h32v20H8z'/%3E%3Cpath stroke='white' stroke-width='2.5' fill='none' d='M8 14l16 11L40 14'/%3E%3C/svg%3E");
}

.hvb-login__soc-ico--gmail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M6 40h7V23.1L4 17v20c0 1.7 1.3 3 2 3z'/%3E%3Cpath fill='%2334A853' d='M35 40h7c.7 0 2-1.3 2-3V17l-9 6.1V40z'/%3E%3Cpath fill='%23FBBC05' d='M35 10H13L24 18.1 35 10z'/%3E%3Cpath fill='%234285F4' d='M13 10H6c-.7 0-2 1.3-2 3v4l9 6 9-6V10z'/%3E%3Cpath fill='%23EA4335' d='M44 13v4l-9 6-2-1.4L24 18.1 13 23l-9-6V13c0-1.7 1.3-3 2-3h7l11 8.1L35 10h7c.7 0 2 1.3 2 3z'/%3E%3C/svg%3E");
}

.hvb-login__soc-ico--fb {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%231877F2' d='M44 24c0-11-9-20-20-20S4 13 4 24c0 10 7.3 18.3 17 19.8V30h-5v-6h5v-4.5c0-5 3-7.8 7.6-7.8 2.2 0 4.4.4 4.4.4V17h-2.5c-2.5 0-3.2 1.5-3.2 3.1V24h5.5l-.9 6H27v13.8C36.7 42.3 44 34 44 24z'/%3E%3C/svg%3E");
}

.hvb-login__soc-ico--seznam {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%23CC0000'/%3E%3Ctext x='50%25' y='55%25' dominant-baseline='middle' text-anchor='middle' fill='white' font-size='22' font-weight='bold' font-family='Arial'%3ES%3C/text%3E%3C/svg%3E");
}

.hvb-login__soc-ico--apple {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='8' fill='%23111'/%3E%3Cpath fill='white' d='M31.5 25.6c0-3.3 2.7-4.9 2.8-5-1.5-2.3-3.9-2.6-4.8-2.6-2-.2-4 1.2-5 1.2s-2.6-1.2-4.3-1.1c-2.2 0-4.2 1.3-5.4 3.3-2.3 4-.6 9.9 1.7 13.1 1.1 1.6 2.4 3.3 4.1 3.3 1.6-.1 2.3-1.1 4.2-1.1s2.5 1.1 4.2 1c1.7 0 2.8-1.6 3.9-3.2.8-1.1 1.4-2.4 1.8-3.5-1.9-.7-3.2-2.6-3.2-4.7zM28.2 15.9c.9-1.1 1.5-2.6 1.3-4.1-1.3.1-2.8.9-3.7 1.9-.8.9-1.5 2.4-1.3 3.9 1.4.1 2.8-.7 3.7-1.7z'/%3E%3C/svg%3E");
}


@media (max-width: 480px) {
	.hvb-login__drop {
		right: -8px;
		min-width: 240px;
	}
}

.fp-login__email-input {width: 100%;box-sizing: border-box;padding: 10px 12px;margin-bottom: 8px;background: #f8fafc;border: 1.5px solid #cbd5e1;border-radius: 10px;font-size: 13px;font-weight: 500;color: #475569;font-family: inherit;transition: border-color 0.15s, background 0.15s;}
.fp-login__email-input:focus {border-color: #006ae6;background: #fff;outline: none;}
.fp-login__email-input::placeholder {color: #94a3b8;font-weight: 400;}
.fp-login__code-panel {margin-top: 10px;padding-top: 10px;border-top: 1px solid #e2e8f0;display: flex;flex-direction: column;gap: 8px;}
.fp-login__code-panel input[type="text"], .fp-login__code-panel input[type="tel"] {width: 100%;box-sizing: border-box;padding: 10px 12px;background: #f8fafc;border: 1.5px solid #cbd5e1;border-radius: 10px;font-size: 13px;color: #475569;font-family: inherit;}
.fp-login__code-panel input:focus {border-color: #006ae6;background: #fff;outline: none;}
.fp-login__code-panel .answer-form__login-message {box-sizing: border-box;padding: 10px 12px;border-radius: 10px;background: #f8fafc;border: 1.5px solid #e2e8f0;font-size: 13px;font-weight: 600;line-height: 1.4;font-family: inherit;text-align: center;}
.answer-form__login-btn {width: 100%;padding: 10px 12px;background: #006ae6;border: none;border-radius: 10px;color: #fff;font-size: 13px;font-weight: 600;font-family: inherit;cursor: pointer;transition: background 0.15s;}
.answer-form__login-btn:hover, .answer-form__login-btn:focus {background: #005bca;outline: none;}
.fp-login__souhlas {display: flex;align-items: flex-start;gap: 8px;margin: 12px 0 4px;font-size: 12px;line-height: 1.4;color: #5a6472;cursor: pointer;}
.fp-login__souhlas-check {margin-top: 2px;flex: 0 0 auto;width: 16px;height: 16px;cursor: pointer;accent-color: #006ae6;}
.fp-login__souhlas a, .fp-login__souhlas a:hover, .fp-login__souhlas a:focus {color: #006ae6;text-decoration: underline;}
.fp-login__souhlas--chyba {color: #d9534f;}
.fp-login__souhlas--chyba .fp-login__souhlas-check {outline: 2px solid #d9534f;outline-offset: 1px;border-radius: 3px;}

/* Produkce ma v menu 5 odkazu (prototyp 3) - vedle odznaku uzivatele se nesmi zalamovat */
@media (min-width: 1024px) {
	header ul li a {
		white-space: nowrap;
	}
}
@media (min-width: 1024px) {
	.fu-logo-area,
	.fu-user {
		flex-shrink: 0;
	}
	.fu-header-claim {
		white-space: nowrap;
	}
	header .menu {
		min-width: 0;
	}
}
@media (min-width: 1024px) {
	header .menu {
		padding: 0 12px;
	}
	header .menu ul {
		gap: 0.25rem;
	}
	header ul li a {
		padding: 0.5rem 0.75rem;
		font-size: 1rem;
	}
}
@media (min-width: 1024px) and (max-width: 1149px) {
	header ul li a {
		padding: 0.5rem 0.5rem;
		font-size: 0.9375rem;
	}
}
/* uzsi desktop - u odznaku jen avatar + ikona odhlaseni (prototyp az pod 1100 px) */
@media (max-width: 1349px) {
	.fu-ub__info { display: none; }
	.fu-ub__logout-label { display: none; }
	.fu-ub__logout {
		min-width: 36px;
		padding: 6px;
		justify-content: center;
	}
	.fu-user__badge {
		padding: 4px 6px 4px 4px;
		gap: 6px;
	}
}

/* jmeno + stav u odznaku je odkaz na muj ucet */
a.fu-ub__info {
	display: block;
	text-decoration: none;
}
a.fu-ub__info:hover .fu-ub__name {
	color: hsl(var(--primary));
}


/* =========================================
   PATICKA — 1:1 z kodovani-ai fajnucet_cz/paticka.css
   (komponenta p.komp.s.paticka_portaly.php - homepage, prihlaseni, registrace)
   ========================================= */
/* =========================================
   paticka.css — Fajn Účet
   Patička webu — převzato z fajnskupina_cz/paticka-varianty.php,
   varianta G (portály nad modrou patičkou).
   ========================================= */

.pv-d {
	--d-modra: #0074ff;
	--d-modra-tmava: #016ae6;
	--d-oranz: #ff8b00;
	--d-oranz-tmava: #ea580c;
	--d-bila: #ffffff;
	--d-bila-soft: rgba(255, 255, 255, 0.88);
	--d-bila-muted: rgba(255, 255, 255, 0.7);
	--d-line: rgba(255, 255, 255, 0.24);
	--d-trans: 200ms ease-in-out;

	background: var(--d-modra);
	color: var(--d-bila);
	font-family: 'Rubik', system-ui, -apple-system, Segoe UI, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	overflow: hidden;
	margin-top: 0;
	padding: 48px 0 0;
	-webkit-font-smoothing: antialiased;
}

/* Zrušit obecné pravidlo `footer { display:flex; align-items:center; gap; padding }`
   z obecne.css — jinak se holder smrskne na šířku obsahu (~780 px místo 1240 px) */
footer.pv-d {
	display: block;
	gap: 0;
	padding: 48px 0 0;
}

.pv-d *,
.pv-d *::before,
.pv-d *::after { box-sizing: border-box; }

.pv-d__holder {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
	display: flex;
	flex-direction: column;
}

.pv-d a {
	color: var(--d-bila);
	text-decoration: none;
	transition: color var(--d-trans);
}

.pv-d a:hover,
.pv-d a:focus-visible {
	color: var(--d-oranz);
}

.pv-d a:focus-visible,
.pv-d button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
	border-radius: 6px;
}

/* ===== first-row: sloupce Uchazeči / O Fajn účtu / Právní dokumenty / Sleduj nás ===== */
.pv-d__first-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 0 0 32px;
}

.pv-d__first-row > div {
	flex: 1 0 calc(25% - 12px);
	max-width: calc(25% - 12px);
}

@media (max-width: 768px) {
	.pv-d__first-row > div {
		flex: 1 0 calc(50% - 8px);
		max-width: calc(50% - 8px);
		margin-bottom: 16px;
	}
}

@media (max-width: 480px) {
	.pv-d__first-row > div {
		flex: 1 0 100%;
		max-width: 100%;
	}
}

.pv-d__title {
	color: var(--d-oranz);
	font-weight: 600;
	font-size: 20px;
	line-height: 24px;
	margin: 0 0 16px;
}

.pv-d__title--center {
	text-align: center;
}

.pv-d__first-row ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pv-d__first-row ul li {
	line-height: 1.4;
	margin-bottom: 6px;
}

.pv-d__first-row ul li a {
	font-size: 15px;
	line-height: 26px;
	color: var(--d-bila);
}

.pv-d__first-row ul li a:hover {
	color: var(--d-oranz);
}

/* ===== Sloupec „Sleduj nás" — ikony sociálních sítí ===== */
.pv-d__social-wrapper--g {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 6px;
	list-style: none;
	padding: 0;
}

.pv-d__social-wrapper--g a {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--d-bila);
	border: 2px solid transparent;
	transition: background var(--d-trans), color var(--d-trans), border-color var(--d-trans);
}

.pv-d__social-wrapper--g a svg {
	width: 26px;
	height: 26px;
}

.pv-d__social-wrapper--g a:hover,
.pv-d__social-wrapper--g a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--d-oranz);
	color: var(--d-oranz);
}

@media (max-width: 768px) {
	.pv-d__title--center {
		text-align: left;
	}
	.pv-d__social-wrapper--g {
		justify-content: flex-start;
		flex-wrap: nowrap;
	}
	.pv-d__first-row > div:has(.pv-d__social-wrapper--g) {
		flex: 1 0 100%;
		max-width: 100%;
	}
}

/* =========================================================
   Portály naší skupiny — šedý blok NAD modrou patičkou
   ========================================================= */
.pv-f-portaly {
	background: #f1f5f9;
	padding: 28px 0 28px;
	font-family: 'Rubik', system-ui, -apple-system, Segoe UI, sans-serif;
	font-size: 15px;
	color: #1e293b;
}

.pv-f-portaly__holder {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
}

.pv-f-portaly__title {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 600;
	color: #0074ff;
	text-align: center;
}

.pv-f-portaly__seznam {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

/* 7 v řadě jako ve variantě G — 12 portálů na 2 řádky (7+5), neúplný řádek vycentrovaný */
.pv-f-portaly__seznam li {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	flex: 0 0 calc((100% - 6 * 8px) / 7);
	max-width: calc((100% - 6 * 8px) / 7);
}

@media (max-width: 1100px) {
	.pv-f-portaly__seznam li {
		flex: 0 0 calc((100% - 3 * 8px) / 4);
		max-width: calc((100% - 3 * 8px) / 4);
	}
}

@media (max-width: 768px) {
	.pv-f-portaly__seznam li {
		flex: 0 0 calc((100% - 2 * 8px) / 3);
		max-width: calc((100% - 2 * 8px) / 3);
	}
}

@media (max-width: 480px) {
	.pv-f-portaly__seznam li {
		flex: 0 0 calc((100% - 1 * 8px) / 2);
		max-width: calc((100% - 1 * 8px) / 2);
	}
}

.pv-f-portaly__seznam li > span {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	font-size: 15px;
	color: #475569;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	margin-bottom: 8px;
	hyphens: auto;
	-webkit-hyphens: auto;
}

.pv-f-portaly__seznam li > a {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
	text-decoration: none;
}

.pv-f-portaly__seznam li > a:hover,
.pv-f-portaly__seznam li > a:focus-visible {
	transform: translateY(-2px);
	border-color: #0074ff;
	box-shadow: 0 6px 16px -8px rgba(0, 116, 255, 0.35);
	outline: none;
}

.pv-f-portaly__odkaz--aktivni {
	border-color: #0074ff !important;
	box-shadow: 0 0 0 1px #0074ff inset;
}

.pv-f-portaly__logo {
	display: block;
	width: auto !important;
	height: 28px;
	max-width: 100%;
	object-fit: contain;
}

/* Flek logo je velmi široké (poměr ~4,7:1), proto nižší výška */
.pv-f-portaly__logo--flek {
	height: 16px;
}

/* Popisky jsou na desktopu jednořádkové — bez rezervy min-height */
@media (min-width: 1200px) {
	.pv-f-portaly__seznam li > span {
		min-height: 0;
	}
}

/* ===== Copyright řádek — na modrém pozadí, úplně dole ===== */
.pv-f-portaly--copy {
	background: var(--d-modra, #0074ff);
	padding-top: 0;
	padding-bottom: 52px;
}

.pv-f-copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 0;
	padding: 42px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	font-size: 15px;
	color: rgba(255, 255, 255, 0.88);
	text-align: center;
}

.pv-f-copy__sep {
	color: rgba(255, 255, 255, 0.5);
}

.pv-f-copy__srdce {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	font-weight: 600;
}

.pv-f-copy__srdce svg {
	color: #ff8b00;
}

/* =========================================================
   Mobil — kompaktnější patička
   ========================================================= */
@media (max-width: 768px) {
	/* menší svislé mezery v modré části */
	.pv-d,
	footer.pv-d {
		padding-top: 32px;
	}
	.pv-d__first-row {
		padding-bottom: 8px;
	}
	.pv-f-copy {
		padding-top: 20px;
	}
	.pv-f-portaly--copy {
		padding-bottom: 24px;
	}
}

@media (max-width: 480px) {
	/* odkazové sloupce po dvou vedle sebe (Uchazeči + O Fajn účtu,
	   Právní dokumenty + Sleduj nás) */
	.pv-d__first-row > div,
	.pv-d__first-row > div:has(.pv-d__social-wrapper--g) {
		flex: 1 0 calc(50% - 8px);
		max-width: calc(50% - 8px);
	}
	.pv-d__social-wrapper--g {
		flex-wrap: wrap;
		gap: 12px;
	}

	/* copyright — každá položka na vlastním řádku, bez oddělovačů */
	.pv-f-copy {
		flex-direction: column;
		gap: 4px;
	}
	.pv-f-copy__sep {
		display: none;
	}

	/* popisky portálů jsou na mobilu jednořádkové — bez rezervy na dva řádky */
	.pv-f-portaly__seznam li > span {
		min-height: 0;
	}
}

/* Stránky přihlášeného uživatele — spodní navigační lišta (.mobile-bottomnav,
   obecne.css) je fixní a překrývala by copyright */
@media (max-width: 1023px) {
	body:has(.mobile-bottomnav) .pv-f-portaly--copy {
		padding-bottom: calc(24px + 4.5rem + env(safe-area-inset-bottom));
	}
}

/* Info o odeslanem kodu v dropdownu prihlaseni - maly zeleny text nad polem pro kod */
.fu-login__kod-info {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: hsl(var(--success));
}
.fu-login__kod-info:empty {
	display: none;
}

/* Status hlaska (.modal-info) na mobilu - skoro pres celou sirku, at se text nelame po jednom slove */
@media (max-width: 640px) {
	.modal-info {
		width: calc(100% - 32px);
		max-width: none;
		padding: 18px 44px 18px 20px;
		font-size: 15px;
		line-height: 1.4;
		box-sizing: border-box;
	}
}
