/* Rules that lived in an inline <style> block in the legacy index.php, plus small additions for the Laravel views. */

.pint {
  color: red;
  font-size: 15px;
  width: 80%;
  margin: 5px 5%;
}

.pint:empty {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.press {
  width: 100%;
}

.pager {
  display: flex;
  margin-top: 20px;
  justify-content: space-around;
}

.pager a,
.pager span {
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  background-color: #28b485;
  transition: all 0.3s;
  min-width: 10%;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
}

.pager span {
  opacity: 0.4;
}

.item-container {
  max-width: 120rem;
  height: 80vh;
  margin: 0 auto;
  padding: 0 4rem;
  overflow-x: scroll;
  position: relative;
}

.ship-form input,
.span {
  border: none;
  padding: 1rem 0;
  font-size: 1.6rem;
  background-color: transparent;
}

.ship-form input::placeholder {
  color: #333;
}

.u-margin-bottom-large {
  margin-bottom: 10rem;
}

.logout-form {
  display: inline;
}

/* Logout is a POST button now; make the footer one look like the neighbouring links. */
.footer-nav button.footer-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.6rem;
  color: #888;
  transition: all 0.3s;
}

.footer-nav button.footer-link:hover {
  color: #25ab97;
}

#stub {
  display: inline-block;
  color: #fff;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: 9px;
  background-color: red;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 500;
}

.popup,
.popup-form,
.forgot-pass {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(40, 180, 133);
  width: 100%;
  height: 100vh;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success-icon {
  display: flex;
  justify-content: center;
}

.success-icon svg {
  width: 12rem;
}

.success-text {
  text-align: center;
  font-size: 15px;
}

.flash {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4000;
  background: #152321;
  color: #e2f0ec;
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  font-size: 1.6rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s;
}

.flash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

button[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

@media screen and (max-width: 600px) {
  .mobile-nav {
    display: block;
    z-index: 2000;
  }

  #stub {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 500px) {
  #signoutbtn a {
    font-size: 11px;
    margin: 5px;
    padding: 10px;
  }
}
