
.main-container{
  width: 100%;
  padding-right: 10px;
  
}


.body-container{
  width: 80%;
 /* Centers the container horizontally */
  /* Add other styles as needed, e.g., padding, border, background-color */
float: right;
padding-right: 0;
  border: 1px solid #ccc;
  border: none;
  margin: 0;
}



.contain-map{
  width: 80%;
 /* Centers the container horizontally */
  /* Add other styles as needed, e.g., padding, border, background-color */
float: right;
padding-right: 0;
  border: 1px solid #ccc;
  border: none;
  margin: 0;
}
 




*{

  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  
}




.sidebar {
    position: fixed;
    width: 270px;
    margin:5px 16px 16px 10px;
    border-radius: 16px;
    background: #151A2D;
    height: calc(100vh - 32px);
    transition: all 0.4s ease;
  }
  .sidebar.collapsed {
    width: 75px;
  }
  .sidebar .sidebar-header {
    display: flex;
    position: relative;
    padding: 25px 20px;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-header .header-logo img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
  }
  .sidebar-header .toggler {
    height: 35px;
    width: 35px;
    color: #151A2D;
    border: none;
    cursor: pointer;
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.4s ease;
  }
  .sidebar-header .sidebar-toggler {
    position: absolute;
    right: 20px;
  }
  .sidebar-header .menu-toggler {
    display: none;
  }
  .sidebar.collapsed .sidebar-header .toggler {
    transform: translate(-4px, 65px);
  }
  .sidebar-header .toggler:hover {
    background: #dde4fb;
  }
  .sidebar-header .toggler span {
    font-size: 1.75rem;
    transition: 0.4s ease;
  }
  .sidebar.collapsed .sidebar-header .toggler span {
    transform: rotate(180deg);
  }
  .sidebar-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0 10px;
    flex-direction: column;
    transform: translateY(15px);
    transition: 0.4s ease;
  }
  .sidebar.collapsed .sidebar-nav .primary-nav {
    transform: translateY(65px);
  }
  .sidebar-nav .nav-link {
    color: #fff;
    display: flex;
    gap: 12px;
    white-space: nowrap;
    border-radius: 8px;
    padding: 12px 15px;
    align-items: center;
    text-decoration: none;
    transition: 0.4s ease;
  }
  .sidebar.collapsed .sidebar-nav .nav-link {
    border-radius: 12px;
  }
  .sidebar .sidebar-nav .nav-link .nav-label {
    transition: opacity 0.3s ease;
  }
  .sidebar.collapsed .sidebar-nav .nav-link .nav-label {
    opacity: 0;
    pointer-events: none;
  }
  .sidebar-nav .nav-link:hover {
    color: #151A2D;
    background: #fff;
  }
  .sidebar-nav .nav-item {
    position: relative;
  }
  .sidebar-nav .nav-tooltip {
    position: absolute;
    top: -10px;
    opacity: 0;
    color: #151A2D;
    display: none;
    pointer-events: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    left: calc(100% + 25px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0s;
  }
  .sidebar.collapsed .sidebar-nav .nav-tooltip {
    display: block;
  }
  .sidebar-nav .nav-item:hover .nav-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(50%);
    transition: all 0.4s ease;
  }
  .sidebar-nav .secondary-nav {
    position: absolute;
    bottom: 30px;
    width: 100%;
  }




  .nav{
    background-color: #FFFFFF;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
   height: 40px;
  
}


.toggle-btn i{
font-size: 20px;
font-weight: bold;
 color: #BDB7B7;
}


.searchbox{
    border: none;
    float: left;
    position: relative;
}

.search-icon{
 top: 0px;
 left: 30px;
   position: absolute;
  
   
}

.search-icon i{
 font-size: 10px;
   
}

#searchbar{
    border: none;
    padding: 5px 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 250px;
    border-radius: 10px;
    margin-left: 20px;
    font-size: 12px;
}

.com-det{
    padding: 5px 5px;
}

#logo{
width: 80px;
height: 80px;
border-radius: 50px;
padding: 0;
}
.wel-head{
    position: absolute;
    font-size: 12px;
    top: 20px;
    left: 85px;
}

.com-name{
    font-size: 20px;
    margin-top: 30px;
    
}

.user-pro{
    float: right;
}

.user-info{
    text-align: right;
    position: relative;
    padding-right: 10px;
    
}

