body {
    color: var(--color-standard-white);
    background-color: var(--color-standard-background);
    display: none;
    min-height: 100vh;
}

.main {
    min-height: calc(100vh - 100px)
}

a {
    text-decoration: none;
}

.nolink {
    color: var(--color-standard-white);
}

.nolink:hover {
    color: var(--color-standard-white);
}

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13,110,253;
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 25,135,84;
    --bs-info-rgb: 13,202,240;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 33,37,41;
    --bs-white-rgb: 255,255,255;
    --bs-black-rgb: 0,0,0;
    --bs-body-color-rgb: 33,37,41;
    --bs-body-bg-rgb: 255,255,255;
    --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-2xl: 2rem;
    --bs-border-radius-pill: 50rem;
    --bs-link-color: #0d6efd;
    --bs-link-hover-color: #0a58ca;
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;

    --color-standard-light-white: rgb(236, 236, 236);
    --color-standard-white: #D0D2D6;
    --color-standard-grey: #697583;
    --color-standard-gray: var(--color-standard-grey);
    --color-standard-background: #161D31;
    --color-standard-blue: #7367F0;
    --color-standard-card: #283046;
    --color-standard-card-hover: #1e2536;
    --color-standard-card-shadow: #2c344f;
    --color-standard-card-popout-border: #2c344f;
    --color-standard-card-popout-title: #95979c;
    --color-standard-card-hr: #606983;
    --color-standard-card-card: #2d384d;
    --color-standard-grey: #B4B7BD;
    --color-standard-error-background: rgba(201, 67, 67, 0.4);
    --color-standard-error-text: rgb(253, 47, 47);
    --color-standard-warning-background: rgba(224, 224, 5, 0.493);
    --color-standard-warning-text: rgba(255, 255, 0, 0.826);
    --color-standard-success-background: rgba(7, 205, 83, 0.623);
    --color-standard-success-text: rgb(46, 247, 32);
    --color-standard-link: #0d6efd;
    --color-standard-header-link: #9ca2b6;
    --color-input-background-light: hsla(0,0%,100%,0.2);
    --color-input-background-dark: #343c56;
    --color-input-border: #404656;
    --color-input-focus: #7367F0;
    --color-input-submit-button-background: #7367F0;
    --color-input-submit-button-hover: #655bd8;
    --color-search-result-background: rgb(48, 44, 44);
    --color-search-result: white;
    --color-standard-button-background: var(--color-input-submit-button-background);
}

.white-text {
    color: var(--color-standard-white);
}

.blue-text {
    color: var(--color-standard-blue)
}

.gray-text,
.grey-text {
    color: var(--color-standard-gray);
}

.dark-background {
    background-color: var(--color-standard-background)
}

input {
    background-color: var(--color-input-background);
    color-scheme: dark;
    border: 1px solid var(--color-input-border);
    border-radius: 0.3rem!important;
    background-color: var(--color-input-background-dark);
    display: inline;
}

input:focus, textarea:focus {
    outline: none;
    border: 1px solid var(--color-input-focus);
}

label {
    padding-bottom: 0.3rem;
}

.input-group {
    padding: 0.7rem 0;
}

.submit-button {
    background-color: var(--color-input-submit-button-background);
    border: 1px solid var(--color-standard-card);
    border-radius: 0.7rem;
    padding: 0.7rem;
    margin: 0.8rem 0 0 0;
    width: 60%;
    float: left;
    color: var(--color-standard-light-white);
    transition: all 0.2s;
}

.submit-button:hover {
    box-shadow: 0 8px 25px -8px #7367f0;
}

.error-message {
    background-color: var(--color-standard-error-background);
    color: var(--color-standard-error-text);
}

.warning-message {
    background-color: var(--color-standard-warning-background);
    color: var(--color-standard-warning-text);
}

.success-message {
    background-color: var(--color-standard-success-background);
    color: var(--color-standard-success-text);
}

