﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

html, body {
    direction: rtl;
    text-align: right;
}

#mainContent {
    padding-top: 40px; /* הוספת רווח רק לאזור התוכן */
}

.dashboard-page {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

/*#fixedButtonsContainer {
    position: relative;
    top: 10px;
    right: 40px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}*/

#fixedButtonsContainer {
    display: flex;
    justify-content: space-between; /* הכפתורים מימין, הטקסט והכפתור משמאל */
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* אזור הטקסט והכפתור (משמאל) */
.filter-section {
    display: flex;
    align-items: center;
    gap: 10px;
    visibility: hidden; /* נשאר במבנה אבל בלתי נראה */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* עיצוב כפתור "הצג הכל" */
.show-all-btn {
    background-color: white;
    color: darkblue;
    border: 1px solid darkblue;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s;
}
    .show-all-btn:hover {
        background-color: lightgray;
        color: white;
    }


.nav-button {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    border-color: lightgray;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 29px;
}

    .nav-button.active {
        background-color: #ff52007a; /* כתום */
        color: black;
        font-size: 32px;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .nav-button:hover {
        background-color: white;
        font-size: 32px;
        font-weight: bold;
    }

#dynamicButton {
    background-color: #ff9800; /* צבע רקע */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

    #dynamicButton:hover {
        background-color: #e68900;
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.navbar {
    height: 80px; /* Adjust the height as needed */
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    justify-content: space-between; /* Adjusts spacing between items */
    padding: 10px 20px; /* Adds spacing inside navbar */
}

    .navbar img {
        max-height: 50px; /* Ensures images fit inside navbar */
        width: auto; /* Maintain aspect ratio */
    }

.navbar-center {
    flex-grow: 1; /* Pushes the center logo to the middle */
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    flex-direction: row !important; /* מכריח את הכיוון להיות אופקי */
    align-items: center;
    justify-content: start; /* מתחיל את הפריטים מהשמאל (או ימין אם RTL) */
    gap: 15px; /* ריווח בין פריטים */
}

.nav-item {
    position: relative;
    margin-right: 15px; /* ריווח בין פריטים */
}
.nav-link {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    padding: 10px;
    cursor: pointer;
}

    .nav-link:hover {
        background-color: #f0f0f0;
        border-radius: 5px;
    }

.navbar .main-logo {
    max-height: 70px; /* קובע גודל שונה ללוגו הראשי */
    width: auto;
}

.navbar .client-logo {
    max-height: 80px; /* קובע גודל שונה ללוגו המשני */
    width: auto;
}



.user-fullname {
    font-weight: bold;
    font-size: 27px;
    color: #333; /* Adjust color */
    margin: auto;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: auto;
}
/* הפיכת הפרויקטים לשתי עמודות */
.project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* מונע שבירת שורות */
    margin-bottom: 30px;
    width:70%;
    margin-right: 15%;
}
/* עמודת הטקסט */
.project-info {
    width: 100%;
    padding: 10px;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.project-chart {
    width: 100%;
    height: 100%; /* מוודא שיש מקום לגרף */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .project-chart canvas {
        width: 90% !important;
        height: 90% !important;
    }

/* התאמה למסכים קטנים */
@media (max-width: 768px) {
    .project-row {
        flex-direction: column;
        text-align: center;
    }

    .project-info,
    .chart-row {
        width: 100%;
    }
}

.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

main {
    display: block;
    width: 100%;
}

.required-star {
    color: red;
    font-size: 27px;
    margin-left: 5px;
    font-weight: bold;
}
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 25px;
    color: var(--bs-form-invalid-color);
}

h2 {
    font-size: 27px;
    color: darkblue;
}

h5 {
    font-size: 32px ;
    color: black;
    font-weight: bold;
    text-align: center;
}

    h5 .colorBlue {
        color: darkblue;
        font-size: 32px;
    }

h6 {
    font-size: 25px;
    color: black;
    font-weight: bold;
    text-align: center;
}
    h6 .colorBlue {
        color: darkblue;
        font-size: 26px;
    }

h10 {
    color: black;
    font-size: 18px;
    margin-right: 20px;
    text-decoration: none;
    cursor: pointer;
}
h13 {
    color: black;
    font-size: 20px;
    text-align:right;
    text-decoration:none;
    cursor:pointer;
}

    h13 .colorTwo {
        color: blue;
        font-size: 20px;
        font-weight: bold;
    }
h51 {
    text-decoration-line: none;
    font-size: 25px;
    color: black;
    font-weight: bold;
}

h51blue {
    text-decoration-line: none;
    font-size: 25px;
    color: blue;
    font-weight: bold;
}

h51red {
    text-decoration-line: none;
    font-size: 25px;
    color: red;
    font-weight: bold;
}

h51 .colorPurple {
    color: #d7275ff5;
    font-size: 30px;
}

h51 .colorBrown {
    color: brown;
}

h51 .colorGreen {
    color: green;
}

h51 .colorYellow {
    color: red;
}

h51 .colorBlue {
    color: blue;
}

h55 {
    font: bold 50px Arial;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: darkblue;
    text-shadow: 2px 2px 5px #1b4965;
    padding: 5px 10px;
    margin: 0 0 10px 0;
    line-height: 24px;
}

    h55 .colorTwo {
        color: darkblue;
    }

h56 {
    font: bold 32px sans-serif;
    text-transform: uppercase;
    color: darkblue;
    padding: 5px 10px;
    margin: 0 0 10px 0;
    line-height: 24px;
}

aside {
    display: block;
    position: relative;
    margin: 40px 0;
    writing-mode: vertical-lr;
}

    aside h51 {
        font: bold 25px Arial;
        letter-spacing: 10px;
        text-transform: uppercase;
        background-color: powderblue;
        color: #fff;
        padding: 5px 10px;
        margin: 0 0 10px 0;
        line-height: 24px;
    }

.col-md-5 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 20px;
    margin-left: 0px;
    margin-top: 15px;
    margin-bottom: 20px;
    width: 5%;
    height: 100%;
    background-color: white;
}

.col-md-20 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 16%;
    background-color: white;
}

.col-md-22 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 7px;
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 0px;
    width: 17%;
    background-color: white;
}

