
// ::ng-deep svg.svg-chart-container {
//     height: 100vh;
//     // background-color: #ffffff;
// }
::ng-deep img{
    max-width:none !important;
}

// .close-icon-wrapper {
//   position: absolute;
//   top: 10px;
//   right: 15px;
//   cursor: pointer;
//   z-index: 1000;
//   color: red;
// }
// .close-icon-wrapper {
//   position: absolute;
//   top: 10px;
//   right: 15px;
//   cursor: pointer;
//   z-index: 1000;
//   background-color: rgba(255, 255, 255, 0.9);
//   border-radius: 100%;
//   width: 24px;
//   height: 24px;
//   display: flex;
//   justify-content: center;
//   align-items: center;
//   transition: background-color 0.3s ease;
// }
// .close-icon-wrapper mat-icon {
//   font-size: 24px;
//   color: red;
// }

// .close-icon-wrapper:hover mat-icon {
//   color: red;
// }



.close-icon-wrapper {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-icon-wrapper mat-icon {
 font-size: 24px;
  color:  #834DD0;
  background-color: white;
  border-radius: 8px;
  width: 48px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-icon-wrapper:hover mat-icon {
  background-color: #f5f5f5;
}

.chartcontainer {
  width: 95%;
  background-color: white;
  height: 571px;
  border-radius: 6px;
  margin-top: 5px;
  padding-top:8px;
  padding-right:8px;

}
#full-container{
 width: 100%;
}
#full-container:fullscreen {
  background-color: white;
}

.toolButton {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--category-bg-violet);
}

.toolLabel {
    padding-left: 5px;
}

#buttonArea {
    position: absolute;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background: var(--category-bg-violet);
    border-radius: 5px;
    width: 64px;
    max-height: 364px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 5px;
}

.toggleIcon {
    font-size: 16px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
    color:var(--action-primary-default);
}
.buttonAreaButtons {
  //  max-height: 334px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .actionBtn {
    color:var(--action-primary-default);
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    border-radius: 6px;
    
  }
  .actionBtn {
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .actionBtn:hover,
  .actionBtn:active {
    background-color: white !important;
  
  }
  
  .nodescroll {
    position: absolute;
    z-index: 100;
    overflow-y: auto;
    margin-left: 70px;
    margin-top: 5px;
    border-radius: 5px;
    max-height: 364px;
    border: solid 1px #aa2ad8;
    height: 401px;
    background: #fff;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Hide scrollbar for WebKit browsers (Chrome, Safari) */
  .nodescroll::-webkit-scrollbar {
    display: none;
  }
  
  /* Show scrollbar on scroll */
  .nodescroll:active,
  .nodescroll:hover {
    scrollbar-width: thin;
    /* Firefox */
  }
  

  .nodescroll:active::-webkit-scrollbar,
  .nodescroll:hover::-webkit-scrollbar {
    display: block;
    width: 2px;
   
    height: 2px;
    
  }
  
  .nodescroll:active::-webkit-scrollbar-track,
  .nodescroll:hover::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .nodescroll:active::-webkit-scrollbar-thumb,
  .nodescroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
  }
  
  .nodescroll:active::-webkit-scrollbar-thumb:hover,
  .nodescroll:hover::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .gbmain {
    display: inline-block;
    height: 100%;
    width: 100%;
}

.gbmenutree {
    display: inline-block;
    width: 250px;
}

.gbtabcontainer {
    flex: 1;
    overflow: hidden; // Enable horizontal scrolling
}
.LightBoxmodal {
  position: fixed;
  z-index: 99999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}
// .Emp-LightBox-contents{
//   display:flex;
//   justify-content: center;
//   margin: auto;
//   padding: 20px;
//   height: 70%;
//   // border-radius: 6px;
//   width:35%;
//   border-radius: 6px;
//   // background-color: red;

  
// }

.Emp-LightBox-contents {
  display: flex;
  margin: auto;
  border-radius: 6px;
  background-color: #fff;
  text-align: start !important;
  width: 484px;
  max-width: 390px;
  // height: 75%;
  overflow: hidden;
}

.lightbox-container {
  width: 100%;
  height:100%;
  
  
}

/* Header styling */
.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--action-primary-default);
  padding: 6px 12px;
  width: 100%;
  
}

