:root {
    --bkg: #f9f9f9;
    --text: #333;
    --bkg2: #923e57;
    --accent: #ead4b5;
    --tableBdr: #fff;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--bkg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    padding: 8vh;
}

/* #3E969A */

.checkinCont {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bkg2);
    border: 20px solid var(--bkg2);
    border-radius: 10px;
    padding: 0 4vw;
}

.ciMargin {
    flex: 1;
    flex-basis: 0;
}

.ciLogo img {
    width: 40vw;
}

.ciHeader, .ciHeader a, .ciHeaderS, .ciDesc, .ciDesc a, .ciDescP, .ciDescP a, .ciResult {
    text-align: center;
    margin: 0;
    color: #fff;
    text-decoration: none;
}

.ciHeader {
    font-size: 2.7rem;
}

.ciHeaderS {
    margin-bottom: 0.5em;
    font-size: 2.5rem;
}

.ciDesc {
    margin-top: 1.0rem;
    font-size: 0.75rem;
}

.ciDescP {
    margin-top: 2rem;
    font-size: 1rem;
}

.ciBtnCnt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ciBtn, .ciLoginBtn {
    margin-top: 2rem;
    text-align: center;
    width: 55vw;
    min-height: 10vh;
    padding: 0.5em;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background-color: var(--accent);
    color: var(--text);
    font-size: 2rem;
}

.ciBtn:disabled {
    background-color: #ccc;
}

.ciLoginBtn {
    height: 8vh;
    font-size: 1.5rem;
    width: 45vw;
}

.ciResult {
    margin: 1.5rem 0;
}

.ciResult div {
    margin: 0.5rem 0;
}

#resultCode {
  font-family: monospace;
}

table {
    color: var(--tableBdr);
    border: 1px solid var(--tableBdr);
    border-radius: 10px;
    width: 100%;
    border-collapse: collapse;
    overflow: scroll;
}

table tr {
    color: var(--tableBdr);
    text-align: center;
    border-bottom: 1px solid var(--tableBdr);
}

table td {
    color: var(--tableBdr);
    padding: 1rem;
    border-right: 1px solid var(--tableBdr);
}

table th {
    padding: 0.5rem;
}

input {
    width: 100%;
    max-width: 50ch;
    background: none;
    border: none;
    border-bottom: 2px solid var(--bkg);
    outline: none;
    color: var(--accent);
}

input:focus {
    background-color: #1a454c;
    border-color: #21023b;
}

input:read-only, input:read-only:focus {
    border-bottom: none;
}

ul#roles {
    display: inline-block;
}

ul {
    text-align: left;
    padding: 0;
}

@media (min-width: 500px) {
    .ciLogo img {
        width: 13em;
    }
}

@media (min-width: 1000px) {
    .ciBtn {
        width: 45vw;
    }
}
