@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentsans/v4/pximypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr-yp2JGEJOH9npSTF-Tf8kywf3w.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentsans/v4/pximypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr-yp2JGEJOH9npSTF-Tfykyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentserif/v5/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjgn7MsNo.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentserif/v5/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjjH7M.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --primary-color: #FAFAFA;
    --secondary-color: #121212;
    --accent-color: #B2DC5F;
}

/*index.php*/

* {
    line-height: 1.2em;
}

body {
    margin: 0;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

h1 {
    font-family: "DT Getai Grotesk Display", sans-serif;
    font-size: 4em;
    color: var(--primary-color);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin: 0;
    margin-top: 10px;
}

#admin-panel {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
    margin-top: -10px;
}

#nav-placeholder {
    display: flex;
    justify-content: center;
    width: 70%;
    position: fixed;
    top: 10px;
}

button {
    margin: 0;
    margin-top: 22px;
    color: var(--secondary-color);
    background-color: var(--accent-color);
    border: none;
    border-radius: 100px;
    font-family: Instrument Sans, sans-serif;
    font-size: 1.4em;
    padding: 10px 20px;
    transition: background-color 300ms ease;
}

button:hover, button:focus {
    cursor: pointer;
    background-color: var(--primary-color);
}

/*sign-in.php*/

form {
    margin: 0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: 30%;
}

form div {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

form button {
    all: unset;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.4em;
    background-color: var(--accent-color);
    display: flex;
    flex-direction: row;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background-color 300ms ease;
    width: 100%;
}

form button:hover, form button:focus {
    all: unset;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.4em;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

label {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.4em;
}

input {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1em;
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    outline: 1px #FAFAFA1A solid;
    border-radius: 10px;
    background-color: var(--secondary-color);
    width: 100%;
}

input:focus {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1em;
    outline: 1px #B2DC5F5A solid;
    filter: drop-shadow(0 0 2px #B2DC5F5A);
}

.error {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.4em;
    color: var(--accent-color);
}

/*dashboard.php*/

#dashboard-root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

#welcome-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#orders-view {
    all: unset;
    position: absolute;
    margin-top: 100px;
    margin-bottom: 30px;
    inset: 30px;
    border-radius: 20px;
    background-color: var(--secondary-color);
    background-filter: blur(10px);
    filter: drop-shadow(0 0 5px #1212121A);
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 30px;
    border: 1px solid #FAFAFA1A;
    height: fit-content;
}

header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.header-right {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.frosted-btn {
    all: unset;
    font-size: 1em;
    color: var(--primary-color);
    background-color: #FAFAFA1A;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    outline: none;
}

.frosted-btn:hover {
    all: unset;
    font-size: 1em;
    color: var(--accent-color);
    background-color: #FAFAFA1A;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.frosted-btn:focus {
    all: unset;
}

.frosted-btn.is-open {
    all: unset;
    font-size: 1em;
    color: var(--accent-color);
    background-color: #FAFAFA1A;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.frosted-btn-not-rounded {
    all: unset;
    font-size: 1em;
    color: var(--primary-color);
    background-color: #FAFAFA1A;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    outline: none;
    margin-bottom: 20px;
}

.frosted-btn-not-rounded:hover {
    all: unset;
    font-size: 1em;
    color: var(--accent-color);
    background-color: #FAFAFA1A;
    font-family: 'Instrument Sans', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    outline: none;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead, tbody, tr, th, td {
    margin: 0;
    padding: 0;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
    justify-content: space-between;
    border: 1px 0px solid #FAFAFA1A;
}

th {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: normal;
    font-size: 1em;
    color: var(--primary-color);
    text-align: left;
    border-top: 1px solid #FAFAFA1A;
    border-bottom: 1px solid #FAFAFA1A;
    margin: 0;
    padding: 10px 0px;
}

td {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: normal;
    font-size: 1em;
    color: #FAFAFA5A;
    text-align: left;
    border-top: 1px solid #FAFAFA1A;
    border-bottom: 1px solid #FAFAFA1A;
    margin: 0;
    padding: 10px 0px;
}

td:nth-child(-n + 2) {
    color: var(--primary-color);
}

#header-middle {
    all: unset;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 2em;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#orders-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#orders-empty p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.4em;
    color: var(--primary-color);
}

.show-x {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1em;
    color: var(--primary-color);
}

.show-x input {
    margin: 0;
    padding: 0;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    width: 50px;
}