.error-message,
.warning-message,
.success-message {
    width: 100%;
    padding: 0.4rem 0.8rem;
    text-align: left;
    border-radius: 0.4rem;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

a:hover {
    color: var(--bs-link-color);
}

.pointer {
    cursor: pointer;
}

.no-link {
    text-decoration: none;
    color: var(--color-standard-blue);
}

.snackbar {
    position: fixed;
    width: 100vw;
    z-index: 10000;
}

.toast-container {
    display: flex;
    justify-content: center;
    width: 100vw;
    position: fixed!important;
}

.toast {
    min-width: 350px;
    background-color: #333;
    border-radius: 2px;
    width: auto;
}

/*.toast-close::before {
    content: attr(data-content);
    padding: attr(data-padding);
}*/

.toast-close {
    background-color: var(--data-background);
    padding: 10px 0px;
    border-radius: 2px;
    font-size: 1.05rem;
    height: 100%;
    overflow: visible!important; /* KEEP THIS */
    text-align: center;
}
.toast-close.closable {
    cursor: pointer;
}

.toast-close span {
    opacity: 0;
}

.toast-content {
    padding: 10px 10px 10px 2px;
    border-radius: 2px;
    font-size: 0.95rem;
    height: 100%;
}

.toast-close,
.toast-content {
    display: inline-block;
}

.nobutton {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.hide,
.hidden {
    display: none!important;
}

.flex-br,
.flex-linebreak {
    width: 100%
}

.input-notice {
    font-weight: 350;
    font-size: 14px;
    padding-top: 5px;
}

.flex-fill {
    flex: 1 1 auto;
}

.no-margin {
    margin: 0!important;
}

.no-input,
.no-input:hover,
.no-input:focus,
.noinput,
.noinput:hover,
.noinput:focus {
    all: unset;
}

.input-container {
    background-color: var(--color-input-background-dark);
    color: var(--color-standard-white);
    padding: 8px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    opacity: 0.85;
    height: 25px;
}

.input-container img.icon {
    margin: 0 8px 0 4px;
    height: 20px;
}

.input-container img.eye {
    margin: 0 4px 0 8px;
    height: 20px;
    justify-self: flex-end;
    cursor: pointer;
}

.input-container input:hover,
.input-container input:focus,
.input-container input {
    height: 100%;
    padding: 0;
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

::-webkit-scrollbar-track {
    background-color: #b46868;
} /* the new scrollbar will have a flat appearance with the set background color */

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); 
} /* this will style the thumb, ignoring the track */

::-webkit-scrollbar-button {
    background-color: #7c2929;
} /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */

::-webkit-scrollbar-corner {
    background-color: black;
} /* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */

.justify-center {
    display: flex;
    justify-content: center;
}
.align-center {
    display: flex;
    align-items: center;
}
.all-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-button {
    background-color: #ea2424!important;
}
.reset-button:hover {
    background-color: #e10d0d!important;
}

.save-button {
    background-color: #25980b!important;
    color: var(--color-standard-white)
}
.save-button:hover {
    background-color: #348e20!important
}

button.custom-button,
button.reset-button,
button.save-button {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}
button.reset-button img,
button.save-button img,
.custom-button img {
    width: 18px;
    padding-right: 5px;
}

.save-buttons {
    display: flex;
    justify-content: flex-end;
}

.custom-button {
    width: unset!important; 
    margin-top: 0;
    background-color: var(--color-standard-button-background);
    background-color: var(--background);
    color: var(--color-standard-white);
    color: var(--color);
}
.custom-button:hover {
    background-color: var(--background-hover)!important;
}
.fit-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This ensures the image maintains its aspect ratio */
}
select {
    color: white; /* Text color for select */
    background-color: var(--color-input-background-dark); /* Background color for select */
    border: 1px solid var(--color-input-border); /* Border color for select */
    border-radius: 5px;
  }

  select option {
    background-color: var(--color-standard-card); /* Background color for options */
    color: white; /* Text color for options */
  }
  /* Style the selected option */
select option:checked {
    background-color: var(--color-standard-card-hover); 
}

/* Style options on hover */
option:focus {
    background-color: var(--color-standard-card-hover) !important; /* Background color for hovered options */
  }
select:focus {
    outline-color: var(--color-standard-blue);
    outline-style: ridge;
    outline-width: 0.1px;
}