

.dropdown {
    display: none;
    position: absolute;
    max-height: 200px;
    background-color: #fff;
    /* border: 1px solid #00000022; */
    border-top: none;
    box-shadow: 0px 5px 8px 2px #00000022;
    border-radius: 0px 0px 5px 5px;
    overflow: auto;
    z-index: 99;
}

.dropdown.active {
    display: block;
}

.dropdown .option {
    background-color: transparent;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
}

.dropdown .option:hover {
    color: #fff;
    background-color: var(--plt2);
}

.dropdown-button {
    position: relative;
    border: none;
    border-bottom: 1px solid #00000022;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    transition: border-bottom 0.3s;
    outline: none;
}

.dropdown-button:hover {
    background-color: #f0f0f0;
}

.dropdown-button:focus,
.dropdown-button.active{
    border-bottom: 1px solid var(--plt2);
    
}

.textarea {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #00000022;
    transition: border 0.3s;
    outline: none;
    border-radius: 5px;
    padding:10px;
    box-sizing: border-box;
}
.textarea:focus {
    border: 1px solid var(--plt4);
}

.date {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #00000022;
    transition: border 0.3s;
    outline: none;
    border-radius: 5px;
    padding:10px;
    box-sizing: border-box;
}
.date:focus {
    border: 1px solid var(--plt4);
}


/* Transparent Background */
.transparent {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    background-color: #00000022;
    backdrop-filter: blur(0px);
    width: 100%;
    height: 100%;
    right: 0px;
    z-index: 2;
    transition: 0.3s ease-out;
}
.transparent.active {
    visibility: visible;
    backdrop-filter: blur(5px);
    opacity: 1;
}


/* Calendar */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* grid-template-rows: 30px 100px 100px 100px 100px 100px 100px; */
    grid-template-rows: 30px auto auto auto auto auto auto;
    gap: 1%;
}

.calendar-day,
.calendar-cell {
    position: relative;
    border-radius: 5px;
}

.calendar-day {
    font-size: 10px;
    font-weight: bold;
    color: #9fa4b1;
}

