@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");

:root {
  --primary: #0b6730;
  --light-purple: #2d1c5b;
  --white: #ffffff;
  --danger: #ff0000;

  --fs24: 24px;
  --fs16: 16px;
  --fs14: 14px;
  --fs13: 13px;
}

.bg-primary {
  background: var(--primary) !important;
}

/* ========================== Global style ========================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  font-family: "IBM Plex Sans", serif;
  font-style: normal;
}

ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img,
i,
a {
  cursor: pointer;
}

/* =========================== common style =========================== */
.btn-primary,
.save {
  /* width: 100%; */
  font-size: var(--fs16);
  font-weight: 500;
  color: var(--white);
  background: var(--primary);
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-primary:active,
.btn-primary:focus {
  color: var(--primary);
  background: transparent;
  border-color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

/* ================================ Login form ================================ */
.login-form {
  position: relative;
  height: 100vh;
  padding: 20px;
  display: flex;
  align-items: center;
}

.login-form .form {
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0px 4px 30px 0 #00000010;
  background: var(--white);
  padding: 40px;
}

.login-form .logo {
  margin-bottom: 30px;
}

.login-form h3 {
  font-size: var(--fs24);
  font-weight: 700;
  text-align: center;
  color: var(--light-purple);
  margin-bottom: 10px;
}

.login-form .heading-login {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.login-form p {
  font-size: var(--fs13);
  font-weight: 400;
  text-align: center;
  color: var(--light-purple);
  margin-bottom: 20px;
}

.login-form label {
  font-size: var(--fs14);
  font-weight: 500;
  color: var(--light-purple);
}

.login-form .form-control {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  outline: none;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 15px;
  width: 100%;
}

.login-form ::placeholder {
  color: var(--light-purple);
}

.login-form .form-control:focus {
  color: none;
  background: none;
  border-color: none;
  outline: none;
  box-shadow: 0px 0px 10px 0px #fd660130;
}

.login-form .form-group-password {
  position: relative;
}

.login-form .eye-password {
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--light-purple);
}

/* ====================================
    header style
    ==================================== */

header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  padding: 10px 30px 10px 80px;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
  background: var(--white);
}

header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-logo {
  width: 80px;
  height: 80px;
}

header .header-right-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

header .sidebar-toggle .line {
  display: block;
  width: 25px;
  height: 3px;
  background: #000000;
  border-radius: 12px;
  z-index: 10000;
  margin-bottom: 4px;
  cursor: pointer;
}

header .sidebar-toggle {
  display: none;
}

/* =======================================
        siderbar style
    ======================================= */
.wrapper {
  display: flex;
}

.sidebar {
  overflow: auto;
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  max-width: 300px;
  border-right: 1px solid #e5e7eb;
  background: var(--white);
  z-index: 100;
  height: calc(100vh - 100px);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar {
  width: 20px;
  /* Thin scrollbar */
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Light background */
}

.sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  /* Subtle scrollbar */
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
  /* Slightly darker on hover */
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 10px;
  color: #6264a0;
  font-size: var(--fs16);
  font-weight: 400;
  text-decoration: none;
}

.sidebar ul li a .fa-angle-down {
  color: #2d1c5b;
}

.sidebar ul li a .menu-icon {
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.sub-menu {
  display: none;
}

.sub-menu .sub-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  color: #6264a0;
  text-decoration: none;
}

.sub-menu .sub-menu-link i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
}

.active {
  background: #ffefe4 !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border-left: 3px solid var(--primary);
}

/* 
    ====================================
    main style
    ==================================== */

.main {
  width: 100%;
  max-width: 100%;
  margin-left: 300px;
  padding: 20px;
}

.main-content {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
}

.main-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
}

