/* General page styling */

@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("/static/css/_variables.css");
@import url("/static/css/_reset.css");
@import url("/static/css/_tabs.css");
@import url("/static/css/_table.css");
@import url("/static/css/_form.css");
@import url("/static/css/_button.css");
@import url("/static/css/_utils.css");

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: #f4f4f4;
  height: 100vh;
  margin: 0;
  color: var(--grey-dark);
  background-image: url("/static/images/logo.svg");
  background-size: 40px;
  background-position: 1rem 1rem
    /* top left corner with some padding */
  ;
  background-repeat: no-repeat;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.fieldset {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.errors {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;

  padding-right: 2rem;
  transform: translateX(-50%);
  background-color: #f8d7da;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  color: var(--red-base);
}

.errors p {
  margin: 0;
  font-size: 14px;
}

.errors__close {
  position: absolute;
  top: 50%;
  margin-top: -1rem;
  right: 1rem;
  font-size: 20px;
  color: var(--red-base);
  cursor: pointer;
}

.nfc-placeholder {
  background-image: url("/static/images/nfc.png");
  height: 100px;
  width: 100%;
  background-size: 90px;
  background-position: center;
  background-repeat: no-repeat;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.header__user {
  font-size: 14px;
  color: var(--grey-dark);
  background-image: url("/static/images/user.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 2rem;
}

.orders {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.5rem;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.orders:nth-child(odd) {
  background-color: #f4f4f4;
}

.orders:nth-child(even) {
  background-color: #ffffff;
}

.orders__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-dark);
}

.orders__subtitle {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
}

.selected-order {
  background-color: var(--primary-color) !important;
  color: white;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 0.5rem 0;
}