:root {
  /* Primary and Secondary Colors */
  --primary-color: #0f84de; /* Sky Blue */
  --secondary-color: #03c53a; /* Slate Gray */

  /* Hover Colors */
  --hover-primary-color: #e9eff3; /* Darker Sky Blue */
  --hover-secondary-color: #fa4545; /* Darker Slate Gray */
  --hover-success-color: #27ae60;
  --hover-warning-color: #f39c12;
  --hover-danger-color: #c0392b;

  /* Success, Warning, and Danger Colors */
  --success-color: #28a745;
  --warning-color: #f98305;
  --danger-color: #e74c3c;

  /* Text and Background Colors */
  --text-color-dark: #333;
  --text-color-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #87CEEB;
  --background-alt: #ffffff; /* Light sky blue background */

  /* Border and Shadow Colors */
  --border-color-light: #ddd;
  --border-color-dark: #5A6B76;
  --shadow-color-light: rgba(0, 0, 0, 0.05);
  --shadow-color-dark: rgba(0, 0, 0, 0.2);

  /* Form and Input Colors */
  --input-bg-color: #ffffff;
  --input-border-color: #ccc;
  --input-focus-border: #87CEEB;

  /* Modal Colors */
  --modal-bg-color: #ffffff;
  --modal-overlay-color: rgba(0, 0, 0, 0.5);

  /* Table Header Colors */
  --table-header-bg: var(--primary-color);
  --table-header-text: #ffffff;

  /* Sidebar and Navigation Colors */
  --sidebar-bg-color: var(--primary-color);
  --nav-link-color: #ffffff;
  --nav-link-hover: var(--hover-primary-color);

  /* Button Backgrounds and Text */
  --button-primary-bg: var(--primary-color);
  --button-secondary-bg: var(--secondary-color);
  --button-text-light: #ffffff;

  /* Item Specific Colors */
  --item-bg-alt: #E6F7FF;
  --item-border: #68A5CC;
  --item-hover-bg: #D6ECFA;
}


.hidden {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; /* Professional font stack */
  background-color:#ffffff;
  color: var(--text-color-dark);
  line-height: 1.7; /* Comfortable line height for readability */
  letter-spacing: 0.3px; /* Slight letter spacing for modern touch */
}


/* General Styles for Consistency */
* {
  box-sizing: border-box; /* Include padding and border in element dimensions */
  margin: 0; /* Reset default margins */
  padding: 0; /* Reset default padding */
  font-family: sans-serif; /* Consistent font */
}

button{

  max-width: 200px;
}

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}

/* Container for the input field and label */
.row-group {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 5px;
  padding: 5px;
 
}

.row-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
 gap: 15px;
 margin: 0;
 padding:0px 5px;
  border: 1px solid var(--border-color-light);
}




/* General Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



/* Top Navbar */
.top-navbar {
 
    width: 100%;
    height: 80px;
    background-color: var(--input-bg-color);
    color: var(--text-color-dark);
    display: flex;
    padding: 0 20px;
    box-shadow: 0 2px 10px var(--shadow-color-light);
    position: fixed;
    top: 0;
    left: 0;
  
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.navbar-left {
    width: 260px;
    display: flex;
    align-items: center;
}

.brand-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.brand-logo img:hover {
    transform: rotate(15deg); /* Slight rotation on hover */
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
    transition: color 0.3s ease;
}

.toggle-sidebar-btn {
  background: none;
    width: 40px;
    height: 30px;
    margin-top: 50px;
    padding: 0;
    border: none;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    margin-right: 10px;
    transition: color 0.3s, transform 0.3s ease;
    box-shadow: none;
}

.toggle-sidebar-btn :hover {
background: none;
 
}

.navbar-center-and-right {
    width: 100%;
    display: flex;
    padding: 20 0px;
    margin-left: 10px;
    justify-content: space-between;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--border-color-light);
    transition: border-color 0.3s ease;
}

.user-avatar:hover {
    border-color: var(--primary-color);
}

.username {
    font-size: 14.5px;
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

.notifications {
    position: relative;
    font-size: 18px;
    color: var(--text-color-dark);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.notifications:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--danger-color);
    color: var(--button-text-light);
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50%;
    box-shadow: 0 2px 5px var(--shadow-color-dark);
}

/* Sidebar styling */
.sidebar {
  width: 250px;
  height: 100%;
  background-color: var(--background-light);
  color: var(--button-text-light);
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto; /* Enable vertical scrolling */
  overflow-x: hidden; /* Prevent horizontal scrolling */
  padding-top: 80px;
  box-shadow: 2px 0 10px var(--shadow-color-dark);
  transition: transform 0.4s ease; /* Smooth transition for sidebar */
  z-index: 1000;
}

/* Default state: Hide scrollbar */
.sidebar::-webkit-scrollbar {
  width: 10px; /* Hidden scrollbar */
}


.sidebar::-webkit-scrollbar-thumb {
  background-color: var(--background-light); /* Dark scrollbar thumb */
  border-radius: 10px; /* Rounded corners */
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color); /* Highlight scrollbar thumb on hover */
}
.sidebar:hover::-webkit-scrollbar-thumb {
  background-color: var(--primary-color); /* Highlight scrollbar thumb on hover */
}


.sidebar::-webkit-scrollbar-track {
  background: transparent; /* Transparent scrollbar track */
}

.sidebar.collapsed {
  transform: translateX(-260px); /* Move the sidebar completely off-screen */
}

/* Sidebar hidden state */
.sidebar.hidden {
    transform: translateX(-260px); /* Move the sidebar completely off-screen */
}


.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.sidebar .section-title {
  margin: 20px;
  border-radius: 8px;
    font-size: 16px;
  
    padding: 5px 20px;
    color: var(--primary-color);
    background-color: var(--background-light);
    font-weight:bolder;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.3s ease;
}

/* Triangle Icon (Right Arrow) */
.sidebar .section-title::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #a3b8d9;
    transition: transform 0.3s ease;
}

/* Rotate Triangle for Expanded State */
.sidebar .section-title.expanded::after {
    transform: rotate(180deg);
}

.sidebar .section-title:hover {
    background-color:#1383e4;
    color: var(--background-light);
}



.sidebar ul li a i {
    margin-left: 20px;
    margin-right: 10px;
    font-size: 16px;
    color: var(--primary-color);
   
  

}


.sidebar ul li a {
  background-color: #ffffff;
  
  color: var(--primary-color); /* Use variable for consistency */
  text-decoration: none; /* Remove underline */
  display: flex;
  align-items: center; /* Vertically center content */
  padding: 10px 15px; /* Comfortable padding */
  font-size: 16px; /* Readable font size */
  border-bottom: 1px solid rgba(125, 165, 212, 0.3); /* Subtle border with transparency */
  border-radius: 4px; /* Smooth rounded corners */
  transition: background 0.3s ease, padding-left 0.3s ease, transform 0.2s ease;
}

