:root {
    --primary: #264b5d;
    --primary-fg: #f7f7f7;

    --body-fg: #eeeeee;
    /* --body-bg: #121212; */
    /* --body-bg: radial-gradient(circle, rgb(30 56 106) 0%, rgb(4 15 46) 100%); */
    /* --body-bg: radial-gradient(circle, rgb(30 56 106) 0%, rgb(16 28 61) 70%, rgb(4 15 46) 100%); */
    /* --body-bg: radial-gradient(circle, rgb(16 34 71) 0%, rgb(12 23 53) 70%, rgb(4 13 40) 100%); */
    --body-bg: #0a131f;
    --body-quiet-color: #e0e0e0;
    --body-loud-color: #ffffff;

    --breadcrumbs-link-fg: #e0e0e0;
    --breadcrumbs-bg: var(--primary);

    --link-fg: #81d4fa;
    --link-hover-color: #4ac1f7;
    --link-selected-fg: #6f94c6;

    --hairline-color: #272727;
    --border-color: #353535;

    --error-fg: #e35f5f;
    --message-success-bg: #006b1b;
    --message-warning-bg: #583305;
    --message-error-bg: #570808;

    /* --darkened-bg: #212121; */
    /* --darkened-bg: #122134; */
    --darkened-bg: #141c2b;
    --selected-bg: #1b1b1b;
    --selected-row: #00363a;

    --close-button-bg: #333333;
    --close-button-hover-bg: #666666;
}

html[data-theme="dark"] {
    --primary: #264b5d;
    --primary-fg: #f7f7f7;

    --body-fg: #eeeeee;
    /* --body-bg: #121212; */
    /* --body-bg: radial-gradient(circle, rgb(30 56 106) 0%, rgb(4 15 46) 100%); */
    /* --body-bg: radial-gradient(circle, rgb(30 56 106) 0%, rgb(16 28 61) 70%, rgb(4 15 46) 100%); */
    /* --body-bg: radial-gradient(circle, rgb(16 34 71) 0%, rgb(12 23 53) 70%, rgb(4 13 40) 100%); */
    --body-bg: #0a131f;
    --body-quiet-color: #e0e0e0;
    --body-loud-color: #ffffff;

    --breadcrumbs-link-fg: #e0e0e0;
    --breadcrumbs-bg: var(--primary);

    --link-fg: #81d4fa;
    --link-hover-color: #4ac1f7;
    --link-selected-fg: #6f94c6;

    --hairline-color: #272727;
    --border-color: #353535;

    --error-fg: #e35f5f;
    --message-success-bg: #006b1b;
    --message-warning-bg: #583305;
    --message-error-bg: #570808;

    /* --darkened-bg: #212121; */
    /* --darkened-bg: #122134; */
    --darkened-bg: #141c2b;
    --selected-bg: #1b1b1b;
    --selected-row: #00363a;

    --close-button-bg: #333333;
    --close-button-hover-bg: #666666;
}

/* THEME SWITCH */
.theme-toggle {
    cursor: pointer;
    border: none;
    padding: 0;
    background: transparent;
    vertical-align: middle;
    margin-inline-start: 5px;
    margin-top: -1px;
}

.theme-toggle svg {
    vertical-align: middle;
    height: 1rem;
    width: 1rem;
    display: none;
}

/*
Fully hide screen reader text so we only show the one matching the current
theme.
*/
.theme-toggle .visually-hidden {
    display: none;
}

html[data-theme="auto"] .theme-toggle .theme-label-when-auto {
    display: block;
}

html[data-theme="dark"] .theme-toggle .theme-label-when-dark {
    display: block;
}

html[data-theme="light"] .theme-toggle .theme-label-when-light {
    display: block;
}

/* ICONS */
.theme-toggle svg.theme-icon-when-auto,
.theme-toggle svg.theme-icon-when-dark,
.theme-toggle svg.theme-icon-when-light {
    fill: var(--header-link-color);
    color: var(--header-bg);
}

html[data-theme="auto"] .theme-toggle svg.theme-icon-when-auto {
    display: block;
}

html[data-theme="dark"] .theme-toggle svg.theme-icon-when-dark {
    display: block;
}

html[data-theme="light"] .theme-toggle svg.theme-icon-when-light {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    color: var(--body-fg);
    background-color: var(--body-bg);
}

:root {
    --header-bg: #6d5419;
    --primary: #6d5419 !important;
    --button-hover-bg: #a58438;
    --link-fg: #a58438;
    --link-hover-color: white;
}

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

.anchor-clear {
    text-decoration: none;
    color: inherit;
}

a.board-title h3{
    transition: all 0.2s;
}

a.board-title:hover h3 {
    color: #6d5419;
}

#container > header {
    flex-shrink: 0;
}

#content {
    position: relative;
}

.custom-select {
    height: auto;
    font-size: 1.5em;
    width: 100%;
}

/* #container {
    overflow: hidden;
} */

.content {
    outline: none;
}

button {
    line-height: normal
}

a:focus {
    text-decoration: none;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.options-table {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 700px;
    flex-direction: column;
    gap: 1rem;
}

a.options-table-option {
    width: 100%;
    padding: 10px 20px;
    background: white;
    border-radius: 5px;
    color: black;
    transition: 0.3s all;
}

a.options-table-option::after {
    content: '';
    opacity: 0;
    width: 98%;
    position: absolute;
    bottom: 0;
    left: 1%;
    box-shadow: 0 1px 9px 2px #ffffff;
    transition: 0.3s all;
}

a.options-table-option:hover::after {
    opacity: 1;
}

a.options-table-option:hover {
    transform: translateY(-5px);
}

#user-tools {
    color: white;
}

