@charset "UTF-8";

@font-face {
  font-family: "ploni";
  font-weight: 400; /*(regular)*/
  font-style: normal;
  src: url("/wp-content/webfont_files/ploni-regular-aaa.woff2") format("woff2"),
    url("/wp-content/webfont_files/ploni-regular-aaa.woff") format("woff");
}
@font-face {
  font-family: "ploni";
  font-weight: 700; /*(bold)*/
  font-style: normal;
  src: url("/wp-content/webfont_files/ploni-bold-aaa.woff2") format("woff2"),
    url("/wp-content/webfont_files/ploni-bold-aaa.woff") format("woff");
}
@font-face {
  font-family: "ploni";
  font-weight: 900; /*(black)*/
  font-style: normal;
  src: url("/wp-content/webfont_files/ploni-black-aaa.woff2") format("woff2"),
    url("/wp-content/webfont_files/ploni-black-aaa.woff") format("woff");
}

div#wrapLogIn {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0px;
}

input.inputText {
  border-radius: 5px;
}

button#login,
#pasvortrestarigi,
#addUser,
#addcomp,
.wideButton {
  width: 100%;
  background-color: #24a385;
  color: white;
  border: 0px;
  border-radius: 10px;
  height: 50px;
  margin-top: 10px;
}

#wrapLogIn #forgetPass {
  float: left;
  color: gray;
}

#wrapLogIn input[type="checkbox"] {
  position: relative;
  top: 4px;
}

#wrapLogIn input[type="checkbox"] + label {
  color: gray;
}

input#passLogin {
  margin-bottom: 20px;
}

h1.title {
  font-size: 18px;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 20px;
}
header#site-header {
  display: none !important;
}
#header_page {
  display: flex;
  justify-content: space-between;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 10px;
  align-items: center;
}
img.profile {
  width: 44px;
  height: 44px;
  border-radius: 25px;
  border: 0.5px solid #a1a1a1;
}

li.userItem {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  padding: 10px;
  position: relative;
  width: 100%;
}

li.userItem > * {
  margin: 0px 5px;
}

ul#wrapUsersList {
  padding: 0px;
  margin: 10px 0;
}
input.search[type="text"] {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.13);
  border: 0px;
  padding: 10px;
}

svg.searchImg {
  position: relative;
  right: -10px;
  float: left;
  top: -34px;
}
footer#footer_page {
  display: flex;
  position: fixed;
  justify-content: space-around;
  width: 100%;
  bottom: 0px;
  box-shadow: 0px 4px 10px 0px rgb(0 0 0 / 32%);
  padding: 20px 0px;
  border-radius: 25px 25px 0px 0px;
  right: 0px;
  background-color: white;
}
.menueItemHome {
  width: 43%;
  height: 15vh;
  border: 1px solid #24a385;
  border-radius: 10px;
  margin: 10px;
  display: inline-block;
  text-align: center;
  position: relative;
}
div#wrapHome {
  padding: 10px;
  /* position: relative; */
}
.imgMenueItemHome {
  position: absolute;
  bottom: 6vh;
  margin: 1px 0 0 0;
  width: 100%;
  padding: 0 41%;
  box-sizing: border-box;
  left: 0px;
}

.imgMenueItemHome + label {
  position: absolute;
  bottom: 2vh;
  width: 100%;
  left: 0px;
}
.menuLink {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.menueItemHome:hover {
  background-color: #24a3851f;
}
.menuLink.visited svg {
  stroke: #24a385;
}

.menuLink.usersLink.visited path {
  stroke: #24a385;
}

.menuLink.visited span {
  color: #24a385;
}
button#addUser,
#addcomp {
  margin-top: 0px;
  margin-bottom: 15px;
}

div#body {
  padding-top: 20px;
  padding-bottom: 60px;
  /* position: relative; */
}

button#saveUser,
#deleteUser,
#saveComp,
#deleteComp,
.popup button {
  width: 100%;
  margin: 5px 0;
  border-radius: 10px;
  background-color: #24a385;
  color: white;
  border: 0px;
  padding: 15px;
}

label.textUserField {
  color: #898a8d;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

* {
  font-family: "Ploni";
}

#body input.itemField {
  border: 0px;
  border-bottom: 1px solid #eaeaea;
  padding-right: 0px;
}

button {
  cursor: pointer;
}
p.compUserList {
  float: left;
  position: absolute;
  left: 20px;
}
svg.return {
  position: absolute;
  cursor: pointer;
}
svg.editPost,
#wrapDetailsUser .displayPass {
  position: absolute;
  left: 10px;
  cursor: pointer;
}
.wrapList {
  list-style: none;
  padding: 0px;
  max-width: 100%;
}

.itemList {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  width: 100%;
  position: relative;
}

p.name {
  margin-right: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  position: relative;
  top: -5px;
}

p.numCompList,
.nameCompProduct {
  position: absolute;
  bottom: -1px;
  right: 64px;
}

svg.testsCompItem {
  position: absolute;
  left: 40px;
}

svg.prodCompItem {
  position: absolute;
  left: 10px;
}
img.addItem {
  position: relative;
  top: 8px;
  right: 5px;
}
.popup {
  position: fixed;
  top: 50%;
  background-color: white;
  width: 80%;
  border-radius: 10px;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px 20px;
  z-index: 1;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
}

p.titlePopup {
  font-size: 18px;
}

.bold {
  font-weight: bold;
  padding-left: 5px;
}

.popup button {
  padding: 6px;
}

.popup button svg,
#saveUser svg,
#deleteUser svg,
.svgRelative,
.wideButton svg {
  position: relative;
  top: 5px;
  right: 3px;
}
div#backgroundPopup {
  position: fixed;
  background-color: #00000075;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  top: 0px;
  right: 0px;
  display: none;
}

button#deleteUserOk,
button#deleteUser,
#deleteCompOk,
.trashButton {
  background-color: #144b4f;
}
input#levelUser,
#compUser {
  width: 100%;
  text-align: start;
}

div#selectLevelUser {
  padding: 25px;
}

svg.closePopup {
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
}

.selectLevel,
.selectComp,
.selectType,
.selectTypeTest,
.selectTypeNewReport {
  width: 100%;
  display: block;
  border-radius: 5px;
  border: 1px solid #eaeaea;
  background: #fff;
  padding: 10px;
  margin: 5px 0px;
  text-decoration: none !important;
}
.selected {
  background-color: #eaeaea;
}
.transparent {
  background-color: transparent !important;
}
svg.okGreen {
  stroke: #24a385;
  margin-bottom: 5px;
}
input#isCreatePass {
  margin-top: 40px;
  margin-bottom: 15px;
}
.createPassArea {
  display: none;
}
.pointer {
  cursor: pointer;
}
.openPopupSelect {
  position: relative;
  bottom: 30px;
  float: left;
  z-index: -1;
}
.openPopupSelect svg {
  margin-right: 5px;
}
.addImage {
  height: 50px;
  border-radius: 7px;
  border: 1px dashed #bfbfbf;
  text-align: center;
  padding-top: 30px;
}
svg.okGreen.svgRelative {
  top: 11px;
  right: auto;
  left: 5px;
}
p.message {
  text-align: center;
}
button#deleteComp {
  position: absolute;
  width: 114px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #ed0039;
  left: 10px;
  top: 116px;
  text-align: start;
  cursor: pointer;
  font-size: 15px;
}

button#deleteComp svg {
  position: absolute;
}
div#wrapCompTabs {
  display: flex;
  width: 100%;
  justify-content: space-around;
  background-color: #24a3851f;
}

