.home-section .text {
    max-width: 1400px;
}

/* LIQUID GLASS VZHLED ÚVODNÍ STRÁNKY */
.home-page {
    --text: #17263d;
    --text-muted: #63748e;
    --pozadi-webu: #e8eef8;
    --pozadi-menu: rgba(255, 255, 255, 0.68);
    --odkazy: #246bce;
    --odkazy-hover: #124b9d;
    --oddelovac: rgba(85, 119, 166, 0.28);
    --pozadi-uvod: rgba(255, 255, 255, 0.42);
    --pozadi-prvku: rgba(255, 255, 255, 0.52);
    --prvek: #246bce;
    --prvek-hover: #1558b0;
    --footer: rgba(255, 255, 255, 0.56);
    --border: rgba(255, 255, 255, 0.76);
    --shadow: 0 24px 70px rgba(49, 78, 124, 0.18);
    --radius: 24px;

    background:
        radial-gradient(circle at 8% 4%, rgba(105, 196, 255, 0.58), transparent 28rem),
        radial-gradient(circle at 92% 22%, rgba(255, 189, 130, 0.42), transparent 25rem),
        linear-gradient(135deg, #f4f8ff 0%, #dce8f6 48%, #f9f7f2 100%);
}

.home-page .navigation {
    background: rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 40px rgba(45, 76, 121, 0.12);
}

.home-page .navigation .logo-name,
.home-page h2,
.home-page .navigation li:hover a .links-name,
.home-page .navigation li a.current .links-name {
    color: #17263d;
}

.home-page .home-section .text {
    color: var(--text);
}

.home-page #herniMody .herniMod {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34));
    border-color: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.home-page #herniMody .herniMod:hover {
    border-color: rgba(36, 107, 206, 0.46);
    box-shadow: 0 28px 70px rgba(49, 78, 124, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-page .tlacitko {
    color: #fff;
    background: linear-gradient(135deg, #2879df, #1558b0);
    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(36, 107, 206, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-page .tlacitko:hover {
    background: linear-gradient(135deg, #3a8ae9, #1c66c6);
}

.home-page .popup-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(232, 241, 252, 0.74));
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 80px rgba(25, 53, 98, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(28px) saturate(135%);
    -webkit-backdrop-filter: blur(28px) saturate(135%);
}

.home-page .popup-content h2,
.home-page .popup-content h3,
.home-page .popup-content span,
.home-page .popup-content p {
    color: var(--text);
}

.home-page > footer {
    background: rgba(255, 255, 255, 0.54);
}

/* KONEC LIQUID GLASS VZHLEDU */

/* NOVÁ DOMOVSKÁ STRÁNKA */
.home-page {
    --home-ink: #14233f;
    --home-muted: #66738b;
    --home-paper: #f4f1eb;
    --home-card: #fffdf8;
    --home-blue: #315fe7;
    --home-coral: #f47d62;
    --home-lime: #d7ed72;
    --home-line: #d8d5cf;
    background: var(--home-paper);
    color: var(--home-ink);
}

.home-page .navigation {
    position: absolute;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.home-page .navigation-content {
    max-width: 1240px;
    margin: 0 auto;
}

.home-page .navigation .logo-name,
.home-page .navigation li a .links-name,
.home-page .navigation li:hover a .links-name,
.home-page .navigation li a.current .links-name {
    color: var(--home-ink);
}

.home-page .navigation li a:after {
    background-color: var(--home-coral);
}

.home-page .home-section .text {
    max-width: 1240px;
    padding: 0 32px;
}

.home-hero {
    min-height: min(690px, calc(100vh - 80px));
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
    padding: 100px 0 90px;
}

.home-hero-copy {
    max-width: 700px;
    animation: home-rise 0.7s ease both;
}

.hero-kicker,
.section-kicker {
    margin-bottom: 22px;
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    color: var(--home-ink);
    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 530px;
    margin-bottom: 34px;
    color: var(--home-muted);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    color: #fff !important;
    background: var(--home-blue);
    border-radius: 4px;
    box-shadow: 8px 8px 0 var(--home-coral);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-action:hover,
.hero-action:focus-visible {
    color: #fff !important;
    transform: translate(3px, 3px);
    box-shadow: 5px 5px 0 var(--home-coral);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(280px, 1fr) minmax(220px, 0.8fr);
    gap: 30px;
    align-items: end;
    padding: 54px 0 34px;
    border-top: 1px solid var(--home-line);
}

.section-heading .section-kicker {
    align-self: start;
    margin-top: 12px;
}

.section-heading h2 {
    margin: 0;
    color: var(--home-ink);
    text-align: left;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.section-heading > p:last-child {
    max-width: 300px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.55;
}

.home-page #herniMody .herniMody-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
        'celaCR krajeCR'
        'vlastniMisto specifickaMista';
    gap: 18px;
}

.home-page #herniMody .herniMod {
    min-height: 330px;
    padding: 28px;
    text-align: left;
    background: var(--home-card);
    border: 1px solid var(--home-line);
    border-radius: 4px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page #herniMody .herniMod:before {
    content: "";
    display: block;
    width: 36px;
    height: 5px;
    margin-bottom: 38px;
    background: var(--home-coral);
}

.home-page #herniMody .herniMod:nth-child(2):before {
    background: var(--home-blue);
}

.home-page #herniMody .herniMod:nth-child(3):before {
    background: var(--home-lime);
}

.home-page #herniMody .herniMod:nth-child(4):before {
    background: var(--home-ink);
}

.home-page #herniMody .herniMod:hover {
    transform: translateY(-6px);
    border-color: var(--home-ink);
    box-shadow: 10px 10px 0 var(--home-coral);
}

.home-page .herniMod .info h3 {
    margin-bottom: 12px;
    color: var(--home-ink);
    font-size: 25px;
    letter-spacing: -0.03em;
}

.home-page .herniMod .info p {
    color: var(--home-muted);
    line-height: 1.6;
}

.home-page .herniMod .tlacitko-wrapper {
    justify-content: flex-start;
}

.home-page .tlacitko {
    padding: 11px 22px;
    color: #fff;
    background: var(--home-ink);
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    font-size: 15px;
}

.home-page .tlacitko:hover {
    background: var(--home-blue);
    transform: translateY(-2px);
}

.home-page:not(.stats-page) #statistiky,
.home-page:not(.stats-page) #historie {
    border-top: 1px solid var(--home-line);
}

.home-page:not(.stats-page) #statistiky,
.home-page:not(.stats-page) #historie {
    display: none;
}

