* {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  font-family: "lato", Arial, Helvetica, sans-serif;
  font-size: 14px;
  outline-style: none;
  box-shadow: none;
  border-color: transparent;
  text-decoration: none;
  color: black;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  background-color: transparent;
}

input {
  /* -webkit-text-fill-color: #494949; */
  opacity: 1;
}

input::placeholder {
  color: #bbb;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input {
  border-radius: 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

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

body {
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  min-width: fit-content;
}

body.dark-mode {
  background-color: #000000;
}

body.dark-mode .container,
body.dark-mode .container main .top-input-wrapper {
  background-color: #282828;
}

body.dark-mode .container section p,
body.dark-mode .container main .top-input-wrapper input {
  color: white;
}

body .container {
  background-color: white;
  border-radius: 5px;
  width: 400px;
  height: 670px;
}

.container section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.container section p {
  font-weight: 600;
  font-size: 17px;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid #ddd;
}

.container section button {
  background-color: rgba(196, 196, 196, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  color: rgba(0, 0, 0, 1);
  font-weight: 700;
}

.dark-mode .container section button {
  color: white;
}

.container main .top-input-wrapper {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eeeeee;
  margin: 0 1.5rem;
  /* border-radius: 5px; */
  background-color: #f4f4f4;
}

.container main .staff-dropdown-wrapper {
  margin: 0 1.5rem 1rem;
  /* height: 50px; */
  position: relative;
}

.container main .top-input-wrapper input {
  text-align: center;
  font-size: 40px;
}

.container main .btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem;
  /* height: 80px; */
}
.container main .btn-wrapper .takeaway-btn {
  width: 40%;
}

.container main .btn-wrapper .takeaway-btn a,
.container main .btn-wrapper .takeaway-btn button {
  width: 100%;
  height: 60px;
  background-color: #494949;
  border-radius: 5px 0 0 5px;
}
.container main .btn-wrapper a,
.container main .btn-wrapper button {
  color: white;
  font-size: 17px;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container main .btn-wrapper .submit-btn {
  width: 60%;
}

.container main .btn-wrapper .submit-btn button {
  width: 100%;
  height: 60px;
  background-color: #ef4b24;
  border-radius: 0 5px 5px 0;
  /* color: white; */
}

.input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  font-size: 20px;
  line-height: normal;
}
.input::-moz-placeholder {
  /* Firefox 19+ */
  font-size: 20px;
  line-height: normal;
}
.input:-ms-input-placeholder {
  /* IE 10+ */
  font-size: 20px;
  line-height: normal;
}
.input:-moz-placeholder {
  /* Firefox 18- */
  font-size: 20px;
  line-height: normal;
}

.staff-name {
  width: 100%;
  background-color: #dddddd;
  padding: 1rem;
  color: #282828;
  font-size: 17px;
}

/* NEW VERSION */
.customer-number-wrapper {
  margin: 0 1.5rem 1rem;
  display: flex;
  overflow: auto;
}

.customer-number-wrapper input {
  min-height: 50px;
  background-color: #f4f4f4;
  padding: 1rem;
  font-size: 17px;
  min-width: 50%;
  float: left;
}

.staff-id-select {
  margin: 0 1.5rem 1rem;
}

.staff-id-select select {
  width: 100%;
  min-height: 50px;
  background-color: #f4f4f4;
  padding: 1rem;
  font-size: 17px;
}

.staff-pw {
  margin: 0 1.5rem 1rem;
}

.staff-pw input {
  height: 50px;
  background-color: #f4f4f4;
  width: 100%;
  padding: 1rem;
  font-size: 17px;
}

.back-btn-wrapper {
  width: 30%;
}

.back-btn-wrapper button {
  border-radius: 5px 0 0 5px;
  min-height: 60px;
  background-color: darkgray;
  width: 100%;
}

.apply-btn-wrapper {
  margin: 1.5rem;
}

.btn-wrapper .apply-btn-wrapper {
  width: 70%;
  margin: unset;
}

.btn-wrapper .apply-btn-wrapper button {
  border-radius: 0 5px 5px 0;
}

.apply-btn {
  min-height: 60px;
  border: 1px solid #ef4b24;
  border-radius: 5px;
  width: 100%;
  color: #ef4b24 !important;
  font-size: 17px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

#handleStaffForm {
  display: none;
}

.staff-dropdown-wrapper .apply-btn {
  position: absolute;
  width: unset;
  right: 0.5rem;
  min-height: unset;
  background-color: white;
  padding: 0 0.5rem;
  border: unset;
  font-size: 14px;
  letter-spacing: initial;
  height: 30px;
  top: 10px;
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch::before {
  content: "Show Image";
  position: absolute;
  display: block;
  left: -140%;
  top: calc(50% - 9.5px);
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switch input:checked + .slider {
  background-color: #ef4b24;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #ef4b24;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(30px);
  -ms-transform: translateX(30px);
  transform: translateX(30px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media screen and (max-width: 500px) {
  body {
    display: block;
    width: unset;
    min-width: unset;
    height: 100vh;
  }
  body .container {
    margin: 0;
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
  .container main .top-input-wrapper input {
    width: -webkit-fill-available;
  }
}

.mr-1-5 {
  margin-right: 1.5rem;
}
.ml-1-5 {
  margin-left: 1.5rem;
}
.pr-1-5 {
  padding-right: 1.5rem;
}
.pr-1-5 {
  padding-left: 1.5rem;
}
.mb-05 {
  margin-bottom: 0.5rem;
}
.font-weight-600 {
  font-weight: 600;
}
.color-666 {
  color: #666;
}
.font13 {
  font-size: 13px;
}
.float-left {
  float: left;
}
.overflow-auto {
  overflow: auto;
}
.w-50 {
  width: 50%;
}
