/* @import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap'); */

/* ------------------------------------
   CSS RESET + BASE STYLES
------------------------------------ */
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.content-table {
  all: revert;
  font-size: 14px;  
  -webkit-font-smoothing: antialiased;  
  font-family: "Work Sans", sans-serif;  
  font-weight: 400;  
  line-height: 1.5;  
  color: #1e1e1e;  
  background-color: #f8f8f8;  
  letter-spacing: -0.26px;  
}

.content-table li::before {
  all: revert;
}

.pagi-container ul  {
  list-style: none;  
  margin: 0px;
}

.pagi-container p {
  margin:0px;
  padding:0px;
}

/*
#content-table a {
  text-decoration: none;
  color: inherit;
}

*/
/* ------------------------------------
   VARIABLES
------------------------------------ */
:root {
  --color-primary: #2563eb;
  --color-bg: #ffffff;
  --color-border: #e5e7eb;
  --color-muted: #6b7280;
  --container-width: 1340px;
  --header-height: 64px;
}


.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}


/* ------------------------------------
   RESPONSIVE DESIGN
------------------------------------ */
@media (max-width: 768px) {
  .nav ul {
    gap: 1rem;
  }

  .header__inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .user {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .main {
    padding: 1rem 0.5rem;
  }
}

section.stats-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 20px;
}

section.stats-wrap h3 {
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  color: #3a3a49;
  margin-bottom: 15px;
}

.stats-wrap-inner {
  position: relative;
  overflow: hidden;
}

.stats-left-grid {
  display: flex;
  width: 60%;
}

.stats-progress-bars {
  flex-grow: 1;  
  background: #fff;
  border-radius: 16px;
  padding: 18px 28px;
  margin-left: 18px;
  margin-right: 10px;
}
.stats-left-grid-items {

  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-box-single {
  background: #fff;
  text-align: center;
  border-radius: 16px;
  border-bottom: 15px solid #ccf5fd;
  padding: 35px 14px;
  width: 130px;
  max-width: 100%;
}

.bar-small {
  background: #007dbe;
  width: 27px;
  height: 13px;
  display: inline-block;
  margin: 0 auto;
  border-radius: 20px;
}

.stat-box-single h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #3a3a49;
  margin-bottom: 5px;
}

.stat-count {
  font-size: 32px;
  line-height: 1;
  margin: 0;
  font-weight: 500;
  color: #007dbe;
}

.bg-info .bar-small {
  background-color: #23c72f;
}
.btn-opt {
  border: 0;
  background: transparent;
}
.bg-info .stat-count {
  color: #23c72f;
}
.bg-info {
  border-color: #cef2cc;
}

.bg-yellow .bar-small {
  background-color: #ffbe44;
}

.bg-yellow .stat-count {
  color: #ffbe44;
}
.bg-yellow {
  border-color: #fff3cc;
}

.bg-danger .bar-small {
  background-color: #ff6644;
}
.bg-danger {
  border-color: #ffcccc;
}

.bg-danger .stat-count {
  color: #ff6644;
}

.t-search-input {
  height: 38px;
  width: 350px;
  border: 1px solid #dfdfdf;
  border-radius: 7px;
  padding: 12px;
  padding-left: 40px;
}
.t-header-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.t-header-search {
  margin-left: -20px;
}
.t-option {
  width: 220px;
  border: 1px solid #dfdfdf;
  border-radius: 7px;
  padding: 9px;
}
.header-select {
  display: flex;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.search-icon {
  right: -32px;
  top: 3px;
  z-index: 999;
  position: relative;
}
.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 450px;
  margin-bottom: 0px;
}

.progress-title {
  flex: 0 0 160px;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
  text-align: right;
  line-height: 1;
}

