body {
  font-family: "Poppins", sans-serif;
  overflow: auto;
}

@media (min-width: 1024px) and (max-width: 1400px) {
  .container {
    max-width: calc(90vw - 200px) !important;
  }
}
.dash-container {
  display: flex;
  min-height: 100vh;
}
/* Sidebar styling */
.sidebar {
  width: 100%;
  background-color: #000;
  /* padding: 20px; */
  color: white;
  /* height: 100vh; */
}
@media (min-width: 768px) {
  .sidebar {
    width: 200px;
  }
}

.sidebar-logo h2 {
  color: white;
  text-align: center;
  margin-bottom: 30px;
}
.sidebar .nav-link {
  color: white;
  font-size: 16px;
  padding: 15px 10px;
}
.sidebar .nav-link i {
  margin-top: 5px;
  width: 20px;
}
.submenu li {
  list-style: none;
}
.submenu li a {
  color: #adb5bd !important;
}
.submenu li a.active {
  color: #fff !important;
}
.logout-btn {
  color: white;
  font-size: 16px;
}
/* Main content styling */
.main-content {
  flex: 1;
  padding: 10px 20px;
  background-color: #f1f2f7;
}

.admin-body {
  margin: 0 auto;
  padding: 20px;
  /* max-width: 1200px; */
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}
.section-title {
  color: #126176;
  font-size: 30px;
  margin-bottom: 1rem;
}

/* sidebar menu toggled css */
#menu-toggle {
  font-size: 30px;
  cursor: pointer;
}
#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 200px;
}
#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#wrapper.toggled {
  padding-left: 200px;
}

#sidebar-wrapper {
  z-index: 1000;
  position: fixed;
  left: 200px;
  width: 0;
  height: 100%;
  margin-left: -200px;
  overflow-y: auto;
  background: #000;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  overflow-x: hidden;
}

#wrapper.toggled #sidebar-wrapper {
  width: 200px;
}
#wrapper.toggled #page-content-wrapper {
  position: absolute;
}
.sidebar-logo {
  padding: 15px;
}
#sidebar-wrapper nav {
  padding: 0 15px;
}
/* Desktop View*/
@media only screen and (min-width: 768px) {
  #wrapper {
    padding-left: 200px;
  }
  #wrapper.toggled {
    padding-left: 0;
  }
  #sidebar-wrapper {
    width: 200px;
  }
  #wrapper.toggled #sidebar-wrapper {
    width: 0;
  }
  #page-content-wrapper {
    /* padding: 30px 40px; */
    position: relative;
  }
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}
.dasboard-body {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  min-height: 100%;
}
table tr td {
  white-space: nowrap;
  vertical-align: middle;
}
table tr th {
  white-space: nowrap;
  vertical-align: middle;
}

/* login css */
/* login */
.login-body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-box {
  background: #000;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  width: 150px;
  max-width: 100%;
  height: auto;
}

.form-label {
  font-weight: 500;
}

.form-control {
  border-radius: 5px;
  padding: 10px;
}
.form-select {
  border-radius: 5px;
  padding: 10px;
}
.forgot-password {
  text-decoration: none;
  color: #2575fc;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-box {
    padding: 1.5rem;
  }
  h2 {
    font-size: 20px;
  }
  .form-control {
    font-size: 14px;
  }
  .btn-primary {
    font-size: 14px;
    padding: 8px;
  }
}
.forgot-password-container {
  width: 100%;
  max-width: 400px;
}

.forgot-password-box {
  background: #000;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.forgot-password-box h2 {
  color: #fff;
}
.forgot-password-box.form-label {
  color: #fff;
}
.form-label {
  font-weight: 500;
}

.form-control {
  border-radius: 5px;
  padding: 10px;
}

.back-to-login {
  text-decoration: none;
  color: #2575fc;
  font-weight: 500;
  display: block;
  text-align: center;
  margin-top: 10px;
}

.back-to-login:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 576px) {
  .forgot-password-box {
    padding: 1.5rem;
  }
  h2 {
    font-size: 20px;
  }
  .form-control {
    font-size: 14px;
  }
  .btn-primary {
    font-size: 14px;
    padding: 8px;
  }
}
.line-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.line-item input,
.line-item select {
  flex: 1;
}
.summary-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-top: 15px;
}
.line-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  margin-bottom: 5px;
}
.checks {
  width: 20px;
  height: 20px;
}
#serviceTable tr th,
#serviceTable tr td {
  text-align: center;
}
.field-row {
  /* display: flex; */
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  padding: 10px;
  box-shadow: 0px 0px 6px #ddd;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 5px;
}
.subtotal-container {
  margin-top: 15px;
  font-weight: bold;
}
.service-select,
.project-select {
  width: 230px;
}
@media (max-width: 767px) {
  .service-select {
    width: 100%;
  }
}
.tt-hrs,
.reg-hrs,
.ot-hrs,
.expense {
  display: inline;
}
@media (min-width: 1025px) {
  .tt-hrs,
  .reg-hrs,
  .ot-hrs,
  .expense {
    width: 130px;
  }
}
.w-desc {
  width: 690px;
}
@media (max-width: 1024px) {
  .w-desc {
    width: 100%;
  }
}
.attachment {
  width: 119px;
}
span.smallerText {
  font-size: x-small;
  font-style: italic;
}
.custom-admin-style {
  width: 45% !important;
  flex: auto !important;
}
.hide-important {
  display: none !important;
}
.custom-width {
  width: max-content;
}
.equipment-group,
.expense-group,
.material-group {
  gap: 8px;
  margin-top: 20px;
}
@media (max-width: 992px) {
  .equipment-group,
  .expense-group {
    flex-wrap: wrap;
  }
}
.equipment-group .form-select {
  width: 25%;
}
@media (max-width: 992px) {
  .equipment-group {
    gap: 13px !important;
  }
  .equipment-group .form-select {
    width: 100%;
  }
}
.equipment-group .unit {
  width: 72%;
}

@media (min-width: 768px) {
  .equipment-group .unit {
    width: 80%;
  }
}
.m-unit {
  width: 75%;
}
@media (min-width: 1025px) {
  .m-unit {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .equipment-group .qty {
    width: 47%;
  }
}

.total_in_payroll_div {
  margin-top: 5%;
  font-size: larger;
}
span.total_in_payroll_span {
  font-weight: 700;
  color: #dc3545;
}
.col-md-6.add-form-modal-inputs {
  padding-bottom: 15px;
}
.ts-employee-select.ts-readonly {
  background-color: #f8f9fa; /* subtle gray */
  pointer-events: none; /* prevents mouse; JS still keeps it robust */
}
