

.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;
    gap: 10px;
}

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

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

.calendar-cell.exist {
    background-color: #f7f8f9;
    cursor: pointer;
    transition: box-shadow 0.3s ease-out;
}

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

.calendar-cell.exist.on-time {background-color: #00990022;}
.calendar-cell.exist.waiting-for-clock-out,
.calendar-cell.exist.early-clock-out,
.calendar-cell.exist.late-clock-in,
.calendar-cell.exist.no-clock-out {background-color: #e6c10922;}
.calendar-cell.exist.approved {background-color: #913ab022;}
.calendar-cell.exist.absent {background-color: #e6090922;}

.calendar-cell .day-number {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #9fa4b1;
    font-weight: bold;
}

.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 {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: var(--plt4);
  }
    .loader:before,
    .loader:after {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: inherit;
      height: inherit;
      border-radius: 50%;
      transform: rotateX(70deg);
      animation: 1s spin linear infinite;
    }
    .loader:after {
      color: var(--plt6);
      transform: rotateY(70deg);
      animation-delay: .4s;
    }

  @keyframes rotate {
    0% {
      transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotateZ(360deg);
    }
  }

  @keyframes rotateccw {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }

  @keyframes spin {
    0%,
    100% {
      box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
      box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
      box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
      box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
      box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
      box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
      box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
      box-shadow: .2em -.2em 0 0 currentcolor;
    }
  }





.popup-temp {
    position: fixed;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    box-shadow: 0 10px 15px 0px #00000011;
    z-index: 100;
    width: 300px;
    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.error {
    border-left: 5px solid #f01f1f;
}


.popup-delete {
    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 {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;

}
