@charset "UTF-8";
/* -------------------------------------------------------------------------- */
/*                                  RESET CSS                                 */
/* -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  color: inherit;
  vertical-align: baseline;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: unset;
}

html {
  font-family: system-ui, sans-serif;
  font-size: 1.1em;
  line-height: 1.3;
}

ol, ul {
  list-style: none;
}

textarea {
  resize: none;
}

a {
  color: unset;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
}

/* -------------------------------------------------------------------------- */
/*                                  GLOBAL CSS                                */
/* -------------------------------------------------------------------------- */
:root {
  --bg: #fcf9f5;
  --bg-60: #fcf9f599;
  --bg-80: #fcf9f5cc;
  --text: #150f08;
  --text-40: #150f0866;
  --text-80: #150f08cc;
  --accent: #8F60BF;
  --fail: #c64140;
  --success: #217347;
  --radius-s: 0.25em;
  --transitions: 0.2s;
}

body {
  background-color: var(--bg);
  color: var(--text);
}

.h1 {
  font-size: 1.5em;
  font-weight: bold;
}

.h2 {
  font-size: 1.2em;
  font-weight: bold;
}

.h3 {
  font-weight: bold;
}

.btn {
  --btn-color: var(--text);
  max-width: 100%;
  padding: 0.5em 1.5em;
  color: var(--btn-color);
  cursor: pointer;
  border: 2px solid var(--btn-color);
  border-radius: var(--radius-s);
  box-shadow: 2px 2px 0px var(--btn-color);
  transition: var(--transitions);
}
.btn:hover {
  box-shadow: 3px 3px 1px var(--btn-color);
  transform: scale(1.005);
}

.btn-danger {
  --btn-color: var(--fail);
}

.btn-accent {
  --btn-color: var(--accent);
}

.link {
  font-weight: 600;
  transition: transform var(--transitions) ease-out;
  display: inline-flex;
  align-items: center;
  line-height: 0.8;
  gap: 0.2em;
  cursor: pointer;
}

.link:hover {
  transform: scale(1.05);
}

.red {
  color: var(--fail);
}

/* -------------------------------------------------------------------------- */
/*                                     NAV                                    */
/* -------------------------------------------------------------------------- */
.bar {
  --nav-height: 5em;
  display: flex;
  align-items: center;
  gap: 1em;
  height: var(--nav-height);
  padding: 0.5em 2em;
  box-shadow: 0px 2px 5px var(--text-40);
  background-color: var(--bg);
}
.bar img {
  max-height: 100%;
}
.bar .burger-btn {
  font-size: 1.8em;
  cursor: pointer;
  margin-left: auto;
  z-index: 100;
}
.bar .burger-btn .close-burger {
  display: none;
}
.bar.active .burger-btn .open-burger {
  display: none;
}
.bar.active .burger-btn .close-burger {
  display: block;
}
.bar.active .burger-menu {
  display: flex;
}

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 0.8em;
  align-items: center;
  box-shadow: 0px -2px 5px var(--text-40);
  background-color: var(--bg);
  height: 100vh;
  height: 100dvh;
  width: 12em;
  padding: var(--nav-height) 1em;
}
.burger-menu > * {
  padding: 0.5em 1em;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
.burger-menu .account {
  margin-top: 2em;
}

/* -------------------------------------------------------------------------- */
/*                                    FORMS                                   */
/* -------------------------------------------------------------------------- */
.text-input-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5em;
  width: 100%;
  max-width: 35em;
}

.text-input {
  --border-color: var(--text);
  padding: 0.3em;
  outline: none;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-s);
  box-shadow: 2px 2px 0px var(--border-color);
  transition: var(--transitions) ease-out;
}
.text-input:hover {
  transform: scale(1.005);
  box-shadow: 3px 3px 1px var(--border-color);
}
.text-input:focus {
  --border-color: var(--accent);
}
.text-input::-moz-placeholder {
  color: var(--text-80);
  -moz-transition: color var(--transitions) ease-out;
  transition: color var(--transitions) ease-out;
}
.text-input::placeholder {
  color: var(--text-80);
  transition: color var(--transitions) ease-out;
}
.text-input:focus::-moz-placeholder, .text-input:hover::-moz-placeholder {
  color: var(--text-50);
}
.text-input:focus::placeholder, .text-input:hover::placeholder {
  color: var(--text-50);
}