.stats-section {
    padding-top: 40px;
}

.stats-intro {
    display: grid;
    grid-template-columns: 0.55fr 1fr 0.8fr;
    gap: 30px;
    align-items: end;
    padding: 90px 0 70px;
    border-bottom: 1px solid var(--home-line);
}

.stats-intro .section-kicker {
    align-self: start;
    margin-top: 12px;
}

.stats-intro h1 {
    color: var(--home-ink);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.stats-intro > p:last-child {
    max-width: 320px;
    color: var(--home-muted);
    line-height: 1.6;
}

.stats-page #statistiky,
.stats-page #historie {
    display: block;
}

.stats-page #statistiky {
    padding-top: 70px;
}

.stats-page #historie {
    padding-bottom: 80px;
}

@media (max-width: 800px) {
    .stats-intro {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 55px 0 48px;
    }

    .stats-intro > p:last-child {
        max-width: 520px;
    }
}

.home-page #statistiky h2,
.home-page #historie h2 {
    color: var(--home-ink);
    text-align: left;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    letter-spacing: -0.05em;
}

.home-page #statistiky .grid > div {
    min-height: 130px;
    background: var(--home-ink);
    border: 0;
    border-radius: 4px;
    box-shadow: none;
}

.home-page #statistiky .grid .statistika,
.home-page #statistiky .grid .statistika-text {
    color: #fff;
}

@keyframes home-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
    .home-page .home-section .text {
        padding: 0 20px;
    }

    .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 58px;
        padding: 62px 0 76px;
    }

    .home-hero h1 {
        font-size: clamp(3.1rem, 14vw, 5.5rem);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-heading > p:last-child {
        max-width: 500px;
    }

    .home-page #herniMody .herniMody-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            'celaCR'
            'krajeCR'
            'vlastniMisto'
            'specifickaMista';
    }
}

@media (max-width: 480px) {
    .home-page .home-section .text {
        padding: 0 16px;
    }

    .home-hero {
        padding-top: 42px;
    }

    .home-hero h1 {
        font-size: 3.2rem;
    }

    .home-page #herniMody .herniMod {
        min-height: 300px;
        padding: 24px;
    }
}

/* KONEC NOVÉ DOMOVSKÉ STRÁNKY */



/* HERNÍ MÓDY */

