:root {
    --primary: #7952b3;
    --secondary: #61428f;
    --border-color: #dee2e6;
    --max-width: 1140px;
    --border-radius: 0.25rem;
    --button-text: #fff;
    --button-focus: 0 0 0 3px rgba(121, 82, 179, 0.25);
    --link-color: #7952b3;
    --text-main: #363636;
    --text-bright: #000;
    --body-bg-color: #f9fafb;
    --footer-bg-color: #fff;
    --form-bg-color: #fff;
    --input-text-color: #000;
    --input-text-disabled: #7a7a7a;
    --input-placeholder-color: #c2c2c2;
    --input-border-color: #ccc;
    --input-background-color: #fff;
    --input-disabled: #f5f5f5;
    --input-focus: 0 0 0 3px rgba(121, 82, 179, 0.25);
    --error: #dc3545;
    --success: #198754;
    --warning: #664d03;
    --info: #0c5460;
    --alert-error-bg: #f8d7da;
    --alert-warning-bg: #fff3cd;
    --alert-success-bg: #d4edda;
    --alert-info-bg: #d1ecf1;
    --member-list-border-color: #000000;
    --cancel-bg: #dc3545;
    --cancel-bg-focus: #A62835FF;
    --submit-bg: #198754;
    --submit-bg-focus: #105a3a;
    --uid-list: #303030;
    --multipass-text: #7d312b;
}

*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.25;
    background-color: var(--body-bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-main)
}

/*body > header {*/
/*    max-width: 100%;*/
/*    border-bottom: 1px solid var(--border-color);*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    padding: 0;*/
/*    background-color: #fff*/
/*}*/

/*body > header > nav {*/
/*    max-width: var(--max-width);*/
/*    flex: 1*/
/*}*/

/*body > footer {*/
/*    background-color: var(--footer-bg-color);*/
/*    border-top: 1px solid var(--border-color);*/
/*    width: 100%;*/
/*    margin-top: auto*/
/*}*/

/*body > footer > p {*/
/*    text-align: center;*/
/*    max-width: var(--max-width);*/
/*    padding: 1rem 0;*/
/*    margin: 0 auto*/
/*}*/

body > main {
    max-width: var(--max-width);
    margin: 1rem auto;
    flex: 1
}

main > form {
    margin: 1rem auto;
    border: solid 1px var(--border-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: var(--form-bg-color)
}

/*body > header > nav > a {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center*/
/*}*/

/*nav {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*    align-items: center*/
/*}*/

/*@media (min-width: 769px) {*/
/*    nav {*/
/*        display: flex;*/
/*        flex-direction: row;*/
/*        justify-content: space-between;*/
/*        align-items: center*/
/*    }*/
/*}*/

/*nav ul {*/
/*    list-style: none;*/
/*    padding: 0*/
/*}*/

/*nav ul li {*/
/*    display: inline-block;*/
/*    margin: 0 .5rem;*/
/*    position: relative;*/
/*    text-align: left*/
/*}*/

/*nav li a {*/
/*    text-decoration: none;*/
/*    color: var(--text-main)*/
/*}*/

a {
    color: var(--link-color);
    text-decoration: none
}

a:hover {
    text-decoration: none
}

/*article img, section img {*/
/*    max-width: 100%*/
/*}*/

hr {
    background-color: var(--input-border-color);
    border: none;
    height: 1px;
    margin: 1rem 0;
    width: 100%
}

ol li, ul li {
    padding: .2rem 0;
    margin: 0 2rem
}

p {
    margin: .75rem 0;
    padding: 0
}

/*details {*/
/*    margin: 1.3rem 0*/
/*}*/

/*details summary {*/
/*    font-weight: 700;*/
/*    cursor: pointer*/
/*}*/

form {
    width: 400px
}

form h1 {
    padding-top: 5px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-bright)
}

form h2 {
    padding-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-bright)
}

form i {
    margin-left: -30px;
    cursor: pointer
}

form p {
    margin-bottom: .5rem
}

form > section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

/*form > footer {*/
/*    text-align: center;*/
/*    border-top: solid 1px var(--input-border-color);*/
/*    padding: .5rem 0;*/
/*    font-size: .8rem*/
/*}*/

form > div {
    margin-bottom: .75rem
}

input + small, label + small, textarea + small {
    color: var(--error)
}

label {
    display: inline-block;
    margin-bottom: 5px;
    vertical-align: top;
    width: 100%
}

input, select, textarea {
    background-color: var(--input-background-color);
    color: var(--input-text-color);
    border: 1px solid var(--input-border-color);
    border-radius: var(--border-radius);
    display: inline-block;
    padding: .5rem .75rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem
}

input::placeholder {
    color: var(--input-placeholder-color)
}

input:focus, select:focus, textarea:focus {
    outline: 0;
    box-shadow: var(--input-focus)
}

input[disabled], textarea[disabled] {
    background-color: var(--input-disabled);
    border: solid 1px var(--input-border-color);
    box-shadow: none;
    color: var(--input-text-disabled);
    cursor: not-allowed
}

input.error, select.error, textarea.error {
    border-color: var(--error)
}

input.error:focus, select.error:focus, textarea.error:focus {
    box-shadow: 0 0 0 .25rem rgb(220 53 69 / 25%)
}

input.success, select.success, textarea.success {
    border-color: var(--success)
}

input.success:focus, textarea.success:focus {
    box-shadow: 0 0 0 .25rem rgb(25 135 84 / 25%)
}

a em, a i, button {
    display: inline-block;
    background: var(--primary);
    color: var(--button-text);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    padding: .5em .75em;
    min-width: 10ch;
    user-select: none;
    font-style: normal;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

a em:hover, a i:hover, button:hover {
    background: var(--secondary);
    border-color: var(--border-color);
    cursor: pointer
}

a em:focus, a i:focus, button:focus {
    outline: 0;
    color: var(--button-text);
    background-color: var(--secondary);
    border-color: var(--border-color);
    box-shadow: var(--button-focus)
}

a em, button[type=button] {
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary)
}

a em:hover, button[type=button]:hover {
    background: var(--secondary);
    color: var(--button-text);
    cursor: pointer
}

.cancel {
    color: var(--button-text);
    background-color: var(--cancel-bg);
    border-color: var(--cancel-bg);
}

.cancel:hover {
    background-color: var(--cancel-bg-focus);
}

.submit {
    color: var(--button-text);
    background-color: var(--submit-bg);
    border-color: var(--submit-bg);
}

.submit:hover {
    background-color: var(--submit-bg-focus);
}

form > button {
    display: block;
    width: 100%;
    margin: 5px 0;
}

form > div > div > label {
    width: auto;
    cursor: pointer;
    display: inline-block;
    position: relative;
    border-radius: var(--border-radius)
}

form > div > p > label {
    display: block;
    margin-left: auto;
    margin-bottom: .75rem
}

label + label {
    margin-left: 1rem
}

input[type=checkbox], input[type=radio] {
    vertical-align: baseline;
    width: auto
}

[hidden] {
    display: none
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius)
}

.alert-error {
    color: var(--error);
    background-color: var(--alert-error-bg)
}

.alert-warning {
    color: var(--warning);
    background-color: var(--alert-warning-bg)
}

.alert-info {
    color: var(--info);
    background-color: var(--alert-info-bg)
}

.alert-success {
    color: var(--success);
    background-color: var(--alert-success-bg)
}

form > table {
    border-spacing: 0;
    display: block;
    overflow-x: auto;
    text-align: left;
    width: 100%
}

form > table > td, form > table > th {
    border-bottom: .1rem solid #e1e1e1;
    padding: 1.2rem 1.5rem
}

form > table > td:first-child, form > table > th:first-child {
    padding-left: 0
}

form > table > td:last-child, form > table > th:last-child {
    padding-right: 0
}

@media (min-width: 40rem) {
    form > table {
        display: table;
        overflow-x: initial
    }
}

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

.member-info {
    width: 100%;
}

.member-info table {
    border-spacing: 0;
    display: table;
    overflow-x: initial;
    text-align: left;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid var(--member-list-border-color);
    box-shadow: 10px 10px rgba(0, 0, 0, 0.2);
}

.member-info table td {
    margin-bottom: 0;
    border: none;
    padding: 2px;
}

.member-info button {
    width: 100%;
}

.grand-total {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.uid-list {
    text-align: center;
    margin-bottom: 20px;
}

.uid-list ul li {
    list-style-type: none;
    font-weight: bold;
    color: #206050;
}

.multipass {
    position: relative;
}

.multipass-name {
    color: var(--cancel-bg-focus);
    font-weight: bold;
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    top: 155px;
    left: 518px;
    width: 222px;
    height: 20px;
}

@media (max-width: 600px) {
    .multipass img {
        width: 375px;
    }

    .multipass-name {
        font-size: .6rem;
        top: 77px;
        left: 256px;
        width: 111px;
        height: 10px;
    }
}

.home-form {
    border: none;
    background-color: var(--body-bg-color);
}

.final-home-button {
	background: var(--primary);
	color: var(--button-text);
    margin: 0 auto;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	width: 280px;
	border-radius: 25px;
    text-align: center;
}

.final-home-button a {
    color: var(--button-text);
}

.final-home-button:hover {
    background: var(--secondary);
}