button.compTab {
  border: 0px;
  background-color: transparent;
  padding: 18px 0px;
  cursor: pointer;
  border-radius: 0px;
  outline: 0px !important;
}

button.tabNow {
  border-bottom: 2px solid #000;
}
button#addGrower {
  margin-bottom: 10px;
}

ul#wrapGrowersList {
  list-style: none;
  padding: 0px;
}

li.growerItem {
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  margin: 5px 0px;
}
.wrapProductField {
  display: inline-block;
  width: 50%;
  position: relative;
}
.testProductItem {
  position: absolute;
  left: 10px;
}
.typeProductItem {
  position: absolute;
  left: 50px;
}
.typeProductItem,
.testProductItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9.273px;
}
button.buttonTestStage {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #144b4f;
  background: rgba(36, 163, 133, 0.12);
  position: relative;
}

.buttonTestStage svg {
  position: absolute;
  left: 20px;
  top: 18px;
}
button.buttonTestStage ~ *:not(button.buttonTestStageNow ~ *) {
  display: none !important;
}
.buttonTestStageNow {
  background-color: #24a3851f;
}
.wrapTestField {
  position: relative;
}

svg.arrowListEmpty {
  position: absolute;
  top: 19px;
  right: 181px;
}
ul#wrapListForTest {
  padding: 0px;
  max-height: 35vh;
  overflow: auto;
}
/* button#addTest, #addSubTest {
    position: absolute;
    border-radius: 5px;
    background: #24A385;
    border: 0px;
    color: white;
    padding: 5px 7px;
    left: 10px;
    top: 116px;
    text-align: start;
    cursor: pointer;
    font-size: 15px;
    width: 113px;
} */

#addSubTest {
  position: absolute;
  border-radius: 5px;
  background: #24a385;
  border: 0px;
  color: white;
  padding: 5px 7px;
  left: 10px;
  top: 116px;
  text-align: start;
  cursor: pointer;
  font-size: 15px;
  width: 113px;
}

/* button#addTest{
	margin-top: 3%;
	margin-left: 3%;
}
svg.addTestIcon {
    float: left;
   padding-right: 3%;

}


button#addTest img {
    position: absolute;
} */
#selectProduct p.titlePopup {
  text-align: start;
  font-weight: 600;
}

div#selectProduct {
  padding-top: 15px;
}

input.searchPopup {
  border-radius: 50px !important;
  border: 1px solid #eaeaea !important;
  font-size: 14px;
}
div#selectgrower .name {
  margin-top: 10px;
  margin-bottom: 0px;
}
.detailsStage {
  border-radius: 10px;
  border: 1px solid #eaeaea;
  padding: 5px;
  padding-bottom: 46px;
}

button.buttonTestStage {
  /* margin-bottom: 10px; */
  text-align: start;
}

.detailsStage .textField {
  font-weight: 600;
  margin: 0px 5px;
}
button.editStage {
  border-radius: 5px;
  background: #7b7b7b;
  border: 0px;
  color: white;
  padding: 5px 12px;
  float: left;
  cursor: pointer;
}
.leftItemProdList {
  position: absolute;
  left: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: -5px;
}

.productForTestItem.itemList {
  border-radius: 15px;
  border: 1px solid #eaeaea;
  margin: 5px 0px;
}
.wrapLineSummaryTest {
  display: flex;
  justify-content: space-evenly;
  padding-left: 15px;
}

#summaryTest .itemList {
  align-items: flex-start;
}

div#summaryTest {
  padding: 5px;
  border-radius: 15px;
  border: 1px solid #eaeaea;
  margin-bottom: 10px;
}

.wrapLineSummaryTest div:last-child {
  position: relative;
  right: 30px;
}
button#addSubTest {
  top: auto;
  width: 120px;
  padding: 8px 10px;
  position: relative;
  float: left;
  margin-bottom: 100px;
  margin-top: 10px;
  left: 0px;
}
.low-Z-index {
  z-index: 0 !important;
}
div#need2TestsField {
  width: 83%;
}
.wrongTestInTable {
  border-radius: 5px;
  background: #686868;
  color: white;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  line-height: 55px;
  position: relative;
}

.wrongTestInTable svg path {
  fill: white;
}

.wrongTestInTable svg {
  position: absolute;
  top: 8px;
  margin-right: 5px;
}
.hidden {
  /* visibility: hidden; */
  display: none;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px; /* שינוי מהגדרות Figma */
  border: 1px solid #c3c3c3; /* שינוי מהגדרות Figma */
  background: #fff; /* שינוי מהגדרות Figma */

  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  right: 4px;
  bottom: 4px;
  background-color: #24a385;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

/* .switchHarakim .slider:before{
    background-color: #24A385;

  }

  .switchKtifa .slider:before{
    background-color: #EAEAEA;

  } */

input:checked + .slider {
  background-color: white;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(-37px);
  -ms-transform: translateX(-37px);
  transform: translateX(-37px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
#levelUser[value="מנהל"] ~ .compUserArea {
  display: none;
}
.wrapSwitchHarakim {
  padding: 8px 10px;
  border-radius: 5px;
}

.switchHarakim input:checked + .slider:before {
  background-color: #ed0039;
}

.switchKtifa input:checked + .slider:before {
  /* background-color: #EAEAEA; */
  background-color: #ed0039;
}

span.swichText {
  position: absolute;
  top: 9px;
}

.switchHarakim input:checked ~ .round:after {
  content: "כן";
  margin-right: 20px;
}

.switchKtifa input:checked ~ .round:after {
  content: "אתמול";
  margin-right: 20px;
}
/*  */
.switchKtifa input:checked ~ .round.dateRound:after {
  content: attr(data-content-before);
  margin-right: 9px;
}

.switchKtifa input ~ .round.dateRound:after {
  content: attr(data-content);
  margin-right: 32px;
}

.switchHarakim input ~ .round:after {
  content: "לא";
  margin-right: 35px;
  font-size: 16px;
  position: relative;
  top: 9px;
}

.switchKtifa input ~ .round:after {
  content: "היום";
  margin-right: 35px;
  font-size: 16px;
  position: relative;
  top: 9px;
}

.switchKtifa input ~ .round.dateRound:after {
  content: attr(data-content);
}

label.switch.switchHarakim {
  margin-right: 10px;
}
input[class^="message"] {
  border-radius: 50px;
  border: 1px solid #eaeaea !important;
  padding: 10px 15px !important;
}
svg.sentMes {
  position: absolute;
  left: 10px;
  top: 10px;
}
.wrapSwitchHarakim,
.wrapSwitchHarakim + .wrapTestField,
#saveStage {
  margin-bottom: 10px;
}
button.testItem {
  border-radius: 5px;
  border: 1px solid #144b4f;
  background: #e4f4f0;
  color: #144b4f;
  /* margin-bottom: 123px; */
}
svg.testItemIcon path {
  stroke: #144b4f;
}
button#addSubTest svg {
  position: absolute;
  left: 14px;
}
.dt-length,
.dt-layout-cell.dt-end,
[aria-live="polite"] {
  display: none !important;
}
span.dt-column-order {
  right: 10px !important;
  position: relative !important;
}

th.dt-orderable-asc {
  text-align: center !important;
  padding-right: 0px !important;
}
button#okTestAdmin {
  background-color: #ed0039;
  border-radius: 5px;
  color: white;
  border: 0px;
  position: fixed;
  bottom: 100px;
}
button#deleteProduct {
  border-radius: 5px;
  background: #ed0039;
  color: white;
  border: 0px;
  padding-left: 40px;
  margin-top: 10px;
}