#herniMody .herniMody-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    /*place-items: center;*/

    grid-template-areas:
    'celaCR krajeCR vlastniMisto specifickaMista';

    column-gap: 40px;
}

#herniMody .herniMod {
    padding: 22px;
    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(22, 43, 51, 0.92), rgba(13, 29, 35, 0.88));
    box-shadow: var(--shadow);
    min-height: 360px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#herniMody .herniMod:hover {
    transform: translateY(-5px);
    border-color: rgba(85, 214, 194, 0.55);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36);
}

#herniMody .herniMod.popup-open {
    transform: none;
}

#herniMody #celaCR {
    grid-area: celaCR;
}

#herniMody #krajeCR {
    grid-area: krajeCR;
}

#herniMody #vlastniMisto {
    grid-area: vlastniMisto;
}

#herniMody #specifickaMista {
    grid-area: specifickaMista;
}

.herniMod .info {
    margin-bottom: 40px;
}

/* KONEC HERNÍCH MÓDŮ */



/* MAPA SVG V POPUP OKNĚ */

.mapdiv {
    width: 100%;
    margin: auto;
}

.mapdiv path {
    fill: var(--prvek);
    stroke: var(--pozadi-prvku);
    stroke-width: 4px;
    transition: fill 0.3s;
}

.mapdiv path:hover {
    fill: var(--prvek-hover);
}

.mapdiv path.selected {
    fill: #58350f !important;
}

/* KONEC MAPY SVG V POPUP OKNĚ */



/* MAPA MAPY.CZ V POPUP OKNĚ */

#mapa-kontejner {
    height: 360px;
    width: 100%;
    margin: auto;

    border: 1px dashed #fff;
    border-radius: 10px;
}

#mapa {
    position: relative;
    overflow: hidden;
    
    height: 100%;
    background: #ccc;
    border-radius: 10px;

    cursor: crosshair;

    z-index: 1;
}

.smap img {
    z-index: 5;
    position: relative;
}

.button-group {
    font-size: 0px;
}

/* KONEC MAPY MAPY.CZ V POPUP OKNĚ */



/* SLIDERY V POPUP OKNĚ */

input[type="range"] {
    -webkit-appearance: none;
    appearance: none; 
    width: 100%;
    outline: none;
    border-radius: 15px;
    height: 6px;
    background: var(--text);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none; 
    height: 30px;
    width: 30px;
    background: url("../img/loga/logo.svg");
    background-size: cover;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    transform: rotateZ(var(--thumb-rotate, 0deg));

    transition: box-shadow 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 10px rgba(105, 63, 17, 0.2);
}

input[type="range"]:active::-webkit-slider-thumb,
input[type="range"]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 13px rgba(105, 63, 17, 0.3);
}

/* TABULKA PRO SLIDERY */

.slidery {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
}

.slidery td {
    padding: 6px;
    /*border: 1px black solid;*/
    white-space: nowrap;
}

.slidery input {
    font-family: "Poppins", sans-serif, "Noto Color Emoji";
    background-color: var(--text);
}

/* KONEC SLIDERŮ V POPUP OKNĚ */



/* SWITCHE V POPUP OKNĚ */

.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

input:checked + .switch-round {
    background-color: var(--prvek);
}

input:checked + .switch-round:before {
    left: calc(100% - 32px);
    transform: rotateZ(360deg);
}

.switch-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text); 
    border-radius: 34px;

    transition: 0.3s;
}

.switch-round:before {
    content: "";

    position: absolute;
    left: 2px;
    bottom: 2px;
    transform: rotateZ(0deg);

    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50%;
    height: 30px;
    width: 30px;

    transition: 0.3s; 
}

/* OBTÍŽNOSTI */

#pohyb:before {
    background-image: url("../img/switche/pohyb.svg");
}

#otaceni:before {
    background-image: url("../img/switche/otaceni.svg");
}

#zoom:before {
    background-image: url("../img/switche/zoom.svg");
}

/* NÁPOVĚDY */

#vzdalenost:before {
    background-image: url("../img/switche/vzdalenost.svg");
}

#smer:before {
    background-image: url("../img/switche/smer.svg");
}

#kruh:before {
    background-image: url("../img/switche/kruh.svg");
}

#oblast:before {
    background-image: url("../img/switche/oblast.svg");
}

/* TABULKA PRO SWITCHE (OBTÍŽNOSTI, NÁPOVĚDY, DRUH MAPY) */

.switche {
    border-collapse: collapse;
}