.col-md-30 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 0px;
    margin-top: 15px;
    margin-bottom: 20px;
    width: 30%;
    height: 100%;
    background-color: white;
}

.col-md-35 {
    float: right;
    position: relative;
    min-height: 0px;
    /*margin: auto;*/
    width: 35%;
    background-color: white;
}

.col-md-40 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 0.5%;
    margin-left: 0.5%;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 23%;
    border-radius: 10px;
}

.col-md-45 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 0px;
    width: 45%;
    background-color: white;
    border: solid;
    border-color: lightblue;
    border-radius: 15px;
    padding: 5px 5px;
}
.col-md-47 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 0px;
    width: 47%;
    background-color: white;
    padding: 5px 5px;
}

.col-md-50 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 20px;
    margin-left: 0px;
    margin-top: 15px;
    margin-bottom: 20px;
    width: 45%;
    height: 350px;
    background-color: white;
}

.col-md-80 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-right: 2.5%;
    margin-left: 2.5%;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 95%;
    background-color: white;
    border: solid;
    border-color: lightgrey;
    border-radius: 15px;
    padding: 5px 5px;
}

.col-md-12 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-bottom: 0px;
    width: 100%;
}

.col-md-9 {
    float: right;
    position: relative;
    min-height: 1px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0px;
    width: 75%;
}

.col-md-6 {
    position: relative;
    min-height: 1px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0px;
    width: 50%;
}

.col-md-4 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
    width: 32%;
}

.col-md-3 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
    width: 24%;
}

.col-md-1 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
    width: 8.33%;
}

.main-md-3 {
    float: right;
    position: relative;
    min-height: 0px;
    margin: auto;
    margin-left: 15px;
    margin-right: 20px;
    margin-top: 15px;
    margin-bottom: 0px;
    width: 12%;
    height: 120px;
    border: solid;
    border-radius: 15px;
    border-color: aquamarine;
    padding: 15px 15px;
    text-align: center;
    word-wrap: initial;
}

.col-lg-21 {
    float: right;
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
    width: 20%;
}

.responsive-table-dashboard {
    list-style-type: none;
    padding: 0;
}

    .responsive-table-dashboard li {
        padding: 5px 0;
        font-size: 27px;
    }

.colorTwo {
    font-weight: bold;
    color: darkblue;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
        text-align: center;
    }
}

