

body {
    background: #232323;
}

footer {
    color: #adadad;
    text-align: center;
}

    footer a {
        color: #dc8a00;
    }

        footer a:hover {
            color: #eebb63;
            text-decoration: none;
        }

    footer hr {
        background: #404040;
    }

@media (max-width: 900px) {
    footer {
        text-align: center;
    }

        footer .float-right {
            display: block;
            margin-top: 15px;
            width: 100%;
        }
}

#layout {
    padding-top: 55px;
}

.container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    top: 0;
    overflow: hidden;
}

    .container section {
        max-width: 100%;
        /*  margin: auto;
*/
    }

        .container section .content-section {
            margin: auto;
            width: 80%;
            max-width: 1000px;
        }

.page-header {
    margin-bottom: 40px;
}

.content-section h1 {
    border-bottom: 1px solid #dc8a00;
    padding-bottom: 10px;
    display: inline-block;
    width: auto;
    font-weight: 700;
    font-size: 24px;
}

.content-section {
    background: #232323;
    color: white;
    padding: 20px 0;
    overflow: visible;
}

a,
.page-link {
    color: #dc8a00;
}

th,
td {
    color: white;
}

html,
body,
#root {
    height: 100% !important;
}

pre {
    background-color: #141414;
    width: 100%;
    margin: 10px 0;
    padding: 20px;
    font-size: 85%;
    line-height: 1.45;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 5px;
    color: gray;
}

.pre-select {
    user-select: all;
}

.markdown-body img {
    max-width: 100%;
}

video {
    max-width: 100%;
}

.dropdown-menu {
    min-width: 100%;
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown {
    display: flex;
}

    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

.icon {
    width: 30px;
    height: 30px;
}

.animated {
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    z-index: 9999;
}

.loader {
    -webkit-animation-name: horizontalProgressBar;
    animation-name: horizontalProgressBar;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    background: #dc8a00;
    height: 3px;
    left: 0;
    position: fixed;
    top: 0;
    width: 0;
    z-index: 9999 !important;
}

@keyframes horizontalProgressBar {
    0% {
        width: 0;
    }

    25% {
        width: 22%;
    }

    50% {
        width: 55%;
    }

    75% {
        width: 83%;
    }

    100% {
        width: 100%;
    }
}

@-webkit-keyframes horizontalProgressBar /* Safari and Chrome */ {
    0% {
        width: 0;
    }

    25% {
        width: 22%;
    }

    50% {
        width: 55%;
    }

    75% {
        width: 83%;
    }

    100% {
        width: 100%;
    }
}

.recharts-tooltip-wrapper,
.recharts-tooltip-cursor,
.recharts-default-tooltip,
.recharts-tooltip-item {
    border: none !important;
    background-color: black !important;
    color: white !important;
}

.list-group-small,
.list-group-small .list-group-item {
    font-size: medium;
}

    .card-header,
    .list-group-small .list-group-item {
        padding: 10px;
    }

    .icon-small,
    .list-group-small .icon {
        width: 20px;
        height: 20px;
    }

    .list-group-small .badge {
        font-size: x-small;
        font-weight: normal;
    }

.list-group-item {
    background: #141414 !important;
}

.list-group-item-danger {
    color: #fff !important;
    background: #dc3545 !important;
}

.page-link,
.pagination {
    background: #141414 !important;
    border: none !important;
}

    .list-group-item:hover,
    .list-group-item:active,
    .list-group-item-action:hover,
    .list-group-item-action:active,
    .page-link:hover,
    .page-link:active {
        background: #101010 !important;
    }

.list-group-item-danger:hover,
.list-group-item-danger:active,
.list-group-item-danger:focus {
    background: #c82333 !important;
}

.btn.disabled {
    cursor: default;
}

.user-select-none {
    user-select: none !important;
}

.custom-file-label {
    background: none;
    color: white;
    border: none;
}

.alert-dark {
    border-color: #bcbebf;
    background: #232323;
    color: white;
}

.card.dark-card {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

    .card.dark-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
    }

    .card.dark-card .card-header {
        background-color: #1e1e1e;
        color: white;
        padding: 10px;
        border-bottom: 1px solid #2a2a2a;
        font-size: 14px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .card.dark-card .card-body {
        color: white;
        padding: 20px;
        margin-top: 0;
    }

    .card.dark-card .card-title {
        font-size: 18px;
        font-weight: 600;
    }

    .card.dark-card .card-text {
        color: #adadad;
        font-size: 14px;
    }

    .card.dark-card a.btn-outline-info {
        color: #dc8a00;
        border-color: #dc8a00;
    }

        .card.dark-card a.btn-outline-info:hover {
            background-color: #dc8a00;
            color: #1e1e1e;
        }

.octicon {
    display: none;
}

#navbar-check-box {
    display: none;
}

    #navbar-check-box:checked ~ .collapse {
        display: block;
    }