.switche td {
    text-align: center;
    padding: 6px;
    /*border: 1px black solid;*/
    white-space: nowrap;
}

.switche input {
    font-family: "Poppins", sans-serif, "Noto Color Emoji";
    background-color: var(--text);
}

/* KONEC SWITCHŮ V POPUP OKNĚ */



/* DRUHY MAPY V POPUP OKNĚ */

.image-selector {
    cursor: pointer;
    display: inline-block;
}

.image-selector img {
    width: 70px;
    height: 70px;
    border: 3px solid transparent;
    border-radius: 10px;
    vertical-align: middle;
}

.image-selector.selected img {
    border-color: var(--prvek);
    /*filter: sepia(100%);*/
}


.table-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* KONEC DRUHŮ MAP V POPUP OKNĚ */



/* POPUP OKNO */

.popup {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 11, 14, 0.72);
    backdrop-filter: blur(8px);
 
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.4s;

    pointer-events: none;
}

.popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10000;
}

.popup-content {
    position: relative;
    background: linear-gradient(150deg, #12262e, #0b171c);
    width: min(800px, calc(100vw - 32px));
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-y: auto;

    /*top: 50px;*/
    max-height: calc(100vh - 32px);

    transform: scale(0);
    transition: 0.4s;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;

    height: 26px;
    width: 26px;
}

.btn-close {
    color: var(--text);
    font-size: 26px;
    text-align: center;
    cursor: pointer;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

    transition: 0.5s ease;
}

.btn-close:hover {
    color: #fff;
}

/* KONEC POPUP OKNA */



/* TLAČÍTKO HRÁT A ZAPNOUT HRU */

.tlacitko-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s;
}

.tlacitko {
    font-size: 22px;
    color: #101a1d;
    background-color: var(--prvek);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(232, 137, 74, 0.2);
    cursor: pointer;

    transition: all 0.3s;
}

.tlacitko:hover {
    background-color: var(--prvek-hover);
    transform: translateY(-2px);
}

/* KONEC TLAČÍTKA HRÁT A ZAPNOUT HRU */



/* UPOZORNĚNÍ NEVYBRÁNÍ SI URČITÉHO MÍSTA */

.neni-CelaCR,
.neni-KrajeCR,
.neni-VlastniMisto,
.neni-SpecifickaMista {
    padding: 10px;
    width: 240px;
}

/* KONEC UPOZORNĚNÍ NEVYBRÁNÍ SI URČITÉHO MÍSTA */



/* NAŠEPTÁVAČ MÍST V POPUP OKNĚ */

.vyhledavac {
    display: flex;
    justify-content: center;
}

.vyhledavac input {
    width: 500px;
    height: 40px;

    font-size: 16px;
    font-weight: 400;
    background-color: var(--pozadi-prvku);
    border: 1px dashed var(--text);
    padding: 10px;
}

.vyhledavac input:focus {
    outline-style: none;
    border-color: #fff;
}


#vyhledavacMistaVysledky {
    width: 500px;
    background-color: var(--pozadi-prvku);
    border: 1px dashed #fff;
    border-radius: 0 0 3px 3px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
    margin-top: 39px;

    position: absolute;
    z-index: 2;

    display: none;
}

#vyhledavacMistaVysledky > li {
    border-top: none;
    border-bottom: 1px dashed #fff;
    padding: 0px 10px;

    list-style-type: none;
    min-height: 50px;

    color: var(--text);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#vyhledavacMistaVysledky > li:hover {
    background-color: var(--pozadi-uvod);
    cursor: pointer;
}

/* KONEC NAŠEPTÁVAČE V POPUP OKNĚ */



/* STATISTIKY */

#statistiky .info {
    text-align: center;
    margin-bottom: 40px;
}

#statistiky .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;

    column-gap: 20px;
    row-gap: 20px;
}

#statistiky .grid > div {
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 112px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36));
    box-shadow: 0 16px 36px rgba(49, 78, 124, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

#statistiky .grid .statistika {
    color: var(--text);
    font-size: 26px;
    font-weight: 700;
}

#statistiky .grid .statistika-text {
    font-size: 12px;
}

/* KONEC STATISTIK */



/* TABULKA HISTORIE HER */

#historie .historieHer {
    width: 100%;
    overflow-x: auto;

    margin-bottom: 20px;
}

#historie #historieTabulka {
    background-color: rgba(255, 255, 255, 0.48);

    margin: 0 auto;
    width: 100%;

    font-size: 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius);
   
    /* Don't change these properties */
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

