.mapa-chatky {
    display: flex;
    gap: 50px;
}
.okoli {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: end;
}
@media (max-width: 1000px) {
    .okoli {
        display: none;
    }
}
.bazen, .hriste, .chatka, .cesta {
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(14px, 2vw, 20px);
}
.bazen {
    background: rgb(150, 199, 255);
    height: 40%;
    border: 2px solid rgb(150, 150, 150);
    width: 100%;
}
.hriste {
    background-color: rgb(241, 241, 241);;
    height: 60%;
    border: 2px solid rgb(150, 150, 150);
    width: 75%;
}
.chatky {
    flex: 5;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 12px 5px;
    justify-items: center;
    width: 100%;
}
@media (max-width: 600px) {
    .chatky {
        gap: 5px 0px;
    }
    .chatka {
        min-width: 7.5vw !important;
    }
    .chatka .tooltip {
        max-width: 200%;
        padding: 3px 5px;
    }
}
.chaty-wrapper {
    width: 100%;         
    overflow-y: visible; 
    padding-top: 100px;
    margin-top: -60px;
    max-width: 100%;
    overflow-clip-margin: 50px;
}
@media (max-width: 750px) {
    .chaty-wrapper {
        overflow-x: scroll;    
    }
    .chaty {
        padding-left: 10px;
    }
}
.chaty {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 700px;
    gap: 15px 10px;
    padding-bottom: 20px;
}
.chatka {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 55px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    overflow: visible;
    transition: transform 0.3s;
    user-select: none;
    min-width: 15px;
    min-height: 15px;
}
.chata {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 55px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    overflow: visible;
    transition: 0.3s all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    min-width: 50px;
    flex: 3;
}

.chata.hlavni {
    flex: 2;
}

#osetrovna .rada {
    display: flex;
    gap: 5px;
    width: 100%;
}

#osetrovna .leva-cast,
#osetrovna .prava-cast {
    display: flex;
    gap: 5px;
    flex: 8;
    margin-bottom: 5px;
}

@media (max-width: 500px) {
    #osetrovna .leva-cast,
    #osetrovna .prava-cast,
    #osetrovna .rada {
        gap: 2px;
    }
}

#osetrovna .chodba-1 {
    flex: 1;
    position: relative;
    border-left: 1px solid rgb(200, 200, 200);
    border-right: 1px solid rgb(200, 200, 200);
    background-color: rgb(241, 241, 241);
    margin: 5px 5px 0px 5px;
}

#osetrovna .chodba-1::after {
    content: "";
    position: absolute;
    width: 100%;
    background-color: rgb(241, 241, 241);
    height: 3px;
    bottom: -2px;
}

#osetrovna .chodba-2 {
    border-top: 1px solid rgb(200, 200, 200);
    border-bottom: 1px solid rgb(200, 200, 200);
    background-color: rgb(241, 241, 241);
    height: 50px;
    width: 100%;
    margin: 0px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
}

#osetrovna .sprcha {
    background-color: rgb(241, 241, 241);
    border: 2px solid rgb(150, 150, 150);
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.postele {
    color: white;
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    padding: 5px;
}

@media (max-width: 700px) 
{
    .postele, .sprcha {
        display: none !important;
    }
    #osetrovna .chodba-2 {
        height: 25px;
    }
}

.postele i {
    font-size: clamp(5px, 2vw, 20px);
}

.vybaveni {
    position: absolute;
    bottom: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: clamp(8px, 2vw, 16px);
}

#osetrovna .chodba-mezera {
    flex: 1;
    border-bottom: 1px solid rgb(200, 200, 200);
}

#osetrovna .ostatni {
    display: flex;
    flex-direction: column;
    flex: 55;
    gap: 5px;
}

#osetrovna .pokoj.krajni {
    aspect-ratio: unset;
    max-height: none;
}

.hlavni-chodba {
    display: flex;
}

.hlavni-chodba .pokoj {
    height: fit-content;
    aspect-ratio: unset;    
}

#osetrovna .pokoj {
    aspect-ratio: 2 / 3;
    max-height: 200px;
}
.pokoj {
    max-height: 150px;
    aspect-ratio: 2 / 3;
    position: relative;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    overflow: visible;
    transition: 0.3s all;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    min-width: 10px;
}

.pokoj .tooltip {
    bottom: 105%;
}

.capacity-4, .pokoj.krajni {
    flex: 10;
}
.capacity-3 {
    flex: 8;
}
.capacity-2 {
    flex: 7;
}
.chata::before {
    background: rgb(220, 220, 220);
}

