@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
}

.hidden{
    display:none !important;
}

.back i{
    color:orangered !important;
}

.back.big{
    font-size: 1.3rem !important;
}

body{
    background:#111;
    max-height: 100dvh;
    height:100dvh;
    display:flex;
    flex-direction: column;
}

body.no-mobile{
    aspect-ratio: 9/16;
    height: 100dvh;
    width:auto;
    margin:auto;
}

header{
    display: flex;
    background:#222;
    align-items: center;
    justify-content: space-between;
    height:80px;
    padding:.2rem 1rem;
    gap:.5rem;
}

header p.spacer{
    flex:1;
}

header i.fa-star{
    color:white;
    font-size: 1.5rem;
}

header i.fa-star.fa-solid{
    color:#FACE68;
    color:white;
}

header .room{
    display:flex;
    flex-direction: column;
    color:white;
    align-items: center;
    font-size: .8rem;
    font-weight: 300;
}
header .room strong{
    font-size: 1.2rem;
    font-weight: 600;
}

header img{
    height:100%;
}

main{
    height:calc(100vh - 105px);
    position:relative;
    display:flex;
    flex-direction: column;
}

main div.bg{
    position:absolute;
    width:100%;
    height:100%;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    z-index: 1;
}

main div.bg::after{
    position: absolute;
    z-index: -1;
    content:"";
    height:100%;
    width:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%,rgba(0,0,0,.85) 80%);
}

main .infobar{
    display:flex;
    justify-content: space-between;
    position:absolute;
    z-index: 2;
    width:100%;
    background:deepskyblue;
    color:#111;
    padding:.5rem;
    text-align: left;
    z-index: 98;
    font-weight: 400;
    border-bottom: solid 1px #333;
}

main .infobar.raiting{
    background: #FACE68;
    color:#222;
    z-index:99;
}


main div.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    position:absolute;
    width: 100%;
    max-width: 100%;
    padding:.5rem .5rem;
    margin-bottom:.5rem;
    bottom:0;
    z-index: 10;
}

main div.cards.staff{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
    padding:0rem 2rem 0rem 2rem;
    height:calc(90dvh - 105px);
    margin: auto !important;
    position:initial !important;
}

main div.cards .card{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height:100%;
    background:white;
    color:#222;
    font-size: 1rem;
    font-weight: bold;
    padding:1rem .5rem;
    border-radius: .5rem;
    gap:.7rem;
    box-shadow: 0px 0px 6px black;
}

main div.cards .card.large{
    grid-column: span 2;
    font-size: 120%;
    justify-content: flex-start;
}


main div.cards .card.staff{
    grid-column: span 2;
    margin-bottom: 2rem;
    font-size: 120%;
}

main div.cards .card.large.staff{
    grid-column: span 2;
    grid-row: span 7;
    justify-content: flex-start;
}


main div.cards .card.large.staff p{
    font-size: 1.2rem;
    font-weight: normal;
    padding: 0rem 1rem;
}
main div.cards .card.large.staff p.long{
    overflow-x: hiden;
    overflow-y: scroll;
}

main div.cards .card i{
    font-size: 3rem;
}



main div.list {
    display: flex;
    height: calc(100% - 50px);
    flex-direction: column;
    padding:.5rem .5rem 0rem .5rem;
    margin-bottom:.5rem;
    z-index: 10;
    color:white;
    gap:.5rem;
}

main div.list .search{
    background:white;
    padding:.5rem 1rem;
    border-radius: 1rem;
    display:flex;
    align-items: center;
    color:#222;
}

main div.list .search input{
    outline:none;
    border:none;
    flex:1;
    padding:.2rem .5rem;
}

main div.list .items{
    display:flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: scroll;
}

main div.list .title,
main div.list .item{
    display:flex;
    border-bottom: solid 1px #ccc;
    padding:.5rem 0rem;
    text-shadow: -2px 2px 2px black;
}

main div.list .title h4:first-child,
main div.list .item h4:first-child{
    flex-grow: 2;
}

main div.list .title h4:last-child,
main div.list .item h4:last-child{
    width:90px;
    text-align: center;
}

main div.list .title h4{
    font-weight: 500;
    font-size: 1.4rem;
}

