/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background-color: #121110;
  color: #fff;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#orders {
  column-count: 1;
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
}

#orders:not(.screening) > div {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

#keypad {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 1rem 0;
}

#keypad > button {
  aspect-ratio: 1;
  background-color: transparent;
  border-color: #e6c032;
  border-radius: .25rem;
  border-style: solid;
  border-width: .0625rem;
  color: #e6c032;
  cursor: pointer;
  flex-basis: calc(33.33333% - .5rem);
  font-size: 1.125rem;
}

#keypad > button:hover,
#keypad > button:focus {
  background-color: #e6c032;
  color: #121110;
}

#working-area {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

#new-order {
  margin-bottom: 1.5rem;
}

#screen {
  margin: 2rem auto 0;
  max-width: 40rem;
}

#requests {
  margin-bottom: 2rem;
}

#requests > h1 {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

#requests:has(#orders:empty) > h1 {
  display: none;
}

#requests > h1,
#screen > h1 {
  font-size: 3rem;
  text-align: center;
}

label {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

input[type="text"] {
  background-color: rgb(30, 28, 26);
  border: .0625rem solid #e6c032;
  border-radius: .375rem;
  color: #fff;
  font-size: 1.25rem;
  margin-top: .75rem;
  padding: .5rem 1rem;
  width: 100%;
}

input[type="submit"],
button[type="submit"] {
  background-color: #e6c032;
  border: none;
  border-radius: .25rem;
  color: #121110;
  cursor: pointer;
  font-size: .625rem;
  letter-spacing: .15em;
  line-height: 1;
  font-weight: 700;
  margin-top: 1rem;
  padding: 1rem;
  position: relative;
  text-transform: uppercase;
  width: 100%;
}

.logo {
  left: 50%;
  opacity: .1;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80vh;
  z-index: -1
}

input[type="submit"] {
  padding: 1.25rem 1rem;
}

button[type="submit"] {
  background-color: transparent;
  border-color: #fff;
  border-style: solid;
  border-width: .0625rem;
  color: #fff;
}

.screening {
  font-size: 5.625rem !important;
}

.order > a > img {
  width: 2rem;
}

@media only screen and (min-width: 64rem) {
  #orders {
    column-count: 2;
    column-width: 15.625rem;
  }

  #working-area {
    flex-direction: row;
    justify-content: center;
  }

  #screen > h1 {
    margin-top: 0;
  }

  #new-order {
    margin-top: 1rem;
    order: 2;
  }
}