body {
    background: white;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /* height: 100vh; */
    margin: 0;

    font-family: "Cascadia Code", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

    font-size: 24px;
}

.container {
    max-width: 400px;
    text-align: center;
    margin: auto;
}

.container h1.letterhead a {
    text-decoration: none;
    color: inherit;
}

input[type="text"] {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    font-size: 18px;
    font-family: "Cascadia Code", sans-serif;  
    text-align: center;
    color: #333;
    outline: none;
}

div.button-container {
    margin-top: 2rem;
}


button {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 24px;;
    background-color: white;
    color: #333;
    text-transform: uppercase;
    font-family: "Cascadia Code", sans-serif;  
    cursor: pointer;
    box-shadow: 2px 2px 0 rgb(66, 66, 66);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #faf0e6;
    box-shadow: 8px 8px 0 rgb(52, 52, 52);
}

button#check-in {
    width: 150px;
    height: 50px;
}

button#dash {
    width: 50px;
    height: 50px;
    /* display: flex; */
    /* justify-content: center;
    align-items: center; */
    background-color: transparent;
    padding: 10px;
    position: relative;
    top: 3px;
}

button#dash img {
    width: 24px;
    height: 24px;
    /* display: block; */
}

small.attributions {
    position: absolute;
    font-family: sans-serif;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
}

small.attributions a {
    color: #aaa;
    text-decoration: none;
}

.checkin-table {
    text-align: left;
    font-size: 14px;
    border-collapse: collapse;
    margin: auto;
}

.checkin-table .table-row-user {
    padding-right: 1rem;
}

.checkin-table .table-row-status {
    padding-right: 1rem;
}

/* Add 1px solid border to tbody tr first and last child */
.checkin-table thead {
    border-bottom: 1px solid black;
}
.checkin-table tbody {
    border-bottom: 1px solid black;
}

.checkin-table-header {
    margin-bottom: 0.2rem;
}

/* Error popup */
.error-popup {
    color: rgba(212, 40, 40, 0.9);
    font-size: 16px;
    padding: 0.25rem;;
    margin-top: 0.3rem;
    text-align: center;
}

.status-popup {
    color: rgba(5, 166, 64, 0.9);
    font-size: 16px;
    padding: 0.25rem;;
    margin-top: 0.3rem;
    text-align: center;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}

/* Spinner */
.spinner-container {
    padding: 1rem;
}

.spinner {
    border: 4px solid rgba(219, 219, 219, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: rgb(61, 61, 61);
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.expired {
    color: #ccc;
}