.responsive-table-scaff {
    font-size: 27px;
    li{
    border-radius: 3px;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.table-header {
    background-color: #95A5A6;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: visible;
    min-height: 60px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
}

.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    font-size: 100%;
    color: darkblue;
    font-weight: normal;
    text-align: right;
}

/* שמירה על רוחב עמודות קבוע ושבירת טקסט במקרה של תוכן ארוך */
[class^="col-"] {
    flex-basis: auto; /* מונע שינוי גודל של העמודות */
    white-space: normal; /* מאפשר ירידת טקסט לשורה הבאה */
    word-wrap: break-word; /* מפצל מילים ארוכות */
    overflow-wrap: break-word; /* עוזר למנוע חיתוך טקסט */
    text-align: right;
    flex-grow: 0; /* מונע מתיחת עמודות */
    flex-shrink: 0; /* מונע הקטנת עמודות */
}
.col {
    border-left: 1px solid #ddd;
    flex-grow: 1;
    flex-shrink: 1; /* מאפשר לעמודות להתגמש על פי הצורך */
    flex-basis: 0;
}

        .col:last-child {
            border-left: none; /* להסיר חציצה בעמודה האחרונה */
        }
    .col-05 {
        flex-basis: 0.5%;
    }

    .col-3 {
        flex-basis: 40%;
    }

    .col-30 {
        flex-basis: 30%;
    }

    .col-4 {
        flex-basis: 4%;
    }

    .col-1 {
        flex-basis: 2%;
    }

    .col-5 {
        flex-basis: 4%;
    }

    .col-7 {
        flex-basis: 7%;
    }

    .col-20 {
        flex-basis: 20%;
    }

    .col-60 {
        flex-basis: 60%;
    }

    .col-100 {
        flex-basis: 100%;
    }

}

.responsive-table {
    font-size: 27px;
    li{
    border-radius: 3px;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.table-header {
    background-color: #95A5A6;
    color: white;
   
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: visible;
    min-height: 60px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
}

.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    font-size: 100%;
    color: darkblue;
    font-weight: normal;
    text-align: right;
}

/* שמירה על רוחב עמודות קבוע ושבירת טקסט במקרה של תוכן ארוך */
[class^="col-"] {
    flex-basis: auto; /* מונע שינוי גודל של העמודות */
    white-space: normal; /* מאפשר ירידת טקסט לשורה הבאה */
    word-wrap: break-word; /* מפצל מילים ארוכות */
    overflow-wrap: break-word; /* עוזר למנוע חיתוך טקסט */
    text-align: right;
    flex-grow: 0; /* מונע מתיחת עמודות */
    flex-shrink: 0; /* מונע הקטנת עמודות */
}

/* הגדרות רוחב יחסיות לפי אחוזים */
.col-05 {
    flex-basis: 5%;
}

.col-01 {
    flex-basis: 1%;
}

.col-1 {
    flex-basis: 3%;
}

.col-10 {
    flex-basis: 10%;
}

.col-2 {
    flex-basis: 18%;
}

.col-3 {
    flex-basis: 40%;
}

.col-4 {
    flex-basis: 25%;
}

.col-5 {
    flex-basis: 5%;
}

.col-7 {
    flex-basis: 7%;
}

.col-20 {
    flex-basis: 20%;
}

.col-25 {
    flex-basis: 25%;
}

.col-30 {
    flex-basis: 30%;
}

.col-60 {
    flex-basis: 60%;
}

.col-80 {
    flex-basis: 80%;
}

.col-100 {
    flex-basis: 100%;
}

/* התאמות לתצוגה במובייל */
@media all and (max-width: 767px) {
    .table-header {
        display: none;
    }

    li {
        display: block;
    }

    .col {
        flex-basis: 100%;
    }

    .col {
        display: flex;
        padding: 10px 10px;
        &:before

{
    color: #6C7A89;
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
}

}
}
}
.responsive-table-totals {
    font-size: 27px;
    li{
    border-radius: 3px;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
}

.table-header {
    background-color: #626f3e52;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: visible;
    min-height: 60px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
}

.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    font-size: 100%;
    color: darkblue;
    font-weight: bold;
    overflow: visible;
    min-height: 60px;
}

.col-10 {
    flex-basis: 10%;
}


.col-3 {
    flex-basis: 40%;
}

.col-25 {
    flex-basis: 25%;
}

.col-30 {
    flex-basis: 30%;
}

