:root {
    --colour-background: #ffffff;
    --colour-content-background: #ffffff;
    --colour-text: #000000;
    --colour-entry-field: #ffffff;
    --colour-primary-button: #00ba95;
}

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

.main-container {
    margin: 5% auto;
    background: var(--colour-content-background);
    max-width: 500px;
    padding: 2rem;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}

.main-container-extended {
    max-width: 1000px;
}

header {
    margin-bottom: 1.5rem;
}

.header-image-container {
    text-align: center;
}

.header-image {
    margin-bottom: 1rem;
    object-fit: contain;
}

#legal {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: black;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    background-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
}

.btn-primary {
    color: white;
    background-color: var(--colour-primary-button);
}

.btn-primary:hover {
    color: white;
}

.btn-text {
    display: inline-block;
}

.control-group {
    margin-bottom: 1.25rem;
}

.control-wrapper {
    position: relative;
}

.control-wrapper label {
    position: absolute;
    left: 0.75rem;
    top: 0;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    max-width: calc(100% - 2rem);
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.control-wrapper label::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--colour-entry-field);
}

.control {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--colour-entry-field);
    background-clip: padding-box;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    appearance: none;
    outline: none;
    color: var(--colour-text);
}

label {
    font-weight: 600;
}

.header-image {
    height: 200px;
}

.buttons-container {
    display: grid;
    gap: 0.5rem;
}

img {
    max-width: 100%;
}

.checkbox-inline {
    display: block;
    padding-left: 1.5em;
    margin-bottom: .125rem;
    min-height: 1.5rem;
}

.legal-check {
    float: left;
    margin-left: -1.5em;
    margin-top: 0.25em;
}


.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border: 1px solid #ddd;
}


