body {
  font-family: Arial, sans-serif;
}

header {
  background-color: #f2f2f2;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

nav a {
  color: #000000;
  text-decoration: none;
  padding: 10px;
  margin: 0 10px;
  font-size: 18px;
  font-weight: bold;
}

.left-aligned {
  margin: auto;
}

.right-aligned {
  margin-left: auto;
}

.number {
  text-align: right !important;
}

.centered {
  text-align: center !important;
}

.centered-bold {
  text-align: center;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.centeredTable {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.auditInfo {
  /* display: flex; */
  justify-content: left;
  align-items: left;
  padding: 10px;
  margin: 10px;
  border:1px solid black; 
  border-radius:4px;
  font-size: smaller;
}

.multiDispInfo {
  justify-content: left;
  align-items: left;
  padding: 10px;
  margin: 10px;
  border:1px solid black; 
  border-radius:4px;
}

.auditInfoContainer {
  display:flex; 
  justify-content:center;
}

#mainContent {
  margin-left: 235px;
  flex: 1;
}

#rangeSchedule {
  margin: 25px 50px 25px 50px;
  flex: 1;
}

#loginScreen {
  text-align: center; /* For text alignment */
  margin: 150px 500px 0px 500px;
}

#ssForm {
  margin: 50px 250px 0 250px;
  flex: 1;
}

#userAccounts {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.text-green {
  color:#4CAF50;
}

.text-orange{
  color:#e26111
}

#signatureCanvas, .sigCanvas {
  border: 1px solid #ccc;
}

/* SIDE MENU */
.menu-btn-background {
  background:#222; 
  height:50px; 
  width: 195px; 
  position:fixed; 
  z-index:999; 
  margin-top:-10px;
}

.menu-btn {
  position: fixed;
  /* top: 15px;
  left: 15px; */
  background: #222;
  color: white;
  padding: 0px 10px;
  border: none;
  cursor: pointer;
  font-size: 30px;
  z-index: 1000;
  border-radius: 4px;
}
.side-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0px;
  width: 200px;
  top: 0;
  height: 100vh;
  background: #222;
  color: white;
  padding: 10px;
  overflow-y: auto;
}
.side-menu a {
  display: block;
  color: white;
  padding: 10px;
  text-decoration: none;
  font-size: smaller;
}
.side-menu a:hover {
  background: #444;
}

.bottom-links {
  margin-top: auto;
  margin-bottom: 20px;
}

.top-links {
  margin-top: 50px;
}

/*   *** REQUIRED FIELDS (ASTERISK) ***   */
.asterisk {
  color: red;
  font-size: inherit;
}

/* CHECKBOXES AND OPTIONS */
.checkbox {
  transform: scale(2.5);
  margin: 10px;
}

.radioInput {
 border: none;
 /* width: 20px;
 height: 20px; */
}

.radioInput input[type="radio"] {
    width: 20px;
    height: 20px;
}

.radioInputSmall {
  border: none;
  padding: 0;
 }

.not-checked {
  border: 2px solid red;
  padding: 10px;
  margin-bottom: 10px;
}

button {
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
  }

  input {
    margin: 0;
    padding: 3px;
    border: 1px solid #000;
    border-radius: 4px;
    font: inherit;
    color: inherit;
    background-color: transparent;
  }

  input[type="submit"]{
    cursor: pointer;
  }

  select {
    margin: 0;
    padding: 3px;
    border: 1px solid #000;
    border-radius: 4px;
    font: inherit;
    color: inherit;
    background-color: transparent;
  }

  textarea {
    margin: 0;
    padding: 3px;
    border: 1px solid #000;
    font: inherit;
    color: inherit;
    background-color: transparent;
  }

/* USER ACCOUNTS TABLE */
.sectionStatus {
  width: fit-content;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.sectionStatus td {
  padding: 10px;
  border: none;
  text-align: left;
}

.sectionStatus tr {
  border: none;
}

.sectionStatus th {
  padding: 10px;
  border: none;
  text-align: left;
  cursor: pointer;
  background-color: #f2f2f2;
}

/* MULTIPLE DISPOSITION TRACKING INFO TABLE */
.multiTrkInfo td {
  padding: 10px;
}

/* EDIT RESULTS DIV */
#editResults {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(249, 249, 249);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 16px 0px;
  z-index: 1000;
  padding: 5px;
  border: 2px solid rgb(0, 0, 0);
  width: fit-content;
  text-align: center;
  border-radius: 4px;
  max-height: 75vh; /* Limit height */
  overflow-y: auto;  /* Enable vertical scrollbar when needed */
}

/* EDIT RESULTS MANUAL DIV */
#editResultsManual {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(249, 249, 249);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 16px 0px;
  z-index: 1000;
  padding: 25px;
  border: 2px solid rgb(0, 0, 0);
  width: fit-content;
  border-radius: 4px;
  max-height: 75vh;
  overflow-y: auto;
}