.user-info h3{
    font-size: 10px;
}

.user-info-para{
position: absolute;
font-size: 8px;
top: 12px;
right: 10px;
width: 100px;
}

#avatar-img{
width: 30px;
height: 30px;
border-radius: 50px;


}

.menu-info{
    position: relative;
    padding-top: 20px;
    padding-left: 20px;
    height: 90px;
}

.menu-info h3{
    font-size: 14px;
}

.menu-info-para{
    position: absolute;
    top: 40px;
}
.menu-info-para p{
    font-size: 12px;
}



.box{

height: 300px;
border: 1px solid grey;
border-radius: 20px;
padding-left: 15px;
padding-right: 15px;
padding-top: 20px;



}

.box h3{
    font-size: 16px;
    padding-left: 20px;
    padding-bottom: 10px;
   color: #ED5334;
    
}

.box h4{
    font-size: 12px;
   
}

.punch-time{
border: 1px solid grey;
height: 40px;
padding: 5px 20px;
position: relative;
border-radius: 10px;
}

.punch-time h3{
    font-size: 12px;
}

.punch-time-para{
    font-size: 10px;
    position: absolute;
    top: 20px;

}

.box-card1{
    width: 100%;
    height: 65px;
    color: #ffffff;
    background-color: #3475ED;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    border-radius: 10px 10px 0 0;
    padding: 10px 10px;
}

.box-card2{
    width: 100%;
    height: 65px;
    color: #ffffff;
    background-color: #E61E1E;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding: 10px 10px;
}

.box-card3{
    width: 100%;
    height:65px;
    color: #ffffff;
    background-color: #E5C305;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding: 10px 10px;
}

.box-card4{
    width: 100%;
    height: 65px;
    color: #ffffff;
    background-color: #32E505;
    text-align: center;
    position: relative;
    border-radius: 0 0 10px 10px;
    padding: 10px 10px;
}
.box-card1 h2, .box-card2 h2, .box-card3 h2, .box-card4 h2{
    font-size: 12px;
}

.text{
    position: absolute;
    top: 50px;
   right: 10px;
}



.box-attend{

    height: 300px;
    border: 1px solid grey;
    border-radius: 20px;
   padding-left: 10px;
    padding-top: 10px;
    overflow-y: auto;
    
    
    
    }

    .box-attend::-webkit-scrollbar {
        display: none;
    }

    
#attend-id{
  display: block;
  margin-top: 20px;
}



.time-box{
    width: 100%;
    height: 45px;
    display: flex;
   position: relative;
    margin-bottom: 10px;
    padding: 0;
    border-bottom: 1px solid #E61E1E;
    
}

.time-box h2{
    font-size: 14px;
    color: #E61E1E;
}

.time-box h3{
    font-size: 10px;
}
.time-box p{
    font-size: 8px;
}

.h3{
    position: absolute;
    top: 18px;
}

.p{

    position: absolute;
    top: 30px;
}


#pro-img{
    width: 30px;
    height: 30px;
    border-radius: 50px;
}

.time-text{
    padding-left: 10px;
}


.map{
   margin-top: 20px;
    padding-right: 10px;
  ;
   
    
}

.map iframe{
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ED5334;
   
}



.complain-box{

height: 300px;
border: 1px solid grey;
border-radius: 20px;
padding-left: 5px;
padding-right: 5px;
 background: -webkit-linear-gradient(left, #25c481, #25b7c4);
  background: linear-gradient(to right, #25c481, #25b7c4);
overflow: scroll;
font-size: 12px;
color: #ffff;

}


.box-comp{
color: #ffff;

}

::-webkit-scrollbar {
   display: none;
} 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
} 
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}

#com-head{
background-color: #25b7c4;
}

#comp{
margin-left: 10px;
 width: 45%;
background-color: #DE1839;
border-radius: 10px 0 0 10px;
margin-bottom: 10px;
text-align: center;
 padding: 10px 0;
 height: 100px;
}


#fp{
 margin-left: 10px;
 width: 45%;
background-color: #DE1839;
border-radius: 0 10px 10px 0;
margin-bottom: 10px;
 padding: 10px 0;
text-align: center;
height: 100px;
}

#jn{
  width: 45%;
  margin-left: 10px;
  margin-bottom: 10px;
 background-color: #DE1839;
  border-radius: 10px 0 0 10px;
  padding: 10px 0;
  text-align: center;
  height: 100px;
}

