.mpopuppassword {
  display: none; /* Ensure popup is hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Apply blur effect to the background */
  -webkit-backdrop-filter: blur(5px); /* For Safari support */
  justify-content: center;
  align-items: center;
}
/* Styling for the error message */
.error-message {
  display: none;
  background-color: #f44336;
  color: white;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  border-radius: 5px;
}
#submitBtn{
    background-color: #16c72e;
    border: none;
    padding: 10px 30px; /*102*/
    cursor: pointer;
    border-radius: 5px;
    margin-left: 3px;
    font-family: "acumin-pro", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 14px;
    color:white;  
    float : right;
    display:inline-block;
}
.modal-contentpassword {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

/* Modal Overlay */
.mpopup, .overlay {
  display: none;
  position: absolute;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.dropdown-content{
  display: block;
  position: absolute;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
#dropdown-contentUserguideId {
  display: block;
}

.selectall-btn {
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.selectall-btn:hover {
    background-color: #0069d9;
}


.Lpopup{
  display: none;
  position: absolute;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-footerLegend {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #ccc;
    margin-top: 10px;
}

.legend-btn {
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.cancel-btn {
    background: #ccc;
}

.submit-btn {
    background: #4CAF50;
    color: white;
}

/* Modal Content */
.modal-content, .popup ,#userguidetext{
  position: fixed;
  background-color: #fff;
  margin: auto;
  padding: 0;
  overflow: visible;
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation: animatetop 0.4s;
  border-radius: 0.3rem;
}
.modal-content {    
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
      width: 100%;
  }
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 490px;
  display: block;
  overflow-x: visible;
}
#modal-contentID_overlay{
  height: 230px;
  width:370px;
  left:12%;
  top:18%;
}
#userguideHome{
  color:white;
  margin-top:10px;
  font-size: 1.7em;
  margin-left:5px;
}
#userguideTableMaya{
  float:right;
  color:white;
  margin-top:8px;
  margin-right:5px;
  font-size: 1.25em;
}
#userguideHome:hover,#userguideTableMaya:hover,.Userguidecontainer:hover{
cursor:pointer;
color:#302f2f;
}
#homeguidebutton{
  margin-top:-15px;

}
#userguidetext{
  width:97%;
  height:88%;
  margin-top:-40px;
  margin-left: 25px;
  margin-right: 25px;
  overflow-y:auto;
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  position:fixed;
}

#textfirstpage, .othesectionsuserguide{
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 50px;
  margin-bottom:20px;
  font-size: 15px;

}
#userguideheadings{
  font-size: 14px;
  font-weight: bold; 
}
#underlinedLables{
  text-decoration: underline;
}

/* Style the entire scrollbar */
#userguidetext::-webkit-scrollbar, #UserGuideSideBar::-webkit-scrollbar{
  width: 8px; /* Width of the scrollbar */
  height: 8px; /* Height of the scrollbar (if horizontal) */
}

/* Style the thumb (the draggable part) */
#userguidetext::-webkit-scrollbar-thumb , #UserGuideSideBar::-webkit-scrollbar-thumb{
  background-color: #888; /* Color of the thumb */
  border: 2px solid #fff; /* Optional: Adds a border around the thumb */
}
/* Hover effect for the thumb */
#userguidetext::-webkit-scrollbar-thumb:hover , #UserGuideSideBar::-webkit-scrollbar-thumb:hover {
  background-color: #2d2d2d; /* Darker color when hovering over the thumb */
}

/* Style the track (the area the thumb moves within) */
#userguidetext::-webkit-scrollbar-track , #UserGuideSideBar::-webkit-scrollbar-track{
  background: #eee; /* Light gray background for the track */
  border-radius: 15px; /* Rounded corners for the track */
}





.Userguidecontainer {
  /* display: inline-block; */
  cursor: pointer;
  margin-top: 2px;
  margin-bottom:2px;
  display: block;
  float: left;
  margin-right: 5px;

}

