:root {
    --blue: #00aff0;
    --blue_hover:#0091ea;
    --text: #8a96a3;
    --white: #ffffff;
    --like: #ea4c89; 
    --like_hover: #c82966;
}
  

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: inherit;
}
@media screen and (max-width: 75em) {
    html {
        font-size: 56.25%;
    }
}
@media screen and (max-width: 56.25em) {
    html {
        font-size: 50%;
    }
}
@media screen and (max-width: 37.5em) {
    html {
        font-size: 50%;
    }
}
@media screen and (min-width: 121.875em) {
    html {
        font-size: 65%;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #F3F5F9;
}

* {
    margin: 0;
    padding: 0;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

.login_container{
    height: 100vh;
}
  
.login{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 30%;
    margin: 0 auto;
}

.login_svg_top{
    position: absolute;
    top: 5%;
    right: 5%;
}
.login_svg_bottom{
    position: absolute;
    bottom: 5%;
    left: 5%;
}

.login_img{
    width: 100%;
}

.login_title{
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 3.6rem;
    color: #27104E;
    text-shadow: 0px 4px 4px rgba(30, 30, 30, 0.1);
    margin: 20px 0;
}
.login_form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.login_form>*{
    width: 100%;
}
.login_form input{
    background: #FFFFFF;
    border: 2px solid #54CB92;
    border-radius: 5rem;
    padding: 1.5rem 2.5rem;    
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #27104E;
    font-family: inherit;
}

.login_btn{
    align-items: center;
    padding: 1.5rem 7.5rem;
    gap: 1rem;
    background: #54CB92;
    box-shadow: 1px 4px 2px rgba(0, 0, 0, 0.05), inset 1px 2px 3px rgba(0, 0, 0, 0.03);
    border-radius: 5rem;

    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #FFFFFF;
    font-family: inherit;
    outline: none;
    border: none;
    cursor: pointer;
}

.login_terms{
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.9rem;
    margin: 20px 0;
    color: #222222;
    text-align: center;
}

.margin-top{
    margin-top: 4rem;
}
.margin-small-top{
    margin-top: 2rem;
}
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 10rem;
    background: #FFFFFF;
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.sidebar_menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}
.sidebar svg{
    width: 3rem;
    height: 3rem;
}
.sidebar_menu_item{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar_menu_item_active{
    background-color: #54CB92;
    border-radius: 50%;
    padding: 1rem;
    color: #FFFFFF;
}
.sidebar_logo img{
    width: 100%;
}

.page{
    margin-left: 10rem;
    padding: 1rem 3rem;
}

.page_search{
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #FFFFFF;
    border-radius: 2rem;
    width: max-content;
    padding: .2rem 1rem;
}
.page_search input{
    background-color: transparent;
    border: none;
    outline: none;
    padding: 1rem;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #D9D9D9;
    font-family: inherit;
}
.page_search svg{
    width: 2rem;
    height: 2rem;
    color: #D9D9D9;
    cursor: pointer;
}

.page_banner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #FFFFFF;
    border-radius: 2rem;
}
.page_banner_text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
}
.page_banner_title{
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 3.9rem;
    color: #27104E;
}
.page_banner_subtitle{
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    color: #27104E;
}
.page_banner_btns{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.page_banner_btn{
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #FFFFFF;

    padding: 1rem;
    background: #54CB92;
    border-radius: 2rem;
    cursor: pointer;
}
.page_banner_btn_produs{
    background-color: orange;
}
.page_nav{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.7rem;
    color: #27104E;
}
.page_nav_item{
    cursor: pointer;
}
.page_nav_item_active{
    color: #54CB92;
}

.page_cards{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.card{
    padding: 2rem;
    border-radius: 2rem;
    background-color: #FFFFFF;
}
.card_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #D9D9D9;
}
.card_top svg{
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.card_top_names{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 1rem;
    align-items: center;
}
.card_top_names .card_timer_time{
    font-size: 2rem;
    border-radius: 10px;
}
.card_timer_action{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.card_timer_action svg{
    width: 5rem !important;
    height: 5rem !important;
}
.card_top_names_parinte{
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
    color: #27104E;
}
.card_top_names_time, .card_top_names_pers{
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #27104E;
}

.card_timer{
    display: grid;
    grid-template-columns: max-content max-content max-content 1fr;
    gap: .8rem;
    align-items: center;
    margin: 1rem 0;
}
.card_timer_time{
    text-align: right;
    color: #54CB92;
    background: rgba(172, 245, 175, 0.4);
    border-radius: 2rem;
    padding: .5rem 2rem;
    font-size: 1.4rem;
    width: max-content;
    justify-self: flex-end;
    width: 150px;
    text-align: center;
}
.card_timer_people{
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}
.card_timer_people_name{
    font-size: 1.2rem;
    color: #27104E;
    margin: 0 5px;
    width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card_timer_container{
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_timer_people img{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}
.card_timer_people_minus{
    position: absolute;
    top: -5px;
    left: -3px;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
}
.card_timer_play, .card_timer_pause{
    width: 3rem;
    height: 3rem;
    cursor: pointer;

}
.card_timer_stop{
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    color: #c82966;
}

.card_cost{
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #27104E;
}

.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 60%;
    height: 50%;
    background-color: #FFFFFF;
    border-radius: 2rem;
    padding: 2rem;
    
}
.popup_layer{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}
.popup_close{
    position: absolute;
    top: 2rem;
    right: 2rem;
}
.popup_close svg{
    width: 4rem;
    height: 4rem;
    cursor: pointer;
}
.popup_title{
    text-align: center;
    font-size:2.4rem;
    color: #27104E;
    font-weight: bold;
}

.popup_content_add{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;

    max-height: calc(100% - 135px);
    overflow-y: auto;
    padding-bottom: 1rem;
}
.popup_content_input{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1rem;
    width: 100%;
}
.popup_content_input label{
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #27104E;
}
.popup_content_input input, .popup_content_input select{
    border: 1px solid #E0E0E0;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #27104E;
    font-weight: inherit;
    width: 100%;
}
.popup_content_input input:focus{
    border: 1px solid #54CB92;
    outline: none;
}

.popup_content_input_sau{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.popup_content_addCopil{
    background-color: #54CB92;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #FFFFFF;
    font-weight: inherit;
    cursor: pointer;
    margin-top: 1rem;
    width: max-content;
    float: right;
}

.popup_content_btn{
    width: 95%;
    text-align: center;
    margin-top: 2rem;
    background-color: #54CB92;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    grid-column: 1/-1;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    height: 45px;

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

.popup_content_parinte{
    display: flex;
    align-items: flex-end;
    gap:.8rem;
    margin-bottom: 1rem;
}
.popup_content_produse{
    grid-column: 1/-1;
}
.popup_content_produse_title{
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #27104E;
}
.popup_content_produse_item{
    display: grid;
    grid-template-columns: 50px 1fr 1fr max-content;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    padding: .5rem 0;
    margin: .5rem 0;
    border-top: 1px solid rgba(30, 30, 30, 0.1);
}
.popup_content_produse_item_action{
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: flex-end;
}
.card_add_child_container_btns{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: .5rem;
}
.card_add_child_container_btns .card_add_child{
    font-size: 1rem;
    padding: .3rem .5rem;
    width: 100%;
    justify-content: center;
}
.tarife{
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 2rem;
}
.tarife_title{
    font-size: 2.4rem;
    line-height: 3rem;
    font-weight: bold;
    color: #27104E;
    margin-bottom: 1rem;
}
.tarife_btn{
    background-color: #54CB92;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #FFFFFF;
    font-weight: inherit;
    cursor: pointer;
    margin-top: 1rem;
    width: max-content;
}
.reservations_container{
    overflow-x: auto;
}
.reservations{
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    min-width: 850px;
}
.reservations img{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}
.reservations_nume{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.reservations_column_first{
    font-weight: bold;
    color: #27104E;
}
.reservations_column{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
}
.reservations_column>*{
    min-width: 100px;
}

.sidebar_btnOpen{
    display: none;
}
.sidebar_open{
    left: 0 !important;
}
/* .card_add_child_container{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
} */
.card_add_child{
    background-color: #54CB92;
    color: #ffffff;
    font-size: 1.2rem;
    padding: .5rem 1rem;
    cursor: pointer;
    border-radius: .5rem;

    display: flex;
    align-items: center;
    gap: .5rem;
}

.card_add_child svg{
    width: 2rem;
    height: 2rem;
}

.card_add_child_container_inputs{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: flex-end;
    align-items: flex-end;
}

.card_produs{
    display: grid;
    grid-template-columns: max-content 1fr 1fr 1fr max-content;
    gap: .5rem;
    align-items: center;
    padding: .3rem 0;
    margin: .3rem 0;
    border-top: 1px solid rgba(30, 30, 30, 0.1);
    font-size: 1.2rem;
}

.card_add_child_cancel{
    background-color: #c82966;
}
.card_timer_end{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.card_timer_end_suma{
    font-size: 2.5rem;
    margin-bottom: .5rem;
    color: #27104E;
}
.reservations_action{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.reservations_filter{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.reservations_filter_input{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: 1.2rem;
}
.reservations_filter_reset{
    background-color: #c82966;
    color: #ffffff;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.reservations_filter_reset_container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media screen and (max-width: 2000px){
    .page_cards{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 1600px){
    .page_cards{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 1500px){
    .login{
        width: 40%;
    }
}
@media screen and (max-width: 1200px){
    .popup{
        width: 90%;
        height: 60%;
    }
    .page_cards{
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 800px){
    .login{
        width: 60%;
    }
    .page_cards{
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 600px){
    .login{
        width: 90%;
    }

    .login_svg_top, .login_svg_bottom{
        display: none;
    }


    .sidebar{
        left: -100%;
        transition: all .2s;
        z-index: 10;
        border-right: 1px solid rgba(30, 30, 30, 0.1);
    }
    .page{
        margin-left: 0;
    }

    .sidebar_btnOpen{
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 1rem;
        right: 3rem;
        background-color: #54CB92;
        border-radius: 50%;
        color: #FFFFFF;
        padding: .8rem;
        cursor: pointer;
    }
    .sidebar_btnOpen svg{
        width: 3rem;
        height: 3rem;
    }
    .page_banner{
        flex-direction: column;
    }
    .page_banner_text{
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 500px){
    .page{
        padding: 1rem;
    }
    .sidebar_btnOpen{
        right: 1rem;
    }
    .popup{
        width: 95%;
    }
}