:root{
    --black: #080808;
    --brown: #4a3323;
    --grey: #6b6b6b;
    --lightGrey: #efeeee;
    --green: #017013;
    --lightGreen: #00bf63;
    --white: #ffffff;
    --red: #e40c2b;
    --gold: #b38530;
    --yellow: #EBA63F;
}
*{
    padding: 0;
    border: 0;
    margin: 0;
    font-family: sans-serif, Helvetica , Arial;
}
html{
    width: 100%;
    height: 100%;

}
body{
    font-family: sans-serif;
    width: 100%;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}
.gFrm{
  display: none;
}
.gItemCon{
  width: 100%;
  border-radius: 7px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--lightGrey);
  margin-top: 10px;
}
.gHItemCon{
  width: 100%;
  border-radius: 7px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--lightGrey);
  margin-top: 10px;
}
.gItemConL{
  width: 12vw;
  border-radius: 50%;
  border: var(--brown) solid 2px;
}
.gItemConR{
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}
.gItemTop{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: bold;
  margin-bottom: 3px;
}
.gItemTopR{
  color: var(--green);
  font-weight: normal;
}
.gItemBottom{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 80%;
  color: var(--grey);
}
.gItem{
  color: var(--grey);
}

.gFrmHeader{
  display: flex;
  position: sticky;
  top: 0px;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brown);
  color: white;
  text-shadow: 2px 2px 3px black;
  padding: 5px 10px 5px 10px;
  font-size: 200%;
  width: 100%;
  z-index: 1;
}

.gFrmBody{
  padding: 5px 10px 5px 10px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.gFrmFooter{
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 10px 10px 10px;
  border-top: 1px solid var(--darkBlue);
  background-color: white;
}

.gBtnBox{
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  gap: 15px;
  margin: 10px 0 5px 0;
  width: 100%;
}

.gBtnSave {
  background-color: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.1s;
  border: none;
  outline: none;
  user-select: none;
}

.gBtnSave:active {
  background-color: darken(var(--green), 10%);
  transform: scale(0.98);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}




#toolTip {
  padding: 5px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--white);
  display: none;
  z-index: 10;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

#infoBox {
  width: 250px;
  background-color: white;
  border: 1px solid var(--brown);
  border-radius: 15px;
  z-index: 4;
  display: none;
  position: absolute;
  margin: 0;
  padding: 15px;
  text-align: center;
  font-family: montserrat-light;
  box-shadow: 1px 1px 5px black;
}
#infoBox header {
  margin-top: 15px;
  font-family: montserrat;
  font-weight: bold;
  font-size: 24px;
}
#infoBox img {
  margin-bottom: 3px;
  height: 50px;
  width: 50px;
}
#infoBox p {
  font-family: montserrat;
  font-weight: bold;
  font-size: 24px;
}
#infoBox .btnBox {
  margin-top: 10px;
  width: 100%;
  clear: both;
}
#infoBox .btnBox div {
  margin-bottom: 10px;
  color: var(--white);
  height: 40px;
  line-height: 37px;
  border-radius: 5px;
  font-size: 24px;
  cursor: pointer;
}

#dataListCon {
  position: absolute;
  display: none;
  background-color: var(--white);
  border: 1px solid var(--darkBlue);
  z-index: 4;
  max-height: 300px;
  overflow-y: scroll;
}
#dataListCon .googleLogo{
    width: 144px;
    height: 18px;
    float: right;
}
#dataList {
  width: 100%;
  height: 100%;
  text-align: left;
  overflow-y: auto;
}
#dataList tr {
  position: relative;
  height: 40px;
}
#dataList td {
  text-align: left;
  border-bottom: 1px solid var(--darkGrey);
  height: 25px;
  cursor: pointer;
  width: 100%;
  padding-left: 5px;
  vertical-align: middle;
}
#dataList td:hover {
    background-color: var(--darkBlue);
    color: white;
}
#dataList img {
  height: 20px;
  width: 20px;
  display: inline-block;
}
#dataList .btnAdd{
    background-color: var(--lightBlue);
    color: black;
    padding: 5px;
    border-radius: 5px;
    max-width: 200px;
    text-align: center;
}