.col-4 {
    flex-basis: 25%;
}

.col-5 {
    flex-basis: 50%;
}

.col-7 {
    flex-basis: 7%;
}

.col-20 {
    flex-basis: 20%;
}

.col-100 {
    flex-basis: 100%;
}

@media all and (max-width: 767px) {
    .table-header {
        display: none;
    }

    .table-row {
    }

    li {
        display: block;
    }

    .col {
        flex-basis: 100%;
    }

    .col {
        display: flex;
        padding: 10px 10px;
        &:before

{
    color: #6C7A89;
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
}

}
}
}

.responsive-table-small {
    font-size: 22px;

    li{
    border-radius: 3px;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
    
}

.table-header {
    background-color: #626f3e;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: visible;
    min-height: 60px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
}

.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
    font-size: 100%;
    color: darkblue;
    font-weight: normal;
    overflow: visible;
    min-height: 60px;
}

.col-10 {
    flex-basis: 10%;
}


.col-3 {
    flex-basis: 40%;
}

.col-25 {
    flex-basis: 25%;
}

.col-30 {
    flex-basis: 30%;
}

.col-4 {
    flex-basis: 25%;
}

.col-5 {
    flex-basis: 50%;
}

.col-7 {
    flex-basis: 7%;
}

.col-20 {
    flex-basis: 20%;
}

.col-100 {
    flex-basis: 100%;
}

    @media all and (max-width: 767px) {
        .table-header {
            display: none;
        }

        .table-row {
        }

        li {
            display: block;
        }

        .col {
            flex-basis: 100%;
        }

        .col {
            display: flex;
            padding: 10px 10px;
            &:before{
                color: #6C7A89;
                padding-right: 10px;
                content: attr(data-label);
                flex-basis: 50%;
                text-align: right;
            }

        }
    }
}

.ls-dashboard-btn {
    border-radius: 10px;
    border: ridge;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 40px;
    padding: 2px 5px 2px 10px;
    float: right;
    position: relative;
    background-color: white;
    color: black;
    outline: none !important;
    height: 70px;
    margin: auto;
    width: 250px;
    margin-bottom: 30px;
    font-size:26px;
}
    .ls-dashboard-btn:hover {
        border-radius: 10px;
        border: ridge;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-right: 40px;
        padding: 2px 5px 2px 10px;
        float: right;
        position: relative;
        background-color: lightgray;
        color: black;
        outline: none !important;
        height: 70px;
        margin: auto;
        width: 250px;
        margin-bottom: 30px;
        font-size: 30px;
        font-weight: bold;
    }
    .active-menu-btn {
        background-color: #ffd700 !important; /* זהב */
        color: #000;
        font-weight: bold;
        border: 2px solid #555;
    }
   
.ls-goback-btn {
    border-radius: 10px;
    border: ridge;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 40px;
    padding: 2px 5px 2px 10px;
    float: right;
    position: relative;
    background-color: white;
    color: black;
    outline: none !important;
    height: 55px;
    margin: auto;
    width: 120px;
    margin-bottom: 30px;
    font-size: 20px;
}
.ls-black-btn {
    font-size: 27px;
    border-radius: 10px;
    border: ridge;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 40px;
    padding: 7px 7px;
    float: right;
    position: relative;
    background-color: white;
    color: black;
    outline: none !important;
}

    .ls-black-btn:hover,
    .ls-black-btn:active,
    .ls-black-btn:focus {
        border-radius: 10px;
        border: ridge;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-right: 40px;
        padding: 7px 7px;
        float: right;
        position: relative;
        background: #cccccc;
        color: white;
        outline: none !important;
    }

.input-text {
    border: none;
    background: transparent;
    border-bottom: 1px solid #000;
    outline: none;
    height: 60px;
    width: 90%;
    font-size: 27px;
    color: black;
    font-weight: bold;
    text-align: right;
}
    .input-text.btn {
        background: #f5f5f5;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 20px;
        padding: 4px 10px;
        cursor: pointer;
        color: #333;
        transition: background 0.2s;
    }

        .input-text.btn:hover {
            background: #e0e0e0;
        }
.ddl-dynamic {
    border: none;
    background: transparent;
    border-bottom: 1px solid #000;
    outline: none;
    height: 60px;
    width: 90%;
    font-size: 27px;
    color: black;
    font-weight: bold;
    text-align: right;
}
.modal {
    z-index: 20000 !important;
}