/* MESSAGES */
.error-message {
	background-color: #f8d7da;
	color: #721c24;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
  text-align: center;
  border-radius: 4px;
}

.success-message {
	background-color: #bff1b5;
	color: #155e2b;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
  text-align: center;
  border-radius: 4px;
}

.info-message {
	background-color: #d1ecf1;
	color: #0c5460;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
  /* text-align: center; */
  border-radius: 4px;
}

.item-form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: left;
}

.mini-info {
  display: flex; /* Use flexbox to layout the children (form groups) inline */
  flex-wrap: wrap; /* Allow items to wrap to the next line if there's not enough space */
  gap: 20px; /* Optional: Add some space between form groups */
  justify-content: center; /* Center items horizontally */
  padding: 5px;
  background-color: #e7e8ea;
}

.mini-info a {
  text-decoration: none;
  color: #000000;
}

.mini-info a:hover {
  color: #f16807;
}

/* SCHEDULE TABLE  */
table.range {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

table.range td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 10px;
  height: 20px;
  vertical-align: middle;
}

table.range th {
  border: 1px solid #ddd;
  text-align: center;
  padding: 10px;
  background-color: #f2f2f2;
}

/* RECEIPTLINE TABLE  */
table.receiptline {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: small;
}

table.receiptline td {
  border: none;
  text-align: left;
  vertical-align: middle;
  padding: 5px;
}

table.receiptline th {
  border: none;
  text-align: left;
  padding: 5px;
  background-color: #c3c3c3;
  position: sticky;
  top: 0;
}
table.receiptline tr:nth-child(even) {
  background-color: #ffffff; /* Light gray */
}

table.receiptline tr:nth-child(odd) {
  background-color: #f2f2f2; /* White */
}

/* Sortable table */

#sortable th {
  cursor: pointer;
}

/* FIND LIST TABLE  */
table.findList {
  border-collapse: collapse;
  margin: 25px;
  table-layout: fixed;
  font-size: small;
}

table.findList td {
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  padding: 5px;
}

table.findList th {
  text-align: left;
  padding: 5px;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  background-color: #f2f2f2;
  position: sticky; /* Makes headers sticky */
  top: 0; /* Makes headers sticky */
}

table.findList a {
  color:inherit;
  text-decoration: none;
}

.selectRow:hover {
    color: white;
    background-color: #8d918e;
    cursor: pointer;
}

.changeOption:hover {
    color: white;
    background-color: #5285ec;
    cursor: pointer;
}

.selectListInfo {
  display: flex;
  height: 100%; 
  width: 100%;
  font-size: small;
  align-items: center;
}

.selectCustomerInfo {
  padding: 5px;
}

.noPadding {
  padding: 0 !important;
}

.listLink {
  color:inherit;
  text-decoration: none;
  cursor: pointer;
}

.standard-link {
  color: #5285ec;
  font-weight: bold;
  text-decoration: none;
}

.empty {
  display: flex;
  height: 100%; 
  width: 100%;
  color:white;
  font-size: small;
  justify-content: center;
  align-items: center; 
}
.empty:hover {
  background-color: #8d918e;
}

