.elementor-34 .elementor-element.elementor-element-1117a328{--display:flex;--min-height:100vh;}.elementor-34 .elementor-element.elementor-element-1117a328:not(.elementor-motion-effects-element-type-background), .elementor-34 .elementor-element.elementor-element-1117a328 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-36c8d1d );}body:not(.rtl) .elementor-34 .elementor-element.elementor-element-62f111d{left:68vh;}body.rtl .elementor-34 .elementor-element.elementor-element-62f111d{right:68vh;}.elementor-34 .elementor-element.elementor-element-62f111d{top:83px;}:root{--page-title-display:none;}@media(max-width:1024px){body:not(.rtl) .elementor-34 .elementor-element.elementor-element-62f111d{left:17vh;}body.rtl .elementor-34 .elementor-element.elementor-element-62f111d{right:17vh;}.elementor-34 .elementor-element.elementor-element-62f111d{top:93px;}}@media(max-width:767px){.elementor-34 .elementor-element.elementor-element-1117a328{--width:100%;}body:not(.rtl) .elementor-34 .elementor-element.elementor-element-62f111d{left:0vh;}body.rtl .elementor-34 .elementor-element.elementor-element-62f111d{right:0vh;}.elementor-34 .elementor-element.elementor-element-62f111d{top:73px;}}/* Start custom CSS for shortcode, class: .elementor-element-62f111d *//* טבלת האירועים הראשית */
.esc-emp-dashboard table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
}

.esc-emp-dashboard table th,
.esc-emp-dashboard table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.esc-emp-dashboard table th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
}

/* שורות סטטוס */
.paid-row {
    background-color: #e6fbe6;
}
.unpaid-row {
    background-color: #ffecec;
}
.status-paid {
    color: #2e8b57;
    font-weight: bold;
}
.status-unpaid {
    color: #b22222;
    font-weight: bold;
}

/* כפתור פירוט */
.toggle-subtable {
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}
.toggle-subtable:hover {
    background: #003f8a;
}

/* טבלת תתי־העובדים */
.subtable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}
.subtable th,
.subtable td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}
.subtable th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

/* רספונסיביות – טלפונים */
@media (max-width: 600px) {
    .esc-emp-dashboard table {
        font-size: 13px;
    }

    .subtable {
        font-size: 12.5px;
    }

    .toggle-subtable {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/* הגדלה רק למחשב */
@media (min-width: 1025px) {
    .esc-emp-dashboard table {
        font-size: 16px;
    }

    .subtable {
        font-size: 15px;
    }

    .toggle-subtable {
        font-size: 15px;
        padding: 8px 14px;
    }

    .esc-kpi-card h3 {
        font-size: 18px;
    }

    .esc-kpi-card p {
        font-size: 22px;
    }
}

/* KPI */
.esc-kpi-cards {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.esc-kpi-card {
    flex: 1 1 30%;
    min-width: 100px;
    max-width: 200px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.esc-kpi-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #0056b3;
}

.esc-kpi-card p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #222;
}

/* רספונסיביות – מובייל */
@media (max-width: 600px) {
    .esc-kpi-card {
        flex: 1 1 30%;
        padding: 12px;
        max-width: 120px;
    }

    .esc-kpi-card h3 {
        font-size: 14px;
    }

    .esc-kpi-card p {
        font-size: 16px;
    }
}


/* הגדרות ברירת מחדל - טלפון */
.esc-kpi-card h3 {
    font-size: 14px;
}
.esc-kpi-card p {
    font-size: 16px;
}
.esc-emp-dashboard table {
    font-size: 13px;
}
.subtable {
    font-size: 12.5px;
}
.toggle-subtable {
    font-size: 13px;
    padding: 5px 10px;
}
.esc-emp-dashboard input[type="text"],
.esc-emp-dashboard input[type="date"],
.esc-emp-dashboard button {
    font-size: 14px;
    padding: 10px;
}

/* הגדלה דרמטית רק למחשב */
@media (min-width: 1025px) {
    .esc-kpi-card {
        max-width: 250px;
        padding: 20px;
    }
    .esc-kpi-card h3 {
        font-size: 24px;
    }
    .esc-kpi-card p {
        font-size: 30px;
    }

    .esc-emp-dashboard table {
        font-size: 18px;
    }
    .subtable {
        font-size: 17px;
    }
    .toggle-subtable {
        font-size: 17px;
        padding: 10px 18px;
    }

    .esc-emp-dashboard input[type="text"],
    .esc-emp-dashboard input[type="date"],
    .esc-emp-dashboard button {
        font-size: 20px;
        padding: 14px 18px;
    }

    .esc-emp-dashboard table th,
    .esc-emp-dashboard table td {
        padding: 16px;
    }
}


/* עטיפת הדשבורד הראשי – תצוגת ברירת מחדל לטלפון */
.esc-emp-dashboard {
    max-width: 95%;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* במסכי מחשב – הגדלה ברוחב ובגובה */
@media (min-width: 1025px) {
    .esc-emp-dashboard {
        max-width: 1400px;
        padding: 60px 80px;
        margin: 60px auto;
        border-radius: 24px;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    }
}








.esc-logout-btn {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.esc-logout-btn:hover {
    background-color: #b02a37;
}



/* From Uiverse.io by mrhyddenn */
button[name="esc_emp_login"] {
  position: relative;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1px solid rgb(61, 106, 255);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  background: transparent;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  transition: all 0.2s ease-in;
}

button[name="esc_emp_login"]:hover {
  background: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  transition: all 0.2s ease-out;
}

button[name="esc_emp_login"]:hover::before {
  animation: sh02 0.5s 0s linear;
}

button[name="esc_emp_login"]::before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
    left: 100%;
  }
}

button[name="esc_emp_login"]:active {
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 0.2s ease-in;
}





button.toggle-subtable {
  font-size: 17px;
  padding: 0.5em 2em;
  border: transparent;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  background: dodgerblue;
  color: white;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

button.toggle-subtable:hover {
  background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
}

button.toggle-subtable:active {
  transform: translate(0em, 0.2em);
}

/* רספונסיביות – טלפונים */
@media (max-width: 600px) {
  button.toggle-subtable {
    font-size: 14px;
    padding: 0.4em 1.4em;
    gap: 6px;
  }
}/* End custom CSS */