body {
    height: 100vh;
    width: 100vw;
    color: white;
}

:root {
    /* --main-font-size: 1.6vh; */
    --color-darkest: #202020;
    --color-darker: #262727;
    --color-dark: #2b2d31;
    --color-bright: #313338;
    --color-brighter: #3b3f45;
    --color-brightest: #505862;
    --font-color: #ffffff;
    /* --icon-size: 1.25vw; */
}

a {
    cursor: pointer;
}

#logo {
    width: 100%;
}

#logo-container {
    background-color: var(--color-dark);
    box-shadow: 0px 5px 5px -5px rgba(0,0,0,0.5);
    z-index: 2;
}

#top-bar {
    background-color: var(--color-bright);
    box-shadow: -5px 5px 5px -5px rgba(0,0,0,0.5);
    z-index: 1;
}

#navbar-container {
    background-color: var(--color-dark);
}

#main {
    background-color: var(--color-bright);
}

.h-8 {
    height: 8% !important;
}

.h-92 {
    height: 92% !important;
}

.w-15 {
    width: 15%;
}

.w-30 {
    width: 30% !important;
}

.w-85 {
    width: 85%;
}

.w-90 {
    width: 80% !important;
}

#user_avatar {
    font-size: 28px;
}

#user_control_dropdown_button {
    background-color: var(--color-bright) !important;
    border: none !important;
    font-size: 26px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#user_control_dropdown_menu {
    background-color: var(--color-dark);
}

#user_control_dropdown_menu > a {
    color: white;
}

.card {
    background-color: var(--color-darker);
    border: none;
    border-radius: 10px;
}

.vr {
    padding: 0;
    flex-shrink: 0;
    width: 3px;
    background-color: var(--color-brighter);
    opacity: 1;
    height: 2rem;
    border-radius: 5px;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

#navbar_hr {
    width: 100% !important;
    /* border: 1.5px solid var(--color-brightest); */
}

.tiny {
    font-size: 10px;
    font-weight: bold;
    color: var(--color-brightest);
}

.status_indicator {
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: var(--color-bright);
}

.status_green {
    background-color: green;
}

.status_yellow {
    background-color: yellow;
}

.status_red {
    background-color: red;
}

.status_white {
    background-color: white;
}

#login_form_container {
    background-color: var(--color-darkest);
    box-shadow: 7.5px 7.5px 10px 0px rgba(0,0,0,0.5);
    border-radius: 5px;
    width: 350px;
}

.enabled:hover {
    background-color: var(--color-darker) !important;
    cursor: pointer;
}

.disabled {
    background-color: var(--color-darkest) !important;
    color: var(--color-brighter);
}

.disabled > div > a {
    cursor: default !important;
}

.error {
    background-color: red;
}

.success {
    background-color: green;
}

.dark_container {
    background-color: var(--color-dark);
    border-radius: 10px;
}

.text-success {
    color: green !important;
}

.text-failed {
    color: red !important;
}

.popup-container {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.popup {
    background-color: var(--color-darker);
    white-space: nowrap;
    border-radius: 10px;
    width: 30vw;
}

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

@keyframes rotating {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
}

.loading_spinner {
    width: 2rem;
    animation: rotating 1s linear infinite;
    position: absolute;
}

.toast-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.toast {
    --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.95) !important;
}

.logfilter {
    border: none;
    background-color: var(--color-darker);
    border-radius: 5px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hidden {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
} 

.text-danger {
    text-wrap: wrap !important;
}

.accordion-button:not(.collapsed) {
    background-color: #212529 !important;
    color: white;
    box-shadow: none;
    border-radius: 5px;
}

.accordion-item {
    border-radius: 5px;
}

.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-radius: 5px !important;
}

.accordion-item:first-of-type > .accordion-header .accordion-button {
    border-radius: 5px !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-body {
    background-color: #2B2D31 !important;
    border-radius: 5px;
}

.accordion-header {
    background-color: var(--color-darkest);
    border-radius: 5px;
}

.accordion-item {
    border: none;
}

.instanceSelector {
    border: none;
    border-radius: 5px;
    background-color: #2B2D31;
    padding: 0.65rem !important;
}

@media only screen and (max-width: 1204px) {

    .autorunner_stats {
      display: none;
    }

}