.progress-bar {
  position: relative;
  flex: 0 0 200px; /* fixed 300px width */
  height: 14px;
  background: #e0e0e0;
  border-radius: 0px;
  overflow: hidden;
}
.progress-bars-inner {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.progress {
  height: 100%;
  width: 0%;
  border-radius: 0px;
  animation: fill 2s forwards;
}
.cell:last-child {
  width: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: end;
}
.progress-label {
  flex: 0 0 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #333;
  text-align: right;
  white-space: nowrap;
}
.progress-label span {
  color: #92a7b9;
}
.pagi-container {
  display: flex;
  gap: 15px;
}
.pagi-container p {
  padding-top: 4px;
}
.pagination {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagi-numb {
  display: flex;
  gap: 15px;
}
.pagi-numb a {
  box-shadow: 0px 4px #007dbe1a;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 30px;
  line-height: 24px;
  text-align: center;
}
.pagi-next,
.pagi-prev {
  background: #f3f8fb;
  box-shadow: 0px 4px #007dbe1a;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 30px;
  line-height: 24px;
  text-align: center;
}
.pagi-numb a.active {
  background: #007dbe;
  color: #fff;
}
/* === Animation === */
@keyframes fill {
  from {
    width: 0%;
  }
  to {
    width: calc(var(--value) * 1%);
  }
}

/* === Utility background color classes === */
.bg-green {
  background: #4caf50;
}
.bg-blue {
  background: #2196f3;
}
.bg-orange {
  background: #ff9800;
}
.bg-red {
  background: #f44336;
}
.bg-purple {
  background: #9c27b0;
}

/* Optional hover effect */
.progress-container:hover .progress {
  filter: brightness(1.1);
}

.content-table {
  background: #fff;
  border-radius: 16px;
  padding: 28px 42px;
}

.table {
  /*display: flex;*/
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
}
.tbl-box {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  /* background-color: #fff; */
}

.row-wrapper {
  border: 1px solid #e9eff4;
  margin-bottom: 10px;
  border-radius: 5px;
}
.row-wrapper:nth-child(even) {
  background-color: #f3f8fb;
}
.row-child {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  border-top: 1px solid #e9eff4;
}


.item-1 {
  width: 33%;
  text-align: right;
  padding-right: 118px;
}
.item-1 img {
  margin-right: -29px;
  width: 14px;
  margin-left: 10px;
  position: relative;
  top: 3px;
  right: 3px;
}
.item-2 {
  width: 67%;
  text-align: left;
}

.child-item.item-2 {
  position: relative;
  left: -38px;
}

.cell {
  /*glex: 1;*/
  padding: 0 10px;
  text-align: left;
  color: #3a3a49;
  flex-shrink: 0;
  min-width: 130px;
}

.last_cell {
  /*lex: 1;*/
  padding: 0 10px;
  text-align: left;
  color: #3a3a49;
  min-width: 130px;
  flex-grow: 1;
}

.cell:nth-child(5) {
  max-width: 100px;
}

.cell:nth-child(6) {
  min-width: 300px;
  min-width: 350px;
}
.cell:nth-child(2) {
  display: flex;
  gap: 4px;
}
.cell:nth-child(3) {
  /*display: flex;*/
  gap: 12px;
}

.cell-img {
  width: 20px;
}
.table-header {
  background-color: #fff;
  margin-bottom: 0;
  padding: 10px 0px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #3a3a49;
  border: none;
}
.status {
  padding: 4px 14px;
  text-align: center;
  background: #cef2cc;
  border-radius: 30px;
  color: #138f1c;
  max-width: 100px;
  flex: 0;
}
.status2 {
  padding: 4px 14px;
  text-align: center;
  background-color: #fff3cc;
  border-radius: 30px;
  color: #f7850b;
  max-width: 100px;
  flex: 0;
}
.status2 {
}
.table-header .cell {
  padding: 0 6px;
}

.cell-num {
  flex: 0 0 100px;
  min-width: unset;
}

.cell-datefirst {
  position: relative;
  left: 0px;
}

.cell-datesecond {
  position: relative;
  left: -18px;
}

.cell-status {
  position: relative;
  left: -16px;
}

.cell-graph {
  position: relative;
  left: -16px;
}

.cell-id {
  position: relative;
  left: -15px;
}

.cell-comment {
  position: relative;
  left: -10px;
}

.cell-year {
  flex: 0 0 60px;
  min-width: unset;
}
.t-option {
  width: 100%;
  border: 1px solid #dfdfdf;
  border-radius: 7px;
  padding: 9px;
  appearance: none;
  padding-right: 40px;
  position: relative;
  background: transparent;
  z-index: 99999;
}
.header-select {
  position: relative;
}
.header-select:before {
  content: "";
  display: block;
  position: absolute;
  right: 10px;
  z-index: 99;
  border-top: 8px solid #b0b0b0;
  width: 0;
  height: 0;
  border-color: #cfcfcf;
  border-bottom: 8px solid transparent;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  top: 17px;
}
.header-select:after {
  content: "";
  display: block;
  position: absolute;
  right: 10px;
  z-index: 99;
  border-top: 8px solid #584747;
  width: 0;
  height: 0;
  border-color: #ffffff;
  border-bottom: 8px solid transparent;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  top: 15px;
}
@media (max-width: 1024px) {
  section.stats-wrap {
    margin-left: 20px;
    margin-right: 20px;
  }

  .stats-progress-bars {
    padding: 15px 15px;
    float: none;
    width: 100%;
  }

  .progress-bar {
    flex: 0 0 80%;
  }

  .stats-left-grid {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .stats-left-grid-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .progress-container {
    max-width: 90%;
  }

  .item-1 {
    padding-right: 107px;
  }
}

@media (max-width: 600px) {
  /* .row {
    flex-direction: column;
  } */

  .cell {
    padding: 5px 0;
  }
  .item-1 {
    padding-right: 130px;
  }

  .cell-datefirst {
    left: -10px;
  }

  .cell-datesecond {
    left: -30px;
  }
  .cell-status {
    left: -27px;
  }

  .cell-graph {
    left: -26px;
  }

  .cell-id {
    left: -23px;
  }

  .cell-comment {
    left: -20px;
  }

  .stats-left-grid-items {
    align-items: center;
    gap: 20px;
    flex-direction: column;
  }
  .stats-left-grid {
    float: none;
    width: 100%;
  }
  .stat-box-single {
    background: #fff;
    text-align: center;
    border-radius: 16px;
    border-bottom: 15px solid #ccf5fd;
    padding: 35px 14px;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  .stats-progress-bars {
    float: none;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
  }
  .progress-bar {
    position: relative;
    flex: 0 0 70%;
    height: 14px;
    background: #e0e0e0;
    border-radius: 0px;
    overflow: hidden;
  }
  .stats-wrap-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .content-table {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
  }
  .search-icon {
    left: 15px;
    top: 13px;
    z-index: 999;
    position: absolute;
  }
  .t-header-search {
    margin-left: 0;
    width: 100%;
    position: relative;
  }

  .t-header-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
  .t-search-input {
    height: 38px;
    width: 100%;
    border: 1px solid #dfdfdf;
    border-radius: 7px;
    padding: 12px;
    padding-left: 40px;
  }
  .user {
    order: 2;
    width: 100%;
    justify-content: end;
  }
  .nav {
    order: 3;
    width: 96%;
    text-align: center;
    padding: 15px;
    position: absolute;
    top: 85px;
    background: white;
    padding: 20px;
    z-index: 99;
    left: 10px;
    right: 10px;
  }
  .header__inner {
    flex-wrap: nowrap;
    gap: 1rem;
  }
  .table {
    display: flex;
    flex-direction: column;
    min-width: 1260px;
  }
  .cell:first-child {
    width: 50px;
  }
  .nav ul {
    gap: 1.5rem;
    flex-direction: column;
    padding: 25px;
  }
  .showmenu {
    opacity: 1;
    top: 85px;
    transition: all 0.3s ease-in-out;
  }
  .hidemenu {
    opacity: 0;
    top: -500px;
    transition: all 0.3s ease-in-out;
  }
}

@media (max-width: 550px) {
  .progress-bar {
    flex: 0 0 60%;
  } 
}

@media (max-width: 450px) {
  .progress-bar {
    flex: 0 0 140px;
  }
}

.fire-badge {
  position: relative;
}

.fire-badge:before {
  position: absolute;
  left: 0;
  top: 0;
  background: url(file:///C:/Users/ALFA/Downloads/Admin-Home%20complete/Admin-Home/img/fire.svg)
    no-repeat scroll left center;
  content: "";
  width: 13px;
  height: 18px;
  background-size: cover;
}