/* Hover and focus styles */
.sidebar ul li a:hover,
.sidebar ul li a:focus {
  background-color: rgba(54, 148, 243, 0.2); /* Light background highlight */
  
  
}

/* Active link style */
.sidebar ul li a.active {
  background-color: rgba(219, 125, 30, 0.2); /* Stronger highlight for active links */
  color: var(--nav-link-active-color); /* Active color for link */
  font-weight: bold; /* Emphasize active link */
  border-left: 4px solid var(--nav-link-active-border-color); /* Left border for active link */
  padding-left: 18px; /* Slight adjustment */
}


/* Custom styling for the hamburger icon */








/* Dropdown Styles */
.dropdown {
  position: relative; /* Important for positioning the menu */
  display: inline-block;
}


.dropdown-button2 {
  background-color: transparent !important; /* Make the button transparent */
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 16px;
  color: #3d4144;
  margin-right: 5px;
}

.dropdown-button {
  background-color: transparent; /* Make the button transparent */
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 16px;
  color: #3d4144;
  margin-right: 5px;
}




.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Ensure it's on top */
  right: 0; /* Position to the right of the button */
  border-radius: 5px;
  border: 1px solid #ddd;
}

.dropdown-content button {
  padding: 10px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: #2784f7;
  cursor: pointer;
}
.dropdown-content button:hover{
    background-color: #3fa7f1;
}

.show { /* Class to show the dropdown */
  display: block;
}










.dropdown-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 10;
}

.dropdown-menu button {
  display: block;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.dropdown-menu button:hover {
  background-color: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
  display: block;
}





.hidden-column {
  display: none;
}













/* Display toggle-group items in a row */
.toggle-group {
  display: flex;
  gap: 20px; /* Adjust the spacing between each toggle item */
  justify-content: space-between; /* Distributes items across the row */
  align-items: center;
  width: 100%; /* Ensure it takes full width for better distribution */
}

.toggle-item {
  display: flex;
  flex-direction: row; /* Align label and switch in a row */
  align-items: center;
  gap: 40px; /* Space between label and switch */
  justify-content: space-between; /* Distributes items across the row */
   width: 100%; 


}

/* Toggle switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(20px);
}






.register-link {
  text-align: center;
  margin-top: 10px;
}

.register-link a {
  color: #007bff;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}






.disabled-button {
  background-color: #d3d3d3; /* Light grey color */
  color: #666666; /* Darker grey for text */
  cursor: not-allowed; /* Indicate that it’s not clickable */
  opacity: 0.6; /* Make it appear slightly transparent */
}



.confirmation-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it appears above other content */
}

.confirmation-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 300px;
}

#confirm-action, #cancel-action {
  margin: 10px;
  padding: 8px 15px;
  cursor: pointer;
}

#confirm-action {
  background-color: #4CAF50; /* Green */
  color: white;
  border: none;
  border-radius: 3px;
}

#cancel-action {
  background-color: #f44336; /* Red */
  color: white;
  border: none;
  border-radius: 3px;
}





/* Label styling */
#stock-value-label {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color-dark);
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {

  .toggle-sidebar-btn {
    margin-top: 15px;
  }


  .row-group {
    flex-direction: column;
    align-items: flex-start;
  }


  #stock-value-label {
    margin-bottom: 5px;
  }
}

/* Main Content Styling */
.main-content { 
  

  margin: 5px;
   padding: 20px;
   padding-top: 1px;
  background-color: var(--input-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color-light);
  min-height: calc(100vh - 120px);
  transition: transform 0.3s ease-in-out, margin-left 0.3s ease-in-out; /* Smooth transition for transform and margin */
 overflow-x:scroll;
}






.parent-container { 
  
  
  margin-top: 90px;
  
  margin-right: 0px;
  padding-left: 0px;
  background-color: var(--input-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color-light);
  min-height: calc(100vh - 120px);
  transition: transform 0.3s ease-in-out, margin-left 0.3s ease-in-out; /* Smooth transition for transform and margin */
  margin-left: 260px; /* Default margin when the sidebar is visible */

  

}

.parent-container.collapsed {
  transform: translateX(-260px); /* Adjust content position when the sidebar is collapsed */
 }

.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  align-items: stretch;
}






/* Input fields, buttons, and form elements */
input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--input-bg-color);
}

button {
  background-color: var(--button-primary-bg);
  color: var(--button-text-light);
  padding: 10px 18px;

  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}


.add-item-btn {
  padding: 10px 15px;
  font-size: 12px;
  background-color: var(--success-color);
  border: none;
  color: var(--button-text-light);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-item-btn:hover {
  background-color: var(--hover-success-color);
}

table {
  width: 100%;
  border-collapse: collapse;
   margin-top: 0px;
}

table th {
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-weight: bold;
  margin-top: 0px;
}

.cart-header h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--background-dark);
}

.remove-item-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
margin: 0;
padding: 3px;
width: 100px;
height: 30px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

.remove-item-btn:hover {
  background-color: var(--hover-danger-color);
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  display: inline-block;
  color: var(--text-color-dark);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-overlay-color);
}

.modal-content {
  background-color: var(--modal-bg-color);
  margin: 10% auto;
  padding: 20px;
  border: 1px solid var(--border-color-light);
  width: 700px;
  overflow-x: scroll;
}


.modal-content2 {
  background-color: var(--modal-bg-color);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid var(--border-color-dark);
  max-width: 500px;
  overflow-x: scroll;
}

.close {
  color: var(--danger-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: var(--text-color-dark);
  cursor: pointer;
}

.transactions-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 25px;
  background-color: var(--input-bg-color);
 
}

.transactions-filter label {
  font-weight: bold;
  font-size: 14px;
  margin-right: 10px;
  color: var(--text-color-dark);
}

.transactions-filter input[type="date"], 
.transactions-filter select {
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 6px;
  font-size: 14px;
  background-color: var(--input-bg-color);
}

.transactions-filter select {
  width: 150px;
}

.transactions-filter input[type="date"] {
  width: 180px;
}

.quantity-field,
.price-field{

width: 90%;
}

#show-modal {
  width: 40px;
  position: fixed;
  top: -20px;
  right: 10px;
  padding: 10px 10px;
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 4px 6px var(--shadow-color-light);
}


.summary {
  display: flex;
  justify-content: space-around;
  background-color: var(--input-bg-color);
  padding: 20px;
  border: 1px solid var(--border-color-light);
  margin-bottom: 20px;
}