#historie #historieTabulka thead th:not(:last-child),
#historie #historieTabulka tbody td:not(:last-child) {
    border-right: 1px solid var(--border);
}

#historie #historieTabulka thead th,
#historie #historieTabulka tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
}

#historie #historieTabulka th,
#historie #historieTabulka td {
    text-align: center;
    padding: 10px 20px;
    white-space: nowrap;
}

#historie #historieTabulka th {
    color: var(--odkazy);
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
    user-select: none;
}

#historie #historieTabulka th > div {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    width: max-content;
    margin: 0 auto;
}

#historie #historieTabulka th i {
    display: none;

    position: absolute;
    left: 100%;
    transform: translateX(-50%);
    margin-left: 10px;
}

#historie #historieTabulka th.serazeno-asc i.bx-up-arrow-alt,
#historie #historieTabulka th.serazeno-desc i.bx-down-arrow-alt {
    display: block;
}

#historie .obtiznosti {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

#historie .obtiznosti img {
    height: 24px;
    width: 24px;
}

/* KONEC TABULKY HISTORIE HER */



/* POČET ŘÁDKŮ NA STRÁNKU A EXPORT IMPORT */

#historie .radkyExport {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}

#historie .pocetRadkuNaStranku {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    font-size: 16px;
}

#historie .pocetRadkuNaStranku select {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 70px;
    height: 30px;
    font-size: 16px;

    background-color: var(--pozadi-uvod);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;

    padding-left: 8px;

    transition: all 0.3s;
}

#historie .pocetRadkuNaStranku select:hover {
    border-color: white;
}

#historie .pocetRadkuNaStranku select:focus {
    outline: none;
}

#historie .exportImport {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px
}

#historie .exportImport button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    height: 30px;
    font-size: 16px;

    background-color: var(--pozadi-uvod);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;

    cursor: pointer;

    transition: all 0.3s;
}

#historie .exportImport button p,
#historie .exportImport button i {
    transition: all 0.3s;
}

#historie .exportImport button:hover {
    border-color: white;
}

#historie .exportImport button:hover p,
#historie .exportImport button:hover i {
    color: white;
}

/* KONEC POČET ŘÁDKŮ NA STRÁNKU A EXPORT IMPORT */



/* POČET STRÁNEK A TLAČÍTKA VPŘED A VZAD */

#historie .radkySipky {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#historie .radky {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    font-size: 16px;
}

#historie .sipky {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

#historie .stranky {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#historie .sipky button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 30px;
    height: 30px;
    font-size: 16px;

    background-color: var(--pozadi-uvod);
    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;
    user-select: none;

    transition: all 0.3s;
}

#historie .sipky button:hover,
#historie .stranky button.aktualniStranka {
    border-color: white;
    color: white;
}

#historie .sipky button:hover i {
    color: white;
}

#historie .sipky button i {
    border-radius: 10px;

    transition: all 0.3s;
}

#historie .sipky button.limit {
    background-color: var(--pozadi-menu);
    border-color: var(--text);
    cursor: default;
}

#historie .sipky button.limit i {
    color: var(--text);
}

/* KONEC POČET STRÁNEK A TLAČÍTKA VPŘED A VZAD */



/* SWITCHE MÍSTA V POPUP OKNĚ */

.misto {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    user-select: none;
}

.misto input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.misto .checkmark {
    position: relative;
    cursor: pointer;

    border: 2px solid transparent;
    background-color: var(--pozadi-uvod);
    height: 30px;
    min-width: 30px;
    border-radius: 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: none;
}

.misto .checkmark span.material-icons {
    display: none;
    color: #fff;
    font-size: 22px;
}

.misto .checkmark:hover {
    border-color: var(--prvek);
    background-color: var(--pozadi-prvku);
}

.misto input[type="checkbox"]:checked + .checkmark {
    border-color: var(--prvek);
    background-color: var(--prvek);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--prvek) 28%, transparent);
}

.misto .checkmark.is-selected {
    border-color: var(--prvek);
    background-color: var(--prvek);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--prvek) 28%, transparent);
}

.misto input[type="checkbox"]:focus-visible + .checkmark {
    outline: 3px solid var(--odkazy);
    outline-offset: 3px;
}

.misto input[type="checkbox"]:checked + .checkmark span {
    display: block;
}

/* KONEC SWITCHŮ MÍSTA V POPUP OKNĚ */
