html, body, #map {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Courier New", serif;
}

#map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#offscreen-pointer {
    position: absolute;
    transform-origin: center center;
    display: none;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1000;
}

.leaflet-top {
    top: 65px;
}

.logo {
    background: #142b41;
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: .8rem;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: .5rem 1.5rem;
    position: absolute;
    left: 1rem;
    text-align: center;
    text-decoration: none;
    top: 1rem;
    z-index: 1000;
}

.logo:hover {
    color: #b4b195;
}

.info {
    align-items: center;
    background: #142b41;
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: .8rem;
    bottom: 1rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: .8rem;
    font-weight: bold;
    height: 1.5rem;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    right: 1rem;
    text-align: center;
    text-decoration: none;
    transition: width 0.5s ease;
    width: 1.5rem;
    white-space: nowrap;
    z-index: 1000;
}

.info:hover {
    color: #b4b195;
}

.info.expanded {
    width: 8rem;
}

.info .expanded-content {
    display: none;
}

/* ------------------------ Admin ------------------------ */
footer {
    align-items: center;
    bottom: 10px;
    display: flex;
    justify-content: center;
    left: 0;
    position: absolute;
    width: 100%;
}

.progress-bar-container {
    width: 90%;
    background: #fff;
    background-clip: padding-box;
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    height: 1.5rem;
    overflow: hidden;
    z-index: 1000;
}

.progress-bar {
    align-items: center;
    background-color: #142b41;
    background-clip: padding-box;
    color: #fff;
    display: flex;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    transition: width 1s ease;
    white-space: nowrap;
    width: 0;
}

.total {
    align-items: center;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    display: flex;
    font-weight: bold;
    height: 5rem;
    justify-content: center;
    position: absolute;
    right: 1rem;
    text-align: center;
    top: 1rem;
    width: 8rem;
    z-index: 1000;
}




.osm-copyright {
    /*width: 50px;               !* startovací šířka *!*/
    /*height: 50px;*/
    /*background-color: #0d6efd;*/
    border-radius: 5px;
    cursor: pointer;
    transition: width 0.5s ease; /* plynulý přechod šířky */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: sans-serif;
    overflow: hidden;           /* text se objeví plynule */
    white-space: nowrap;        /* zabrání zalomení textu */
}

/* třída pro expandovaný stav */
.osm-copyright.expanded {
    width: 200px;
}
