/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  background: #E4E9F7;
}
:root{
  --color-primary: #6C9BCF;
  --color-danger: #FF0060;
  --color-success: #1B9C85;
  --color-warning: #F7D060;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-dark: #363949;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;

  --card-border-radius: 2rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-mode-variables{
  --color-background: #181a1e;
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0, 0, 0, 0.4);
  --box-shadow: 0 2rem 3rem var(--color-light);
}
.col.title-text {
  margin: 5px;
  
}

.leave_allocation_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leave_allocation_title h1 {
  margin-right: 20px; /* Adjust the gap between h1 and h2 */
}

.leave_allocation_info{
  display: flex;
  gap: 20px;
}
.leave_allocation_info h2 {
 
  margin: 0; /* Reset default margin for h2 */
  font-size: 16px;
}

.leave_allocation_info_numbers{
  display: flex;
  gap: 90px;
}


#calendar {
  width: 80%; /* Set the desired width */
  margin: 0 auto; /* Center the calendar horizontally */
}
.filter-box{
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  display: block;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.filter-box h2{
  text-align: center;
  text-decoration: bold;
  margin-bottom: 10px;
}
 .filter-box label{
  display: block;
  font-size: 15px;
  max-width: 100%;
  padding-bottom: 10px;
  font-weight: bold;
  margin-top: 10px;
 }
.filter-row{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-content: center;
 }
 .filter-box input, .filter-box select, .filter-box textarea{
  display: block;
  width: 40vh;
  max-width: 100%;
  height: auto;
  padding: 10px;
  border: 2px solid var(--color-dark);
  border-radius: 7px;
  font-size: 12px;
}


.table_box {
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  display: block;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.sick_dot {
  height: 15px;
  width: 15px;
  background-color: #ffee00;
  border-radius: 50%;
  display:block;
}
.annual_dot {
  height: 15px;
  width: 15px;
  background-color: #69f531;
  border-radius: 50%;
  display:block;
}
.personal_dot {
  height: 15px;
  width: 15px;
  background-color: #313ef5;
  border-radius: 50%;
  display:block;
}
.unpaid_dot {
  height: 15px;
  width: 15px;
  background-color: #f17523;
  border-radius: 50%;
  display:block;
}
.table_box h1{
  font-size: 22px;
}
.middle{
  justify-content: center;
}
.leave_n_status{
  display: flex;
  align-items: center;
  max-width: 90%;
  position: relative;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
  
}
.leave_type{
  display: flex;
}
.leave_type span{
  margin-right: 5px;
  margin-top: 4px;
}
.leave_date{
  display: flex;
  align-items: center;
  max-width: 90%;
  position: relative;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
  margin-top: -10px;
}

.leave-form{
  width: 50vh;
  max-width: 100%;
  max-height: 100vh;
  
  margin: 10px auto;
  padding: 200px;
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;

 
}


.leave-form h2{
  text-align: center;
  text-decoration: bold;
  margin-bottom: 10px;
}
 .leave-form label{
  display: block;
  max-width: 100%;
  
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
 }

 .leave-form input, .leave-form select, .leave-form textarea{
  display: block;
  width: 40vh;
  max-width: 100%;
  height: 6vh;
  padding: 10px;
  border: 2px solid var(--color-dark);
  border-radius: 7px;
}

.leave-form .btn-primary{
  margin-top: 50px;
 margin-left: 20px;
 max-width: 100%;
  width: 40vh;
  height: 4vh;
  display: block;
  text-align: center;
  border-radius: 10px;
  background-color: #3d9eff;
  border: 1px solid black;
}

#login {
  /* Add your styles here */
  width: 50vh;
  height: 70vh;
  background-color: #edf6ff;
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: -13px 18px 9px 0px #d6d3d3;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#login h1{
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}
#login label {
  display: block;
  padding-bottom: 10px;
  font-size: 16px;
  text-decoration-line: overline;
  font-weight: bold;
}

.form-group{
  margin: 20px;
}
#login input{
  display: block;
  width: 40vh;
  height: 5vh;
  padding: 10px;
  border: 2px solid #6987d9;
  border-radius: 7px;
}

#login input:focus{
  outline: none;
  border-color: #9ecaed;
  box-shadow: 0 0 10px #9ecaed;
}

