:root {
  --primary-color: #fe0000;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff8fa;
}
.sidebar {
  overflow: hidden;
  padding-top: 1rem;
  height: 100%;
  width: 240px;
  background: #ffffff;
  transition: all 0.5s ease;
  box-shadow: unset !important;
  top: 0;
  position: fixed;
}
.sidebar a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 14px 10px;
  border-left: 5px solid transparent;
  margin: 0 15px 11px;
}
.sidebar a.active, .sidebar a:hover {
  background-color: #FFFFFF;
  color: var(--primary-color);
  border-radius: 10px;
  color: white;
}

.sidebar.collapsed {
  width: 0;
  overflow: hidden;
}
.sidebar-closed {
  /* margin-left: 60px !important; */
  left: 0 !important;
  width: 100% !important;
}

.sidebar {
  width: 241px;
  transition: width 0.3s ease;
}

.sidebar.collapsed {
  width: 240px;
}

.topbar {
  padding: 1rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: margin-left 0.3s ease-in-out;
  box-shadow: none !important;
  padding: 16px 30px !important;
  position: relative;
  background: #E5EAF2;
  transition: all 0.5s ease;
  margin: 0 0 0 0px;
}
.card {
  background: white;
  border: none;
  border-radius: 7px;
  margin-bottom: 1rem;
  border: 1px solid #e640722b;
}
.circle-legend span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 5px;
}
.attendance-table td, .attendance-table th {
  text-align: center;
  vertical-align: middle;
}
.btn-primary:hover {
  background-color: var(--primary-color);
  border: none;
}
.btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 11px 20px;
  border-radius: 5px;
  color: white;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 11px 20px;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .topbar {
    margin-left: 0;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1050;
  }
}
.flex-grow-1 {
  overflow: auto;
  position: relative;
  background: #e6407200;
  min-height: 100vh;
  width: calc(82% - -190px);
  left: 40px;
  transition: all 0.5s ease;
  flex-grow: unset !important;
  
}
#toggleSidebar {
  position: absolute;
  left: 16px;
  border: none;
  background: white;
  z-index: 999999;
}
.stat-card {
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
  }

  .stat-chart {
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
  }
  .table-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
  }

.nav-tabs .nav-link {
  
border: none;
}
  .nav-tabs .nav-link.active {
    border-bottom: 2px solid #e64072 !important;
    color: #e64072;
  }
  .employee-card {
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    box-shadow: 15px 20px 45px rgba(233, 233, 233, 0.25);
    border-radius: 10px;
  }
  .employee-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
  }
  .employee-status {
    color: green;
    font-weight: 500;
  }
  .card-box {
    border: 1px solid #f4cdd4;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
  }
  .status-text {
    color: #00c18d;
    font-weight: 500;
  }
  .punch-card {
    border: 2px solid #f4cdd4;
    border-radius: 12px;
    padding: 20px;
  }
  .highlight {
    color: #f44175;
    font-weight: 600;
  }
  .table thead th {
    /* background-color: #fff0f4; */
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    border: none;
  }
  .btn-custom {
    background-color: #f44175;
    color: #fff;
    padding: 11px 20px;
    border-radius: 5px;
  }
  .btn-custom:hover {
    background-color: #d93767;
    color: white;
  }
#employeesTab {
    padding: 20px;
}
  .hour-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid #f4cdd4;
  }
  .hour-label {
    font-size: 14px;
    color: #888;
  }
  .hour-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  .topbar .d-flex {
    justify-content: right;
    gap: 0px;
    width: 44%;
  }