button#deleteProduct svg {
  position: absolute;
}

div#wrapProductComp {
  text-align: center;
}

input.checkProd {
  margin-left: 5px;
}

li.productItem .nameCompProduct {
  right: 81px;
}
img.imgProd {
  max-width: 100px;
}

.wrapImages {
  /*   */
  display: none;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 10px;
}
.detailsTestItemList {
  width: calc(95% - 20px);
  background-color: white;
  border: 0px !important;
  padding-bottom: 10px;
}
table tr {
  /* position: relative; */
  width: 95vw;
}
span#supervisorReport {
  display: block;
}
#wrapTestsList th {
  border: 0px;
  padding-left: 0px;
  /* max-width: 67px; */
  /* display: inline-block; */
}

thead {
  position: relative;
}
.empty span.dt-column-order {
  display: none;
}

thead tr {
  border-radius: 2px;
  background: #eaeaea;
  border-bottom: 10px solid white;
}

tr.wrapTestItem {
  border-radius: 10px; /* border: 1px solid #EAEAEA; */ /* margin: 10px 0px; */ /* padding: 10px 0px; */ /* display: revert; */
  outline: 1px solid #eaeaea;
}

tr.wrapTestItem td {
  border: 0px;
  padding: 8px 10px;
}

.wrapTestItem td {
  background-color: white !important;
}

/* אנימציה להדגשת עדכון תאריך אחרון */
.wrapTestItem td.highlight-update {
  background-color: #d4edda !important;
  transition: background-color 0.3s ease;
}

/* עמודת הפקת דוח בטבלה הראשית */
.report-col-main {
  width: 80px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* כפתור הפקת דוח בטבלה הראשית */
.btn-generate-main-report {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.btn-generate-main-report:hover {
  background-color: #f0f0f0;
  transform: scale(1.1);
}

.btn-generate-main-report:active {
  transform: scale(0.95);
  background-color: hsl(0, 0%, 88%);
}

/* התאמה למובייל - אפקט טאץ' במקום hover */
@media (hover: none) and (pointer: coarse) {
  .btn-generate-main-report:hover {
    background-color: transparent;
    transform: none;
  }

  .btn-generate-main-report:active {
    background-color: #e0e0e0;
    transform: scale(0.95);
  }
}

/* גודל מוגדל יותר למובייל */
@media (max-width: 768px) {
  .btn-generate-main-report {
    padding: 12px 16px;
    font-size: 22px;
    min-width: 44px;
    min-height: 44px;
  }

  .report-col-main {
    width: 60px !important;
  }
}

table#wrapTestsList {
  border-collapse: separate;
  border-spacing: 0px 10px;
  table-layout: fixed;
  width: 100% !important;
}
main#content {
  max-width: 95%;
}
button#okNewReport[disabled] {
  background: #eee;
}
button#okNewReport {
  position: absolute;
  width: 90%;
  bottom: 99px;
}

svg.iconRed path {
  fill: red;
}

svg.iconRed {
  position: absolute;
  top: 0px;
  right: 110px;
}
.none {
  display: none !important;
}
.wrapLine,
.detailsTestItemList p {
  background: #f7f7f7;
  margin: 5px 0px;
  padding: 5px;
}
/* div#wrapfieldTest1 {
    margin-bottom: 65px;
} */

#wrapNewReport .itemField {
  border-radius: 5px;
  border: 1px solid #d9d9d9 !important;
  padding-right: 5px !important;
  display: inline-block;
  width: 45%;
  margin-right: 10px;
}

#wrapNewReport label.textField {
  font-weight: 600;
}

#wrapNewReport .wrapTestField {
  margin: 15px 0px;
}

label.switch.switchKtifa {
  width: 100px;
  border: 1px solid #eaeaea;
  border-radius: 50px;
}

.switchKtifa input:checked + .slider:before {
  -webkit-transform: translateX(-65px);
  -ms-transform: translateX(-65px);
  transform: translateX(-65px);
}
.detailsTestItemList td {
  border-bottom: 1px solid #eaeaea !important;
  border-left: 1px solid #eaeaea !important;
  border-right: 1px solid #eaeaea !important;
}

#wrapTestsList td {
  border: 0px;
  vertical-align: middle;
  text-align: center;
}

/*  */
#wrapTest .textField {
  font-weight: bold;
}

#wrapTest .wrapTestField.wrapSwitchHarakim > span {
  font-weight: bold !important;
  padding-right: 6px;
  padding-left: 1%;
}

#wrapTest .wrapTestField.wrapSwitchKtifa > span {
  font-weight: bold !important;
  padding-right: 10px;
  padding-left: 1%;
}

#wrapTest .wrapTestField > .addImage {
  float: right;
  margin-left: 3%;
  width: 48%;
  text-align: center;
  border-radius: 10px;
  padding: 5px;
}

#wrapTest .wrapTestField > .addImage > p {
  margin-top: -5%;
}
#wrapTest .saveStage {
  border: 1px solid #000;
  background-color: rgba(36, 163, 133, 0.12);
  width: 49%;
  box-sizing: border-box;
  text-align: center;
  padding: 13px 37px;
  border-radius: 10px;
  margin-bottom: 5%;
}
#wrapTest .saveStage > svg {
  float: left;
}

div#wrapTest .saveStage svg path {
  fill: black;
}
div#wrapTest .wrapTestField .message {
  border-radius: 10px;
  border: 1px solid #eaeaea;
  background-color: #fff;
}
div#wrapTest .detailsStageEdit {
  border-radius: 0px 0px 10px 10px;
  border-right: 1px solid #303030;
  border-bottom: 1px solid #303030;
  border-left: 1px solid #303030;
  background-color: #f7f7f7;
  padding-right: 6px;
  padding-bottom: 6px;
  padding-left: 6px;
  padding-top: 12px;
}
#wrapTest .wrapStage {
  padding-bottom: 12px;
}
/*  */

/* עבור מסכים רגילים */

div#wrapTest .wrapTestField:has(label + input) {
  /* width: 58%; */
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 5px;
}

div#wrapTest .wrapTestField label {
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 5px;
  padding-left: 7%;
}

div#wrapTest .wrapTestField input {
  margin-left: 5%;
  flex-grow: 1;
  box-sizing: border-box;
  width: 0;
}

/* התאמה לגלקסי */
@media (max-width: 370px) {
  div#wrapTest .wrapTestField :has(label + input) {
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

  div#wrapTest .wrapTestField input {
    width: 100%;
    margin-left: 0;
  }
}

#returnFromReport:not([id^="wrapComp"] + #reports #returnFromReport) {
  display: none;
}
#wrapProductComp button#addProduct {
  margin-bottom: 17px;
}
#wrapTestsList th:hover,
th:focus {
  border-bottom: 2px solid #000;
}

*:focus {
  outline: none;
  box-shadow: 0 0 3px 1px #333333;
}
button:focus {
  outline: revert;
  box-shadow: revert;
}

.slider.round::after {
  content: attr(data-content-before);
  white-space: nowrap;
  padding-left: 10px;
}

#filtersReports {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#filtersReports .filter {
  margin-left: 7px;
}
#filterCompany span,
#filterProduct span,
#filterDate span {
  padding-left: 5px;
}

#reportsHeaderRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

#searchReportsWrap {
  /* flex: 1; */
  display: flex;
  justify-content: flex-start;
}

#searchReports {
  width: 200px;
  height: 50px;
  border-radius: 10px;
  padding: 0 15px;
  border: 1px solid #eaeaea;
  font-size: 16px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.13);
  background: #fff;
}