.metric {
  font-size: 1.5rem;
  color: var(--text-color-dark);
}

.metric span {
  font-weight: bold;
}

table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid var(--border-color-light);
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-size: 1rem;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: var(--background-light);
}

/* Responsive layout */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .parent-container { 
    margin-top: 60px;
    transform: translateX(-260px);
    width: 100%;
  }
  .main-content {
    padding: 10px 5px;
    margin: 5px;
    margin-top: 70px;

    }

    #transactions-table th:nth-child(5),
    #transactions-table td:nth-child(5),
    #transactions-table th:nth-child(6),
    #transactions-table td:nth-child(6) {
        display: none;
    }
    






    .filter-buttons button {
     
      width: 90px;}

    .transactions-filter {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      padding: 15px;

      }


      #transaction-type-filter{

        width: 100%;
      }

.filter-buttons{
width: 100%;
margin: 0 auto;
}
.row input[type="date"] {
  width: 100px; /* Set minimum width for input */
  padding: 5px; /* Add padding for better usability */
  border: 1px solid #ccc; /* Light border */
  border-radius: 4px; /* Rounded corners */
  font-size: 14px; /* Font size for readability */
  box-sizing: border-box; /* Include padding and border in width */
}


.row span {
  padding:5px;
  font-size: 14px; /* Match font size with label */
  margin: 0 5px; /* Add spacing around the span */
}


  





    





  

    

  .user-profile, 
.navbar-left, 
.notifications {
    display: none;
}


.sidebar {
  transform: translateX(-260px); /* Hide sidebar */
}

/* Show sidebar when expanded */
.sidebar.expanded {
  transform: translateX(0);
}


.top-navbar {
  margin-left: -5px;
  padding-left: 0px;
  height: 60px;

display: flex;
align-items: center;
}









/* Hide the first and second columns */
.item-list-container th:nth-child(3),
.item-list-container td:nth-child(3),
.item-list-container th:nth-child(4),
.item-list-container td:nth-child(4) {
    display: none;
}


}


#toggle-fields-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--button-text-light);
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  position: relative;
  top: -10px;
}


#toggle-fields-btn:hover {
  background-color: var(--hover-primary-color);
}

input[type="date"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--input-bg-color);
}



/* Container for the radio buttons */
.item-type-group1 {
  display: flex;
  gap: 20px; /* More space between radio buttons */
  margin-top: 15px;
  justify-content: center; /* Center-align radio buttons */
  align-items: center;
}









.radio-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.radio-item {
  display: flex;
  align-items: center;
  width: 70px;
  height: 40px;
  padding: 5px;
  border: 1px solid #0078d4;
  border-radius: 2px;
  transition: all 0.2s ease;
  background-color: #f0f4f8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.radio-item input[type="radio"] {
 margin: 0;
 padding: 0;
  width: 15px;
  height: 15px;
border-radius: 50%;
   cursor: pointer;
  
}

.radio-item input[type="radio"]:checked {
  background-color: #0078d4;
 
}

.radio-item input[type="radio"]:hover {
  border-color: #005a9e;
}

.radio-item label {
 
 padding: 0;
 margin: 0;
 margin-left: 5px;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: color 0.2s ease;
}

.radio-item:hover {
 
  border-color: #005a9e;
  background-color: #eaf1fb;
}

.radio-item:hover label {
  color: #005a9e;
}





/* Responsive Design */
@media (max-width: 768px) {
  .item-type-group1 {
    flex-direction: column; /* Stack radio buttons vertically */
    gap: 15px; /* Adjust space between buttons */
  }




  .radio-group {
  
    margin-top: 0px;
  }

  .radio-item {
   
    width: 20px;
    height: 20px;
    padding: 0px;
    border: 1px solid #0078d4;
    
  }


}





/* Full-page grid container */
.spinner-container {
  display: grid; /* Use grid layout */
  place-items: center; /* Center both vertically and horizontally */
  width: 100%; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  margin: 0;
  padding: 0;
  background-color: #fffefe; /* Light background */
}

/* Spinner styling */
.spinner {
  width: 64px;
  height: 64px;
  border: 8px solid #f3f3f3; /* Light gray border */
  border-top: 8px solid #3498db; /* Blue border on top */
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Spin animation */
}

/* Smooth rotation animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Modal Styles added for transactions.html but can be used for others page */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-overlay-color);
}



.modal-content h3 {
  margin-top: 0;
  text-align: center;
}



/* Table Styling for Transaction and Details */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table td {
  padding: 0px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-color-light);
}

table thead th {
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-weight: bold;
  margin-top: 0;
  padding-top: 0;
}


table th {
  background-color: var(--table-header-bg);
  color: var(--table-header-text);
  font-weight: bold;
  margin-top: 0;
  padding-top: 0;
}











/* Enable horizontal scrolling for the table */
#transfers-table {
  width: 100%;
 
  overflow-x:scroll;
  white-space: nowrap; /* Prevent table content from wrapping */
   -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile devices */

}

/* Hide the first and second columns on mobile */
@media screen and (max-width: 768px) {
  #transfers-table th:nth-child(3),
  #transfers-table td:nth-child(3),
  #transfers-table th:nth-child(4),
  #transfers-table td:nth-child(4),
  #transfers-table th:nth-child(6),
  #transfers-table td:nth-child(6) 
  
  {
      display: none; /* Hide the first two columns */
  }
}




 .cart-table{
  margin-top: 0;
}
/* Buttons for actions */
button.view-details-btn, button.edit-item-btn, button.delete-item-btn {
  padding: 5px 10px;
  font-size: 12px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 5px;
}

button.view-details-btn {
  background-color: var(--secondary-color);
  color: var(--button-text-light);
}

button.view-details-btn:hover {
  background-color: var(--hover-secondary-color);
}

button.edit-item-btn {
  background-color: var(--success-color);
  color: var(--button-text-light);
}

button.edit-item-btn:hover {
  background-color: var(--hover-success-color);
}

button.delete-item-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
}

button.delete-item-btn:hover {
  background-color: var(--hover-danger-color);
}

.section-content{
  display: none;
}

.sidebar a.active {
  background-color: #01fe12; /* Change to your preferred color */
  color: #fff; /* Ensure text is readable on the background */
  font-weight: bold;
}












.actions-menu {
  position: absolute; /* Or relative, depending on your layout */
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  display: none; /* Initially hidden */
}

.actions-menu.show{
    display: block;
}


/* Transaction Details Table */
.transaction-details-container {
  margin-top: 20px;
}

#filter-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  font-size: 14px;
}