.modal-backdrop {
    z-index: 19990 !important;
}
.modal-header .close {
    margin-top: -4px;
}

.close {
    font-size: 32px;
    color: black;
    font-weight: bold;
}

.modal-footer {
    padding: 10px 20px;
    margin-top: 0;
}

.modal-header {
    padding: 10px 15px;
}

.departmentBtn {
    cursor: pointer;
    float: right;
    background-image: url('/images/department.png');
    background-size: 100% 100%;
    float: right;
    width: 200px;
    height: 60px;
    margin-bottom: 50px;
    margin-right: -45px;
}

departmentTxt {
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    display: block;
    line-height: 60px;
}
/* הגדרה ראשית של הטבלה */
.table {
    width: 100%;
    border-collapse: collapse; /* הכרחי למניעת רווחים בין התאים */
    table-layout: fixed; /* עוזר בשמירת הרוחב הנכון */
}

/* לוודא שהטבלה ניתנת לגלילה */
.table-container {
    width: 100%;
    max-height: 1500px; /* ניתן לשנות את הערך בהתאם לצורך */
    overflow: auto;
    position: relative;
    border: 1px solid #ddd;
}
/* קיבוע כותרת עליונה */
thead th {
    position: sticky;
    top: 0;
    background: #A0E7E5 !important; /* צבע רקע כדי לוודא שלא יהיה שקוף */
    z-index: 20; /* לוודא שהוא מעל התוכן */
    border-bottom: 2px solid #ccc;
    /* width: 150px;*/
    text-align: center;
    font-size: 27px;
}

    tbody td:first-child, thead th:first-child {
        position: sticky !important;
        right: 0;
        /* top: 0;*/
        background: white !important; /* ודא שיש צבע רקע */
        z-index: 30; /* חייב להיות יותר גבוה מהכותרת */
      /*  width: 150px;*/
        text-align: center;
        border-right: 2px solid #ccc;
        border-left: 2px solid #ccc;
    }
    /* קיבוע גם את ה- th של העמודה הראשונה */
    thead th:first-child {
        position: sticky;
        right: 0;
        top: 0;
        background: #A0E7E5 !important; /* צבע הכותרת */
        z-index: 35; /* יותר גבוה משאר התוכן */
        border-left: 2px solid #ccc;
    }

tbody td {
    /* width: 150px;*/
    min-width: 50px; /* מינימום רוחב */
    max-width: 150px; /* מקסימום רוחב */
    word-wrap: break-word; /* שבירת טקסט */
    overflow-wrap: break-word;
    font-size: 27px;
}
/*  1 - עיצוב התא */
/* עיצוב התא */
.table-cell {
    /* display: flex;*/
    flex-direction: row; /* ערכים אחד מתחת לשני column */
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #ddd; /* מסגרת עדינה */
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    cursor: pointer; /* סימון שהתא לחיץ */
}

/* עיצוב הטקסט */
.time-entry {
    font-weight: bold;
    color: #007bff; /* כחול מודגש */
}

.time-exit {
    font-weight: bold;
    color: #ff5733; /* אדום מודגש */
}

/* אייקון מיקום */
.location-icon {
    display: inline-block;
    margin-left: 5px;
    width: 14px;
    height: 14px;
    background-image: url('/images/location.png'); /* לוודא שהנתיב תקין */
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    cursor: pointer; /* להפוך ללחיץ */
}

/* start 2 - עיצוב התא */

.work-hour-container {
    /*  display: flex;*/
    flex-direction: column; /* כל ערך יוצג בשורה נפרדת */
    align-items: flex-start;
    padding: 5px;
    font-size: 14px;
    line-height: 1.6;
}

.entry, .exit {
    display: flex;
    align-items: center;
    gap: 5px; /* ריווח בין הטקסט לבין האייקון */
}

.time {
    font-weight: bold;
    color: #2d2d2d;
}

.location-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
/* end 2 - עיצוב התא */


.input-container {
    display: flex;
    align-items: center; /* מוודא שהשדות יישרו באמצע אנכית */
    gap: 5px; /* רווח בין השדות */
}

/*.input-text {
    width: 60px;*/ /* ניתן לשנות בהתאם לצורך */
/*text-align: center;
}*/

.separator {
    font-size: 22px;
    font-weight: bold;
    padding: 0 5px;
}