#addTest {
  width: 200px;
  height: 50px;
  /* min-width: 140px; */
  font-size: 16px;
  margin: 0;
  border-radius: 10px;
  background-color: #24a385;
  color: white;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* אם יש אייקון SVG או IMG */
#addTest svg,
#addTest img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
  position: static;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  flex-wrap: wrap;
}
.row.space {
  justify-content: space-between;
}
.lbl {
  min-width: 90px;
  font-weight: 600;
}
.subtitle {
  margin: 0;
  font-size: 16px;
}
.btn {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  cursor: pointer;
}
.btn.small {
  padding: 4px 10px;
  font-size: 0.9rem;
}
.btn.ghost {
  background: transparent;
}
.btn.danger {
  border-color: #ef4444;
  color: #ef4444;
}
.item {
  padding: 8px 0;
}
.gamlon-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 10px;
}
.chip .x {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.muted {
  color: #6b7280;
  font-style: italic;
}

#wrapGrowersList .gh-summary {
  margin: 2px 0 0;
  color: #6b7280; /* אפור עדין */
  font-size: 0.92rem;
  line-height: 1.3;
  direction: rtl; /* לוודא RTL */
  white-space: nowrap; /* שורה אחת */
  overflow: hidden;
  text-overflow: ellipsis; /* ... אם ארוך מדי */
}
#wrapGrowersList .growerItem {
  padding: 10px 12px;
}
#wrapGrowersList .growerItem .name {
  margin: 0;
}

/* Greenhouse Selection Popup Styles */
.noGreenhouses {
  text-align: center;
  padding: 20px;
}

.popupGhPicker {
  position: relative;
  padding: 20px;
}

.popupGhPicker .greenhouseItem {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.popupGhPicker .greenhouseItem:hover {
  background-color: #f5f5f5;
}

.subtestsHeader {
  display: flex;
  justify-content: flex-start; /* RTL: שמאל */
  margin: 8px 0 10px;
}
.subtestsHeader .btn.add-subtest {
  padding: 6px 10px;
}

/* רקע הפופאפ */
#backgroundPopup {
  transition: opacity 0.3s ease;
}

/* הפופאפ עצמו */
.subtest-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: all 0.3s ease;
}

.subtest-popup.popup-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* כותרת הפופאפ */
.subtest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}

.subtest-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.subtest-close {
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.subtest-close:hover {
  background-color: #f5f5f5;
}

/* תוכן הפופאפ */
.subtest-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.subtest-scroll {
  padding: 24px;
}

/* קבוצת שדה */
.form-group {
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

/* תוית שדה */
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-label.required::after {
  content: " *";
  color: #24a385;
}

/* רמז/הערה קטנה */
.form-hint {
  display: block;
  font-size: 12px;
  color: #898a8d;
  margin-top: 6px;
  font-style: italic;
}

/* שדות קלט */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: "Ploni", sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #24a385;
  box-shadow: 0 0 0 3px rgba(36, 163, 133, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bfbfbf;
}

/* Wrapper לסלקט עם חץ */
.select-wrapper {
  position: relative;
}

.select-wrapper .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-left: 40px;
}

.select-wrapper .select-arrow {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

/* טקסט אזור */
.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* קבוצת רדיו */
.radio-group {
  display: flex;
  gap: 12px;
}

.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 2px solid #d9d9d9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.radio-option:hover {
  border-color: #24a385;
  background-color: rgba(36, 163, 133, 0.05);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option input[type="radio"]:checked + .radio-label {
  font-weight: 600;
  color: #24a385;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: #24a385;
  background-color: rgba(36, 163, 133, 0.1);
}

.radio-label {
  font-size: 15px;
  color: #333;
  transition: all 0.2s ease;
}

/* קונטיינר גמלונים */
.gamlon-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}

/* Checkbox של גמלון */
.gamlon-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #ffffff;
  border: 2px solid #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.gamlon-checkbox:hover {
  border-color: #24a385;
  background-color: rgba(36, 163, 133, 0.05);
}

.gamlon-checkbox input[type="checkbox"] {
  display: none;
}

.gamlon-checkbox:has(input[type="checkbox"]:checked) {
  border-color: #24a385;
  background-color: #24a385;
}

.gamlon-checkbox:has(input[type="checkbox"]:checked) .gamlon-label {
  color: #ffffff;
  font-weight: 600;
}

.gamlon-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
}

/* פעולות גמלונים */
.gamlon-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

/* .btn-text {
    background: none;
    border: none;
    color: #24a385;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: #1d8268;
    text-decoration: underline;
} */
.gamlon-actions .btn-text {
  background: none;
  border: none;
  color: #24a385;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  margin: 0 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: all 0.2s ease;
}

.gamlon-actions .btn-text:hover {
  background: #24a3851a;
  color: #1d8268;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
}

/* אין גמלונים */
.no-gamlons {
  text-align: center;
  padding: 20px;
  color: #898a8d;
  font-size: 14px;
}

/* תחתית הפופאפ */
.subtest-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #eaeaea;
  background: #fafafa;
  border-radius: 0 0 16px 16px;
}

/* כפתורים */
.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: #24a385;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d8268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 163, 133, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  background: #ffffff;
  color: #666;
  border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #bfbfbf;
}

/* הודעות שגיאה */
.validation-errors {
  background: #fff3f3;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-icon {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.error-title {
  font-size: 16px;
  font-weight: 600;
  color: #d32f2f;
  text-align: center;
  margin-bottom: 12px;
}

.error-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-list li {
  padding: 6px 12px;
  font-size: 14px;
  color: #c62828;
  position: relative;
  padding-right: 24px;
}

.error-list li::before {
  content: "•";
  position: absolute;
  right: 8px;
  color: #d32f2f;
  font-weight: bold;
}

/* גלילה מותאמת */
.subtest-content::-webkit-scrollbar {
  width: 8px;
}

.subtest-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.subtest-content::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 4px;
}

.subtest-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.gamlon-container::-webkit-scrollbar {
  width: 6px;
}

.gamlon-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.gamlon-container::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 3px;
}

