/*
Theme Name: rotenberg
Theme URI: https://simcha.f-rotenberg.com
Description: A system for rotenberg tesks
Author: fr-system Team

Version: 1.0.0
Text Domain: rotenberg
*/

:root {
    --a-global-color-light_gray: #F1EFEF;
    --a-global-color-gray: #AEAEAE;
    --a-global-color-blue: #0166FF;
    --a-global-color-darkblue: #001E4C;
    --a-global-color-lightblue: #B4C7FF;
    --a-global-color-orange: #FF7926;
    --a-global-color-green: #6AE292;
    --a-global-color-text: #000000;
    font-size: 62.5%;
}



html { margin:0 !important; }
body{
    background:var(--a-global-color-light_gray);
    font-family:"Noto Sans Hebrew","Heebo",Arial,sans-serif;
    font-weight:400;
    height: 100vh;
    max-height: 100vh;
    overflow: auto;
    margin:0;
    font-size: 1.7rem;
}
input, textarea, select, button{
    font-family:"Noto Sans Hebrew","Heebo",Arial,sans-serif;
}
.font-12{
    font-size: 1.2rem;
}
.font-15{
    font-size: 1.5rem;
}
.font-17{
    font-size: 1.7rem;
}
.font-18{
    font-size: 1.8rem;
}
.font-20{
    font-size: 2rem;
}
.font-22{
    font-size: 2.2rem;
}
.font-25{
    font-size: 2.5rem;
}
.font-30{
    font-size: 3rem;
}
.font-40{
    font-size: calc(22px + 1.15vw);
}

.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.text-left{
    text-align: left;
}
.bold{
    font-weight:700;
}
.underline {
    text-decoration: underline
}
.background-light_gray{
    background-color: var(--a-global-color-light_gray);
}
.background-blue{
    background-color: var(--a-global-color-blue);
    color: white;
}
.background-lightblue{
    background-color: var(--a-global-color-lightblue);
    color: black;
}

.blue{
    color: var(--a-global-color-blue);
}
.red, label.error{
    color:red;
}
.black{
    color: black;
}
.background-black{
    background-color: black;
    color: white;
}

.background-white {
    background-color: white !important;
}
.background-white.blue{
    border:1px solid  var(--a-global-color-blue);
}
.flex-display{
    display:flex;
}
.flex-display.align-center{
    align-items: center;
}
.flex-display.align-end{
    align-items: end;
}
.flex-display.align-line{
    align-items: baseline;
}
.flex-display.start{
    justify-content: flex-start;
}
.flex-display.end{
    justify-content: flex-end;
}
.flex-display.space-between{
    justify-content: space-between;
}
.flex-display.space-around{
    justify-content:  space-around;
}
.flex-display.center{
    justify-content: center;
}
.flex-display .part-10{
    flex-basis:10% !important;
}
.flex-display .part-20{
    flex-basis:20% !important;
}
.flex-display .part-30{
    flex-basis:30% !important;
}
.flex-display .part-40{
    flex-basis:40% !important;
}

.flex-display .part-50{
    flex-basis:50% !important;
}
.flex-display .part-60{
    flex-basis:60% !important;
}
.flex-display .part-70{
    flex-basis:70% !important;
}
.flex-display .part-80{
    flex-basis:80% !important;
}
.flex-display.direction-column {
    flex-direction: column;
}
.grid-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 טורים */
    /*grid-template-rows: repeat(2, auto); !* 2 שורות, ניתן לשנות ל-auto או גובה קבוע *!*/
    grid-gap: 25px;
}
.grid-display.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-display.gap-0-20{
    grid-gap: 0 20px;
}
.margin-bottom-10{
    margin-bottom: 10px;
}
.margin-bottom-20{
    margin-bottom: 20px;
}
.margin-bottom-30{
    margin-bottom: 30px;
}
.margin-bottom-40{
    margin-bottom: 40px;
}
.margin-after-10{
    margin-left: 10px;
}
.padding-bottom-20 {
    padding-bottom: 20px;
}
.padding-10{
    padding: 10px;
}
.padding-40{
    padding: 40px;
}
.padding-left-40{
    padding-left: 40px;
}
.margin-r-30{
    margin-right: 30px;
}

.w-h-25{
    width: 25px;
    height: 25px;
}