#login .btn-primary{
  margin-top: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3d9eff;
  border: 1px solid black;
}
.sidebar{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: #11101d;
  z-index: 100;
  transition: all 0.5s ease;
}
.sidebar.close{
  width: 78px;
}
.sidebar .logo-details{
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i{
  font-size: 30px;
  color: #fff;
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}
.sidebar .logo-details .logo_name{
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
}
.sidebar.close .logo-details .logo_name{
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links{
  height: 100%;
  padding: 30px 0 150px 0;
  overflow: auto;
}
.sidebar.close .nav-links{
  overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar{
  display: none;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li:hover{
  background: #1d1b31;
}
.sidebar .nav-links li .iocn-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar.close .nav-links li .iocn-link{
  display: block
}
.sidebar .nav-links li i{
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow{
  transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow{
  display: none;
}
.sidebar .nav-links li a{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sidebar .nav-links li a .link_name{
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
}
.sidebar.close .nav-links li a .link_name{
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li .sub-menu{
  padding: 6px 6px 14px 80px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}
.sidebar .nav-links li.showMenu .sub-menu{
  display: block;
}
.sidebar .nav-links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover{
  opacity: 1;
}
.sidebar.close .nav-links li .sub-menu{
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}
.sidebar.close .nav-links li:hover .sub-menu{
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name{
  display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
  font-size: 18px;
  opacity: 1;
  display: block;
}
.sidebar.nav-links li .sub-menu .link_name {
  font-size: 18px;
  opacity: 1;
  display: block;
}
.sidebar .nav-links li .sub-menu.blank{
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank{
  top: 50%;
  transform: translateY(-50%);
}
.sidebar .profile-details{
  position: fixed;
  bottom: 0;
  width: 260px;
  display: flex;
  align-items: center;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}
.sidebar.close .profile-details{
  background: none;
}
.sidebar.close .profile-details{
  width: 78px;
}
.sidebar .profile-details .profile-content{
  display: flex;
  align-items: center;
}
.sidebar .profile-details img{
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}
.sidebar.close .profile-details img{
  padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job{
  display: none;
}
.sidebar .profile-details .job{
  font-size: 12px;
}
.home-section {
  position: relative;
  background: #E4E9F7;
  left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh; /* Set the minimum height to 100vh */
  transition: all 0.5s ease;
}

.sidebar.close ~ .home-section {
  left: 78px;
  width: calc(100% - 78px);
}

.home-section .home-content {
  display: flex;
  align-items: left;
  flex-direction: column;
  gap: 2rem;
}
.home-section .home-content .bx-menu,
.home-section .home-content .text{
  color: #11101d;
  font-size: 35px;
}
.home-section .home-content .bx-menu{
  margin-top: 10px;
  margin-left: 10px;
  cursor: pointer;
}
.home-section .home-content .text{
  font-size: 26px;
  font-weight: 600;
  margin-top: 100px;
}
@media (max-width: 600px) {

  /**/
  .sidebar.close .nav-links li .sub-menu{
    display: none;
  }
  .sidebar{
    width: 230px;
  }
  .sidebar.close{
    width: 0;
  }
  .home-section{
    left: 230px;
    width: calc(100% - 230px);
    z-index: 100;
  }
  .sidebar.close ~ .home-section{
    width: 100%;
    left: 0;
  }
  .sidebar.close .nav-links li .sub-menu{
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 0;
    display: block;
    pointer-events: none;
    transition: 0s;
  }
}

@media (max-width:500px){
  .col.title-text {
    margin-top: 5px;
    margin-left: 30px;
    display: block;
}


}
@media(max-width:1200px){
  
 .table_box h1{
  font-size: 14px;
 }
 .table_box p{
  font-size: 12px;
 }
  .leave_allocation_info{
   
    gap:5px;
  }
  
  .leave_allocation_info h2 {
   
    font-size: 12px;
  }
  .leave_allocation_info_numbers {
    
    gap:50px;
}
  .leave_allocation_info_numbers h2 {
    
    font-size: 12px;
  }
  
}

@media(max-width:950px){
  .leave_allocation_info_numbers {
    
    gap:40px;
}
.leave_allocation_info{
   
  gap:5px;
}
.filter-box input,
  .filter-box select,
  .filter-box textarea {
    width: 20vh; /* Change width to 100% for smaller screens */
  }

}