/* התאמה למסכים קטנים */
@media (max-width: 640px) {
  .subtest-popup {
    width: 95%;
    max-height: 95vh;
  }

  .subtest-header {
    padding: 16px 20px;
  }

  .subtest-title {
    font-size: 18px;
  }

  .subtest-scroll {
    padding: 20px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .subtest-footer {
    flex-direction: column-reverse;
    padding: 16px 20px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .radio-group {
    /* flex-direction: column; */
    gap: 8px;
    flex-direction: row;
  }

  .gamlon-container {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }
}

/* אנימציות נוספות */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* טבלת תת-בדיקות */
.subtests-table {
  width: 100%;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.subtests-table table {
  width: 100%;
  border-collapse: collapse;
}

.subtests-table th {
  background: #24a385;
  color: white;
  padding: 12px 16px;
  text-align: right;
  font-weight: 600;
  font-size: 14px;
}

.subtests-table td {
  padding: 12px 16px;
  text-align: right;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}

.subtests-table tr:last-child td {
  border-bottom: none;
}

.subtests-table tr:hover {
  background: #f9f9f9;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  transform: scale(1.1);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

/* RTL Support */
[dir="rtl"] .subtest-header,
[dir="rtl"] .form-label,
[dir="rtl"] .subtests-table th,
[dir="rtl"] .subtests-table td {
  text-align: right;
}

[dir="rtl"] .select-wrapper .form-select {
  padding-right: 40px;
  padding-left: 16px;
}

[dir="rtl"] .select-wrapper .select-arrow {
  right: 12px;
  left: auto;
}

[dir="rtl"] .error-list li {
  padding-right: 24px;
  padding-left: 12px;
}

[dir="rtl"] .error-list li::before {
  right: 8px;
  left: auto;
}

/* הודעת אזהרה כשאין גמלונים */
.no-gamlons-warning {
  background: #fff9e6;
  border: 2px solid #ffd966;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.no-gamlons-warning .warning-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.no-gamlons-warning .warning-text strong {
  display: block;
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.no-gamlons-warning .warning-text p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.btn-link-to-grower {
  background: #24a385;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-link-to-grower:hover {
  background: #1d8268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 163, 133, 0.3);
}

/* ========================================
   וולידציה ושגיאות
   ======================================== */

.form-group.has-error {
  animation: shake 0.5s;
}

.form-group.has-error .form-label {
  color: #dc3545;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.form-group.has-error .gamlon-container {
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 12px;
  background-color: #fff5f5;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* ========================================
   ספינר טעינה
   ======================================== */

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   הדגשת שורה חדשה בטבלה
   ======================================== */

.subtest-row.new-row {
  background-color: #eef2ff;
}

.subtest-row.highlight {
  animation: highlightRow 2s ease-out;
}

@keyframes highlightRow {
  0% {
    background-color: #bfdbfe;
  }
  100% {
    background-color: transparent;
  }
}

/* מיכל הטבלה הפנימית */
.inner-tests-table {
  padding: 15px;
  background: #f7f7f7;
  border-radius: 8px;
  margin: 10px 0;
}

/* הטבלה הפנימית עצמה */
.inner-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  table-layout: fixed;
}

/* כותרות הטבלה הפנימית */
.inner-table thead tr {
  background: #24a385;
}

.inner-table thead th {
  padding: 12px 10px;
  text-align: center;
  /* text-align: right; */
  font-weight: 600;
  color: white;
  font-size: 13px;
  white-space: nowrap;
}

/* עמודת ההרחבה */
.inner-table th.expand-col,
.inner-table td.expand-col {
  width: 40px;
  text-align: center;
  padding: 8px 5px;
}

.expand-icon-inner {
  display: inline-block;
  cursor: pointer;
  font-size: 12px;
  color: #24a385;
  transition: transform 0.3s ease;
  user-select: none;
}

/* שורות הטבלה הפנימית */
.inner-test-row {
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #eaeaea;
}

.inner-test-row:hover {
  background-color: #24a3851f;
  transform: translateX(-2px);
}

.inner-test-row td {
  padding: 14px 10px;
  font-size: 13px;
  color: #495057;
  vertical-align: middle;
}

/* עיצוב עמודות ספציפיות */
.date-col {
  font-weight: 500;
  color: #144b4f;
}

.product-col {
  color: #686868;
}

.gamlon-col {
  font-weight: 500;
}

.status-col {
  text-align: center;
}

.status-col svg {
  width: 20px;
  height: 20px;
}

.test-type-col {
  color: #24a385;
  font-weight: 500;
  font-size: 12px;
}

/* כפתורי הפעולות */
.actions-col {
  text-align: center;
  white-space: nowrap;
}

.inner-table button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px 10px;
  margin: 0 3px;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-view {
  background: #e4f4f0;
}

.btn-view:hover {
  background: #24a385;
  /* color: white; */
  transform: scale(1.1);
}
.btn-view:hover svg {
  stroke: white !important;
  color: white !important;
}

.btn-view:hover svg path {
  stroke: white !important;
}

.btn-edit {
  background: #eaeaea;
}

.btn-edit:hover {
  background: #bfbfbf;
  transform: scale(1.1);
}

/* שורת הפרטים המורחבת */
.inner-details-row {
  background: #f7f7f7;
  border-bottom: 2px solid #eaeaea;
}

.inner-details-row.hidden {
  display: none;
}

/* ======================================== */
/*    פופאפ בחירת תאריכים להפקת דוח       */
/* ======================================== */

.date-range-popup {
  background: white;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: scaleIn 0.3s ease-out;
}

/* כותרת הפופאפ */
/* .date-range-header {
  background: linear-gradient(135deg, #4caf7f 0%, #3a8a72 100%);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #2e6b59;
} */

.date-range-header {
  background: linear-gradient(135deg, #4caf7f 0%, #3a8a72 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
}

/* .date-range-title {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
} */

.date-range-title {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 0;

  flex: 1; /* הכותרת לוקחת את רוב השורה */
  text-align: right; /* RTL */
  white-space: nowrap; /* שלא ירד שורה */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .date-range-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.date-range-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;

  width: 36px;
  height: 36px;
  min-width: 36px;

  padding: 0; /* חשוב כדי שלא יתרחב */
  flex: 0 0 36px; /* לא גדל ולא מתכווץ */
  border-radius: 50%;

  cursor: pointer;
  transition: all 0.3s ease;

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

  margin-left: auto;
}

.date-range-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* תוכן הפופאפ */
.date-range-content {
  padding: 30px 20px;
}

.date-range-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.date-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-label {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.date-input {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafafa;
}

.date-input:focus {
  outline: none;
  border-color: #4caf7f;
  background: white;
  box-shadow: 0 0 0 3px rgba(76, 175, 127, 0.1);
}

/* תחתית הפופאפ - כפתורים */
.date-range-footer {
  padding: 20px;
  background: #f8f9fa;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #e0e0e0;
}

.btn-cancel-date,
.btn-generate-report-final {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-cancel-date {
  background: #e0e0e0;
  color: #666;
}

.btn-cancel-date:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

.btn-generate-report-final {
  background: linear-gradient(135deg, #4caf7f 0%, #3a8a72 100%);
  color: white;
}

.btn-generate-report-final:hover {
  background: linear-gradient(135deg, #45a073 0%, #337d66 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 127, 0.3);
}

.btn-generate-report-final:active {
  transform: translateY(0);
}

/* התאמה למובייל */
@media (max-width: 640px) {
  .date-range-popup {
    max-width: 95%;
    border-radius: 8px;
  }

  .date-range-header {
    padding: 16px;
  }

  .date-range-title {
    font-size: 18px;
  }

  .date-range-content {
    padding: 20px 16px;
  }

  .date-range-footer {
    flex-direction: column-reverse;
    padding: 16px;
  }

  .btn-cancel-date,
  .btn-generate-report-final {
    width: 100%;
    padding: 14px 20px;
  }

  .date-input {
    font-size: 16px; /* מונע zoom באייפון */
  }
}

/* תמיכה במסכים קטנים מאוד */
@media (max-width: 370px) {
  .date-range-title {
    font-size: 16px;
  }

  .date-label {
    font-size: 14px;
  }
}

.inner-details-row td {
  padding: 0 !important;
}

/* תוכן הפרטים */
.test-details-content {
  padding: 20px;
}

/* רשת הפרטים */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 12px;
  border-radius: 6px;
  border-right: 3px solid #24a385;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-label {
  font-size: 11px;
  color: #7b7b7b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.detail-value {
  font-size: 14px;
  color: #144b4f;
  font-weight: 500;
}

.notes-text {
  color: #686868;
  font-weight: 400;
  line-height: 1.5;
}

/* קטע ההתראות */
.warnings-section {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
}

.warnings-title {
  font-weight: 700;
  color: #856404;
  margin-bottom: 10px;
  font-size: 14px;
}

/* כפתור הוספת תת-בדיקה */
.subtestsHeader {
  padding: 15px;
  background: #f7f7f7;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: flex-end;
}

.btn.add-subtest {
  background: #24a385;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(36, 163, 133, 0.3);
}

.btn.add-subtest:hover {
  background: #144b4f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 163, 133, 0.5);
}

/* ריספונסיביות */
@media (max-width: 768px) {
  .inner-table {
    font-size: 12px;
  }

  .inner-table thead th,
  .inner-test-row td {
    padding: 10px 5px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  /* .test-type-col {
        display: none;
    } */

  /* כפתורי פעולות במובייל - יותר קטנים ומרוכזים */
  /* .actions-col {
        padding: 5px 2px !important;
    }
    
    .inner-table .actions-col button {
        padding: 1px 1px !important;
        margin: 0 1px !important;
        font-size: 14px !important;
    }
    
    .inner-table .actions-col .btn-view svg {
        width: 14px !important;
        height: 14px !important;
    } */

  /* כפתורי פעולות במובייל - יותר קטנים ומרוכזים */
  .actions-col {
    padding: 5px 1px !important;
    width: auto !important;
  }

  .inner-table .actions-col button {
    padding: 3px 5px !important;
    margin: 0 1px !important;
    font-size: 13px !important;
    min-width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .inner-table .actions-col .btn-view svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* ביטול אפקטי hover במובייל כדי שלא יגדילו את הכפתורים */
  .inner-table .btn-view:hover,
  .inner-table .btn-edit:hover {
    transform: none !important;
    scale: 1 !important;
  }

  /* אפקט לחיצה קל במקום */
  .inner-table .btn-view:active,
  .inner-table .btn-edit:active {
    opacity: 0.7 !important;
    transform: none !important;
  }
}

/* כפתורי פעולה בפרטים המורחבים */
.details-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eaeaea;
}

.btn-details-action {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-details-delete {
  /* background: #ed0039; */
  color: #ed0039;
}

.btn-details-delete:hover {
  background: #c10030;
  /* transform: translateY(-2px); */
  transform: scale(1.03); /* ✅ 3% במקום תזוזה */
  box-shadow: 0 4px 16px rgba(237, 0, 57, 0.4);
  color: white;
}

.btn-details-edit {
  /* background: #24a385; */
  /* color: white; */
  color: #24a385;
}

.btn-details-edit:hover {
  background: #1d8268;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(36, 163, 133, 0.4);
  color: white;
}

/* ========================================
   עיצוב נקי ומקצועי לעמוד בדיקה חדשה
   גרסה 3.0 - ללא מסגרות כפולות!
   ======================================== */

/* המיכל הראשי - פשוט ונקי */
.new-test-page-modern {
  max-width: 500px;
  margin: 30px auto;
  padding: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* כותרת העמוד */
.new-test-page-modern::before {
  content: "בדיקה חדשה";
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #144b4f;
  text-align: center;
  padding: 25px 20px 20px;
  border-bottom: 2px solid #e8f5f2;
  background: linear-gradient(to bottom, #f8fdfc, white);
}

/* עיצוב השדות - ללא מסגרת נוספת! */
.new-test-page-modern .wrapTestField {
  margin: 0 auto;
  padding: 20px 25px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  background: white;
  transition: background 0.2s ease;
  max-width: 100%;
}

.new-test-page-modern .wrapTestField:hover {
  background: #6ad5ba;
}

.new-test-page-modern .itemField:hover {
  border-color: #1d8268 !important; /* ✅ ירוק כהה */
  background: #f0faf7 !important; /* ✅ רקע ירוק עדין */
}

.new-test-page-modern .itemField:focus:hover {
  border-color: #144b4f !important; /* ✅ ירוק כהה מאוד */
  box-shadow: 0 0 0 3px rgba(20, 75, 79, 0.12) !important;
}

.new-test-page-modern .arrowListEmpty {
  position: absolute;
  left: 32px;
  bottom: 32px;
  pointer-events: none;
  opacity: 0.5;
  transition: all 0.3s ease; /* ✅ אנימציה חלקה יותר */
}

.new-test-page-modern label.textField {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #144b4f;
  margin-bottom: 8px;
  text-align: right;
  width: 100%; /* ✅ רוחב מלא */
}
/* ודא שהאינפוטים ממורכזים */
.new-test-page-modern .itemField {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important; /* ✅ חשוב לריכוז */
  box-sizing: border-box !important;
}

/* שיפור נוסף - Hover על כל השדה */
.new-test-page-modern .wrapTestField:hover label.textField {
  color: #24a385; /* ✅ התווית הופכת לירוקה */
  transition: color 0.2s ease;
}

/* אפקט "קליק" ויזואלי */
.new-test-page-modern .itemField:active {
  transform: scale(0.995); /* ✅ אפקט לחיצה עדין */
  transition: transform 0.1s ease;
}

.new-test-page-modern .wrapTestField:last-of-type {
  border-bottom: none;
}

.new-test-page-modern label.textField {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #144b4f;
  margin-bottom: 8px;
  text-align: right;
}

/* עיצוב האינפוטים - נקי ופשוט */
.new-test-page-modern .itemField {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 40px 12px 12px !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  color: #333 !important;
  background: #fafafa !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  text-align: right !important;
  outline: none !important;
}

/* מצב focus - עדין */
.new-test-page-modern .itemField:focus {
  border-color: #24a385 !important;
  background: white !important;
  box-shadow: 0 0 0 3px rgba(36, 163, 133, 0.08) !important;
}

/* מצב עם ערך */
.new-test-page-modern .itemField:not([value=""]):not([value="בחר מהרשימה"]) {
  background: white !important;
  border-color: #24a385 !important;
  color: #144b4f !important;
  font-weight: 500 !important;
}

/* סמל החץ */
.new-test-page-modern .arrowListEmpty {
  position: absolute;
  left: 32px;
  bottom: 32px;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.new-test-page-modern .wrapTestField:hover .arrowListEmpty {
  opacity: 0.8;
}

/* כפתור האישור - ללא margin-top! */
.new-test-page-modern .wideButton {
  width: calc(100% - 50px) !important;
  max-width: calc(100% - 50px) !important;
  background: linear-gradient(135deg, #24a385 0%, #1d8268 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  height: 52px !important;
  margin: 25px 25px 30px 25px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 3px 12px rgba(36, 163, 133, 0.25) !important;
  display: block !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

.new-test-page-modern .wideButton:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d8268 0%, #144b4f 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 18px rgba(36, 163, 133, 0.35) !important;
}

.new-test-page-modern .wideButton:active:not(:disabled) {
  transform: translateY(0) !important;
}

/* מצב disabled */
.new-test-page-modern .wideButton:disabled {
  background: #e8e8e8 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.6 !important;
}

/* אייקון בכפתור */
.new-test-page-modern .wideButton svg {
  display: inline-block !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

/* ========================================
   רספונסיביות
   ======================================== */

@media (max-width: 768px) {
  .new-test-page-modern {
    max-width: calc(100% - 20px);
    margin: 20px 10px;
  }

  .new-test-page-modern::before {
    font-size: 18px;
    padding: 20px 15px 16px;
  }

  .new-test-page-modern .wrapTestField {
    padding: 16px 20px;
  }

  .new-test-page-modern label.textField {
    font-size: 13px;
  }

  .new-test-page-modern .itemField {
    padding: 11px 35px 11px 11px !important;
    font-size: 14px !important;
  }

  .new-test-page-modern .arrowListEmpty {
    left: 25px;
    bottom: 28px;
  }

  .new-test-page-modern .wideButton {
    width: calc(100% - 40px) !important;
    height: 50px !important;
    font-size: 15px !important;
    margin: 20px 20px 25px 20px !important;
  }
}

@media (max-width: 480px) {
  .new-test-page-modern {
    margin: 15px 8px;
  }

  .new-test-page-modern .wrapTestField {
    padding: 14px 15px;
  }

  .new-test-page-modern .wideButton {
    width: calc(100% - 30px) !important;
    margin: 18px 15px 20px 15px !important;
  }
}

/* ביטול העיצוב הישן של #okNewReport */
.new-test-page-modern #okNewReport,
.new-test-page-modern .wideButton {
  position: relative !important; /* ביטול position: absolute */
  width: calc(100% - 50px) !important;
  bottom: auto !important; /* ביטול bottom: 99px */
  margin-left: auto !important; /* ✅ ריכוז ממש */
  margin-right: auto !important; /* ✅ ריכוז ממש */
  /* margin: 25px 25px 30px 25px !important; */
  z-index: auto !important; /* ✅ ביטול z-index */
  float: none !important; /* ✅ ביטול float אם קיים */
}

/* ביטול הגדרת ה-SVG הישנה */
.new-test-page-modern .wideButton svg {
  position: static !important; /* ביטול position: relative */
  top: auto !important;
  right: auto !important;
  display: inline-block !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

/* ודא שהכפתור נשאר בתוך המיכל */
.new-test-page-modern {
  position: relative;
  overflow: visible;
  z-index: auto; /* ✅ גם כאן */
}

/* ביטול כל כללי float/positioning ישנים */
.new-test-page-modern * {
  float: none !important;
}

/* דריסה חזקה יותר - רק ל-#okNewReport */
#okNewReport {
  position: relative !important;
  z-index: auto !important;
  float: none !important;
  clear: both !important;
  display: block !important;
}

/* ודא שאף דבר לא מפריע */
.new-test-page-modern::after {
  content: "";
  display: table;
  clear: both;
}

/* ========================================
   תיקון Hover למובייל/טאבלט
   ======================================== */

/* 1. תמיכה ב-Touch במקום Hover */
@media (hover: none) and (pointer: coarse) {
  /* זה מזהה מכשירי מגע (מובייל/טאבלט) */

  /* כפתורים - החלף hover ב-active */
  button:active,
  .wideButton:active:not(:disabled),
  .btn:active,
  .menuLink:active {
    transform: scale(0.97);
    background: #1d8268 !important;
    box-shadow: 0 2px 8px rgba(36, 163, 133, 0.3) !important;
  }

  /* שדות טופס - החלף hover ב-focus */
  .itemField:focus,
  .form-input:focus,
  .form-select:focus {
    border-color: #24a385 !important;
    background: #f0faf7 !important;
    box-shadow: 0 0 0 3px rgba(36, 163, 133, 0.12) !important;
    transform: scale(1.01);
  }

  /* שורות טבלה - החלף hover ב-active */
  .wrapTestItem:active,
  .inner-test-row:active,
  .growerItem:active {
    background: #e8f5f2 !important;
    transform: translateX(-3px);
  }

  /* רדיו ו-Checkbox - active במקום hover */
  .radio-option:active,
  .gamlon-checkbox:active {
    border-color: #24a385 !important;
    background: rgba(36, 163, 133, 0.15) !important;
  }

  /* תפריטים */
  .menueItemHome:active {
    background-color: #24a3851f;
    transform: scale(0.98);
  }

  /* פריטים ברשימה */
  .itemList:active,
  .selectLevel:active,
  .selectComp:active {
    background: #f0faf7;
    border-color: #24a385;
  }
}

/* 2. אנימציות Ripple למובייל (אפקט גלי) */
@media (max-width: 768px) {
  button,
  .wideButton,
  .btn-primary,
  .btn-secondary {
    position: relative;
    overflow: hidden;
  }

  /* אפקט Ripple ב-JS - מוכן לשימוש */
  button::after,
  .wideButton::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  button:active::after,
  .wideButton:active::after {
    width: 300px;
    height: 300px;
  }
}

/* 3. שיפור גודל אזורי מגע (Touch Targets) */
@media (max-width: 768px) {
  /* כל הכפתורים - גודל מינימלי 44x44px */
  button,
  .btn,
  .wideButton,
  .btn-icon {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 12px 16px !important;
  }

  .btn-details-delete,
  .btn-details-edit {
    transition: all 0.2s ease !important;
  }

  .btn-details-delete:active {
    background: rgba(237, 0, 57, 0.2) !important;
    transform: scale(1) !important; /* ✅ ללא הגדלה */
    color: #c10030 !important;
  }

  .btn-details-edit:active {
    background: rgba(36, 163, 133, 0.2) !important;
    transform: scale(1) !important; /* ✅ ללא הגדלה */
    color: #1d8268 !important;
  }

  /* שדות קלט */
  .itemField,
  .form-input,
  .form-select {
    min-height: 48px !important;
    font-size: 16px !important; /* מונע זום אוטומטי באייפון */
  }

  /* רדיו ו-Checkbox */
  .radio-option,
  .gamlon-checkbox {
    min-height: 44px;
    padding: 12px 16px;
  }

  /* פריטים ברשימות */
  .itemList,
  .growerItem,
  .productItem {
    min-height: 60px;
    padding: 12px !important;
  }
}

/* 4. Visual Feedback מיידי (ללא המתנה ל-300ms) */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: rgba(36, 163, 133, 0.2);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  /* אלמנטים שצריך לאפשר בחירה */
  input,
  textarea,
  .form-input,
  .form-textarea {
    -webkit-user-select: text;
    user-select: text;
  }
}

/* 5. אנימציות מהירות יותר במובייל */
@media (max-width: 768px) {
  * {
    transition-duration: 0.15s !important; /* מהיר יותר */
  }

  .subtest-popup,
  .popup {
    transition-duration: 0.2s !important;
  }
}

/* 6. תיקון Hover ספציפי לכפתור האישור */
@media (max-width: 768px) {
  .new-test-page-modern .wideButton:active:not(:disabled) {
    background: linear-gradient(135deg, #1d8268 0%, #144b4f 100%) !important;
    transform: scale(0.98) !important;
    box-shadow: 0 5px 18px rgba(36, 163, 133, 0.4) !important;
  }

  .btn-primary:active,
  .btn-link-to-grower:active {
    transform: scale(0.97) !important;
    box-shadow: 0 4px 12px rgba(36, 163, 133, 0.4) !important;
  }
}

/* 7. תיקון טבלאות במובייל */
@media (max-width: 768px) {
  .inner-test-row:active {
    background: #e8f5f2 !important;
    transform: translateX(-5px);
    box-shadow: 2px 0 8px rgba(36, 163, 133, 0.2);
  }

  .btn-view:active,
  .btn-edit:active,
  .btn-icon:active {
    transform: scale(1.15);
    background: #24a385;
  }
}

/* 8. תיקון פופאפים במובייל */
@media (max-width: 640px) {
  .subtest-popup {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }

  .subtest-popup.popup-visible {
    transform: none !important;
  }
}

/* 9. שיפור Switch (מתגים) במובייל */
@media (max-width: 768px) {
  .switch {
    width: 80px !important;
    height: 40px !important;
  }

  .slider:before {
    height: 32px !important;
    width: 32px !important;
  }

  .slider:active {
    box-shadow: 0 0 8px rgba(36, 163, 133, 0.5);
  }
}

/* 10. תיקון Navigation Footer */
@media (max-width: 768px) {
  footer#footer_page {
    padding: 15px 0 !important;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15) !important;
  }

  .menuLink:active {
    transform: scale(0.95);
  }

  .menuLink:active svg {
    stroke: #24a385;
    filter: drop-shadow(0 0 4px rgba(36, 163, 133, 0.5));
  }
}

/* 11. שיפור Select Dropdowns */
@media (max-width: 768px) {
  /* .select-wrapper .form-select {
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, #24a385 50%),
                          linear-gradient(135deg, #24a385 50%, transparent 50%);
        background-position: calc(100% - 20px) calc(1em + 2px),
                             calc(100% - 15px) calc(1em + 2px);
        background-size: 5px 5px, 5px 5px;
        background-repeat: no-repeat;
    } */

  .form-select:focus,
  .form-select:active {
    background-color: #f0faf7;
    border-color: #24a385;
  }
}

/* 12. תיקון אייקונים קטנים */
/* @media (max-width: 768px) {
    svg.closePopup,
    svg.return,
    svg.editPost {
        width: 32px !important;
        height: 32px !important;
        padding: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.05);
    }
    
    svg.closePopup:active {
        background: rgba(237, 0, 57, 0.15);
        transform: scale(0.9);
    }
} */

/* 13. שיפור Form Groups */
@media (max-width: 640px) {
  .form-group {
    margin-bottom: 20px !important;
  }

  .form-label {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
}

/* 14. תיקון גלילה חלקה */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .subtest-content,
  .gamlon-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* 15. אנימציות Micro-interactions */
@media (max-width: 768px) {
  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }

  button:active,
  .btn:active {
    animation: pulse 0.3s ease;
  }

  @keyframes ripple {
    to {
      transform: translate(-50%, -50%) scale(4);
      opacity: 0;
    }
  }
}

/* ========================================
   שיפור חוויית משתמש - עובד בכל מכשיר!
   ======================================== */

/* 1. כפתורים - אפקט לחיצה ויזואלי */
button,
.wideButton,
.btn,
.menuLink {
  transition: all 0.15s ease !important;
  position: relative !important;
  user-select: none !important;
}

/* Hover במחשב */
button:hover:not(:disabled),
.wideButton:hover:not(:disabled),
.btn:hover:not(:disabled),
.menuLink:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Active (לחיצה) - עובד גם במחשב וגם במובייל */
button:active:not(:disabled),
.wideButton:active:not(:disabled),
.btn:active:not(:disabled),
.menuLink:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* 2. שדות קלט - אפקט פוקוס */
.itemField,
.form-input,
/* .form-select, */
.form-textarea {
  transition: all 0.2s ease !important;
}

.itemField:focus,
.form-input:focus,
/* .form-select:focus, */
.form-textarea:focus {
  border-color: #24a385 !important;
  background: #f0faf7 !important;
  box-shadow: 0 0 0 3px rgba(36, 163, 133, 0.12) !important;
  transform: scale(1.01) !important;
}

/* 3. שורות טבלה */
.wrapTestItem,
.inner-test-row,
.growerItem,
.itemList {
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

/* Hover במחשב */
.wrapTestItem:hover,
.inner-test-row:hover,
.growerItem:hover,
.itemList:hover {
  background: #e8f5f2 !important;
  transform: translateX(-3px) !important;
  box-shadow: 2px 0 8px rgba(36, 163, 133, 0.2) !important;
}

/* Active (לחיצה) */
.wrapTestItem:active,
.inner-test-row:active,
.growerItem:active,
.itemList:active {
  background: #d4ebe5 !important;
  transform: translateX(-5px) !important;
}

/* 4. רדיו ו-Checkbox */
/* .radio-option,
.gamlon-checkbox {
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.radio-option:hover,
.gamlon-checkbox:hover {
    border-color: #24a385 !important;
    background: rgba(36, 163, 133, 0.05) !important;
}

.radio-option:active,
.gamlon-checkbox:active {
    border-color: #24a385 !important;
    background: rgba(36, 163, 133, 0.15) !important;
    transform: scale(0.98) !important;
} */

/* 5. אייקונים וכפתורי פעולה */
.btn-icon,
.btn-view,
.btn-edit {
  /* .btn-details-delete, */
  /* .btn-details-edit { */
  transition: all 0.2s ease !important;
}

.btn-icon:hover,
.btn-view:hover,
.btn-edit:hover {
  transform: scale(1.15) !important;
  background: #24a385 !important;
  color: white !important;
}

.btn-icon:active,
.btn-view:active,
.btn-edit:active {
  transform: scale(1.05) !important;
}

/* 6. כפתור האישור בטופס חדש */
.new-test-page-modern .wideButton:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d8268 0%, #144b4f 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(36, 163, 133, 0.4) !important;
}

.new-test-page-modern .wideButton:active:not(:disabled) {
  transform: translateY(0) scale(0.98) !important;
}

/* 7. תפריט התחתון */
.menueItemHome {
  transition: all 0.2s ease !important;
}

.menueItemHome:hover {
  background-color: #24a3851f !important;
  transform: scale(1.02) !important;
}

.menueItemHome:active {
  transform: scale(0.98) !important;
}

/* 8. Switch (מתגים) */
.slider {
  transition: all 0.2s ease !important;
}

.slider:hover {
  box-shadow: 0 0 8px rgba(36, 163, 133, 0.3) !important;
}

.slider:active {
  box-shadow: 0 0 12px rgba(36, 163, 133, 0.5) !important;
}

/* 9. אנימציה לפופאפים */
.popup {
  animation: popupFadeIn 0.3s ease !important;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* 10. אפקט Ripple כללי */
button::after,
.btn::after,
.wideButton::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

button:active::after,
.btn:active::after,
.wideButton:active::after {
  width: 300px;
  height: 300px;
}

/* 11. גלילה חלקה */
html {
  scroll-behavior: smooth !important;
}

* {
  -webkit-tap-highlight-color: rgba(36, 163, 133, 0.2) !important;
}

/* 12. אנימציות Micro */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.btn-primary:active,
.btn-link-to-grower:active {
  animation: pulse 0.3s ease !important;
}

/* ========================================
   תיקון כפתור "מחק חברה"
   ======================================== */

button#deleteComp {
  position: absolute !important;
  width: 114px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #ed0039;
  left: 10px;
  top: 116px;
  text-align: start;
  cursor: pointer;
  font-size: 15px;
  color: white;
  border: none;
  transition: all 0.2s ease !important;
  z-index: 1;
}

/* ביטול Transform על Absolute Positioned Elements */
button#deleteComp:hover {
  transform: none !important; /* ✅ ביטול תזוזה */
  opacity: 0.9 !important; /* במקום זה - שקיפות */
  background: #c10030 !important; /* צבע כהה יותר */
  box-shadow: 0 3px 10px rgba(237, 0, 57, 0.3) !important;
}

button#deleteComp:active {
  transform: none !important; /* ✅ ביטול כיווץ */
  opacity: 1 !important;
  background: #a00028 !important;
  box-shadow: 0 2px 6px rgba(237, 0, 57, 0.4) !important;
}

/* ה-SVG בתוך הכפתור */
button#deleteComp svg {
  position: relative !important; /* לא absolute */
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  top: 0 !important;
}

/*    הסתרת עמודת פעולות במובייל           */

@media (max-width: 768px) {
  /* הסתרת עמודת הפעולות בכותרת ובשורות */
  .inner-table thead th:last-child,
  .inner-table tbody td.actions-col {
    display: none;
  }

 
}