#header {
    /* background-color: #6d5419; */
    background-color: #07163d;
    box-shadow: 0 0 7px 1px #070e20;
}

.logo {
    height: 40px;
    margin-right: 5px;
}

.container {
    max-width: 1400px;
}

.model-table,
.update-table {
    width: 100%;
    max-width: 1600px;
    transition: all 0.3s;
    overflow-x: overlay;
    box-shadow: 0 2px 8px 1px #040404;
    border-radius: 10px;
    position: relative;
}

.model-table {
    border: 1px solid #212121;
}

.logs-wrapper {
    width: 100%;
    max-width: 1600px;
    transition: all 0.3s;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.update-table {
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

a.complaint-back {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: white;
    transition: all 0.2s;
}

.complaint-back:hover {
    color: #6d5419;
}

.model-table tr {
    transition: all 0.2s;
}

.model-table th {
    padding: 15px 10px;
}

.model-table th a,
.model-table td a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.model-table a {
    color: white;
}

.model-table a:hover {
    color: none;
}

.list-table-th {
    text-align: center;
    vertical-align: middle;
}

.model-table tr:hover {
    /* background-color: #6d541875; */
    background-color: #2c3d5a;
}

.model-table td a {
    padding: 20px;
}

.model-table td:not([type='checkbox']) {
    height: 1px;
    padding: 0;
    border: 0;
    min-width: 120px;
}

.model-table td[type='checkbox'] {
    vertical-align: middle;
    border: 0;
    min-width: 50px;
}

.model-table td[type='checkbox'] input {
    cursor: pointer;
    width: 17px;
    height: 17px;
    accent-color: var(--button-hover-bg);
}

button.hidden-delete-submit {
    margin: 0;
    line-height: normal;
    display: none;
}

input.text-input {
    border: 1px solid #6c757d;
    color: white;
    border-radius: 20px;
    padding: 6px 15px;
    /* background-color: black; */
    margin: 0;
}

input.text-input:focus,
input.text-input:focus-visible,
input.text-input:focus-within {
    color: rgb(255, 255, 255);
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

input.text-input::placeholder {
    color: rgb(185, 185, 185);
    opacity: 1;
}

input.text-input::-ms-input-placeholder {
    color: rgb(185, 185, 185);
}

.message-box {
    position: absolute;
    right: 0;
    white-space: nowrap;
    top: 0;
}

.message-value {
   display: none;
   margin-top: 1rem;
   padding-right: 1rem;
}

.success,
.error {
    background-color: #03960382;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.error {
    background-color: #8a1212;
}

.model-table td:not(:last-child) {
    border-right: 1px solid #39363654;
}

.model-table td.message-min-width {
    min-width: 175px;
}

thead th {
    text-transform: none;
    border: none;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.7rem !important;
}

.fs-3e {
    font-size: 3em !important;
}

.update-table .form-row input[type='text'],
.update-table .form-row input[type='email'],
.update-table .form-row select {
    width: 20em;
}

.update-table .form-row textarea {
    width: 610px;
}

.aligned .form-row input {
    flex: 1;
}

.sort-filter-holder {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.sorting-wrapper,
.filtering-wrapper {
    display: flex;
    gap: 0.5rem;
}

.btn {
    background-color: black;
    border-radius: 20px;
}

.btn.btn-danger,
.modal .btn-success {
    color: var(--bs-btn-color);
    background-color: var(--bs-btn-bg);
}

.btn.btn-danger:hover,
.modal .btn-success:hover,
.btn.btn-danger:focus {
    background-color: var(--bs-btn-hover-bg);
}

.btn.btn-warning {
    color: var(--bs-btn-bg);
}

.btn.btn-warning:hover {
    color: var(--bs-btn-hover-color);
}

.modal-content {
    color: black;
}

.modal-header {
    font-weight: 800;
    font-size: 1.2em;
}

.dropdown-menu {
    background-color: #575e65;
}

.dropdown-menu a {
    color: white;
}

.step-links a {
    vertical-align: middle;
}

.pagination {
    font-size: 1.2em;
}

.pagination span[class^="icon-"] {
    font-size: 1.4em;
}

.current {
    margin: 0 7px;
}

@media (max-width: 767px) {
    .options-table {
        width: 100%;
    }
    .update-table,
    .model-table,
    .logs-wrapper {
        position: static;
    }
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
}

.app-option {
    flex: 1 0 33%;
    padding: 1rem;
}

.input-holder {
    display: none;
}

.initial-input {
    display: block;
}

.create-codes-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.verifyBox span {
    font-size: 1.5em;
    font-weight: 700;
}

.verifyBox {
    margin-bottom: 2rem;
}

#twoRadioOptions {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.font-weight-500 {
    font-weight: 500;
}

.sub-heading {
    font-size: 0.4em;
    font-weight: 100;
}

.min-width-350 {
    min-width: 350px;
}

button.hidden-use-submit {
    margin: 0;
    line-height: normal;
    opacity: 0;
    visibility: hidden;
}

tr:nth-child(odd), .row-form-errors {
    /* background: black; */
    /* background: #1b2d48; */
    background: #1e2a3e;
}

.btn.btn-primary {
    color: white
}

.readonly-field {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #a0b9d9 !important;
    cursor: not-allowed !important;
    box-shadow: inset 0 0 5px rgba(10, 19, 31, 0.7) !important;
}

.greyed-row a,
.greyed-row td {
    text-decoration: line-through;
  color: #8c8c8c;              /* just faded enough */
  background-color: #1e1e1e;
}