html,
body {
    font-family: sans-serif;
    padding: 0;
    margin: 0;
}

header,
section,
footer {
    padding: 1em;
}

a {
    text-decoration: none;
}

a,
a:visited,
a:hover,
a:active {
    color: rgb(0, 189, 129);
}

hr {
    margin-top: 3em;
    margin-bottom: 3em;
}
.key-input {
    width: 40em;
}

.flashes {
    list-style-type: none;
    padding: unset
}

.flash-display {
    border: 2px solid #ccc;
    border-radius: 16px;
    padding: 0.5em;
    margin-top: 0.5em;
    width: fit-content;
}

.flash-display-warning {
    border: 2px solid #ccc;
    border-radius: 16px;
    margin-top: 0.5em;
    margin-bottom: 1em;
    width: fit-content;
    background-color: #ffffcc;
    padding: 1em;
}

.list-add {
    list-style: none;
    margin-top: 1em;
}

.list-delete {
    background-color: lightpink;
    border: 1px solid red;
    border-radius: 3px;
    cursor: pointer;
}

.list-refresh {
    background-color: lightgray;
    border: 1px solid darkgray;
    border-radius: 3px;
    cursor: pointer;
}

#submit {
    padding: 0.75em;
    cursor: pointer;
}

#key-list>li {
    border-top: 1px solid lightgray;
    width: 50%;
    min-width: 40em;
    padding: 1em;
    list-style: none;
}

.sublist-root {
    list-style: none;
}

#generated-private-key {
    color: rgb(0, 189, 129);
    font-weight: bold;
}

.help {
    max-width: 50em;
    text-align: justify;
    hyphens: auto;
}

.mono-font {
    font-family: monospace;
    font-size: 1.25em;
}

.inline-code {
    font-family: monospace;
    background-color: #f9f9f9;
    padding: 2px 4px;
    border-radius: 4px;
    color: rgb(61, 61, 61);
    border: 1px solid #ccc;
}

.code-block {
    font-family: monospace;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    color: rgb(61, 61, 61);
    border: 1px solid #ccc;
    white-space: pre-wrap;
}

.qr-inline-img {
    width: 0.8em;
    vertical-align: middle;
}

#qrcode {
    padding-top: 1em;
}
.tos {
    max-width: 45em;
    text-align: justify;
}

.reject,
.accept {
    background-color: lightpink;
    /* Use the same for both or change as needed */
    border: 1px solid red;
    /* Use the same for both or change as needed */
    border-radius: 3px;
    cursor: pointer;
    height: 2em;
    font-family: sans-serif;
    color: black;
    text-decoration: none;
    /* Remove underline from link */
    display: inline-flex;
    /* Use flex to center text vertically */
    align-items: center;
    /* Center text vertically */
    justify-content: center;
    /* Center text horizontally */
    padding: 0 1em;
    /* Add padding to left and right */
    font-size: 1rem;
    /* Adjust font size as needed */
    line-height: 1;
    /* Adjust line height to control the height of the text */
}

.reject {
    background-color: lightpink;
    border: 1px solid red;
    color: black !important;
}

.accept {
    background-color: rgb(147, 218, 153);
    border: 1px solid rgb(9, 117, 5);
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
}