.UserGuidebar1, .UserGuidebar2, .UserGuidebar3 {
  width: 30px;
  height: 5px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: 0.4s;
  margin-left: 5px;
 
}



.change .UserGuidebar1 {
  transform: translate(0, 10px) rotate(-45deg);
}

.change .UserGuidebar2 {opacity: 0;}

.change .UserGuidebar3 {
  transform: translate(0, -10px) rotate(45deg);
}

#UserGuidemenuOptions{
  margin-left: 5px;
  font-size: 18px;
  margin-top: 8px;
  color: white;
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  
  font-style: normal;
  text-decoration: none;
}

#UserGuidemenuOptions li:hover{
  color: #100f0f;
  cursor:pointer;

}
#UserGuideSideBar{

position: fixed;

height:82.6%;

margin-top: 0px;

background:rgb(179, 179, 179);

transform: translateX(-100%);

-webkit-transform: translateX(-100%);

z-index: 2;

overflow-y:auto
}

#UserguideRibbon{
  position: fixed;
  background-color: #ee6464;
  width:97%;
  height:40px;
  }

#UserGuideHeader{
  
  font-size: 18px;
  color:white;

  font-family: "acumin-pro", sans-serif;
  margin-top:4px;
  margin-left:45px;
  position:absolute;
} 

.UserGuideslide-in {
  animation: slide-in 0.9s forwards;
  -webkit-animation: slide-in 0.9s forwards;
}

.UserGuideslide-out {
  animation: UserGuideslide-out 0.9s forwards;
  -webkit-animation: UserGuideslide-out 0.9s forwards;
}
  
@keyframes UserGuideslide-in {
  100% { transform: translateX(0%); }
}

@-webkit-keyframes UserGuideslide-in {
  100% { -webkit-transform: translateX(0%); }
}
  
@keyframes UserGuideslide-out {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@-webkit-keyframes UserGuideslide-out {
  0% { -webkit-transform: translateX(0%); }
  100% { -webkit-transform: translateX(-100%); }
}
.fa fa-circle-o{
  margin-left:20px;
}
/* Modal Header */
.modal-header, .errorModal-header {
  padding: 2px 15px;
  background-color: #ffffff;
  color: #333;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  cursor: move;
  cursor: grab;
}

.modal-header:active, .errorModal-header:active {
  cursor: grabbing;
}


.modal-header h2 , .errorModal-header h2 {
  font-size: 17px;
  font-family: "acumin-pro", sans-serif;
  margin: 14px 0;
  color: maroon;
}

/* Modal Body */
.modal-body {
  /* padding: 2px 15px;
  overflow: visible; Ensure tooltip is not clipped */
  width:485px;
  padding: 2px 10px;
  max-height: 380px;     /* IMPORTANT */
  overflow-y: auto;      /* scrollbar */
  /* overflow-x: hidden; */
}


#modal-bodyText ,#enterPText{
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;

  white-space: pre-line;

}

.close {
  color: #888;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover, .close:focus {
  color: maroon;
  text-decoration: none;
  cursor: pointer;
}

/* add animation effects */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.closeModal {
  /* color: #aaa; */
  float: right;
  margin-top:3px;
  margin-right:7px;
  font-size: 28px;
  font-weight: bold;
  background: none;
  border: none;
}
#userguideClose {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 23px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
}
  .closeModal:hover,
.closeModal:focus {
  color:rgb(134, 28, 28);
  text-decoration: none;
  cursor: pointer;
  
}
#passwordField{
  font-size: 12px;
  width: 310px;
  height: 33px;
  border-radius: 1px;
  border-color:#646060;
  margin-bottom: 3px;
  margin-right: 0.2%;
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}
 .text-right{
  text-align: right;
  float: right;
  margin-top: -14px;
  margin-right: 27px;
 }
 .dialog-btn#confirm{
  background-color:#098815;
 }
 .dialog-btn#cancel{
  background-color:#880909;
 }
