body {
    background-color: rgba(245, 245, 245, 1.0);
}

h1.mainHeader {
    font-size: 1.2em;
    font-weight: 500;
}

.svg-button {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}
    

    .svg-button img {
        display: block;
        width: 120px;
        height: auto;
        filter: drop-shadow(1em 1em 16px rgba(0, 0, 0, 0.0));
    }
    .svg-button:hover img,
    .svg-button:focus-visible img {
        filter: drop-shadow(0 0 6px rgba(0, 200, 255, 1)) drop-shadow(0 0 10px rgba(0, 140, 255, 0.9));
    }
    .svg-button:focus-visible {
        outline: 2px solid white;
        outline-offset: 4px;
    }

.crItem {
    max-width: 800px;
    max-height: 800px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0em 0.1em 16px rgba(0, 0, 0, 0.0));
    /*border-radius: 1em;*/
    /*padding: 1em;*/
}

.smallerText {
    font-size: 0.8em;
}

.shadowedText {
    color: black;
    filter: drop-shadow(0.1em 0.1em 0.1em rgba(255, 255, 255, 0.95));
}

img.shadowed {
    filter: drop-shadow(0.1em 0.1em 0.2em rgba(0, 0, 0, 0.2));
}
img.steamShadowed {
    filter: drop-shadow(0.1em 0.15em 0.1em rgba(0, 0, 0, 0.5));
}

.dropShadow {
    border-radius: 8px;
    box-shadow: 0px 2px 1em rgba(0, 0, 0, 0.2);
}
.dropShadowWhite {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

.crNav {
    /*background-color: white;*/
    color: red;
}

.carousel-control-prev,
.carousel-control-next {
    width: 4rem; /* avoids full huge clickable overlay feeling */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 55%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.65);
    background-size: 65% 65%;
    box-shadow: 2px 0.1em 0.3em rgba(255, 255, 255, 0.8);
}

.linkOverGreen {
    color: rgba(235, 235, 210, 1.0);
    font-weight: bold;
    text-decoration: none;
}
.linkOverGreen:hover {
    color: rgba(255, 255, 190, 1.0);
    font-weight: bold;
    text-decoration: underline;
}

.headerBg {
    background-color: rgba(170, 195, 230, 1.0);
    color: white;
    border-bottom: solid 2px rgba(13, 153, 255, 0.5);
}

.footerBg {
    background-color: rgba(113, 169, 113, 1.0);
    color: white;
    border-top: solid 2px rgba(13, 163, 255, 0.5);
}

.actionMenuSimple {
    width: 100%;
}

.monitorPlate {
    background-color: rgba(0,0,0,0.1);
    border: 1px solid black;
    box-shadow: inset 0 0 0 2px #bbb;
}

.meter {
    --value: 0; /* 0–100 */
    --height: 22px;
    /*--radius: 8px;*/
    position: relative;
    height: var(--height);
    width: 64px; /* set to 100% if you want it fluid */
    background: #eee;
    /*border-radius: var(--radius);*/
    overflow: hidden;
    box-shadow: inset 0 0 0 2px #ddd;
}

.meter__bar {
    height: 100%;
    width: calc(var(--value) * 1%);
    background: #ffd400; /* yellow */
    position: absolute;
    top: 0;
    left: 0;
    /*transition: width 240ms ease;*/
}

/* Optional: show text value centered on top */
.meter__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 500 12px/1.2 system-ui, sans-serif;
    color: #333;
    user-select: none;
    pointer-events: none;
}

@media (prefers-contrast: more) {
    .meter {
        box-shadow: inset 0 0 0 1px #999;
    }

    .meter__label {
        color: #111;
    }
}

.charButton {
    margin: 8px;
    width: 64px;
    height: 64px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    cursor: pointer;
}

.charButtonDisabled {
    margin: 8px;
    width: 64px;
    height: 64px;
    display: inline-block;
    cursor: pointer;
    border: 3px solid black;
}

.charDisplay {
    position: relative;
    margin: 8px;
    width: 256px;
    height: 256px;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid black;
}

    .charDisplay img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* fill area, preserve aspect ratio */
        object-position: center;
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.dt-info {
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 0.5em;
    text-align: end;
}

ul.pagination {
    justify-content: end;
}

li.dt-paging-button > button.page-link {
    font-size: 1.0em;
}

li.dt-paging-button > button.page-link {
    background-color: rgba(0, 0, 0, 0.025);
}

li.dt-paging-button.disabled > button.page-link {
    background-color: rgba(0, 0, 0, 0.15);
}

li.dt-paging-button.active > button.page-link {
    background-color: blue !important;
    border-color: lightblue;
    color: white;
    font-weight: bold;
}

.dt-paging {
    font-size: 0.8em;
    text-align: right !important;
}

    .dt-paging .paginate_button {
        font-size: 16px; /* Change font size */
        padding: 5px 10px; /* Adjust padding for better button size */
    }

        .dt-paging .paginate_button.current {
            background-color: #007bff; /* Blue background for active page */
            color: white;
            border-radius: 4px;
        }

div.dt-paging > li.active > button {
    background-color: red !important;
    border-color: red;
    color: white;
}