.badge-red {
    background-color: lawngreen; /*#EF94A0;*/
    color: black;
    font-size: 18px;
    font-weight: bold;
    border-radius: 40px;
}

.red-color .badge-red {
    background-color: #C45C5C;
}

#NotificationAlertsNumber {
    /*  position: absolute;
    top: 5px;
    right: 10px;*/
    transform: none; /* נסה להסיר translate */
    z-index: 1000; /* לוודא שהוא מעל כל האלמנטים */
}
.dashboard-row {
    background-color: #ffffff;
    font-size: 100%;
    color: black;
    font-weight: bold;
    text-align: right;
}
.blockContainer {
    background-size: 100% 100%;
    float: right;
    width: 260px;
    height: 100px;
    margin-bottom: 50px;
    margin-right: -45px;
    cursor: pointer;
}
    .blockContainer.is-first {
        margin-right: 70px;
    }

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #b3e5fc;
    cursor: pointer;
    outline: 1px solid #b3e5fc;
}

.error_text {
    font-size: 18px;
    color: red;
    font-weight: bold;
}
.input-text-line {
    border: none;
    background: transparent;
    border-bottom: 1px solid #000;
    outline: none;
    height: 60px;
    width: 90%;
    font-size: 20px;
    color: black;
    font-weight: normal;
    text-align: right;
}

ul li a {
    text-decoration: none; /* מסיר את הקו התחתון */
    color: inherit; /* ישמור על הצבע הקיים */
}

    ul li a:hover {
        text-decoration: none; /* מבטיח שגם במעבר עכבר הקו התחתון לא יופיע */
    }
/* עיצוב סרגל הכלים */
.toolbar {
    display: flex;
    justify-content: flex-start; /* מיישר לימין */
    align-items: center;
    /*  position: fixed;*/
    right: 40px;
    background-color: white;
    border-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    gap: 10px; /* מרווחים בין הכפתורים */
}

    /* עיצוב הכפתורים */
    .toolbar button {
        background-color: white;
        color: black;
        padding: 8px 12px;
        border-radius: 5px;
        border-color: white;
        cursor: pointer;
        font-size: 27px;
        
        transition: background-color 0.2s ease-in-out;
    }

        /* אפקט לחיצה */
        .toolbar button:hover {
            background-color: #0056b3;
            color: white;
            border-color: white;
            font-size: 27px;
            font-weight: bold;
        }

.notification {
    position: relative;
    display: inline-block;
    font-size: 24px;
}

.notification-badge {
    position: absolute;
    top: -10px;
  /*  right: -5px;*/
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 50%;
}

/* Flatpickr – הגדלת פונט ומראה מודרני */
.flatpickr-calendar {
    font-size: 22px !important;
    transform: scale(1.35);
    transform-origin: top right;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.flatpickr-months,
.flatpickr-current-month {
    padding: 5px 0;
    font-size: 20px !important;
}

/* ימים – שומרים על הגודל הכללי */
.flatpickr-day {
    font-size: inherit !important;
}

/* סגנון לאייקון */
.calendar-icon {
    position: absolute;
    top: 40%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 30px;
    pointer-events: none; /* כדי שהקליק ייכנס לשדה עצמו */
    color: #555;
}

/* מרווח בשדה שיהיה מקום לאייקון */
.with-calendar {
    padding-left: 30px;
}
.form-check-label {
    font-size: 20px;
}
.select2-container--default .select2-selection--multiple {
    font-size: 20px;
    min-height: 60px;
    padding: 6px;
}

.select2-container--default .select2-results__option {
    font-size: 25px;
}

.select2-selection__rendered {
    font-size: 25px;
}

.select2-container .select2-search--inline .select2-search__field,
.select2-container .select2-search--dropdown .select2-search__field {
    font-size: 25px !important;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 400px !important;
    overflow-y: auto;
}

/* להגדיל את כל הפונטים בטבלה */

#scaffoldings-table {
    /*font-size: 20px; */
}

    /* רק שורות הנתונים */

    #scaffoldings-table .tabulator-row {
        font-size: 20px;
    }

    /* רק כותרות עמודות */
    #scaffoldings-table .tabulator-col {
        font-size: 18px;
        font-weight: bold;
    }