.dialog-btn { 
  color: white;
  font-weight: 600;
  font-size: 12px;
  border: none;
  border-radius: 5px;
  height: 30px;
  width: 50px;
}

.dialog-btn#confirm:hover{
  box-shadow: 0 0 8px 2px  #098815;
 color:black;
   cursor: pointer;
}
.dialog-btn#cancel:hover{
    box-shadow: 0 0 8px 2px  #880909;
 color:black;
   cursor: pointer;
}


/* Custom style for all <ul> elements with class="custom-ul" */
.custom-ul {
  padding-left: 20px; /* Indent from the left */
  margin-bottom: 10px;
}

.custom-ul li {
  margin: 6px 0; /* Spacing between list items */
  line-height: 1.5;
  font-size: 15px;
  color: #333; /* Dark gray text */
}

/* Optional: add a subtle bullet style */
.custom-ul li::marker {
  color: #555; /* Bullet color */
  font-size: 14px;
}


/* The Modal (background) */
.ErrorModalClass {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.Errormodal-content{
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}
#errorTextContent{
    font-family: "acumin-pro", sans-serif;
    font-style: normal;
    font-size: 16px;
}

/* 1. Target by ID so other modals (like Error) are not affected */
#mpopupBox_Points {
  display: none; /* Keep hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  z-index: 9999;
}

/* 2. Show state - add or toggle this class via JS */
#mpopupBox_Points.show {
  display: flex !important;
}

/* 3. Scoped card container */
#mpopupBox_Points #modal-contentID_overlay {
  background: #ffffff;
  width: 510px;
  max-width: 82vw;
  /* padding: 24px 28px; */
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}
#TopTextModal {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #7b182b; /* Muted crimson header color */
  letter-spacing: 0.2px;
}

.closeModal {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.closeModal:hover {
  color: #000;
}

/* 3-Column Grid Layout */
.points-grid {
  display: grid;
  /* background-color:none */
  grid-template-columns: 100px 1.1fr 1.3fr;
  align-items: center;
  row-gap: 10px;
}

/* Headers */
.grid-header {
  font-family: "acumin-pro", sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #000000;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent; /* or border-bottom: none; */
}

/* Row Labels (Point 1, Point 2) */
.row-label {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
}

/* Coordinate Pairs */
.coord-cell {
  display: flex;
  align-items: center;
  gap: 5px;
}

.coord-cell label {
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  margin: 0;
}

/* Spacing between X and Y inputs */
.coord-cell label:last-of-type {
  margin-left: 10px;
}

/* Form Inputs (retaining exact matching for all IDs) */
#BasePDF_Overlay_Popup_Point1_number_x,
#BasePDF_Overlay_Popup_Point1_number_y,
#BasePDF_Overlay_Popup_Point2_number_x,
#BasePDF_Overlay_Popup_Point2_number_y,
#MarkupPDF_Overlay_Popup_Point1_number_x,
#MarkupPDF_Overlay_Popup_Point1_number_y,
#MarkupPDF_Overlay_Popup_Point2_number_x,
#MarkupPDF_Overlay_Popup_Point2_number_y {
  width: 44px;
  height: 24px;
  padding: 2px 6px;
  font-size: 13px;
  box-sizing: border-box;
  border: 1px solid #767676;
  border-radius: 5px;
  outline: none;
  background-color: #fff;
  /* Retains the native beveled inset shadow seen in the UI */
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.25);
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Hide native number spinners */
.coord-cell input[type="number"]::-webkit-outer-spin-button,
.coord-cell input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Footer & Ok Button */
.modal-footer {
  display: flex;
  /* justify-content: flex-end; */
  margin-top: 1px;
  margin-left:418px;
}

#overlaypopupOk {
  background-color: #1976d2; /* Standard Blue */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background-color 0.15s ease;
}

#overlaypopupOk:hover {    
  background-color: #1565c0;
}