.calendar-cell.exist {
    background-color: #eaeaea;
    background-image: linear-gradient(#f4f4f4, #eaeaea);
    cursor: pointer;
    transition: box-shadow 0.3s ease-out;
    overflow: hidden;
}

.calendar-cell.exist:hover {
    box-shadow: 0px 0px 20px 5px #00000033;
}

.calendar-cell.exist.on-time {background-color: #00990022; background-image: linear-gradient(#00990044, #00990099)}
.calendar-cell.exist.early-clock-out,
.calendar-cell.exist.late-clock-in {background-color: #e6c10944; background-image: linear-gradient(#e6c10966, #e6c109aa)}
.calendar-cell.exist.waiting-for-clock-out {background-color: #00990022; background-image: linear-gradient(#00990033, #e6c109aa)}
/* .calendar-cell.exist.approved {background-color: #913ab022; background-image: linear-gradient(#792b9622, #913ab0aa)} */
.calendar-cell.exist.approved {background-color: #913ab022; background-image: linear-gradient(#00990044, #00990099)}
.calendar-cell.exist.leave {background-color: #913ab022; background-image: linear-gradient(#2141c022, #2157b9aa)}
.calendar-cell.exist.absent {background-color: #e6090922; background-image: linear-gradient(#e6090966, #e6090999)}
.calendar-cell.exist.holiday {background-color: #0f204322; background-image: linear-gradient(#0f204366, #0f204399)}

.calendar-cell .day-number {
    font-size: 12px;
    position: absolute;
    top: 10%;
    left: 10%;
    color: #9fa4b1;
    /* font-weight: bold; */
    z-index: 1;
}

.calendar-cell.today .day-number {
  font-size: 12px;
   font-weight: bold;
}

.calendar-cell.today {
  border: 2px solid #00000044;
  box-shadow: 0px 0px 10px 2px #00000066;
}

.calendar-day .day-text {
    position: absolute;
    bottom: 10px;
}



/* Right Pop Up */
.right-popup {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    right: -600px;
    top: 0px;
    transition: 0.5s ease-out;
}
.right-popup.active {
    visibility: visible;
    right: 0px;
    opacity: 1;
}
.submit-section {
    position: absolute;
    bottom: 0px;
    border-top: 1px solid #00000011;
}



/* Table Style */
.table {
    cursor: default;
    border-collapse:collapse;
}

.table th {
    background: var(--white2);
    top: -20px;
    border-bottom: 3px solid #00000011;
    color: var(--plt5);
    padding: 10px;
    font-size: 13px;
    text-align: left;
    text-wrap: nowrap;
    font-weight: normal;
}

.table td {
    padding:10px;
    border-bottom: 1px solid #00000011;
    font-size: 13px;
}


/* Input */
.input {
    /* position: relative; */
    padding:5px;
    border: 1px solid #00000022;
    border-radius: 5px;
    cursor: text;
    text-align: left;
    font-size: 12px;
    transition: border 0.3s;
    outline: none;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.input:focus,
.input.active{
    border: 1px solid var(--plt1);
}




.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: var(--plt4) var(--plt4) transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent var(--plt6) var(--plt6);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 20px;
  height: 20px;
  border-color: var(--plt1) var(--plt1) transparent transparent;
  animation: rotation 1.5s linear infinite;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
    



.gear {
  width: 165px;
  aspect-ratio: 1;
  display: grid;
  color: var(--plt4);
  background: radial-gradient(farthest-side, currentColor calc(100% - 6px), #0000 calc(100% - 5px) 0);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 13px), #000 calc(100% - 12px));
  border-radius: 50%;
  position: relative;
  animation: l19 15s infinite linear;
}
/* gearColor 10s infinite alternate ease-in-out */

/* Add the gear's "horns" */
.gear::before,
.gear::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(currentColor 0 0) center,
    linear-gradient(currentColor 0 0) center;
  background-size: 100% 5px, 5px 100%;
  background-repeat: no-repeat;
}

.gear::after {
  transform: rotate(45deg);
}

/* Additional horns */
.gear span {
  position: absolute;
  width: 20px;
  height: 50px;
  background: currentColor;
  top: calc(50% - 25px);
  left: calc(50% - 10px);
  transform-origin: center;
}

.gear span:nth-child(1) { transform: rotate(0deg) translateY(-80px); }
.gear span:nth-child(2) { transform: rotate(22.5deg) translateY(-80px); }
.gear span:nth-child(3) { transform: rotate(45deg) translateY(-80px); }
.gear span:nth-child(4) { transform: rotate(67.5deg) translateY(-80px); }
.gear span:nth-child(5) { transform: rotate(90deg) translateY(-80px); }
.gear span:nth-child(6) { transform: rotate(112.5deg) translateY(-80px); }
.gear span:nth-child(7) { transform: rotate(135deg) translateY(-80px); }
.gear span:nth-child(8) { transform: rotate(157.5deg) translateY(-80px); }
.gear span:nth-child(9) { transform: rotate(180deg) translateY(-80px); }
.gear span:nth-child(10) { transform: rotate(202.5deg) translateY(-80px); }
.gear span:nth-child(11) { transform: rotate(225deg) translateY(-80px); }
.gear span:nth-child(12) { transform: rotate(247.5deg) translateY(-80px); }
.gear span:nth-child(13) { transform: rotate(270deg) translateY(-80px); }
.gear span:nth-child(14) { transform: rotate(292.5deg) translateY(-80px); }
.gear span:nth-child(15) { transform: rotate(315deg) translateY(-80px); }
.gear span:nth-child(16) { transform: rotate(337.5deg) translateY(-80px); }

@keyframes l19 { 
  100% { transform: rotate(1turn); }
}

@keyframes gearColor {
  0% { color: var(--plt4); }  /* Gold */
  100% { color: var(--plt6); } /* Dark Blue */
}


  




.popup-temp {
    position: fixed;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    box-shadow: 0 10px 15px 0px #00000011;
    z-index: 100;
    width: 350px;
    max-width: calc(100% - 20px);
    transition: 0.3s transform;
}

.popup-temp.active {
    transform: translate(-50%, 10px);
}

.popup-temp.success {
    border-left: 5px solid #2ab52a;
}

.popup-temp.attention {
    border-left: 5px solid #e6c109;
}

.popup-temp.error {
  border-left: 5px solid #f01f1f;
}

.popup-delete, .popup-delete-2, .popup-approve, .popup-reject, .popup-warning, .popup-disable, .popup-enable, .popup-justification {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0%);
    box-shadow: 0 10px 15px 0px #00000011;
    z-index: 100;
    width: 300px;
    max-width: calc(100% - 20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border-radius: 5px;
}

.popup-delete.active, .popup-delete-2.active, .popup-approve.active, .popup-reject.active, .popup-warning.active, .popup-disable.active, .popup-enable.active, .popup-justification.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}



#confettis {
  /* overflow: hidden; */
}
.confetti {
  height: 5px;
  width: 5px;
  background: lightgray;
  position: absolute;
  transition: transform .5s linear;
}













  .checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
  }

  .checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }
  .checkbox-wrapper-46 .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
  }
  .checkbox-wrapper-46 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #9098A9;
    transition: all 0.2s ease;
  }
  .checkbox-wrapper-46 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
  }
  .checkbox-wrapper-46 .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #506EEC;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
  }
  
  .checkbox-wrapper-46 .cbx:hover span:first-child {
    border-color: #506EEC;
  }

  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
    background: #506EEC;
    border-color: #506EEC;
    animation: wave-46 0.4s ease;
  }
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
  }
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
  }

  @keyframes wave-46 {
    50% {
      transform: scale(0.9);
    }
  }

  .checkbox-wrapper-46 .cbx.l1 span:first-child:before,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l1 span:first-child {
    background: #001775;
  }
  .checkbox-wrapper-46 .cbx.l1:hover span:first-child,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l1 span:first-child {
    border-color: #001775;
  }

  .checkbox-wrapper-46 .cbx.l2 span:first-child:before,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l2 span:first-child {
    background: #1836ae;
  }
  .checkbox-wrapper-46 .cbx.l2:hover span:first-child,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l2 span:first-child {
    border-color: #1836ae;
  }

  .checkbox-wrapper-46 .cbx.l3 span:first-child:before,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l3 span:first-child {
    background: #415ac0;
  }
  .checkbox-wrapper-46 .cbx.l3:hover span:first-child,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l3 span:first-child {
    border-color: #415ac0;
  }

  .checkbox-wrapper-46 .cbx.l4 span:first-child:before,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l4 span:first-child {
    background: #6277ca;
  }
  .checkbox-wrapper-46 .cbx.l4:hover span:first-child,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l4 span:first-child {
    border-color: #6277ca;
  }

  .checkbox-wrapper-46 .cbx.l5 span:first-child:before,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l5 span:first-child {
    background: #859bf1;
  }
  .checkbox-wrapper-46 .cbx.l5:hover span:first-child,
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx.l5 span:first-child {
    border-color: #859bf1;
  }