.main-content .content-form {
  padding: 18px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.main-content .row-content-product {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.main-content .row-content-product:not(:last-child) {
  margin-bottom: 20px;
}

.main-content .input-control {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  outline: none;
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
  color: #9ca3af;
}

.main-content label {
  font-size: var(--fs14);
  font-weight: 500;
  color: var(--light-purple);
}

.main-content ::placeholder {
  color: #9ca3af;
}

.main-content .input-control:focus {
  color: none;
  background: none;
  border-color: none;
  outline: none;
  box-shadow: 0px 0px 10px 0px #fd660130;
}

.row-content-second {
  display: grid;
  grid-template-columns: 1fr !important;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.main-left {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.main-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-left span {
  font-size: 18px;
  font-weight: 600;
}

.fa-angle-left {
  color: #2d1c5b;
  padding: 8px 12px;
  border: 1px solid #9ca3af;
  box-shadow: 0px 1px 0px 0px #00000005;
  border-radius: 8px;
}

.btn-secondary {
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  outline: none;
}

.cancel:hover,
.cancel:focus,
.cancel:active {
  color: var(--white);
  background: red;
  border-color: none;
  border: none;
  outline: none;
  box-shadow: none !important;
}

.cancel {
  border: 1px solid #d1d5db;
  color: #2d1c5b;
  background: var(--white);
}

/* ==========================================
    customer style
    ========================================== */

div.dt-container div.dt-layout-table>div {
  display: block !important;
  padding: 0 !important;
}

.main-content-second {
  padding: 12px !important;
  padding-top: 20px !important;
}

.common-table {
  margin-top: 20px !important;
}

.common-table h3 {
  font-weight: 600;
  font-size: 24px;
  color: #2d1c5b !important;
}

.common-table thead {
  background: #f1f1fe !important;
}

.common-table thead tr th {
  font-weight: 700;
  font-size: 14px;
  color: #212121;
}

.common-table tbody tr td {
  /* border-bottom: 1px solid #EEEEEE; */
  font-weight: 400;
  font-size: 14px;
}

.common-table tbody tr td:first-child {
  color: #212121;
  font-weight: 500;
}

.common-table>thead tr th:first-child {
  border-top-left-radius: 0;
}

.common-table>thead tr th:last-child {
  border-top-right-radius: 0;
}

.common-table tbody tr {
  border-bottom: 1px solid #eeeeee !important;
}

.common-table.form-control:focus {
  box-shadow: 0 0 0 0 #ffffff !important;
}

div.dt-container .dt-paging .dt-paging-button {
  padding: 0 !important;
  margin-left: 0 !important;
}

.page-link {
  padding: 11px 13px;
}

.page-link:hover {
  border: 1px solid #eeeeee !important;
  outline: none;
  background: #0d6efd !important;
  color: #ffffff;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  border: none;
  outline: none;
  background: none !important;
}

.page-link:focus {
  box-shadow: none !important;
}

.page-link:focus-visible {
  outline: none !important;
  border: none !important;
}

.table>tbody {
  border: 1px solid #ffffff !important;
}

.table>thead {
  border: 1px solid #ffffff;
}

.table>tbody tr {
  border: 1px solid #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: 3px solid #ccc !important;
}

.table>thead tr {
  border: 1px solid #ffffff !important;
}

tr {
  border: 1px solid #ffffff !important;
}

.common-table tbody {
  border-bottom: 1px solid #eeeeee !important;
}

.common-table tbody tr {
  border-bottom: 1px solid #eeeeee !important;
}

#product tfoot {
  border-top: 1px solid #eeeeee !important;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border: 1px solid #ffffff !important;
}

div.dt-container div.dt-search {
  position: relative !important;
  overflow: hidden;
}

div.dt-container div.dt-search input {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 7px 14px 7px 28px;
}

div.dt-container div.dt-search::before {
  position: absolute !important;
  /* content: url("../../assets/images/search.svg") !important; */
  font-family: "Font Awesome 4 Free" !important;
  top: 8px !important;
  left: 14px !important;
  z-index: 100;
}

/* ==========================================
    dashboard
    ========================================== */
.dashboard-row-outer {
  display: grid;
  /* grid-template-columns: calc(70% - 7.5px) calc(30% - 7.5px); */
  gap: 15px;
}

.dashboard-row-inner {
  border: 1px solid #e5e7eb;
  padding: 18px;
  margin-bottom: 15px;
  border-radius: 12px;
}

.dashboard-row-inner .heading {
  font-size: 18px;
  font-weight: 600;
  color: #2d1c5b;
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-row-outer .total-row {
  padding: 10px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.dashboard-row-outer .total-col {
  border-right: 1px solid #e5e7eb;
}

.dashboard-row-outer .total-row h6 {
  font-weight: 400;
  font-size: 14px;
  color: #6264a0;
  margin-bottom: 10px;
}

.dashboard-row-outer .total {
  font-size: 20px;
  font-weight: 700;
  color: #2d1c5b;
}

.dashboard-row-outer .total span {
  font-size: 14px;
  font-weight: 500;
  color: #00b42a;
}

.dashboard-row-outer .revenue-row-inner {
  border: 1px solid #e5e7eb;
  padding: 18px;
  border-radius: 15px;
  margin-bottom: 15px;
}

.dashboard-row-outer .revenue-row-inner h6 {
  font-weight: 600;
  font-size: 18px;
  color: #2d1c5b;
  margin-bottom: 10px;
}

.dashboard-row-outer .revenue-row-inner h6 span {
  font-size: 18px;
  font-weight: 600;
  color: #4848f7;
}

.dashboard-row-outer .revenue-col-inner .revenue-summary {
  border-radius: 10px;
  padding: 15px;
  border: 1.3px solid #e5e7eb;
  background: #f3f4f6;
}

.dashboard-row-outer .revenue-col-inner:not(:last-child) {
  margin-bottom: 15px;
}

.dashboard-row-outer .revenue-row-inner .heading {
  font-weight: 400;
  font-size: 14px;
  color: #6264a0;
  margin-bottom: 10px;
}

.dashboard-row-outer .revenue-row-inner .total {
  font-weight: 700;
  font-size: 20px;
  color: #2d1c5b;
}

.dashboard-row-outer .revenue-row-inner .total span {
  color: #00b42a;
  font-size: 14px;
  font-weight: 500;
}

.export {
  border-radius: 12px;
}

.export thead {
  background: #f1f1fe;
}

.import thead {
  background: #f1f1fe !important;
}

.heading-01 {
  font-weight: 600;
  font-size: 18px;
  color: #2d1c5b;
}

table>thead {
  border: 1px solid red !important;
}

table>thead tr th:first-child {
  border-top-left-radius: 12px;
}

table>thead tr th:last-child {
  border-top-right-radius: 12px;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px !important;
}

.table-col {
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  padding: 18px 18px 8px 18px;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
  padding: 10px;
  border-bottom: none !important;
}

table.dataTable>thead>tr>th {
  padding-top: 20px;
  padding-bottom: 20px;
}

.table> :not(:last-child)> :last-child>* {
  border-bottom-color: #ffffff;
}

table>thead tr th {
  padding: 20px;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc,
table.dataTable thead>tr>th.dt-ordering-asc {
  position: relative;
  padding: 20px;
}

table.dataTable>tbody>tr>td {
  padding: 20px 10px;
}

table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover {
  outline: none;
  outline-offset: initial;
}

.table>tbody tr {
  border: 1px solid red;
}

table thead tr th {
  color: #2d1c5b;
  font-size: 14px;
  font-weight: 500;
}

table tbody tr td {
  color: #2d1c5b;
  font-size: 14px;
  font-weight: 400;
}

.export tbody tr td:nth-child(4) {
  color: #00b42a;
  font-size: 14px;
  font-weight: 400;
}

.export tbody tr td:nth-child(4) {
  color: #00b42a;
}

.import tbody tr td:nth-child(4) {
  color: #00b42a;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc {
  text-align: left;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc,
table.dataTable thead>tr>th.dt-ordering-asc {
  position: relative;
  padding: 20px 10px;
}

table.dataTable td.dt-type-numeric {
  text-align: left;
}

table.dataTable th.dt-type-numeric {
  text-align: left !important;
}

@media (max-width: 1024px) {
  header .sidebar-toggle {
    display: block;
  }

  .sidebar {
    left: -100%;
    width: 100%;
    max-width: 0;
  }

  .sidebar.sidebar-toggle-back {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    max-width: 250px;
    background: var(--white);
    z-index: 10000;
  }

  .main {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 30px 10px 30px;
  }

  .main-content .row-content-product {
    grid-template-columns: 1fr;
  }

  .dashboard-row-outer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .table-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px !important;
  }

  div.dt-container div.dt-search input {
    width: 100% !important;
    margin-left: 0;
    padding-left: 44px;
  }

  div.dt-container div.dt-length {
    text-align: left !important;
  }
}

@media (max-width: 576px) {
  .content {
    display: flex;
    flex-direction: column;
    justify-content: initial;
    align-items: center;
    margin-bottom: 20px;
  }

  .dashboard-row-outer .total-row {
    padding: 10px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .dashboard-row-outer .total-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dashboard-row-outer .total-col {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
}

@media (min-width: 780px) {
  .btn-primary {
    display: inline;
  }
}

.user-initial {
  width: 40px;
  height: 40px;
  background-color: #ff6600;
  /* Change color as needed */
  color: white;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Makes it circular */
  text-transform: uppercase;
}

label.error {
  background: #c30e0e;
  font-size: 10px;
  color: white;
  padding: 5px;
  line-height: 1.5;
}

/* Hide arrows for all number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide arrows for Firefox
    input[type="number"] {
    -moz-appearance: textfield;
    } */

.customback {
  color: var(--primary) !important;
}

.sub-menu-link {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
}

.sub-menu-link i {
  width: 20px;
  margin-right: 10px;
  text-align: center;
}

.attendance-toggle {
  display: flex;
  border-radius: 5px;
  overflow: hidden;
}

.attendance-toggle button {
  flex: 1;
  padding: 10px;
  border: none;
  cursor: pointer;
  color: white !important;
  font-weight: bold;
  transition: all 0.3s;
  background-color: #ccc;
  margin-right: 10px !important;
}

.attendance-toggle button:last-child {
  margin-right: 0;
}

.attendance-toggle button {
  background-color: rgba(70, 62, 62, 0.577);
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.attendance-toggle .present.active1 {
  background-color: green !important;
}

.attendance-toggle .half_day.active1 {
  background-color: yellow !important;
  color: black !important;
}

.attendance-toggle .absent.active1 {
  background-color: red !important;
}

.attendance-toggle button:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.highlight {
  background-color: yellow;
  /* Highlight effect */
  font-weight: bold;
  padding: 2px;
  border-radius: 3px;
}

.menu-container {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hides scrollbar for IE/Edge */
}

.menu-container::-webkit-scrollbar {
  display: none;
  /* Hides scrollbar for Chrome/Safari */
}

/* Ensures buttons take up equal space and look uniform */
.menu-container button {
  min-width: 180px;
}

/* Fix for scroll buttons positioning */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}

/* 
    ====================================
    Employee Payment Style
    ==================================== */

/* Top Bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 15px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.customer-transaction-list {
  margin-top: 15px;
  /* Adjust this as per the top bar's height */
  padding: 10px;
  /* overflow-y: auto; */
  max-height: calc(100vh - 70px);
  /* Ensure it scrolls within the remaining viewport height */
}

.back-btn {
  font-size: 24px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  margin-right: 15px;
}

.details {
  text-align: left;
}

.details h2 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}

.details p {
  margin: 2px 0 0;
  color: #666;
  font-size: 14px;
}

/* Attendance Summary */
.attendance-summary {
  display: flex;
  justify-content: space-around;
  padding: 5px;
  margin-top: 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.summary-box {
  text-align: center;
  flex: 1;
}

.summary-box p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.summary-box h3 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

/* Bottom Buttons */
.bottom-buttons {
  position: fixed;
  bottom: 0;
  left: 250px;
  /* Push buttons to right of the sidebar */
  width: calc(100% - 250px);
  /* Ensures they fit within available space */
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.withdraw-btn,
.recovery-btn {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.withdraw-btn {
  background: #0f9d58;
  color: white;
  margin-right: 10px;
}

.withdraw-btn:hover {
  background: #0c7a44;
}

.recovery-btn {
  background: #db4437;
  color: white;
}

.recovery-btn:hover {
  background: #b93226;
}

/* Responsive Fix */
@media (max-width: 1024px) {
  .bottom-buttons {
    left: 0;
    width: 100%;
  }
}

/* Custom CSS for Transaction List */
.transaction-list {
  margin: 20px auto;
  max-width: 1200px;
  padding-bottom: 80px;
}

.transaction-item {
  margin-bottom: 15px;
}

.transaction-card {
  background: #283046;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transaction-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.transaction-card .amount {
  font-size: 1.375rem;
  /* 22px in rem */
  font-weight: bold;
  color: #ffffff;
}

.transaction-card .status {
  font-size: 0.875rem;
  /* 14px in rem */
  color: #17c2a4;
}

/* Custom Badge Styles (overriding Bootstrap) */
.badge-transaction {
  font-size: 0.875rem;
  /* 14px in rem */
  font-weight: bold;
  padding: 0.3125rem 0.625rem;
  /* 5px 10px in rem */
  border-radius: 0.5rem;
  /* 8px in rem */
  display: inline-block;
  margin-bottom: 0.3125rem;
  /* 5px in rem */
}

.badge-success-custom {
  background-color: #2dce89 !important;
  color: #ffffff !important;
}

.badge-danger-custom {
  background-color: #f5365c !important;
  color: #ffffff !important;
}

/* Alignment for Left and Right Transactions */
.transaction-left {
  margin-right: auto;
  margin-left: 0;
}

.transaction-right {
  margin-left: auto;
  margin-right: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .transaction-card {
    width: 100%;
    padding: 10px;
  }

  .transaction-card .amount {
    font-size: 1.125rem;
    /* 18px for mobile */
  }

  .transaction-card .status {
    font-size: 0.75rem;
    /* 12px for mobile */
  }

  .badge-transaction {
    font-size: 0.75rem;
    /* 12px for mobile */
    padding: 0.25rem 0.5rem;
    /* 4px 8px in rem */
  }

  /* On mobile, stack all transactions vertically */
  .transaction-left,
  .transaction-right {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 769px) {
  .transaction-left {
    max-width: 50%;
    /* Limit width for balance on desktop */
  }

  .transaction-right {
    max-width: 50%;
    /* Limit width for balance on desktop */
  }

  /*
    ====================================
    Attendance Summury
    ==================================== */
}

.table-responsive {
  max-height: 550px;
  overflow-y: auto;
  position: relative;
}

#dataTable {
  border-collapse: collapse;
  width: 100%;
  /* display: block; */
}

#dataTable thead,
#dataTable tfoot {
  position: sticky;
  z-index: 2;
  background: #f8f9fa;
  /* Light background to distinguish header and footer */
}

#dataTable thead {
  top: 0;
}

#dataTable tfoot {
  bottom: 0;
}

/* Global Scrollbar Styles */
* {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Webkit Browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px !important;
  /* Thin scrollbar */
  height: 8px !important;
  /* Works for horizontal scroll */
  cursor: pointer;
  /* Makes it clear it's draggable */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Light background */
  border-radius: 10px;
  /* Smooth edges */
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
  /* Softer corners */
  cursor: grab;
  /* Shows grab cursor */
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
  cursor: grabbing;
  /* Changes when dragging */
}

body,
.content,
.sidebar,
.modal {
  overflow: auto;
}

/*     UPDATE CODE */
@media (min-width: 1366px) {
  .container {
    max-width: 1366px;
    margin: 0 auto;
    /* Center the container */
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    /* Adjust for larger screens */
  }
}

.nowrapsingleline {
  white-space: nowrap;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remarks-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.remarks-input {
  width: 250px;
  /* Adjust width */
  min-height: 60px;
  /* Increase height */
  resize: vertical;
  /* Allow vertical resizing */
  padding: 8px;
  font-size: 14px;
}

.save-remarks-btn {
  width: 250px;
  /* Same width as textarea */
  margin-top: 8px;
  /* Space between textarea and button */
  font-size: 14px;
  padding: 6px 10px;
}

.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.common-table {
  width: 100%;
  border-collapse: collapse;
}

.common-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #f8f9fa;
  /* Light grey background */
  border-bottom: 2px solid #dee2e6;
}

.common-table thead th {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.emp-transaction-list {
  padding-bottom: 150px;
}

.highlight-diff {
  background-color: #fff3cd !important;
  border-color: #ffeeba !important;
}


.custom-green {
  background-color: var(--primary);
  color: #fff !important;
  text-transform: capitalize;
}

.custom-danger {
  background-color: var(--danger);
  color: #fff !important;
  text-transform: capitalize;
}