button, .pointer{
    cursor: pointer;
}
input, textarea, select{
    background-color: #F0F0F0;
    border: none;
    outline: none;
    padding: 3px 7px;
}
select{
    border-left: 5px solid #F0F0F0;
    height: 40px;
    width: 200px;
    height: 36px;
}
input, input[type="datetime-local"], input[type="date"], input[type="time"]{
    height: 26px;
}
.flex-display.expanding{
    flex-grow: 1
}
.flex-display.expanding input, .flex-display.expanding textarea{
    width: 100%;
}

.label-value{
    margin-bottom: 20px;
}
.label-value label{
    margin-left: 10px;
    width: max-content;
    max-width: 140px;
}

.btn{
    width: 120px;
    height: 40px;
    border-radius: 64px;
}

.buttons button , .pointer{
    border: none;
    outline: none;
    margin: 0 10px;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #969696, 0 1px 2px rgba(0, 0, 0, 0.25);*/
}
@keyframes pointer_hover {
    0% { transform: scale(1);/*box-shadow : 0 0 0 2px black; */   }
    100% { transform: scale(1.1)/*box-shadow : 0 0 0 2px black;*/ }
}
button:hover, .pointer:hover{
    /*box-shadow: 2px 4px 23.6px 7px rgba(0, 0, 0, 0.06);*/
    animation: pointer_hover 0.5s forwards; /* הפעלת האנימציה */
}
@keyframes pointer_active {
    0% { transform: scale(1);/*box-shadow : 0 0 0 2px black; */   }
    50% { transform: scale(1.2)/*box-shadow : 0 0 0 2px black;*/ }
    100% { transform: scale(1)/*box-shadow : 0 0 0 2px black;*/ }
}
button:active{
    /*box-shadow: 2px 4px 23.6px 7px rgba(0, 0, 0, 0.06);*/
    /*animation: pointer_active 0.5s forwards; /* הפעלת האנימציה */
    background-color: #5B84FF;
}
.pointer:active{color: #5B84FF;}
input[type="radio"] {
    display: none; /* הסתרת הכפתור הרדיאו המקורי */
}

input[type="radio"] + label {
    position: relative;
    padding-left: 15px; /* רווח לפני התווית */
    cursor: pointer;
}

input[type="radio"] + label:before {
    content: '';
    position: absolute;
    /*left: 0;*/
    top: 10%;
    /* transform: translateY(-50%);*/
    width: 15px; /* רוחב הכפתור */
    height: 15px; /* גובה הכפתור */
    /*border: 1px solid #FFF; /* גבול */
    border-radius: 50%; /* עיגול */
    background-color: #fff; /* צבע הרקע */
    box-sizing: border-box;
    box-shadow : 0 0 0 1px black;
}
@keyframes grow {
    0% { transform: scale(1);/*box-shadow : 0 0 0 2px black; */   }
    50%{ transform: scale(0.75);box-shadow : 0 0 0 0 black;}
    100% { transform: scale(1);/*box-shadow : 0 0 0 2px black;*/ }
}
input[type="radio"]:hover + label:before {
    border: 2px solid #FFF;
}
.dot.indicator, label.indicator:before {
    animation: grow 0.5s forwards; /* הפעלת האנימציה */
}
.dot.urgency1, input[type="radio"].urgency1:checked + label:before {
    background-color: #FF7780; /* צבע כאשר נבחר */
}
.dot.urgency2, input[type="radio"].urgency2:checked + label:before {
    background-color: #218D6A; /* צבע כאשר נבחר */
}
.dot.urgency3, input[type="radio"].urgency3:checked + label:before {
    background-color: #6FA3F3; /* צבע כאשר נבחר */
}
label span{
    margin-right: 25px;
}

.site-main{
    height: 100vh;
}
.page-header{
    height: 50px;
    min-height: 50px;
    padding: 0 30px;
    margin: 20px 20px 0 20px;
    border-radius: 100px;
}
.logout_button{
    /*width: 96px;
    height: 30px;
    border-radius: 10px;
    border:1px solid white;
    background-color: black;
    color: white;*/
}

section.page{
    background-color: var(--a-global-color-light_gray);
    flex-grow: 1;
    padding: 3% 5%;
    /*padding: 40px 100px;*/
    line-height: 1.3;
}

.box{
    /*height: 80%;*/
    flex:1 1 ;
    border-radius: 30px;
    box-shadow: 2px 4px 23.6px 7px rgba(0, 0, 0, 0.06);
}
.chat-list {
    max-height: 45vh;
    height: 70%;
    overflow-y: scroll;
    scrollbar-width: none; /* עבור Firefox */
}
.chat-list::-webkit-scrollbar {
    display: none; /* עבור Chrome, Safari ו-Edge */
}
.chat-box{
    background-color:  #F4F2F2;;
    height:20px;
    margin-bottom: 10px;
    padding: 17px 17px 17px 30px;
    align-items: center;
}

.new-chat input{
    border: none;
    outline: none;
    width: 100%;
    text-align: center;
    background-color: transparent;
}
button.logout{
    border-radius: 10px;
    border: white 1px solid;
}

/*task*/
.tr-task{
    cursor:pointer;
}

.tooltip{
    max-width: 100px;
    text-align: center;
    width: fit-content;
    max-height: max-content;
    padding: 5px;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    z-index: 9995;
    box-shadow: 2px 4px 23.6px 7px rgba(0, 0, 0, 0.06);
}
.icon-text{
    margin-bottom:10px;
    display: flex;
    align-items: center;
}
.icon-text img{
    margin-left: 5px;
}
.urgency{
    height: 150px;
}
.urgency .flex-display{
    align-items: center;
}
.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
}
.ellipse{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 30px;
    width:  100px;
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #969696, 0 1px 2px rgba(0, 0, 0, 0.25);
}
.ellipse:active {
    -webkit-box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, 0.2), 0 0 0 1px #8c8c8c, 0 1px 1px rgba(0, 0, 0, 0.3);
}
.ellipse.indicator{
    animation: grow 0.5s forwards; /* הפעלת האנימציה */
}
.change-status .ellipse{
    margin: 10px 0;
}
.page-header .user-logo{
    height:30px;
    width: 30px;
}