.text-label {
  transition: color var(--transitions) ease-out;
}
.text-label .error {
  display: none;
}

.fail .text-input:not(:focus) {
  --border-color: var(--fail);
}
.fail .text-label {
  color: var(--fail);
}
.fail .text-input:not(:focus) ~ .text-label .regular {
  display: none;
}
.fail .text-input:not(:focus) ~ .text-label .error {
  display: block;
}

.success .text-input:not(:focus) {
  --border-color: var(--success);
}
.success .text-label {
  color: var(--success);
}

input[type=checkbox] {
  --checkbox-color: var(--text);
  position: relative;
  margin-bottom: 0.1em;
  border: 2px solid var(--checkbox-color);
  border-radius: var(--radius-s);
  box-shadow: 1.5px 1.5px 0px var(--checkbox-color);
  height: 1em;
  width: 1em;
  cursor: pointer;
  -webkit-appearance: unset;
     -moz-appearance: unset;
          appearance: unset;
  transition: var(--transitions);
}
input[type=checkbox]:hover {
  transform: scale(1.1);
}
input[type=checkbox]:checked::after {
  content: "✔";
  /* background-color: var(--accent); */
  border-radius: var(--radius-s);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--checkbox-color);
}

.toast {
  position: fixed;
  top: 1em;
  right: 1em;
  border-radius: var(--radius-s);
  box-shadow: 2px 2px 0px var(--text-40);
  color: var(--bg);
  display: flex;
  align-items: center;
  gap: 1em;
  opacity: 0;
  pointer-events: none;
  transition: var(--transitions);
  transform: translateX(200%);
}
.toast.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.toast.success {
  background-color: var(--success);
}
.toast.error {
  background-color: var(--fail);
}
.toast p {
  padding: 1em;
}
.toast .close {
  position: absolute;
  top: 0;
  right: 0;
  height: 1em;
  padding: 0.2em;
  color: var(--bg);
  font-size: 1.2em;
  line-height: 0;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/*                                 LOGIN PAGE                                 */
/* -------------------------------------------------------------------------- */
.login-container {
  max-width: 60em;
  margin: 0 auto;
  padding: 10em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
}
.login-container img {
  position: absolute;
  width: 8em;
  top: 2em;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95vw;
  max-width: 680px;
  gap: 1.2em;
  padding: 1em;
}

/* -------------------------------------------------------------------------- */
/*                                 ADMIN PAGE                                 */
/* -------------------------------------------------------------------------- */
.admin-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding: 1em;
}

.admin-forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95vw;
  max-width: 20em;
  height: -moz-fit-content;
  height: fit-content;
  gap: 1.2em;
  padding: 1em;
  border: 1px solid var(--text);
  box-shadow: 2px 2px 0px var(--text);
  border-radius: var(--radius-s);
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 1em;
  max-width: 60em;
  margin: 2em auto;
}
.list-container.tickets .list .list-item {
  grid-template-columns: auto 0.55fr 0.55fr 1fr;
}
.list-container.orders .list .list-item {
  grid-template-columns: auto 0.8fr 0.55fr 1fr;
}

.list {
  display: flex;
  flex-direction: column;
  max-height: 20em;
  overflow: scroll;
  border: 2px solid var(--text);
}
.list .list-item {
  display: grid;
  grid-template-columns: auto 0.55fr 0.55fr 1fr;
  text-align: center;
  border: 1px solid var(--text);
}
.list .list-item.used {
  background-color: var(--text-40);
}
.list .list-item > * {
  border-right: 1px solid var(--text);
  border-left: 1px solid var(--text);
  padding: 0.2em;
  overflow: hidden;
}
.list .list-item > *:first-child {
  border-left: none;
}
.list .list-item > *:last-child {
  border-right: none;
}

@media (max-width: 600px) {
  .bar .h1 {
    display: none;
  }
  .bar span {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */