@import "style.css";
@import "STY-modal.css";

.nodisplay {display: none;}

.img-div {
    width: 100%; aspect-ratio: 3 / 2;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.list-item-with-icon {
    width: 100%;
    display: flex; flex-direction: row;
    margin-bottom: 10px;
}
.icon-list {
    width: 20px; height: 20px;
    fill: var(--text-dark);
    margin-right: 10px;
}
.icon-list-dm {
    width: 14px; height: 14px;
    border-radius: 50%;
    margin-right: 10px;
}
.icon-list-rating {
    width: 20px; height: 20px;
    /* fill: var(--text-blue); */
    fill: var(--text-dark);
}

.bt-blue-inactive {
    height: 46px;
    background-color: var(--blue-700);
    border: 2px solid var(--blue-700);
    color: var(--white);
    font-size: 18px;
}
/* ------------------------------------------------------------- LIST */
.sub-list {
    width: 70%;
    display: flex; flex-direction: column; 
}
.list-item {
    width: 100%;
    display: flex; flex-direction: row; flex-wrap: wrap;
}
.list-item-href-green {
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    display: flex; flex-direction: row; flex-wrap: wrap;
    padding: 10px 0px;
}
.list-item-href-green:hover {background-color: var(--green-300);}

.list-item-l {
    width: 160px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.list-item-c {
    width: calc(100% - 320px);
    display: flex; flex-direction: column; justify-content: center;
    padding: 0px 40px; box-sizing: border-box;
}
.list-item-r {
    width: 160px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-end; 
}
.list-item-rating {
    width: 160px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
}
.rating-stars {
    width: 100%;
    display: flex; flex-direction: row; justify-content: center; align-items: center; 

}

.list-item-side {
    width: 30%;
    display: flex; justify-content: center;
}
.list-item-midl {
    width: 40%;
    display: flex; justify-content: center;
}

.list-item-33 {
    width: 33%;
    display: flex; justify-content: center;
}


/* --------------------------- 4pc GRID */
.box-grid-4pc {
    width: 100%;
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px 20px;
}
.box-4pc-white {
    width: 100%;
    background-color: var(--white);
    padding: 40px;
    box-sizing: border-box;
    cursor: pointer;
}
.white-hover-color {
    background-color: var(--white);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.white-hover-color:hover {background-color: var(--green-300);}


.img-box {
    width: 100%;
    margin: 20px 0px;
}


/* ------------------------------------------------------------- LIST with cards 4 blogs, products*/


.main-container {
    width: 90%;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

/* First section: background image, 20% width on larger screens */
.image-section {
    width: 25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Second section: text content */
.text-section {
    width: 75%;
    background-color: var(--white);
    padding: 40px 20px;
}
.text-section:hover {background-color: var(--green-300)}

/* ------------------------------------------------------------- MODAL */
.modal-add-schadule, .modal-booking-status {
    width: calc(100vw - 10px); height: 100vh;
    box-sizing: border-box;
    background-color: var(--modal-b);
    display: flex; justify-content: center; align-items: center;
    position: fixed;
    z-index: 100;
}
.modal-box {
    width: 90%; height: 90%;
    background-color: var(--lilac-500);
    border-radius: var(--br-10);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 40px 20px; box-sizing: border-box;
}
.modal-box-small {
    width: 90%;
    background-color: var(--lilac-500);
    border-radius: var(--br-10);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 80px 20px; box-sizing: border-box;
}
.form-modal {
    display: flex; flex-direction: column; align-items: center;
}
.input-modal-date-time{
    width: 200px; height: 46px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-family: 'Spinnaker', sans-serif;
    font-size: 14px;
    padding: 0px 10px;
    box-sizing: border-box;
    margin: 20px 0px;
}
.dateTimeInputDiv {
    width: 100%;
    display: flex; flex-direction: row; flex-wrap: nowrap;
}
.dateTimeInput {
    width: calc((100% - 20px) / 2); height: 46px;
    background-color: var(--white);
    border: none;
    outline: none;
    color: var(--text-dark);
    font-family: 'Spinnaker', sans-serif;
    font-size: 14px;
    padding: 0px 10px;
    box-sizing: border-box;
}
.dateTimeDivider {
    width: 20px;
    text-align: center;
}

/* ------------------------------------------------------------- @media */
@media only screen and (max-width: 1200px) {
    .sub-list {width: 100%;}
    .box-grid-4pc {
        grid-template-columns: 1fr 1fr 1fr; gap: 20px 20px;
    }
}
@media only screen and (max-width: 1000px) {
    .box-grid-4pc {
        grid-template-columns: 1fr 1fr; gap: 40px 40px;
    }
}

@media only screen and (max-width: 800px) {
    .list-item-l {width: 100%; margin-bottom: 10px;}
    .list-item-c {
        width: calc(100% - 160px);
        padding: 0px 40px 0px 0px;
    }
    .list-item-r {width: 160px;}
}
@media only screen and (max-width: 600px) {
    .list-item-l {
        width: 100%;
        display: flex; justify-content: center;
    }
    .list-item-c {
        width: calc(100%);
        padding: 10px 0px 10px 0px;
    }
    .list-item-r {
        width: 100%;
        display: flex; justify-content: center;
    }
    /* List card */
    .main-container {flex-direction: column;}
    .image-section {display: none;}
    .text-section {width: 100%; padding: 40px 20px; box-sizing: border-box;}
    .box-grid-4pc {
        width: 100%;
        grid-template-columns: 1fr; 
    }
}