nav {
    height: 55px;
    background: #1e1e1e;
    position: relative;
}

.navbar-nav .nav-link {
    font-size: 0.8em;
    margin: 8px;
    color: white !important;
    vertical-align: bottom;
}

    .navbar-nav .nav-link:hover {
        color: #dc8a00 !important;
    }

.navbar-nav .nav-icon {
    font-size: 0.8em;
    margin: 8px 5px;
}

.navbar-nav button {
    font-size: 0.8em;
    padding: 4px 10px;
    background: #434343;
    border: none;
    margin: 10px 0 10px 20px;
    vertical-align: bottom;
    height: 31px;
}

    .navbar-nav button:active {
        background: #1c1c1c !important;
        outline: none !important;
        border: none !important;
        box-shadow: none;
    }

    .navbar-nav button:focus {
        outline: none !important;
        border: none !important;
        box-shadow: none;
    }

    .navbar-nav button:hover {
        background: #dc8a00;
    }

.navbar-nav .dropdown-menu {
    background: #1e1e1e;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
}

    .navbar-nav .dropdown-menu .dropdown-item {
        color: white;
        padding: 10px;
    }

        .navbar-nav .dropdown-menu .dropdown-item:is(:hover, :focus) {
            color: #dc8a00;
            background: inherit;
        }

.navbar-light {
    border-bottom: 1px solid lightgray;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

/* 1080p Large displays */
@media (min-width: 1200px) {
    .navbar-nav .nav-link,
    .navbar-nav button,
    .navbar-nav .dropdown-menu {
        font-size: 0.8em;
    }

    .navbar-nav .nav-icon {
        font-size: 0.85em;
        vertical-align: top;
    }
}

/* 1440p Large displays */
@media (min-width: 2500px) {
    .navbar-nav .nav-link,
    .navbar-nav .nav-icon,
    .navbar-nav button,
    .navbar-nav .dropdown-menu {
        font-size: 1em;
    }
}

/* 4k Large displays */
@media (min-width: 3800px) {
    .navbar-nav .nav-link,
    .navbar-nav .nav-icon,
    .navbar-nav button,
    .navbar-nav .dropdown-menu {
        font-size: 1.2em;
    }
}

/* Hide the checkbox visually */
#navbar-check-box {
    display: none;
}

    /* Show navbar when checkbox is checked */
    #navbar-check-box:checked ~ nav .collapse {
        display: block !important;
    }

/* Hide by default on small screens */
@media (max-width: 990px) {
    nav .collapse {
        display: none;
    }
}

nav .collapse {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 990px) {
    #navbar {
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        background: #1e1e1e;
    }

    .navbar-nav button:hover {
        color: #dc8a00;
        background: none;
    }

    .navbar-brand img {
        margin-bottom: 5px;
    }

    #navbar .nav-item {
        border-top: 1px solid #3a3a3a;
        padding-left: 10px;
    }

    #navbar .ml-auto .nav-link {
        margin-left: 7px;
    }

    #navbar .nav-item a i {
        display: none;
    }

    #navbar .nav-item button {
        margin-bottom: 12px;
        margin-left: 5px;
    }

    .navbar-nav button {
        position: relative;
        right: 0;
        padding: 0;
        margin: 10px;
        top: 2px;
        -ms-transform: none;
        transform: none;
        background: inherit;
    }
}

.btn-outline-info {
    color: #dc8a00;
    border-color: #dc8a00;
}

script-card .card {
    transition: transform 0.2s ease;
}

    script-card .card:hover {
        transform: scale(1.03);
    }

definition-stat .chart-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    definition-stat .chart-container.show {
        max-height: 300px;
        opacity: 1;
    }

definition-stat canvas {
    width: 100% !important;
    height: 180px !important;
}

.rotate-icon {
    transition: transform 0.3s ease;
}

    .rotate-icon.rotate {
        transform: rotate(-90deg);
    }