.tabulator .tabulator-header .tabulator-col {
    white-space: normal !important;
    line-height: 1.2; /* אופציונלי – שיפור מרווח בין שורות */
}

    .tabulator .tabulator-header .tabulator-col .tabulator-col-title {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        text-align: center; /* אם את רוצה ליישר למרכז */
        padding: 6px; /* התאימי לפי הצורך */
        word-break: break-word !important;
    }

.tick-cross {
    font-size: 1.4rem;
    font-weight: bold;
    color: green;
}

    .tick-cross.inactive {
        color: red;
    }

.grouped-row {
    cursor: pointer;
    background-color: #e9f6fc;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
    .grouped-row td {
        background-color: #e9f6fc !important;
    }

    .grouped-row.open {
        background-color: #e0f7fa;
    }

.arrow {
    display: inline-block;
    width: 1em;
    margin-left: 5px;
}
.card {
    width: 100%;
   /* max-width: 500px;*/
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 12px;
    margin-top: 20px;
}

.statistics-summary {
    direction: rtl;
}

.summary-card-7 {
    flex: 0 0 calc(14.14% - 10px); /* 6 בכרך שורה אחת */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px #95A5A6;
    padding: 15px;
    min-width: 180px;
    text-align: center;
}
.summary-card {
    flex: 0 0 calc(16.5% - 10px); /* 6 בכרך שורה אחת */
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px #95A5A6;
    padding: 15px;
    min-width: 180px;
    text-align: center;
}
.summary-card-4 {
    flex: 0 0 calc(24.5% - 10px); /* 4 בכרך שורה אחת */
    background-color: #d3d3d33b;
    border-radius: 12px;
    box-shadow: 0 0 10px #95A5A6;
    padding: 15px;
    min-width: 180px;
    text-align: center;
}

.colorBlue {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2em;
}

body.global-viewonly .action-button {
    display: none !important;
}

.btn-container {
    display: flex;
    position: relative;
    height: 40px;
}

    .btn-container .btn {
        font-size: 22px;
        font-weight: bold;
        padding: 5px 10px;
        min-width: 70px;
        position: absolute;
        top: 0;
    }

    .btn-container .align-right {
        right: 25%;
    }

    .btn-container .align-left {
        left: 25%;
    }

    .btn-container .center-btn {
        left: 50%;
        transform: translateX(-50%);
    }
/* גריד של עמודות רספונסיביות */
.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    direction: rtl;
    list-style: none;
    margin: 0;
}

/* כל קבוצה */
.permission-group {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
}

    /* כותרת קבוצה */
    .permission-group > label {
        font-weight: bold;
        font-size: 22px;
        margin-bottom: 10px;
        display: block;
    }

    /* כל פריט פנימי */
    .permission-group ul {
        padding-right: 20px;
        margin-top: 10px;
    }

        .permission-group ul li {
            list-style: none;
            margin-bottom: 5px;
        }

    .permission-group input[type="checkbox"] {
        margin-left: 10px;
        transform: scale(1.4);
    }

    .permission-group label {
        font-size: 22px;
        display: flex;
        align-items: center;
    }

    .permission-group span.toggle {
        margin-right: auto;
        cursor: pointer;
        font-size: 20px;
    }

#budgetTable thead tr.filters select {
    width: 100%;
    font-size: 13px;
    padding: 2px 4px;
    box-sizing: border-box;
}

#budgetTable thead tr.filters {
    background-color: #e8f8ff;
}

#budgetTable thead th {
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

#budgetTable thead tr:nth-child(1),
#budgetTable thead tr:nth-child(2) {
    position: sticky;
    top: 0; /* יותאם בהמשך */
    z-index: 2000;
    background-color: #d8f5f9; /* או כל רקע אחר שתבחרי */
}

/* השורה העליונה תהיה צמודה לטופ */
#budgetTable thead tr:nth-child(1) {
    top: 0;
}

/* השורה השנייה (סינון) תידחף למטה מתחת לראשונה */
#budgetTable thead tr:nth-child(2) {
    top: 45px; /* התאימי לפי הגובה בפועל של כותרת */
    z-index: 1000;
}


.chart-row {
    width: 100%;
    height: 100%; /* מוודא שיש מקום לגרף */
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row-reverse; /* RTL: מקרא משמאל, גרף מימין */
    align-items: center;
    gap: 20px;
    min-height: 220px; /* כדי לא לקרוס לגובה קטן */
}