.topbar .form-control {
    padding: 9px 12px;
}
.topbar .form-control:focus {box-shadow: unset;}
.mail_icon img  {
    margin: 0 0 0 10px;
}
.card  input {
    border-radius: 5px;
    height: 43px;
}
.card-box-custom {
    background: white;
    border: 1px solid #f44175;
    border-radius: 5px;
    padding: 20px 10px;
}
.card-box-custom .bg-purple {
    background: #7152f31c;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.card-box-custom .bg-purple i {
    color: #7152F3 !important;
}
.card-box-custom label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #FFFFFF;
    margin: 0 0 9px;
}
.card-box-custom small {margin: 0px 0;}
.card-box .section-title {
    padding: 0px 0 20px;
    font-size: 18px;
    font-weight: 500;
}
.list-group .badge  {
    background-color: unset !important;
    color: green;
    font-size: 13px;
    font-weight: 400;
}
.table-lightform {
}
.table-lightform th {
    background-color: var(--primary-color) !important;
    font-weight: 400;
    padding: 10px 14px;
    color: white;
    border: unset;
}
tbody td {
    padding: 13px 10px !important;
    border: unset;
    border-bottom: none;
}
tbody tr {border: unset;background: #FFFFFF;border: 4px solid #EBEBEB;box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);}
table {
      border-spacing: 0 15px;
    border-collapse: separate;
}
.fullwrap {
    background: white;
    border-radius: 7px;
    margin-bottom: 1rem;
    border: 1px solid #e640722b;
    padding: 0px;
}

.fullwrap .nav {
    width: 100%;
}
.fullwrap .form-control {
    width: 30%;
}
.nav-item a {
    border: none !important;
    color: black;
    font-size: 19px;
    padding-bottom: 21px;
}
.arrowbottom {
    border-bottom: 1px solid #e4e4e4;
    padding: 9px 6px 20px 0;
}
.employee-card {}
.employee-cardprofile  {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 0 0 19px;
}
.employee-cardprofile img {
    width: 55px;
    height: 55px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}
.employee-cardflex {
    display: flex;
    align-items: end;
    gap: 18px;
}
.employee-card  span {display: flex;justify-content: space-between;flex-wrap: wrap;gap: 3px;}
.pagination {
    justify-content: right !important;
    border: none;
    gap: 10px;
}
.pagination .active a {
    background-color: var(--primary-color);
    border: none !important;
    color: white !important;
}
.page-item {
    border: 1px solid #f8f8f8;
    border-radius: 4px;

}
.page-item a {
      color: #adadad !important;
}
.modal-body .rounded-circle {
  
border-radius: 10px !important;
}
.modal-body  form label {
    margin: 0 0 10px;
}
.modal-body  form  input, select {
    border: 1px solid #d9d9d9;
    height: 51px;
}
.modal-body form input:focus {
  box-shadow: none;
  border: 1px solid var(--primary-color);
}
.circular-card {
  background: white;
  border: 1px solid #f44175;
  border-radius: 5px;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
}
.circle-chart-container  {
  width: 80px;
  height: 80px;
  position: relative;
}
.circular-card small {
    font-size: 24px;
    font-weight: 600;
}
.circular-card h6 {
    font-size: 12px;
    margin: 6px 0 0;
    opacity: 0.6;
}
.circle-percentage {
    position: absolute;
    top: 37%;
    left: 34%;
    /* right: 41%; */
    bottom: 0;
}
.wraper {/* Login */
  background: linear-gradient(90deg, #007BA3 0%, #00B8B1 100%);
  height: 100vh;
}
.loginwrap  {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.loginwrap  .row {
  margin: 0 auto;
  justify-content: center;
}
.loginwrapp--iner {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
}
.loginwrap  img {
  width: 160px;
}
.loginwrap  h2 {
  text-align: left;
  font-size: 31px;
  font-weight: 600;
  margin: 0 0 10px;
}
.loginwrap  form {}
.form--field {
  margin: 0 0 20px;
}
.form--field label {
  margin: 0 0 7px;
}
.form--field  input {
  width: 100%;
  height: 54px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid grey;
}
.remember {
  display: flex;
  justify-content: space-between;
  margin: 0 0 13px;
}
.remember span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.loginwrapp--iner .logo {
display: flex;
justify-content: center;
margin: 0 0 9px;
}
.remember  a {
  color: var(--primary-color);
}
.buttonwrap a {/* Button */

/* Auto layout */

color: white !important;

background: var(--primary-color);

border-radius: 3px;

border: none;

width: 100%;

padding: 16px 0;

color: white;

display: flex;

align-items: center;

justify-content: center;

text-decoration: none;

margin: 0 0 20px;
}
.loginwrapp--iner h6 {font-weight: 500;}
.loginwrapp--iner h6 a {
    font-weight: 100;
    color: var(--primary-color);
}
/* Add this to your CSS */
.attendance-table th,
.attendance-table td {
  padding: 4px 8px;
  white-space: nowrap;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
}

.attendance-table td img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  margin-right: 6px;
}

.attendance-table td span {
  font-size: 14px;
}

.table-responsive {
  overflow-x: auto;
}

/* Optional: prevent line break on header row */
.attendance-table thead th {
  white-space: nowrap;
}
main {
  padding: 0;
}
.fullwrap .pagination {
  margin: 0 18px 30px;
}
.topbar h5 {
    margin: 0 0 0 50px;
}
.cardprofilepunch img {
    border-radius: 9px !important;
    border: 2px solid var(--primary-color);
}
.cardprofile {
    border: 1px solid var(--primary-color);
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: unset !important;
}
.cardprofilepunch {
    justify-content: space-between;
    border: 1px solid var(--primary-color);
    box-shadow: unset !important;
}
.bgflex {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sidebar img {
    width: 120px;
}
.logo {
    text-align: left !important;
    padding: 0 0 0 18px;
}
.sidebar, .sidebar .overflow-auto, .sidebar .overflow-y-auto, .sidebar .flex-1 {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.sidebar::-webkit-scrollbar, .sidebar .overflow-auto::-webkit-scrollbar, .sidebar .overflow-y-auto::-webkit-scrollbar, .sidebar .flex-1::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}