.leva, .prava, .stred {
    position: relative;
    text-align: center;
    max-width: 100%;
    font-size: clamp(12px, 1.7vw, 20px);
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
}
.oddelovac {
    border: 1px solid black;
    height: 100%;
}
.chatka.free, .leva.free, .prava.free, .stred.free, .pokoj.free {
    background-color: #6ac56e;
    border: 2px solid #43a849;
    cursor: pointer;
}
.pokoj.free {
    border: 4px solid #43a849;
}
.chatka.selected, .leva.selected, .prava.selected, .stred.selected, .pokoj.selected {
    background: #a5ca20 !important;
    border-color: #90b118 !important;
}
.chatka.selected::before {
    background: linear-gradient(to bottom, #9ebf28, #93b221) !important;
}
.chatka.free::before, .chata.free::before {
    background: linear-gradient(to bottom, #43a849, rgb(66, 173, 69));
}
.chatka.pending, .leva.pending, .prava.pending, .stred.pending, .pokoj.pending {
    background: linear-gradient(180deg,#ffb74d,#ffa726);
    border: 2px solid #fda31b;
    cursor: not-allowed;
}
.pokoj.pending {
    border: 4px solid #fda31b;
}
.chatka.pending::before, .leva.pending:before {
    background: linear-gradient(to bottom, #fda31b, rgb(241, 133, 0));
}
.chatka.confirmed, .leva.confirmed, .prava.confirmed, .stred.confirmed, .pokoj.confirmed {
    background-color: #ef6a6a;
    border: 2px solid #ff4848;
    cursor: not-allowed;
}
.pokoj.confirmed {
    border: 4px solid #ff4848;
}
.chatka.confirmed::before {
    background: linear-gradient(to bottom, #ff4848, rgb(212, 39, 37));
}
.chatka.unavailable, .pokoj, .leva.unavailable, .prava.unavailable, .stred.unavailable {
    background-color: #c4c4c4;
    border: 2px solid #8d8d8d;
    cursor: not-allowed;
}
.pokoj.unavailable {
    border: 4px solid #8d8d8d;
}
.chatka.unavailable::before {
    background: linear-gradient(to bottom, #8d8d8d, #797979);
}
.chatka::before, .chata::before {
    content: "";
    position: absolute;
    top: -50%; 
    left: 50%;
    transform: translateX(-50%);
    width: 120%; 
    height: 50%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    z-index: 0;
}
.tooltip {
    position: absolute;
    bottom: 152%;
    left: 50%;
    transform: translateX(-50%);
    background: #333333de;
    color: #fff;
    padding: 3px 5px;
    border-radius: 4px;
    font-size: clamp(12px, 2vw, 16px);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
    max-width: 150%;
}

.chatka:hover .tooltip,
.chatka:focus .tooltip,
.leva:hover .tooltip,
.leva:focus .tooltip,
.prava:hover .tooltip,
.prava:focus .tooltip,
.stred:hover .tooltip,
.stred:focus .tooltip,
.pokoj:focus .tooltip,
.pokoj:hover .tooltip {
  opacity: 1;
}
.chatka.free:hover, .chata:not(.shake):hover, .pokoj.free:hover {
    transform: translateY(-5px);
}
.chatka.pending:hover, .chatka.confirmed:hover, .chatka.unavailable:hover, .chata.shake:hover, .pokoj.unavailable:hover, .pokoj.pending:hover, .pokoj.confirmed:hover {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0% { transform: translateY(0); }
    25% { transform: translateY(-4px); } 
    50% { transform: translateY(0); }    
    75% { transform: translateY(-2px); } 
    100% { transform: translateY(0px); } 
}
.mezera {
    height: 5px;
}
.cesta {
    width: 100%;
    height: 50px;
    border-top: 2px solid rgb(200, 200, 200);
    border-bottom: 2px solid rgb(200, 200, 200);
    margin-top: 15px;
    margin-bottom: 35px;
    border-radius: 0;
    justify-content: space-between;
}
.cesta span {
    padding: 0px 10px;
}

.input-group input, .input-group textarea, .input-group select {
    color: rgb(50, 50, 50);
    border-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 15px 30px 15px 40px;
    background-color: rgb(250, 250, 250);
    /* font-size: clamp(12px, 2vw, 16px); */
    font-size: 16px;
}

.input-group input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 56px;
    text-align: left;
}

.input-group select {
    padding: 15px 30px 15px 40px
}

.input-group textarea {
    resize: vertical;
    max-height: 300px;
    transition: height 0s;
    height: 53.5px;
    min-height: 53.5px;
}

.floating-label, .input-group label i.fa {
    color: rgb(50, 50, 50);
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active{
	-webkit-text-fill-color: rgb(0, 0, 0) !important;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-content h2 {
    text-transform: uppercase;
    margin-bottom: 25px;
}

section {
    padding: 50px 0px;
}
section.section-heading {
    padding: 0;
}
form section:first-of-type {
    padding-top: 0;
}

.hidden {
    display: none;
}

.summary {
    background-color: rgb(250, 250, 250);
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 15px;
}
.summary h3 {
    margin-bottom: 15px;
}
.summary p {
    font-size: 18px;
    line-height: 1.3;
    margin: 5px 0px;
}

.navigace {
    width: 100%;
    display: flex;
    gap: 10px;
}
.ubytovaniBtn {
    flex: 1;
    padding: 15px 10px;
    border: none;
    font-size: 18px;
    transition: 0.3s all;
    border-radius: 10px;
    background-color: rgb(220, 220, 220);
    cursor: pointer;
    transition: 0.3s all;
    color: black;
}
@media (max-width: 500px) {
    .ubytovaniBtn {
        font-size: 14px;
        padding: 10px 5px;
    }
}
.ubytovaniBtn:hover {
    transform: translateY(-3px);
    background-color: rgb(200, 200, 200);
}
.ubytovaniBtn.active {
    color: white;
    background-color: rgb(10, 90, 20);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0px 60px 0px;
}
.info {
    display: flex;
    gap: 5px;
    align-items: center;
}
.info div {
    border-radius: 3px;
    width: 20px;
    height: 20px;
}
.info div.free {
    background-color: #43a849;
}
.info div.pending {
    background-color: #fda31b;
}
.info div.confirmed {
    background-color: #ef6a6a;
}
.info div.vip {
    background-color: rgb(59, 156, 201);
}
.info div.unavailable {
    background-color: #c4c4c4;
}
.info div.selected {
    background-color: #9ebf28;
}

.upper {
    text-transform: uppercase;
    margin-bottom: 25px;
}

.note {
    font-style: italic;
}

p:nth-of-type(6) {
    word-wrap: break-word;
}