main div.list .item h4{
    font-weight: 500;
    font-size: 1.1rem;
}

main div.list .item h4.right{
    text-align: right;
}

main div.icon{
    position:relative;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap:.2rem;
    font-size: .8rem;
    height:50px;
    background: white;
    padding:0rem 1rem;
    z-index: 1;
}

main div.icon p {
    display:flex;
    align-items: center;
    gap:.7rem;
}

main div.icon i{
    font-size: 1.6rem !important;
}

main div.icon .back i{
    color:black !important;
}


footer{
    background:#111;
    color:#777;
    text-align: center;
    height:25px;
}

.align-left{
    text-align: left;
}
.swal2-container {
  z-index: 999;
}

body.no-mobile .swal2-container{
    max-width: calc(100dvh * 0.5625);
    margin: auto;
}

.swal2-popup{
    border:solid 1px #666 !important;
    border:none !important;
    border-radius: .4rem;
    overflow: hidden;
    box-shadow: 0px 0px 5px 1px black;
    background-color: #333 !important;
}

.swal2-title{
    font-size: 1.3rem;
    background:#444 !important;
    padding: .6rem 0rem;
    font-weight: 400;
    border-bottom:solid 1px #111;
}




/** DIALOG UI **/

.extraUI textarea{
    width: 100%;
    height:5rem;
    border:solid 1px deepskyblue;
    outline:none;
    background:#444;
    color:white;
    padding:.5rem;
    margin-bottom:.5rem;
}

.extraUI textarea::placeholder {
  color:#999;
}

.extraUI p{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: .8rem;
    gap:.2rem;
}

.extraUI p strong,
.extraUI p span
{
    padding:.5rem .4rem;
    background:#555;
    border-radius: .2rem;
}

.extraUI p span{
    flex-grow:1;
    font-weight: 600;
}

.extraUI p strong{
    background: deepskyblue;
    color:#222;
    display:none;
}

.extraUI p span.selected{
    background: deepskyblue;
    color:#222;
}

#wifi.extraUI {
    display: flex;
    flex-direction: column;
    gap:.5em;
    padding: 1rem 0rem;
    background: #444;
}
#wifi.extraUI div.data{
    display: flex;
    gap:.3rem;
    font-size: 1rem;
}

#wifi.extraUI div.data strong{
    flex:1;
    text-align: right;
}

#wifi.extraUI div.data span{
    flex:2;
    text-align:left;
    padding:0rem .5rem;
}






/* INTERNAL RAITING */

.rateus{
    position: absolute;
    z-index: 999;
    background:white;
    width:100%;
    height:100%;
    padding:2rem 1rem;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap:.5rem;
}

.rateus h4{
    font-weight: 400;
    font-size: 1.2rem;
}

.rateus p {
    display:flex;
    justify-content: space-between;
    width:100%;
    font-size: 1.2rem;
    border: solid 1px #ccc;
    border-radius: .5rem;
    padding:.5rem .5rem;
}

.rateus p strong{
    font-weight: 500;
}

.rateus p span {
    color:#ccc;
}

.rateus p span i.fa-solid{
    color:#ffb814;
}

.rateus textarea{
    border:solid 1px #ccc;
    outline:none;
    width:100%;
    flex:1;
    border-radius: .5rem;
    font-size: 1.2rem;
    padding:1rem;
}

.rateus .buttons{
    display: flex;
    width:100%;
    gap:.5rem;
}

.rateus button{
    border:none;
    outline:none;
    color:#1A1A1A;
    background:#ffca4f;
    border-radius: .5rem;
    width:100%;
    padding:1rem 0rem;
    font-size: 1.2rem;
    font-weight: 500;
    flex:2;
}

.rateus button.cancel{
    background-color: #ddd;
    color:#999;
    flex:1;
}

.staff.button{
    border:none;
    outline:none;
    color:#1A1A1A;
    background:deepskyblue;
    border-radius: .5rem;
    width:100%;
    padding:1rem 0rem;
    font-size: 1rem;
    font-weight: 500;
    flex:2;
    text-align: center;
}

.staff.button.cancel{
    background:#666;
    color:#1a1a1a;
}