* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: #f5f9fc;
}

p {
  font-size: 12px;
}

.text-xs {
  font-size: 10px;
}

#screen {
  width: 300px;
  margin: 0 auto;
  padding: 10px;
  /* border: 1px solid red; */
}

#notifBar {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}

#time {
  font-weight: 700;
}

#icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  list-style: none;
  gap: 2px;
}

.barIcon {
  width: 20px;
  aspect-ratio: 2/1;
  background-color: #000004;
  border-radius: 3px;
}

#more_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

#screen_label {
  font-weight: 700;
  font-size: 15px;
}

#action_btn {
  width: 25px;
  height: 25px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

#printer_head {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80px;
  background-color: #3d3d3d;
  border-radius: 10px;
  box-shadow: 0px 2px 1px rgb(95, 91, 91);
}

#printer_slot {
  position: absolute;
  top: 10px;
  left: 15px;
  right: 15px;
  overflow: hidden;
  height: 20%;
  background-color: rgba(31, 30, 30, 0.8);
  border-radius: 10px;
  box-shadow: inset -1px -1px 2px rgb(143, 138, 138),
    inset 1px -1px 2px rgb(143, 138, 138), 1px 1px 1px rgb(41, 40, 40);
}

#printer_slot::before {
  position: absolute;
  z-index: 10;
  content: "";
  top: 0px;
  left: 0;
  width: 100%;
  height: 10px;
  opacity: 1;
  /* background-color: rgb(82, 82, 80); */
  background-color: rgb(39, 39, 39);
  border-bottom: 0.1px solid rgb(105, 103, 103);
}

#receipt {
  position: relative;
  top: -70px;
  width: 85%;
  margin: 0 auto;
  height: 0px;
  overflow: hidden;
  background-color: white;
  padding: 5px 10px;
  transition: height 2s ease-in;
  animation: print 0.2s ease-out;
  transform: rotateX(2deg);
  transform-origin: top;
  box-shadow: 1px 5px 10px 2px rgba(0, 0, 0, 0.05),
    -1px 5px 10px 2px rgba(0, 0, 0, 0.05);
}

#receipt::after {
  position: absolute;

  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  border: 1px solid black;
  background-color: black;
}

@keyframes print {
  from {
    top: -80px;
  }
  to {
    top: -70px;
  }
}

#cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  opacity: 0.6;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0) 10%, white);
}

#reference {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 150px;
  transition: height 2s ease-out;
   /* border: 1px solid red; */
   /* padding: 5px; */
}

#users {
  padding: 5px;
  transform-style: preserve-3d;
  perspective: 200px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 25px;
  height: 25px;
  border: 2px solid #fdfdf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;

  border-radius: 50%;
  box-shadow: 1px 1px 1px #eaeaea, -1px 1px 1px #eaeaea;
}

.list {
  position: relative;
  padding: 7px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid #f8f8f8;
  animation: fadeInLeft 0.5s ease-out;
}

.hover {
  transform: translateZ(10px);
  transform-origin: top;
}

@keyframes fadeInLeft {
  from {
    left: -50%;
    opacity: 0;
  }
  to {
    left: 0%;
    opacity: 1;
  }
}

.label {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 3px;
  border-radius: 5px;
  border: 1px solid #f8f6f7;
}

#payment {
  display: none;
  position: relative;
  padding: 5px;
  border: 1px solid #f8f6f7;
  border-radius: 5px;
  animation: fadeInLeft 0.5s ease-out;

  transition: left 2s ease-in;
}

.status_label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

#status_text {
  font-size: 10px;
}

.status {
  font-weight: 500;
}

.loader {
  position: relative;
  margin: 10px 0;
}

.bar {
  position: relative;
  width: 100%;
  height: 5px;
  background-color: gray;
  border-radius: 9999px;
}

#bar_2 {
  position: absolute;
  top: 0;
  width: 0%;
  height: 5px;
  background-color: black;
  border-radius: 9999px;
  transition: all 0.5s ease-out;
}

.ball {
  position: absolute;
  top: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: #23cd64;
  transition: all 0.5s ease-out;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.233),
    1px 1px 1px rgba(0, 0, 0, 0.233);
}

#ball-1,
#ball-2,
#ball-3,
#ball-4,
#ball-5,
#ball-6,
#ball-7 {
  left: 0%;
}

#print {
  position: absolute;
  top: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid white;
  left: 0%;
  background-color: red;
  transition: all 0.5s ease-out;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.233),
    1px 1px 1px rgba(0, 0, 0, 0.233);
}

.badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.badge-paid {
  background-color: #46c399;
}

.badge-unpaid {
  background-color: #f09048;
}

#buttons {
  position: relative;
  display: none;
  justify-content: space-between;
  margin: 10px 0;
  animation: fadeInLeft 0.5s ease-out;
  transition: left 2s ease-in;
}

#send {
  border: none;
  padding: 4px 15px;
  border-radius: 9999px;
  background-color: #313244;
  color: white;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.233);
}

#send p,
#download p {
  font-size: 10px;
}

#download {
  border: none;
  padding: 4px 15px;
  border-radius: 9999px;
  font-size: 12px;
  background-color: white;
  color: #313244;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.233);
}

#location {
  position: relative;
  font-family: monospace;
  font-size: 12px;
  text-align: center;
  padding: 2px 0;
  margin: 15px 0 20px;
  border-top: 1px dashed black;
  border-bottom: 1px dashed black;
  animation: fadeInLeft 0.5s ease-out;
  display: none;
  transition: left 2s ease-in;
}
.price {
  font-weight: 600;
  color: rgb(63, 62, 62);
}

#bills {
  position: relative;
  margin: 10px 0;
  animation: fadeInLeft 0.5s ease-out;
  display: none;
  transition: left 2s ease-in;
  color: #555a5e;
}
#bill {
  display: flex;
  margin: 5px 0;
  justify-content: space-between;
  font-size: 12px;
}

#payment_method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
#footer {
  position: relative;
  opacity: 0;
  margin: 40px 0 0;
  transition: opacity 2s ease-out;
  padding: 15px 1px;
  border-top: 1px solid rgb(236, 230, 230);
}

#footer p {
  font-size: 13px;
  font-weight: 600;
  color: #818a91;
  letter-spacing: 0px;
}

#visa_card {
  display: flex;
  align-items: center;
  gap: 5px;
}

#preview {
  width: 30px;
  height: 20px;
  border-radius: 5px;
  background-color: #1534ca;
}

#pay_now {
  width: 100%;
  background-color: #313244;
  color: white;
  border: none;
  border-radius: 8px;
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  letter-spacing: -1px;
  font-size: 15px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.233),
    -1px 2px 10px rgba(0, 0, 0, 0.233);
}