input {
  margin: 0;
  padding: 3px;
  border: 1px solid #000;
  border-radius: 4px;
  font: inherit;
  color: inherit;
  background-color: transparent;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Add some space between the containers */
  justify-content: center;
  align-items: center;
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.form-divider {
  min-width: 200px; /* Prevent the containers from becoming too small */
  max-width: 48%; /* Restrict the maximum width */
  box-sizing: border-box; /* Include padding and border in width calculation */
}

/* BUTTONS */

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

.blue-button-small {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #5285ec;
  color: white;
  background-color: #5285ec;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.blue-button-micro {
  display: inline-block;
  padding: 1px 1px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  border: 2px solid #5285ec;
  color: white;
  background-color: #5285ec;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.orange-button-small {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #e26111;
  color: white;
  background-color: #e26111;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.green-button-small {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #2db049;
  color: white;
  background-color: #2db049;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.grey-button-small {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #8d918e;
  color: white;
  background-color: #8d918e;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}

.red-button-small {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #aa3535;
  color: white;
  background-color: #aa3535;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}

.blue-button-search {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 2px solid #5285ec; /* Green border */
  color: #5285ec; /* Green text */
  background-color: white; /* White background */
  border-radius: 4px; /* Rounded corners */
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.blue-button-search:hover {
  background-color: #5285ec; /* Green background on hover */
  color: white; /* White text on hover */
}

#spinner {
  display: flex;
  margin: 10px 0;
  align-items: center;
  gap: 10px;
}

/* RESERVATION INFO TABLE */
.resInfo {
  width: fit-content;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.resInfo td {
  padding: 10px;
  border: none;
  text-align: left;
}

.resInfo tr {
  border: none;
}

.resInfo th {
  border: none;
  cursor: pointer;
}

/* Web order statuses */
.clearsale-approved {
  background:#2db049 !important; 
  color:white !important; 
  font-weight:bold !important;
}

.clearsale-pending {
  background:#fea742 !important; 
  color:black !important;
  font-weight:bold !important;
}

.clearsale-declined {
  background:#e91010 !important; 
  color:white !important; 
  font-weight:bold !important;
}

.warehouse {
  background:#559bf0; 
  color:white; 
  font-weight:bold;
}

.shipping-out {
  background:#1c4e8b; 
  color:white; 
  font-weight:bold;
}

.location-alert {
  background:#fea742; 
  color:white; 
  font-weight:bold;
}

.addressValidationInput {
  border: none;
}

.restricted {
  background:#e44d4d; 
  color:white; 
  font-weight:bold;
}

.transferForm {
  display:flex; 
  justify-content:center;
  padding-right: 25%;
  padding-left: 25%;
}

.newNotification {
  display:inline-flex; 
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  background:#d00;
  color:#fff;
  border-radius:50%; 
  font-size:10px;
  font-weight:700;
  vertical-align:middle;
}

.priceTag {
  box-sizing: border-box;
  border: 1px solid #000;
  padding: 0.125in;
  margin-bottom: 15px;
}

.priceTagPrint {
  width: 1.75in;
  height: 3.5in;
  box-sizing: border-box;
  border: 1px dotted #000;
  padding: 0.125in;
  display: flex;
  flex-direction: column;
}

.priceTagSheet{
  display: grid;
  grid-template-columns: repeat(auto-fill, 1.75in);
  grid-auto-rows: 3.5in;
  gap: 0;                 /* set to 0 to maximize count */
  justify-content: start; /* pack from left */
  align-content: start;   /* pack from top */
}

@media screen and (max-width: 1400px) {
  #mainContent {
    margin: 25px;
  }

  #ssForm {
    margin: 25px;
  }
}

@media screen and (max-width: 960px) {
  nav {
      margin: 5px;
  }

  #ssForm {
      margin: 25px;
  }  

  .sectionStatus {
    width: 100%;
  }

  .auditInfoContainer {
    display: block;
    flex-direction: column;
    align-items: center;
  }

  .auditInfo {
      width: 90%; /* Make it take most of the screen width */
      margin-bottom: 20px; /* Add spacing between stacked items */
      overflow-x: auto; /* Enable horizontal scrolling */
  }

  .multiDispInfo {
    width: 90%;
    margin-bottom: 20px;
  }

  #receiptItems {
    justify-content: left;
    white-space: nowrap;
    overflow-x: auto;
  }

  #loginScreen {
    margin: 150px 25px 0px 25px;
  }

  .centeredTable {
    display: block;
    overflow-x: auto;
  }

  .transferForm {
    display: block;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
}

@media screen and (max-width: 600px) {
  nav {
      margin: 25px;
      flex-direction: column;
  } 

  #ssForm {
    font-size: larger;
  }

  #userAccounts {
    display: block;
  }
  
  .sectionStatus, 
  .sectionStatus thead, 
  .sectionStatus tbody, 
  .sectionStatus th, 
  .sectionStatus td, 
  .sectionStatus tr {
    display: block;
    margin-right: 0;
    width: auto;
  }

  .right-aligned {
    margin: auto;
  }

  .left-aligned {
    margin: auto;
  }

  .mini-info {
    flex-direction: column; /* Stack the form groups vertically on smaller screens */
    align-items: center; /* Center items vertically */
  }

  .sectionStatus tr {
    border: 1px solid #ddd;
  }

  .side-menu {
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0px;
    z-index: 998;
  }

  .side-menu a {
    font-size: medium;
  }

  .menu-btn-background {
    width: 100%;
  }

   .item-form-inline {
    padding-bottom: 10px;
    border-bottom: 2px solid black;
  }
}

@media print {
  .priceTagSheet{
    display: grid;
    grid-template-columns: repeat(auto-fill, 1.75in);
    grid-auto-rows: 3.5in;
    gap: 0;                 /* set to 0 to maximize count */
    justify-content: start; /* pack from left */
    align-content: start;   /* pack from top */
  }

  .priceTagPrint{
    width: 1.75in;
    height: 3.5in;
    box-sizing: border-box;
    border: 1px dotted #000;
    padding: 0.125in;
    display: flex;
    flex-direction: column;
    break-inside: avoid;
  }

  .side-menu, .menu-btn, .dontPrint {
    display: none !important;
  }
}