#mainScr{
  padding: 20px;
  width: 100%;
  flex-flow: column nowrap;
  box-sizing: border-box;
}
#mainScr .logOutCon{
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: end;
}
#mainScr .empImg{
  width: 70px;
  border-radius: 50%;
  border: var(--brown) 2px solid;
}
#mainScr .empStatsCon{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}
#mainScr .empStats{
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}
#mainScr .empStat{
  font-size: 110%;
  font-weight: bold;
}
#mainScr .empStatDis{
  font-size: 80%;
  color: var(--grey);
}
#mainScr .commissionCon{
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  border-radius: 7px 7px 0 0;
  padding: 4vw 4vw;
  margin: 4vw 0 9vw 0;
  position: relative;
  background-image: linear-gradient(to bottom, var(--lightGrey), rgba(255, 255, 255, 0));
}
#mainScr .comAvlCon{
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin-bottom: 5vw;
}
#mainScr .comWDBtnCon{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  left: 1vw;
  right: 1vw;
  bottom: -5vw;

}
#mainScr .comWDBtn{
  width: 37%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90%;
  background-color: var(--brown);
  color: var(--white);
  padding: 3vw 3vw;
  border-radius: 14px;
  border: 2px var(--gold) solid;
}
#mainScr .comAvailable{
  font-size: 180%;
  font-weight: bold;
  color: var(--black);
}
#mainScr .comSubTitle{
  color: var(--grey);
  font-size: 80%;
}
#mainScr .mistakesCon{
  display: none;
  width: 100%;
  box-sizing: border-box;
}
#mainScr .mistakesCon h4{
  color: var(--red);
}

#mainScr .mistake{
  width: 100%;
  padding: 10px;
  border-radius: 7px;
  border: 2px solid var(--red);
  box-sizing: border-box;
  margin-bottom: 20px;
}
#mainScr .mistakesCon ul{
  box-sizing: border-box;
  padding: 10px 30px;
}
#mainScr .reportCon{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding-bottom: 10px;
}
#mainScr .reportImg{
  width: 50px;
  margin-right: 10px;
}

#mainScr .fixBtnCon{
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
#mainScr .fixBtn{
  box-sizing: border-box;
  padding: 8px 16px;
  border-radius: 5px;
  color: var(--white);
  background-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

#mainScr .mainRecCon{
  border-radius: 7px;
  background-color: var(--white);
}
#mainScr .mainRecCon h3{
  margin-bottom: 2vw;
  color: var(--black);
}
#mainScr .ProgressBar{
  display: flex;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 2vw;

}
#mainScr .ProgressBar span{
  background-image: linear-gradient(to left, var(--green), var(--lightGreen));
  color: var(--lightGrey);
  padding: 0.3vw 0 0.3vw 2vw;
  border-radius: 7px;
  transition: width 1s;
}





#detailsScr{
  padding: 20px;
  width: 100%;
  flex-flow: column nowrap;
  box-sizing: border-box;
}
#detailsScr .detScrHead{
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  border-bottom: var(--brown) solid 2px;
  padding-bottom: 20px;
}
#detailsScr .detScrHead img{
  width: 30px;
  margin-bottom: 20px;
}
#detailsScr .detScrBody{
  box-sizing: border-box;
}


#historyScr{
  padding: 20px;
  width: 100%;
  flex-flow: column nowrap;
  box-sizing: border-box;
}
#historyScr .detScrHead{
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  border-bottom: var(--brown) solid 2px;
  padding-bottom: 20px;
}
#historyScr .detScrHead img{
  width: 30px;
  margin-bottom: 20px;
}
#historyScr .detScrBody{
  box-sizing: border-box;
}


.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popupContent {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.popupButtons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.popupButtons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#popupYes {
  background-color: var(--green);
  color: white;
}

#popupNo {
  background-color: var(--red);
  color: white;
}

/*FORM USER PIN*/
#frmUserPin{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
#frmUserPin .userPinHeader{
  display: flex;
  position: sticky;
  top: 0px;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  color: var(--brown);
  padding: 5px 10px 5px 10px;
  width: 100%;
  z-index: 1;
  box-sizing: border-box;
}
#frmUserPin .userPinHeader img{
  width: 40vw;
  margin: 30px;
}


#frmUserPin .pinDisplayCon {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 20px;
}

#frmUserPin .pinDisplayCon div {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #d9d9d9;
  border: 2px solid var(--brown);
  transition: background-color 0.3s, border-color 0.3s;
}

/*#frmUserPin .pinDisplayCon div.active {
  background-color: #333;
  border-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}*/
#frmUserPin .pinDisplayCon div.selected{
  background-color: #4a3323;
  border: 2px solid var(--gold);
}


#frmUserPin .numKeyCon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: space-around;
  padding: 10px;
  width: 70vw;
}

#frmUserPin .numKeyCon div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #f0f0f0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.1s;
  user-select: none;
  cursor: pointer;
}

#frmUserPin .numKeyCon div:active {
  background-color: #d9d9d9;
  transform: scale(0.95);
}

#frmUserPin .numKeyCon img {
  width: 30px;
  height: 30px;
}

#frmUserPin .numKeyCon div[data-num="del"] {
  background-color: transparent;
  box-shadow: none;
}