/* Summary Container Styling */
.summary-container {
  width: 60%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 0 10px var(--shadow-color-light);
  background-color: var(--input-bg-color);
  border-radius: 8px;
}

#financialSummaryTable{

  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  margin: 0 auto;

}

#financialSummaryTable thead th {
  font-size: 11px;
}
#financialSummaryTable thead td {
  font-size: 12px;
}



/* Table Styling */
#summary-table {
  width: auto;
  min-width: 90%;
  max-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  margin: 0 auto;
}




/* Header Styling */
#summary-table th {
  background-color: var(--primary-color);
  color: var(--table-header-text);

  text-align: center;
  font-weight: bold;
}

/* Table Row Styling */
#summary-table td {

  text-align: left;
  border: 1px solid var(--border-color-light);
  white-space: nowrap;
}




#cart-items td {
  margin: 0;
  padding: 0; 
}

#cart-items tr {
  margin: 0;
  padding: 0; 
}






#cart-items input {
  width: 100%; /* Equal width within each cell */
  height: 35px;
  margin: 0;
  padding-left: 10px;

  box-sizing: border-box; /* Includes padding and border in the width */
  border: none;
  border-radius: 4px;
}


/* Filters Styling */
.filters {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}







.filter-section {
  display: flex;
  gap: 15px; /* Space between filter groups */
  align-items: center; /* Align items vertically */
  font-family: Arial, sans-serif; /* Optional: Set a consistent font */
}









.right-section
{

  display: flex;
  flex-direction:row;
  width: 100%;
  gap: 10px;

}





.filters input, .filters select {
  padding: 8px 12px;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  font-size: 14px;
  width: 250px;
}

/* Status Field Styling */
.type-container {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 8px;
  background-color: var(--background-light);
  max-width: 400px;
  box-shadow: 0 2px 4px var(--shadow-color-light);
}

.type-container label {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-color-light);
  padding: 10px 20px;
  border: 2px solid var(--secondary-color);
  border-radius: 6px;
  background-color: var(--input-bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.type-container input[type="radio"]:checked + label {
  background-color: var(--secondary-color);
  color: var(--button-text-light);
}

.type-container label:hover {
  background-color: #eaf2f8;
}

/* Tabs Styling */
.tabs-wrapper {
 
  padding: 2px;
  margin: 0 auto;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.tab-btn {
  background-color: var(--input-bg-color);
  color: var(--text-color-dark);
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  margin-right: 10px;
  font-weight: bold;
  border-radius: 4px;
}



.tab-btn:hover {
  background-color: #f1f1f1;
}




/* Tab Section Container */
.tab-section {
  display: flex;
  justify-content: center; /* Center-align the buttons horizontally */
  gap: 20px; /* Add space between buttons */
  margin: 20px 0; /* Add vertical margin for spacing */
}

/* Buttons Styling */
.tab-section button {
  background-color: #1383e4; /* Primary button color */
  color: white; /* Text color */
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 20px; /* Add padding for size */
  font-size: 16px; /* Font size for readability */
  cursor: pointer; /* Change cursor to pointer on hover */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover Effect */
.tab-section button:hover {
  background-color: #0c62b8; /* Darker shade on hover */
}

/* Active Button Styling */
.tab-section button:active {
  background-color: #252d34; /* Even darker shade when clicked */
  transform: scale(0.98); /* Slight scale-down effect */
}


.small-container

{
width: 70%;
margin: 10px auto;

}

.row {
  padding: 0;
  margin: 0;
  display: flex; /* Enables flexible layout */
  gap: 15px; /* Adds consistent spacing between items */
  flex-direction: row; /* Ensures horizontal layout */
  align-items: center; /* Centers items vertically within the row */
  justify-content: space-between; /* Distributes items evenly */
  border: none; /* Removes any default borders */
 }



#orderForm label,input{

  width: 300px;
  align-items: center;
  margin-top: 15px;
}

#orderForm input[type="text"],
#orderForm input[type="number"] {
  width: 400px; /* Set width of the input fields */
  display: block; /* Ensure inputs stack vertically */
   padding: 8px; /* Add padding for better usability */
  border: 1px solid #ccc; /* Light border for input box */
  border-radius: 4px; /* Rounded corners */
  box-sizing: border-box; /* Include padding and border in the width */
  font-size: 14px; /* Font size for readability */
}


/* Item Registration Container */
#register-item {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  background-color: var(--input-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

#register-item input[type="text"], 
#register-item input[type="number"], 
#register-item input[type="date"], 
#register-item select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin: 10px 0;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
}

#register-item button[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#register-item button[type="submit"]:hover {
  background-color: var(--hover-secondary-color);
}

/* Item List Container */
#items-list,#import-items {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  background-color: var(--input-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

#items-list th, #items-list td {
  border: 1px solid var(--border-color-light);
  padding: 12px;
  text-align: left;
  font-size: 16px;
}

#items-list th {
  background-color: var(--primary-color);
  color: var(--table-header-text);
  font-weight: bold;
}

#items-list tr:hover {
  background-color: #f1f1f1;
}

#items-list .edit-btn {
  background-color: var(--success-color);
  color: var(--button-text-light);
}

#items-list .edit-btn:hover {
  background-color: var(--hover-success-color);
}

#items-list .delete-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
}

#items-list .delete-btn:hover {
  background-color: var(--hover-danger-color);
}

/* Responsive Table for Smaller Screens */
@media (max-width: 768px) {

  button.edit-btn, button.delete-btn {
   
    padding: 8px 4px !important;
    font-size: 13px !important;
  }


  #items-list {
    padding: 15px;
  }

  #items-list th, #items-list td {
    font-size: 14px;
    padding: 10px;
  }

  .summary-container {
    width: 100%;}
}

/* Style for Item Details Modal */
#item-details-modal {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  background-color: var(--input-bg-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color-dark);
  overflow: hidden;
  z-index: 1000;
  margin: auto;
}

#item-details-modal .close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-color-dark);
}

#item-details-modal .close:hover {
  color: var(--danger-color);
}

#item-details-modal h3 {
  margin-top: 0;
  font-weight: bold;
  text-align: center;
}

#item-details-modal table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

#item-details-modal th, #item-details-modal td {
  padding: 10px;
  text-align: center;
  border: 1px solid var(--border-color-light);
}

#item-details-modal th {
  background-color: var(--secondary-color);
  color: var(--table-header-text);
  font-weight: bold;
}

#item-details-modal .table-container {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 10px;
}

#item-details-modal tr:nth-child(even) {
  background-color: var(--background-light);
}

/* Responsive */
@media (max-width: 768px) {
  #item-details-modal {
    width: 95%;
  }




  .small-container