.user-logo{
    height:20px;
    width: 20px;
    border-radius: 100px;
}
.back-tasks-list{
    padding-right: 10px;
    padding-left: 20px;
    width: 200px;
    height: 35px;
    border-radius: 100px;
    border: solid 1px black;
}

/* task-list */
.input-container {
    position: relative;
    margin: 0 20px;
}
.input-icon {
    position: absolute;
    left: 15px; /* מיקום ה-SVG */
    top: 50%;
    transform: translateY(-50%);
}

.tasks-search{
    padding-right: 15px;
    padding-left: 40px;
    width: 250px;
    height: 35px;
    border-radius: 100px;
    border: solid 1px black;
}
.tasks-search::placeholder {
    color: black; /* צבע ה-placeholder */
    opacity: 1; /* אם תרצה לשנות את שקיפות הטקסט */
}
.tasks-list.box{
    overflow: scroll;
    scrollbar-width: none;
}

.tasks-table {
    width: 100%;
    text-align: center;
    border: none;
    border-style: hidden;
    border-collapse: collapse;
    border-spacing: 0;
}

.tasks-table thead {
    height: 55px;
    background-color: var(--a-global-color-light_gray);
    position: sticky;
    top:0;
    z-index: 111;
}
.tasks-table thead th:first-child {
    border-top-right-radius: 30px; /* קצה מעוגל בצד שמאל בתחתית */
}

.tasks-table thead th:last-child {
    border-top-left-radius: 30px; /* קצה מעוגל בצד שמאל */
}

.tasks-table tbody tr{
    height: 40px;
}

.tasks-table th, .tasks-table td {
    border: 0.5px solid black; /* גבול לתאים */
}


table th, table td{
    padding: 10px;
}
 .tr-task.state-selected{
    background-color: var(--a-global-color-light_gray);
}
.tr-task:hover{
    box-shadow: 2px 4px 20px 3px rgba(0, 0, 0, 0.04);
}
    /* login */
    .login-section{
        height: 100%;
    }
    .login-area{
        padding: 5%;
        flex-basis: 55% !important;
    }
    .background-img{
        flex-basis: 45% !important;
        height: 100%;
        background-image: url(https://simcha.f-rotenberg.com/wp-content/themes/rotenberg/assets/icons/login-img.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

    }
    .logo-manager{
        /*        height: 136px;        */
        width: 316px;
    }
@media (max-width: 1600px) {
    .logo-manager{
        width: 200px;
    }
}
    .login-section input{
        width: 196px;
        height:  40px;
        background-color: black !important;
        color: white !important;
        border-radius: 64px;
        border: white solid 1px;
        padding: 15px;
    }

    .btn-login {
        min-width: 140px;
        height: 40px;
        border-radius: 64px;
        border :1px solid var(--a-global-color-blue);
        padding: 0 20px;
    }

    #forgot_password_form input[type=email]{
        width: 270px;
    }