/* Profile section (left side) */
.profile-section {
  display: flex;
  align-items: center;
   
}

.thumbnail-wrapper {
  margin-right: 15px;
}

.lightboxThumbnail {
  border-radius: 100px;
  width: 80px;
  height: 80px;
  border: 2px solid #fff;
}
// .defaultThumbnail{
//   border-radius: 50%;
//   width: 47px;
//   height: 47px;
//   border: 2px solid #fff;
//   object-fit: cover;
// }

.profile-info {
  color: white;
}

.lightboxEmployeeName {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  // margin-bottom: 5px;
  // display:flex;
}



.employee-code {
  font-size: 14px;

}

.detail-button {
  background-color: white;
  color: #9370DB;
  border: none;
  // padding: 0 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  height: 36px;
  border:1px solid yellow;
}
// .lightbox-header {
//   position: relative;  
//   width: 100%;
//   height: auto;
// }
.lightbox-header {
  position: relative;  
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--action-primary-default);
  padding: 6px 12px;
  width: 100%;
}
.status-section {
  position: absolute;   
  // top: 10px;           
  right: 10px;         
  display: flex;
  align-items: center;
  gap: 3px;    
  padding-top:40px;   
  width:60px;
  height:22px;     
}




.activeLabel {
  color:  rgba(74, 207, 172, 1);
  background: rgba(255, 255, 255, 1);
  padding: 1px 8px;
  margin-right: 10px;
  height: fit-content;
  font-weight: 500;
  border-radius: 4px;
  font-size: 12px;
}

.close-button {
  cursor: pointer;
  color: white;
  padding-top: 5px;
}

/* Details section styling */
.lightboxDetails {
  padding: 10px;
  background-color: white;
  padding-left: 0px;
}

.lightboxDetails table {
  width: 100%;
  border-collapse: collapse;
}

.tr-head {
  vertical-align: top;
}

.heading {
  width: 150px;
 font-size:14px !important;

  text-align: right;

}

.value {
  padding-left: 15px;
  font-weight: 700;
  font-size: 14px;
  
}

.blood-group {
  color: red;
  
}

.cursor {

  cursor: pointer;
}
.openview{
font-size: 12px;
color:var(--action-primary-default);
font-weight: 600;
}
.color{
  color:var(--action-primary-default);
  background-color: white;
  font-size: 17px;
  width: 17px;
  height: 17px;
}
.userImage{
 font-size: 75px;
 background-color:var(--action-primary-default);
color:white;
font-style: normal;
width: 80px;
height: 80px;
}
.Status{
  width: 38px !important;
height: 19px !important;
border-radius: 20px;
background-color: rgb(255, 255, 255);
font-size: 10px;
color: rgb(74, 207, 172);
display: flex;
align-items: center;    /* Vertical center */
justify-content: center; /* Horizontal center */

}

@media (max-width: 1024px) {

  ::ng-deep .FormTabScroll[style*="height"],
  ::ng-deep .FormMatSection[style*="height"],
  ::ng-deep .FormMatSalarySection[style*="height"] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  ::ng-deep .FormTabScroll div[style*="display: flex"],
  ::ng-deep .FormMatSection div[style*="display: flex"],
  ::ng-deep .FormMatSalarySection div[style*="display: flex"] {
    flex-wrap: wrap !important;
    row-gap: 6px;
  }

  ::ng-deep .ExpandedViewWrapper {
    width: 100% !important;
    margin-right: 0 !important;
  }

  ::ng-deep .ExpandedViewLabel {
    width: 100% !important;
  }

  ::ng-deep .ExpandedViewDescription {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  ::ng-deep mat-form-field.mat-mdc-form-field[style*="width"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  ::ng-deep .mat-mdc-form-field-infix,
  ::ng-deep .mat-mdc-text-field-wrapper {
    width: 100% !important;
  }

  ::ng-deep input.mat-mdc-input-element[style*="width"] {
    width: 100% !important;
  }

  ::ng-deep .Itemimg {
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin: 0 auto 16px auto !important;
  }

  .imageTag {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

  .adjacentField {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px 0 !important;
  }
}

@media (max-width: 480px) {
  ::ng-deep .ExpandedViewDescription {
    font-size: 12px;
  }
}