{
width: 100%;
margin: 10px auto;

}
}


/* Form Group Container */
.form-group-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-group-container .form-group {
  flex: 1;
  margin-right: 10px;
}

#item-name,
#item-quantity {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid var(--input-border-color);
  background-color: var(--background-light);
}
















/* Filter Section */
#filter-section {
  display: flex;
  flex-direction:column;
 
  gap: 10px;
  padding: 15px;
  background-color: var(--background-light);
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 2px 4px var(--shadow-color-light);
}

#filter-section label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text-color-dark);
}

#filter-section select, 
#filter-section input[type="date"] {
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 6px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
  font-size: 14px;
  background-color: var(--input-bg-color);
}

#filter-section select:focus, 
#filter-section input[type="date"]:focus {
  border-color: var(--input-focus-border);
  outline: none;
}

@media (min-width: 600px) {
  #filter-section {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }
}

/* Customer Form */
#customer-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  background-color: var(--modal-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

#customer-form input,
#customer-form select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  font-size: 14px;
}

#customer-form button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#customer-form button:hover {
  background-color: var(--hover-secondary-color);
}

/* Customer List */
#customer-list {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  background-color: var(--modal-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color-light);
  list-style-type: none;
}

#customer-list li {
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color-light);
}

#customer-list .edit-btn {
  background-color: var(--success-color);
  color: var(--button-text-light);
}

#customer-list .edit-btn:hover {
  background-color: var(--hover-success-color);
}

#customer-list .delete-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
}

#customer-list .delete-btn:hover {
  background-color: var(--hover-danger-color);
}

/* Cart Summary */
#cart-summary {
  max-width: 450px;
  margin: 30px auto;
  padding: 25px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--modal-bg-color), var(--background-alt));
  box-shadow: 0 6px 18px var(--shadow-color-dark);
  text-align: center;
  border: 1px solid var(--border-color-light);
}

#cart-summary h3 {
  font-size: 1.8em;
  color: var(--background-dark);
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color-light);
  padding-bottom: 10px;
}

#cart-total-items {
  color: var(--primary-color);
}

#cart-subtotal {
  color: var(--warning-color);
}

/* Transactions Table */
.transactions-container {
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  background-color: var(--modal-bg-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow-color-light);
  overflow-x: auto;
}

#transactions-table {
  width: 100%;
  border-collapse: collapse; /* Removes gaps between table borders */
  margin: 20px 0; /* Adds space above and below the table */
  font-size: 14px; /* Keeps font size consistent for readability */
  background-color: var(--modal-bg-color); /* Uses variable for dynamic styling */
  border-radius: 8px; /* Smooth rounded corners */
  overflow: hidden; /* Prevents content from spilling outside rounded corners */
  border: 1px solid #1383e4; /* Gives a subtle border to the table */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds slight shadow for depth */
}

#transactions-table th, #transactions-table td {
  padding: 2px 5px; /* Adds spacing inside cells */
  text-align: left; /* Aligns text to the left */
  border-bottom: 1px solid #ddd; /* Separates rows with a subtle line */
}

#transactions-table th {
  background-color: #1383e4; /* Distinctive header background */
  color: white; /* Makes text stand out */
  font-weight: bold; /* Emphasizes headers */
 }

#transactions-table tr:nth-child(even) {
  background-color: #f9f9f9; /* Alternating row colors for readability */
}

#transactions-table tr:hover {
  background-color: #e6f3ff; /* Highlight row on hover */
}

#transactions-table td a {
  color: #1383e4; /* Link color for better visibility */
  text-decoration: none; /* Removes underline from links */
}

#transactions-table td a:hover {
  text-decoration: underline; /* Adds underline on hover */
}


#transactions-table .delete-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
  margin: 0;
  
}

#transactions-table .delete-btn:hover {
  background-color: var(--hover-danger-color);
}

/* Responsive Table Styling */
@media (max-width: 768px) {
  .transactions-container {
    padding: 10px;
  }

  #transactions-table {
    font-size: 13px;
  }

  #transactions-table td {
    padding: 1px 1px;
  }
}



/* Action Button in Transaction Table */
#transactions-table .action-btn {
  background-color: var(--primary-color);
  padding: 1px 2px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  height: 25px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#transactions-table .action-btn:hover {
  background-color: var(--hover-primary-color);
}

/* Standardized and Professional Top Navigation Styling */
.top-nav {
  width: 100%;
  background-color: var(--primary-color);
  box-shadow: 0 2px 4px var(--shadow-color-dark);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.top-nav ul li {
  padding: 15px 0;
  text-align: center;
}

.top-nav ul li a {
  color: var(--nav-link-color);
  padding: 10px 15px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.top-nav ul li a:hover {
  background-color: var(--nav-link-hover);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.top-nav ul li a.active {
  background-color: var(--nav-link-hover);
  color: #f8f9fa;
}

/* Responsive Styling for Top Navigation */
@media (max-width: 768px) {
  .top-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }
  
  .top-nav ul li {
    padding: 8px 0;
  }

  .top-nav ul li a {
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }
}

/* Filter Button Styling */
.filter-btn {
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

.filter-btn:hover {
  background-color: var(--hover-secondary-color);
}

/* Summary Filter Container */
.summary-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background-color: var(--background-light);
  border-radius: 6px;
  box-shadow: 0 1px 3px var(--shadow-color-light);
  margin-bottom: 10px;
  overflow-x: auto;
  white-space: nowrap;
}








/* Responsive Filter Container */
@media (max-width: 768px) {
  .summary-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
  }


}

/* Details Summary Container */
.details-summary {
  display: flex;
  flex: 2;
  align-items: center;
  padding: 0px;
  margin: 0px auto;
 
 
  max-width: 1200px;
}

.details-summary .summary-box {
  flex: 1;
  padding: 0px;
  text-align: center;
  background-color: var(--modal-bg-color);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  margin: 0 10px;
  box-shadow: 0 2px 4px var(--shadow-color-light);
  height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.details-summary .summary-box h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.details-summary .summary-box p {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .details-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .details-summary .summary-box {
    margin: 10px 0;
    width: 100%;
  }
}

/* Filter Buttons Group */
.filter-buttons {
  padding-left: 60px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
 
  height: 50px;
}

.filter-buttons button {
  padding: 8px 12px;
  font-size: 14px;
  width: 50px;
  cursor: pointer;
  border-radius: 5px;
  color: var(--button-text-light);
  border: none;
  transition: background-color 0.3s ease;
}

#today-btn {
  background-color: var(--success-color);
}

#yesterday-btn {
  background-color: var(--warning-color);
}

#week-btn {
  background-color: var(--primary-color);
}