.chart-legend {
    flex: 0 0 240px; /* רוחב קבוע למקרא */
    font-size: 25px;
    line-height: 1.2;
}

.chart-canvas {
    flex: 1 1 auto; /* שייתן לקנבס את כל השטח הפנוי */
    display: flex;
    justify-content: center; /* מרכוז הגרף */
    align-items: center;
    min-width: 260px;
}

    /* כאן קובעים גודל “אמיתי” לקנבס */
    .chart-canvas canvas {
        width: 700px !important; /* אפשר להגדיל/להקטין לפי הטעם */
        height: 300px !important; /* מתאים לדונאט */
    }

/* מובייל – נערום אחד מעל השני */
@media (max-width: 992px) {
    .chart-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-legend {
        flex: 0 0 auto;
        width: 100%;
    }

    .chart-canvas canvas {
        width: 260px;
        height: 260px;
    }
}
.excel-filter-trigger {
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 8px;
}

#excelFilterPopup::-webkit-scrollbar {
    width: 8px;
}

#excelFilterPopup::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;
}

#excelFilterPopup label:hover {
    background: #f5f7fb;
}
/* שכבת רקע */
.app-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 10000; /* מעל כל ה-sticky */
}

/* הדיאלוג */
.app-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 90vw;
    max-height: 85vh;
    overflow: auto;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.ls-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    direction: rtl; /* התאריך יישב בצד ימין באופן טבעי */
    gap: 70px; /* ריווח גדול בין התאריך לקבוצת הכפתורים */
}
.signedBoxcard {
    padding: 10px 10px 10px 10px;
    background-color: blanchedalmond;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 12px;
    width: 20%;
    float: right;
    margin-right: 70px;
    margin-left: 70px;
    font-size: 17px;
    color: black;
    flex: 0 0 auto;
}
.wd-actions {
    margin-right: 70px;
    display: flex;
    align-items: center;
    gap: 10px; /* ריווח קטן בין הכפתורים עצמם */
}

.ls-date {
    font-size: 35px;
    color: #000;
}


.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.65);
    display: grid;
    place-items: center;
    z-index: 1055;
    backdrop-filter: blur(2px);
}

.loader-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    text-align: center;
    min-width: 180px;
}

.chart-card {
    position: relative; /* נדרש ל-Chart.js */
    height: 500px; /* הגובה הרצוי */
}
    /* ודאות שה-canvas ממלא 100% מהכרטיס */
    .chart-card canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }




/* תוויות */
.lbl {
    font-size: 20px;
    color: #0b2e6b;
    font-weight: 700;
}

/* אחידות לשני הסוגים: select רגיל + Select2 */
.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: #fff;
    border: 0 !important;
    border-bottom: 2px solid rgba(0,0,0,.25) !important;
    border-radius: 0 !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 20px; /* פונט גדול בתוך הסלקט */
    padding: 2px 6px;
}

/* גובה מינימלי ל-multiple */
.select2-container--default .select2-selection--multiple {
    min-height: 44px;
}

    .select2-container--default .select2-selection--multiple .select2-search__field {
        font-size: 20px;
    }

    /* תגיות הבחירה (chips) ב-multiple */
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        font-size: 20px;
        padding: 3px 6px;
        border-radius: 6px;
    }

/* חץ וגבולות */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}

/* פריטי דרופדאון */
.select2-results__option {
    font-size: 20px;
    line-height: 1.3;
}

.select2-dropdown {
    border-color: rgba(0,0,0,.25) !important;
}

/* כפתור הצגה בקו עם האלמנטים */
#btnShow {
    height: 44px;
}

/* RTL (אם הדף לא כבר ב-dir="rtl") */
.select2-container {
    direction: rtl;
}
.toast {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

    .toast.show {
        opacity: 1 !important;
        transform: translateY(0);
    }

.evm-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.evm-summary-card {
    border-radius: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    min-width: 140px;
}

    .evm-summary-card .label {
        font-size: 0.8rem;
        color: #666;
    }

    .evm-summary-card .value {
        font-size: 1rem;
        font-weight: 600;
    }

    .evm-summary-card.good {
        border-right: 4px solid #28a745;
    }

    .evm-summary-card.warn {
        border-right: 4px solid #ffc107;
    }

    .evm-summary-card.bad {
        border-right: 4px solid #dc3545;
    }