#oth{
  width: 45%;
  margin-left: 10px;
 background-color: #DE1839;
  border-radius: 0 10px 10px 0;
  margin-bottom: 10px;
 padding: 10px 0;
  text-align: center;
  height: 100px;

}

#total-conn-head{
  width: 50%;
  height: 70px;
  background-color: #DE1839;
  border-radius: 10px 0 0 10px;
 padding: 0px 0;
  text-align: center;
  font-size: 14px;
}

#total-conn{
  width: 50%;
  padding: 10px;
  background-color: #DE1839;
  border-radius: 0 10px 10px 0;
text-align: center;
height: 70px;
}

.box-team{

height: 300px;
border: 1px solid grey;
padding-left: 15px;
padding-right: 5px;
border-radius: 10px;

}

.box-team h3{
    font-size: 16px;
    padding-left: 20px;
    padding-bottom: 10px;
   color: #ED5334;
    
}

#superwise{
  width: 98%;
  height: 50px;
  text-align: center;
 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
 position: relative;
 padding-top: 5px;
 border-radius: 10px 10px 0 0;
}

#superwise p{
font-size: 12px;
position: absolute;
top: 25px;
left: 145px;

}

#jointer h2, #lineman h2{
  font-size: 16px;
  text-align: center;
  padding-top: 10px;
}

#jointer-name{
  height: 66px;
  padding-top: 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
 
}
#jointer-name-last{
  height: 66px;
  padding-top: 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 0 10px;
}

#lineman-name{
  height: 50px;
  padding-top: 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}


#lineman-name-last{
  height: 50px;
  padding-top: 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 0;
}


/* popup */



#add-emp{
  display: none;
  position: relative;

  
}

.emp-box{
  position: absolute;
width: 700px;
height: 700px;
color: #ffff;
background: rgba(0, 0 ,0, 0.8);
left: 25%;
padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
}

.emp-box h2{
   font-size: 24px;
  padding-bottom: 50px;
  text-align: center;
 
}

input[type=text], input[type=number], input[type=email],  input[type=Date]{
  border: none;
  border-bottom: 1px solid #ffff;
  background: transparent;
  margin-bottom: 20px;
  width: 250px;
color: #ffff;
padding-left: 10px;
}

::placeholder{
  color: #ffff;
}

::-webkit-calendar-picker-indicator{
cursor: pointer;


  filter: invert(0.8);
}

#address{
  width: 100%;
}

input[type="checkbox"]{
    width: 1.5em;          
  height: 1em;
  margin-bottom: 20px;
}

#bl-gr{
  color: #ffff;
  background: transparent;
  padding: 3px 10px;
  margin-bottom: 20px;
  border: 1px solid #ffff;
  padding-left: 20px;
}

select option {
  background-color: #ffff;
  color: #333;
}

.pro-pic{
  position: absolute;
  top: 90px;
  right: 10px;
}

#img-preview {
   display: block;/* Initially hide the preview image */
    width: 200px; /* Constrain the preview size */
    height: 200px;
    border: 1px solid #ffff;
    border-radius: 5px;
    margin-top: 10px;
  
}

/* Style the file input button itself (limited styling possibilities) */
#file-input::file-selector-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

#file-input::file-selector-button:hover {
    background-color: #0056b3;
}



.btns{
  position: relative;
}

#next-btn{
  color: #ffff;
  font-size: 22px;
  text-decoration: none;
  padding-right: 10px;
padding-top: 0px;
 
}



#next-btn i{
font-size: 30px;
padding-left: 10px;


}

#emp-det{
  display: none;
  position: relative;
  
}

#empdet-box{
  left: 30%;
  position: absolute;
 
margin-top: 10px;
width: 500px;
height: 700px;
background: rgba(0, 0 ,0, 0.7);
padding-top: 20px;
color: #ffff;
text-align: center;
}

#empdet-box h2{
   font-size: 24px;
  padding-bottom: 50px;
  text-align: center;
 
}


#prev-btn{
  color: #ffff;
  font-size: 22px;
  text-decoration: none;
  padding-right: 10px;
padding-top: 0px;
 
}



#prev-btn i{
font-size: 30px;
padding-left: 10px;
margin-right: 10px;


}

#submit-btn{
  background: transparent;
  border-radius: 50px;
  padding: 5px 20px;
  color: #ffff;
  border: 1px solid #ffff;
  margin-top: 30px;
}