.filter-buttons button:hover {
  opacity: 0.8;
}

/* Login Container */
.login-container {
  max-width: 400px;
  width: 100%;
  padding: 20px;
  background: var(--modal-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color-light);
  border-radius: 8px;
  margin: 0 auto;
}

.login-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.login-title {
  margin-bottom: 5px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: var(--primary-color);
}

button[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: var(--button-text-light);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--hover-primary-color);
}

/* Cart Floating Button */
#cart-floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--button-text-light);
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0px 4px 8px var(--shadow-color-dark);
  cursor: pointer;
  font-size: 16px;
  z-index: 1000;
}

#cart-floating-btn:hover {
  background-color: var(--hover-primary-color);
}

#cart-count {
  font-weight: bold;
}


.tr-tabs {


  display: flex;
  gap: 20px;
  justify-content: flex-start;
 
}




.tr-tabs2 {


  display: flex;
  gap: 20px;
  justify-content: flex-start;
 
}





/* Main Container */
.tr-container { 
 
  width: 100%;
 margin: 0 auto;
 padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  
  
}



/* Tab Content Styling */
.tab-content {
  display: none;
margin: 0px;
  background-color: var(--modal-bg-color);
  padding: 0px;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  overflow-y: auto;


}

.tab-content.active {
  display: block;
}

/* Responsive Design for Containers */
@media (max-width: 768px) {
  .tr-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 10px;
    background-color: var(--modal-bg-color);
  }

  .column {
    background-color: var(--modal-bg-color);
    padding: 1px;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    width: 100%;
    box-shadow: 0px 0px 15px var(--shadow-color-dark);
  }
}



/* Top Navigation Bar Styles */
ul.nav-links {
  display: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  ul.nav-links {
    display: none; /* Ensure it's hidden on mobile */
  }
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--button-text-light); /* White text for contrast */
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide the links initially on mobile */
    flex-direction: column;
    background-color: var(--background-dark); /* Darker background for mobile */
    position: absolute;
    top: 50px; /* Adjust based on your header height */
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex; /* Show the links when open */
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-links a {
    padding: 10px;
    display: block;
  }
}

.export-csv {
  margin-top: 20px; /* Add some space above */
  text-align: center; /* Center the button */
}

#export-csv-btn {
  display: inline-block; /* Make sure it's visible */
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: var(--primary-color); /* Primary color */
  color: var(--button-text-light);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#export-csv-btn:hover {
  background-color: var(--hover-primary-color); /* Darker shade on hover */
}

/* Modal styling */
#stock-details-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-overlay-color);
 
}

.stock-modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 90%;
  position: relative;
}

/* Close button */
.stock-modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color-dark);
  cursor: pointer;
}

.stock-modal-content .close:hover {
  color: var(--danger-color); /* Red color on hover */
}

/* Filter Section */
#filter-section1 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background-color: var(--background-light); /* Light grey background */
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

#filter-section1 label {
  flex: 1;
  margin-right: 10px;
  font-weight: bold;
  color: var(--text-color-dark);
}

#filter-section1 input[type="date"],
#filter-section1 select {
  flex: 2;
  padding: 8px;
  font-size: 14px;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  background-color: var(--input-bg-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#filter-section1 input[type="date"]:focus,
#filter-section1 select:focus {
  border-color: var(--input-focus-border); /* Blue border on focus */
  outline: none;
}

/* Responsive design */
@media (max-width: 768px) {
  #filter-section1 {
    flex-direction: column;
  }

  #filter-section1 label,
  #filter-section1 input,
  #filter-section1 select {
    width: 100%;
    margin-bottom: 10px;
  }
}

#common-modal {
  width: 100%;
  height: 100%;
  display: flex;
  
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

/* Modal content styling */
.common-modal-content {
  background-color: #fff;
  padding: 0px;
  border-radius: 8px;
  width: 100%;

  position: relative;
}


.edit-modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  margin: 10% auto;
  max-width: 500px; /* Limit the modal width */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}



/* Modal styling */
@media (max-width: 768px) {
  #common-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(108, 178, 244, 0.5); 
  }
  
  /* Modal content styling */
  .common-modal-content {
    background-color: #fff;
    padding: 20px;
    /* Remove margin-top and use top property instead */
    top: 250px; /* Adjust this value as needed */
    left: 50%;
    transform: translate(-50%, -50%); 
    border-radius: 8px;
    width: 90%;
    max-width: 500px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: absolute; 
  }
}

/* Close Button Styling */
.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: var(--danger-color); /* Danger color for close button */
  cursor: pointer;
  transition: color 0.3s ease;
}


/* Container div styling */
.label-container {
  display: flex;
  justify-content: space-between; /* Evenly space labels */
  align-items: center;
  background-color: var(--background-light); /* Light background for the container */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-color-dark); /* Soft shadow for depth */
  margin: 20px 0; /* Add margin to separate from other elements */
  max-width: 800px; /* Optional max-width */
}

/* General label styling */
.label-container label {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color-dark); /* Dark text for good contrast */
  padding: 8px 16px;
  border-radius: 5px;
}

/* Specific label color schemes */
#item-name-label {
  background-color: var(--item-bg-alt); /* Light peach for item name */
  color: var(--item-border); /* Darker brown text */
}

#available-qty-label {
  background-color: #e6f7ff; /* Light blue for available quantity */
  color: var(--primary-color); /* Darker blue text */
}

#type-label {
  background-color: #f0fff0; /* Light green for transaction type */
  color: #228b22; /* Dark green text */
}

/* General container for centering content */
.general-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: var(--background-light);
  box-shadow: 0 4px 8px var(--shadow-color-light);
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

/* Title styles */
.general-container h1 {
  text-align: center;
  color: var(--text-color-dark);
  font-size: 24px;
  margin-bottom: 30px;
}

/* Form group styling */
.general-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.general-form-group label {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-color-light);
}

/* Dropdown styling */
#company-select {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid var(--input-border-color);
}

/* Collection list styling */
#collections-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-color-light);
  padding: 10px;
  background-color: var(--input-bg-color);
  border-radius: 5px;
  width: 100%;
}

.general-collections-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  background-color: var(--background-alt);
  border-radius: 8px;
}

/* Styling for each checkbox item */
.checkbox-item {
  display: flex;
  align-items: center;
  background-color: var(--input-bg-color);
  border: 1px solid var(--border-color-light);
  padding: 8px 12px;
  border-radius: 5px;
  box-shadow: 0 2px 4px var(--shadow-color-light);
}

/* Styling for the checkbox labels */
.checkbox-item label {
  margin-left: 8px;
  font-size: 14px;
  color: var(--text-color-dark);
}