/* client-panel */
.clients-boxes-list{
    /*
    overflow: auto;
    scrollbar-width: none;
    */
}
    .client-box{
        border-radius: 30px;
        box-shadow: 2px 4px 21.37px 6.34px rgba(0, 0, 0, 0.06);
        padding: 30px 45px 20px 45px;
        flex-basis : 27%;
        height: 25vh;
        /*height: 220px;*/
       transition:  transform 0.5s ease;
        /*htransition: background-color 0.3s;*/
    }

.client-box:hover {
    transform: scale(1.05);
    /*background-color: rgb(243 243   243 / 0.0001);*/
}
.client-box .tasks-list li{
    cursor: pointer;
    margin-bottom:5px;
}
.client-box .tasks-list li:hover{
    color:var(--a-global-color-blue);
 }

.client-logo{
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
}
@media (max-width: 1600px) {
    .client-logo{
        width: 25px;
        height: 25px;
    }
}
.sorting-switch{
    padding-left: 120px;
}
ul.tasks-list{
    padding: 0 !important;
    margin: 0 !important;
    max-height: 80%;
    overflow: scroll;
    scrollbar-width: none;
}
ul.sorting-switch-list{
    position: absolute;
    height: min-content;
    width: max-content;
    padding: 15px;
    list-style: none;
    left: 140px;
    border-radius: 10px ;
    margin:20px 0 0 0;
    z-index: 999;
}
ul.sorting-switch-list li.sorting{
    cursor: pointer;
    padding: 2px 0;
}
ul.sorting-switch-list li.sorting:hover{
color: var(--a-global-color-blue);
}

.hidden, .d-none{
    display: none;
}

@keyframes moveSideways {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

.sideways {
    animation: moveSideways 1s ease-in-out infinite;
}


/* popups */

.popup_page_overlay{
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, .7);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    z-index: 9994;
    transition: opacity 0.35s, visibility 0s .35s;
}

.popup_open .popup_page_overlay{
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    overflow-y: scroll;
}
.popup_open .popup{
    transform: none;
    -webkit-transform: none;
}
.popup-title{
    border-bottom: 1px solid var(--a-global-color-blue);
    padding-bottom: 3px;
    width: max-content;
    margin: 0 auto 30px auto;
}

.popup form.hide{
    display: none;
}
.popup{
    width: 800px;
    /*height: 700px;*/
    background-color: white;
    border-radius: 30px;
    box-shadow: 2px 4px 23.6px 7px rgba(0, 0, 0, 0.06);
    margin: 1.75rem auto;
    position: relative;
    margin-top: 60px;
    padding: 30px;
}
.popup-body{
    padding: 0 50px 30px 50px;

}
.close-popup{
    text-align: end;
}
.small-popup{
    position: absolute;
    z-index: 9996;
    width: fit-content;
    height: auto;
}

.small-popup .box{
    padding: 10px 20px;
    border-radius: 20px;
}
.small-popup input{
    width: 100%;
}

.new-contact{
    padding: 30px 40px;
}
.full-height{
    max-height: 100%;
    flex: 1;
}
.reset-password-section .forgot-password-form{
    width: 100%;
}
.reset-password-section form{
    width: 50%;
}
 .reset-password-section .btn-login{
    width: max-content;
}

.reset-password-section label{
    min-width: max-content;
}

.reset-password-section input{
    width: 100%;
}

/* slider-message */
.slider-message{
    width: 400px;
    /* height: 400px;*/
    position: fixed;
    top:-500px;
    /*margin: auto;*/
    right:-500px;
    /*bottom: 40px;*/
    top: 100px;
    background: #FFFFFF;
    box-shadow: 0px 1px 26px -2px #0000002E;
    border-radius: 54px;
    padding: 30px;
    text-align: center;
    z-index: 999
}

.tr-task a{
    text-decoration: none;
}

.tr-task a:hover{
    text-decoration: underline;
}

.archiv-client svg{    float: left;}
