@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&family=Tangerine:wght@400;500;600&display=swap');
nav ul {list-style: none;margin: 0;padding: 0;display: flex;}
nav li {padding: 0 10px;}
th:first-child{border-top-left-radius:6px;}
th:last-child{border-top-right-radius:6px;}
input[type=text]:not(.nocss){height:22px;}

#products-table-wrapper thead tr {
  position: sticky;
  top: 0;
  background-color: white;
}

#products-table th{
  text-align: left;
}
.topmenu {
  display: flex;
}

.topmenu li {
  padding: 10px;
}

.topmenu li a {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.topmenu li a:hover {
  background-color: #000;
  color: #fff;
}


#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
}

#loading-image {
  position: absolute;
  top: 100px;
  left: 240px;
  z-index: 100;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body{
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg,white, gray);
  height: 100vh;
  overflow-x:hidden;
}
.fas{text-decoration: none;}
.selectedproducts-table {
    border-collapse: collapse;
	width:100%;
    margin: 2px;
    font-size: 0.8em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.selectedproducts-table * {
font-size: 0.96em;
}
.styled-table {
    border-collapse: collapse;
	width:100%;
    margin: 10px;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
.center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0,0,0,0.05);
}


.center h1{
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid silver;
}
.center form{
  padding: 0 40px;
  box-sizing: border-box;
}
#search-form select,a{margin:5px 5px 0px 0px}

.topleft{  
  background: white;
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0,0,0,0.05);
	display: inline-block;
margin:10px;
}
#search-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* optional, if you want the elements to wrap to a new line when they exceed the container width */
	vertical-align:middle;
	padding:5px;
}

#search-form .txt_field {
  flex: 1; /* this will make each div take up an equal amount of space */
  margin: 0 10px; /* add some spacing between the elements */
}
form .txt_field{
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 15px 0;
}
.txt_field input:not(#sameline input,.nocss),.txt_field select {
  width: 100%;
}
.txt_field input:not(.nocss), .txt_field select {
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
}
.txt_field label{
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  transition: .5s;
}
.txt_field span::before{
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #2691d9;
  transition: .5s;
}
.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
  top: -5px;
  color: #2691d9;
}
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
  width: 100%;
}
.pass{
  margin: -5px 0 20px 5px;
  color: #a6a6a6;
  cursor: pointer;
}
.pass:hover{
  text-decoration: underline;
}
input[type="submit"]:not(.nocss){
  width: 100%;
  height: 50px;
  border: 1px solid;
  background: #2691d9;
  border-radius: 25px;
  font-size: 18px;
  color: #e9f4fb;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
input[type="submit"]:hover{
  border-color: #2691d9;
  transition: .5s;
}
.signup_link{
  margin: 30px 0;
  text-align: center;
  font-size: 16px;
  color: #666666;
}
.signup_link a{
  color: #2691d9;
  text-decoration: none;
}
.signup_link a:hover{
  text-decoration: underline;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
	overflow-y: scroll;
}
.lightbox .form-container {
  position: relative;
}

.lightbox .form-container .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.form-container {
	  justify-content: center;
  align-items: center;
	text-align:center;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
	vertical-align: middle;
}
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}
	.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}
.add-new-product-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: white;
  color: black;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
transition: bottom 0.3s ease;
}

.add-new-product-button:hover {
  background-color: black;
  color: white;
  cursor: pointer;
}
label {
  display: inline-block; /* Change display to inline-block */
  margin-right: 10px; /* Add margin-right for spacing between label and input */
}



input[type="submit"] {
  width: 50px; /* Change width to auto */
}

table.shipping {
    border-collapse: collapse;
}

.shipping td {
    border: 1px solid #dddddd;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto; /* Reset height to auto */
}

.fixed-line {
    flex: 1; /* Let the .fixed-line div grow to fill the available space */
    height: 100%; /* Set the height to 100% of the parent cell */
}
.fixed-content {font-weight:bold;font-size:22px;color:black;text-decoration:none !important;}

.fixed-line .fixed-content {
    position: sticky;
    top: 0;
    z-index: 1;
}

.pagination {
  text-align: center; /* Center the links horizontally */
  margin: 20px auto; /* Add vertical space and center container */
}

.pagination a {
  text-decoration: none;
  margin: 0 5px; /* Space between links */
  padding: 5px 10px; /* Padding inside links */
  border: 1px solid #ccc; /* Border for links */
  color: #000; /* Default link color */
  display: inline-block; /* Keep links inline */
}

.pagination a.active {
  background-color: #007bff; /* Highlight active page */
  color: #fff; /* Text color for active link */
  border-color: #007bff;
}

.pagination a:hover {
  background-color: #ddd; /* Highlight on hover */
}

.remarks-ta{
  width:200px; height:80px;
  background:#f3f3f3;           /* grey */
  border:1px solid #ddd;
  border-radius:4px;
  color:inherit;
  resize:vertical;               /* or: none */
  cursor:default;                /* not “text” */
  caret-color:transparent;       /* hide caret */
}
.remarks-ta:focus{ outline:none; box-shadow:none; }