/* Checkbox styling */
.general-checkbox-item {
  margin-bottom: 10px;
}

.general-checkbox-item input[type="checkbox"] {
  margin-right: 10px;
}

.general-checkbox-item label {
  font-size: 16px;
  color: var(--text-color-light);
}


/* Success and Error Message */
.alert {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Button container */
.general-button-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* Updated styles for stock-wrapper */
.stock-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-color-dark);
}

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

.stock-wrapper input[type="text"] {
  padding: 10px;
  width: 300px;
  border: 1px solid var(--input-border-color);
  border-radius: 5px;
  font-size: 16px;
}

#stock-value-label {
  font-size: 18px;
  color: var(--primary-color); /* Blue color for the label */
  font-weight: bold;
}

/* CSS for Item Image */
.item-image {
  width: 50px; /* Width for the image */
  height: 50px; /* Height for the image */
  object-fit: cover; /* Ensure the image fits within the given dimensions without distortion */
  border-radius: 5px; /* Optional: Add rounded corners for a smoother look */
  box-shadow: 0 2px 5px var(--shadow-color-light); /* Add shadow for depth */
 
    border-radius: 50%; /* This creates the circular shape */
   object-fit: cover; /* Ensures the image covers the entire circle */
   overflow: hidden; /* Hides any overflow to maintain circular shape */
   border: 2px solid #ccc; /* Optional: Adds a border around the circle */
 
  margin-right: 10px; /* Add spacing to the right of the image if needed */
}

/* Adjust image size for mobile */
@media (max-width: 768px) {
  .item-image {
    width: 40px; /* Slightly smaller width for mobile devices */
    height: 40px; /* Slightly smaller height for mobile devices */
  }
}

/* Fullscreen Button */
#fullscreen-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  font-size: 18px;
  background-color: var(--primary-color);
  color: var(--button-text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 4px 8px var(--shadow-color-light);
}

/* Hide the button when active */
#fullscreen-btn.hidden {
  display: none;
}

/* Company Logo Container */
.company-logo-container {
  width: 180px;
  text-align: center;
  border-bottom: 1px solid var(--border-color-dark);
}

.company-logo {
  width: 50%;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--input-bg-color);
  box-shadow: 0 4px 10px var(--shadow-color-dark);
}

/* Cart Container Styling */
#cart-container {

   
  overflow-y: visible;

   width: 100%;
  max-width: 1200px;
margin-top: 0;
padding: 0;
  background-color: var(--input-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color-light);
  overflow-x: auto; /* Ensures scrollable content on smaller screens */


}

/* Cart Table Styling */
#cart-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Ensures even column width distribution */
}

 #cart-table td {
   border:none;
  padding: 3px 10px;
  text-align: left;
  border-bottom: 0.4px solid var(--border-color-light);
  font-size: 13px;
  word-wrap: break-word;
  white-space: normal; /* Allows the text to wrap inside the table cells */
}

/* Header Styling */
#cart-table thead th {
   border:none;
  background-color: var(--primary-color);
  color: var(--table-header-text);
  font-weight: bold;
  text-align: center;
  white-space: nowrap; /* Prevent text wrapping in header */
}

/* Aligning text to the center */
#cart-table tbody td {
  text-align: center;
  white-space: nowrap; /* Prevent text wrapping in table rows */
}

/* Ensure enough space for price fields */
#cart-table td:nth-child(3), /* Price */
#cart-table td:nth-child(4) { /* Total */
  width: 120px; /* Set fixed width for price and total columns */
  white-space: nowrap; /* Prevent text wrapping */
}

/* Button styling inside table */
#cart-table .action-btn {
  background-color: var(--danger-color);
  color: var(--button-text-light);
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#cart-table .action-btn:hover {
  background-color: var(--hover-danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  #cart-container {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    background-color: var(--input-bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color-light);
    overflow-x: auto; /* Ensures scrollable content on smaller screens */
  }

 #cart-table td {
    padding: 5px;
    font-size: 14px;
  }

  /* Adjust table layout for smaller screens */
  #cart-table td {
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
  }

  #cart-table th:nth-child(3), #cart-table th:nth-child(4),
  #cart-table td:nth-child(3), #cart-table td:nth-child(4) {
    width: 80px; /* Narrow down the width for mobile devices */
  }
}

/* General button styling */
button {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--button-text-light);
  background-color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px var(--shadow-color-light); /* Light shadow for depth */
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%; /* Full-width on smaller screens */
  max-width: 300px; /* Limit button width */
  margin: 10px auto;
  display: block; /* Centers the button */
}




/* Responsive design for smaller devices */
@media (max-width: 768px) {
  button {
    width: 100%;
    max-width: 100%; /* Ensure buttons span the full width on mobile */
    font-size: 14px;
  }
}

/* Position the toggle button at the bottom right */
#toggle-fields-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  height: 40px;
  width: 50px;
  background-color: var(--success-color); /* Green for secondary action */
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px var(--shadow-color-light); /* Light shadow for depth */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover and active states for the toggle button */
#toggle-fields-btn:hover {
  background-color: var(--hover-success-color);
}

#toggle-fields-btn:active {
  transform: scale(0.98); /* Slight shrink effect on click */
}

/* General button styling for the Submit Transaction button */
#submit-transaction {
  display: block;
  width: 100%; /* Full width by default */
  max-width: 300px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--button-text-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#submit-transaction:hover {
  background-color: var(--hover-secondary-color);
}

#submit-transaction:active {
  transform: scale(0.98); /* Slight shrink effect on click */
}

/* Today's Sales List */
#today-sales-list th {
  background-color: var(--primary-color);
  color: var(--table-header-text);
  font-weight: bold;
}

#today-sales-list tr:nth-child(even) {
  background-color: var(--background-light);
}

#today-sales-list td {
  color: var(--text-color-dark);
}

/* Sales Form Container */
.sales-form-container {
  background-color: var(--background-light);
  padding: 20px;
  margin: auto;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

/* Today's Sales List */
#today-sales-list table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

#today-sales-list th, #today-sales-list td {
  padding: 12px 20px;
  border: 1px solid var(--border-color-light);
  text-align: center;
  font-size: 14px;
}

/* Form and Button Styling */
.form-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: var(--input-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color-light);
}

.form-container h2 {
  text-align: center;
  color: var(--text-color-dark);
  font-size: 24px;
  margin-bottom: 20px;
}

button.add-item-btn {
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  padding: 10px 15px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

button.add-item-btn:hover {
  background-color: var(--hover-secondary-color);
}
/* Table Styling */
.item-list-container {
  width: 100%;
  max-width: 1200px;
 
  padding: 0px;
  background-color: var(--input-bg-color);


}


/* General table styles */
#item-list {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: center;
}