.close{
  position: relative;
}


#cls-btn{
position: absolute;
right: 30px;
font-size: 20px;
}


#cls-btn2{
  position: absolute;
right: 30px;
font-size: 20px;
}


#com-det{
  display: none;
  position: relative;
}

.comdet-box{
left: 30%;
  position: absolute;
margin-top: 10px;
width: 500px;
height: 700px;
background: rgba(0, 0 ,0, 0.8);
padding-top: 20px;
color: #ffff;
text-align: center;
padding-left: 20px;
padding-right: 20px;
}

.com-pic{
  position: absolute;
  top: 90px;
  right: 20px;
}

#comimg-preview {
   display: block;/* Initially hide the preview image */
    width: 200px; /* Constrain the preview size */
    height: 200px;
    border: 1px solid #ffff;
    border-radius: 5px;
    margin-top: 10px;
  
}

/* Style the file input button itself (limited styling possibilities) */
#comfile-input::file-selector-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

#comfile-input::file-selector-button:hover {
    background-color: #0056b3;
}


.inputbox{
  padding-top: 320px;
}


#cls-btn3{
  position: absolute;
right: 30px;
font-size: 20px;
}


#shift-det{
   display: none;
  position: relative;
}

.shift-box{
left: 40%;
  position: absolute;
margin-top: 100px;
width: 400px;
height: 400px;
background: rgba(0, 0 ,0, 0.8);
padding-top: 40px;
color: #ffff;
text-align: center;
padding-left: 20px;
padding-right: 20px;
}



.shift-box h2{
   font-size: 22px;
  padding-bottom: 50px;
  text-align: center;
 
}

#cls-btn4{
  position: absolute;
right: 30px;
font-size: 20px;
}


#view-det{
  display: block;
  position: relative;
  
}

.table-box{
 
  position: absolute;
margin-top: 10px;

padding-top: 20px;
color: #ffff;
text-align: center;
   background: -webkit-linear-gradient(left, #25c481, #25b7c4);
    background: linear-gradient(to right, #25c481, #25b7c4);
  
  }
  

  .tbl-header{
    background-color: rgba(255,255,255,0.3);
  height: 30px;
   }
  

  
  .tbl-content{
    border: 1px solid rgba(255,255,255,0.3);
  } 


  #data-add{
   display: none;
   position: relative;
 }
 
 .data-box{
 left: 35%;
position: absolute;
 margin-top: 50px;
 width: 500px;
 height: 400px;
 background: rgba(0, 0 ,0, 0.8);
 padding-top: 40px;
 color: #ffff;
 text-align: center;
 padding-left: 20px;
 padding-right: 20px;
 }
 

#cls-btn5{
position: absolute;
right: 30px;
font-size: 20px;
top: 0;
}

#import-btn{
  margin-top: 100px;
}

.dropdown-menu {
  display: none;
  list-style: none;
  padding-left: 30px;
}

.dropdown-menu li a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: #ccc;
}

.dropdown-menu li a:hover {
  color: #fff;
}

.dropdown-arrow {
  margin-left: auto;
  font-size: 12px;
}


.sidebar {
  width: 260px;
  background: #0f172a;
  height: 100vh;
  padding-top: 10px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #ffff;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  background: #ffff;
}

.nav-icon {
  margin-right: 12px;
}

.arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.has-dropdown.open .arrow {
  transform: rotate(90deg);
}

/* Submenu */
.submenu {
  max-height: 0;
  overflow: hidden;
  background: #020617;
  transition: max-height 0.3s ease;
}

.has-dropdown.open .submenu {
  max-height: 300px;
}

.submenu li a {
  display: block;
  padding: 10px 45px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}

.submenu li a:hover {
  background: #1e293b;
  color: #fff;
}


.nav-link .nav-icon,
.nav-link .arrow {
  color: #ffffff;
}

/* First level submenu */
.submenu {
  display: none;
  padding-left: 35px;
}

/* Second level submenu */
.submenu-inner {
  display: none;
  padding-left: 20px;
}

.dropdown.active > .submenu {
  display: block;
}

.dropdown-sub.active > .submenu-inner {
  display: block;
}

.dropdown-sub > a {
  font-size: 14px;
  color: #475569;
}

/* Hover effect */
.submenu a:hover,
.submenu-inner a:hover {
  background: #e2e8f0;
}
