html {
    font-size: 18px !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 60px;
}

main {
    flex: 1;
    /* Push footer down */
}

.fs-bigger {
    font-size : 110%;
}

/* Text */
.text-justify {
    text-align:justify;
}

.text-shadow {
    text-shadow: 2px 2px rgba(0,0,0,0.5);
}

.navbar-center-icons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.navbar-center-icons a {
    color: white;
    text-decoration: none;
}

.edit-container {
    background-color : #ffffff;
}

/* Paragraph text */
.bp-p1 {
    font-size : 125%;
}

.bp-p2 {
    font-size : 115%;
}

.bp-p3 {
    font-size : 105%;
}

.input-choice {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #333;
    padding: 8px 16px;
    text-align: center;
}

/* Style when checked */
.btn-check:checked + .input-choice {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Hover state */
.input-choice:hover {
    background-color: #e6e6e6;
}

/* Rounded corners */
.btn-group .input-choice:first-of-type {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-group .input-choice:last-of-type {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.btn-choice {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #333;
    padding: 8px 16px;
}

/* Data Stuff */
.bp-sidebar {
    background-color: #111133;
    padding: 1rem;
    min-width: 40px; /* adjust as needed */
}

.bp-sidelabel {
    display: inline-block;
    font-size: 150%;
    font-weight: bolder;
    color: #ffffff;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

.data-map {
    background-image: url("/Images/System/Data-Map.jpg");
    background-size: cover;
    background-position: center center;
    position : relative;
}

.datamap-cell {
    position: fixed;
    max-width : 40vw;
    max-height : 70vh;
    background-color: rgba(0,0,0,0.75);
    transition: all 0.4s ease; /* smooth size + font animation */
    overflow-y: scroll;
}

.datamap-cell .expanded {
    padding: 6rem 8rem; /* make it bigger */
    font-size: 1.5rem;
    background-color: #0d6efd; /* you can change color too */
 }

.xdatamap-row {
    background: linear-gradient(#eeeeee,#dadada);
}

.datamap-row:hover {
    background : #111141;
    color:#ffffff!important;
}

/* Page message */
.page-message {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    top: 20%;
    background-color: red;
    color: #eeeeee;
    padding: 2rem;
}

.page-message-content {
    font-size: 2rem;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
    /* Highlight on hover */
}

.typewriter::after {
    content: "_";
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}