:root {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  color-scheme: light;
  /* background: #ffffff; */
}
body {
  margin: 0;
  /* background: #fffbf3; */
  color: #213547;
  /* background: #dcdcdc; */
  background: #f3f3f3;
}

.go-to-home {
  position: absolute;
  top: 2%;
  left: 2%;
  display: flex !important;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.swal-wide {
  width: 90% !important;
}

.error {
  /* position: absolute;
  top: 92%;
  left: 1rem; */
  color: #a10000;
  font-size: 15px;
}

.errored {
  border: 1px solid #a10000 !important;
  box-shadow: 3px 4px 2px #a10000;
}

.errored:focus {
  box-shadow: 0 0 5px #a10000 !important;
}

.flex-button {
  display: flex !important;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.searchable-table {
  margin-top: 0 !important;
}

.filterable-table {
  margin-top: 30px;
}

.helper-tooltip {
  background: #0863bd !important;
  font-weight: bolder !important;
}

.order-submit-button {
  width: -webkit-fill-available;
  max-width: calc(50%);
  margin: auto;
  margin-top: 65px !important;
}

.full-w {
  width: -webkit-fill-available;
}

.react-datepicker-input {
  padding: 10px 12px;
  margin-top: 5px;
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  color: #333;
  transition: 0.1s;
  font-family: inherit;
}

.react-datepicker-input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.margined-title {
  margin: 30px 0 !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -webkit-appearance: textfield; /* Remove default WebKit appearance */
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;
}

.orders-table tbody td:first-child svg {
  margin: 3%;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s all;
}

.orders-table tbody td:first-child svg:hover {
  opacity: 1;
  transform: scale(1.3);
}
@media screen and (max-width: 768px) {
  .go-to-home {
    width: 75px;
    font-size: 12px;
  }

  .orders-table thead th:first-child {
    z-index: 3;
  }

  .orders-table thead td:first-child {
    background: rgba(185, 185, 185, 0.12);
    min-width: 10%;
  }

  .orders-table thead th:first-child,
  .orders-table tbody td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 1px 0 0 #000000;
    text-overflow: unset;
  }
}

@media screen and (min-width: 800px) {
  .new-order-button {
    position: absolute;
    top: 25px;
  }
}