/* Header styles */
#item-list thead th {
  border-bottom: 1px solid #0078d4;
  padding: 10px;
  background-color: #f0f4f8;
  text-align:center;
  color: #5d5f60;
  font-size: 14px;
}

/* Body styles */
#item-list tbody td {
  border-bottom: 1px solid #ccc;
  padding: 2px;
  text-align:center;
}

/* Remove other borders */
#item-list th, #item-list td {
  border-left: none;
  border-right: none;
  border-top: none;
}

#item-list tbody tr:hover {
  background-color: #f9f9f9;
}







#bankAccountTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

 #bankAccountTable td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid var(--border-color-light);
}

#bankAccountTable th {
  background-color: var(--secondary-color);
  color: var(--table-header-text);
  font-weight: bold;
}

#bankAccountTable td {
  color: var(--text-color-dark);
}

#bankAccountTable tbody tr:hover {
  background-color: var(--background-light);
}

button.edit-btn, button.delete-btn {
  background-color: var(--secondary-color);
  color: var(--button-text-light);
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

button.delete-btn {
  background-color: var(--danger-color);
}

button.edit-btn:hover {
  background-color: var(--hover-secondary-color);
}

button.delete-btn:hover {
  background-color: var(--hover-danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
      width: 100%;
      padding: 15px;
  }

  #bankAccountTable th, #bankAccountTable td {
    
      font-size: 14px;
  }

  button.add-item-btn {
      font-size: 12px;
      font-weight: bolder;
      height: 40px;
      padding: 4px 4px;
  }
}




.view-mode {
  display: flex; /* Align labels in a row */
  gap: 15px; /* Space between labels */
  justify-content: flex-start; /* Align content to the start */
  align-items: center; /* Vertically center-align items */
  padding: 10px; /* Add spacing inside the container */
  background-color: #f9f9f9; /* Subtle background for contrast */
  border-radius: 8px; /* Smooth rounded corners */
  border: 1px solid #ddd; /* Subtle border for structure */
  font-family: Arial, sans-serif; /* Clean and modern font */
  font-size: 14px; /* Standard font size */
}

.view-mode label {
  display: flex; /* Align input and label text inline */
  align-items: center; /* Center-align input and text */
  cursor: pointer; /* Make the label clickable */
  gap: 5px; /* Space between the radio button and text */
  color: #333; /* Text color for readability */
  transition: color 0.2s ease; /* Smooth color transition on hover */
}

.view-mode label:hover {
  color: #187ef7; /* Highlight text on hover */
}

.view-mode input[type="radio"] {
  accent-color: #187ef7; /* Modern accent color for radio button */
  cursor: pointer; /* Pointer cursor for the input */
  width: 16px; /* Adjust size for consistency */
  height: 16px; /* Adjust size for consistency */
  margin: 0; /* Remove default margin */
}

.view-mode input[type="radio"]:checked + span {
  font-weight: bold; /* Emphasize selected option */
  color: #187ef7; /* Change text color for selected option */
}



/* Title styling */
h1 {
  font-size: 28px;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Summary items container */
.daily-summary {
  display: flex;
  flex-direction: column;
  gap: 15px;
 
}


/* Loading div styling */
.loading {
  margin-top: 20px;
  font-size: 16px;
  color: #888;
  font-style: italic;
}








.summary-item {
  display: flex; /* Align label and value in a row */
  justify-content: space-between; /* Place label on the left and value on the right */
  align-items: center; /* Vertically center-align items */
  padding: 10px 15px; /* Add spacing inside the item */
  margin-bottom: 8px; /* Space between summary items */
  background-color: #f9f9f9; /* Light background for better readability */
  border: 1px solid #e0e0e0; /* Subtle border for structure */
  border-radius: 5px; /* Rounded corners for a modern look */
  font-size: 14px; /* Standard font size for readability */
  color:var(--primary-color); /* Neutral text color */
  font-family: Arial, sans-serif; /* Clean and modern font */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

.summary-item:hover {
  background-color: #f1f8ff; /* Subtle highlight on hover */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add depth on hover */
}

.summary-item span {
  font-weight: 600; /* Slightly bolder for labels */
  color:var(--primary-color); /* Softer text color for labels */
}

.summary-item:last-child {
  margin-bottom: 0; /* Remove margin for the last item */
}



/* Responsive design for smaller screens */
@media (max-width: 600px) {
  .summary-container {
    padding: 20px;
  }



  h1 {
    font-size: 22px;
  }
}


.filter-group {
  display: flex; /* Align label and input/select in a row */
  gap: 10px; /* Space between label and input/select */
  align-items: center; /* Vertically center-align items */
  margin-bottom: 15px; /* Add space between filter groups */
  font-family: Arial, sans-serif; /* Clean and modern font */
  font-size: 14px; /* Standard font size for readability */
  width: 100%; /* Make each group take full width */
}

.filter-group label {
  
  font-weight: 600; /* Semi-bold for better emphasis */
  color: #444; /* Neutral dark text color for labels */
  text-align: right; /* Align label text to the right */
  padding-right: 10px; /* Space between label and input/select */
}

.filter-group input[type="date"],
.filter-group select {
  flex: 1; /* Allow inputs/selects to grow and take available space */
  padding: 8px 10px; /* Comfortable padding inside inputs/selects */
  font-size: 14px; /* Match font size with labels */
  border: 1px solid #ddd; /* Subtle border for a clean look */
  border-radius: 5px; /* Smooth corners for a modern style */
  background-color: #fff; /* White background for inputs */
  box-sizing: border-box; /* Prevent padding from affecting width */
  transition: all 0.3s ease; /* Smooth interaction effects */
}

.filter-group input[type="date"]:focus,
.filter-group select:focus {
  border-color: #187ef7; /* Highlight border on focus */
  box-shadow: 0 0 6px rgba(24, 132, 247, 0.3); /* Add subtle glow */
  outline: none; /* Remove default outline */
}

.filter-group select {
  appearance: none; /* Remove default browser styles for dropdowns */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><polygon points="0,0 140,0 70,70" fill="%23333"/></svg>');
  background-repeat: no-repeat; /* Custom dropdown arrow */
  background-position: right 10px center; /* Position the arrow */
  background-size: 10px 10px;
}

.filter-container {
  display: flex; /* Arrange filter groups in a row */
  flex-wrap: wrap; /* Wrap rows on smaller screens */
  gap: 20px; /* Add spacing between filter groups */
  justify-content: flex-start; /* Align items to the left */
  align-items: flex-start; /* Align items to the top */
}
