main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


.floating-menu {
    position: sticky;
    top: 10px;
    /* This offsets the card slightly from the top. Adjust as needed. */
    z-index: 1000;
    /* To ensure it's above other content. */
}

/* Container for the menu */
.menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    /* Rounded corners, if desired */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Optional shadow for depth */
    overflow: hidden;
    /* Ensures inner items don't spill out */
}

/* Individual menu items */
.menu-list li {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
    background-color: #ffffff;
    /* Background color of non-active items */
    transition: background-color 0.3s;
    /* Smooth transition for hover effects */
}

.menu-list li:last-child {
    border-bottom: none;
    /* Removes border from the last item */
}

.menu-list li a {
    text-decoration: none;
    font-weight: 500;
    /* Slightly bold text */
    color: #333;
    /* Text color of non-active items */
    display: block;
    /* Makes the entire list item clickable */
    transition: color 0.3s;
    /* Smooth transition for hover effects */
}

/* Hover effects */
.menu-list li:hover,
.menu-list li:hover a {
    background-color: #f5f5f5;
    /* Slightly different background on hover */
    color: #007bff;
    /* Text color on hover */
}

/* Active item styling */
.menu-list li.active,
.menu-list li.active a {
    background-color: #007bff;
    /* Active item background color */
    color: #ffffff;
    /* Active item text color */
}

.light {
    opacity: 0.2;
    /* Barely see the text over the background */
}

.medium {
    opacity: 0.5;
    /* See the text more clearly over the background */
}

.heavy {
    opacity: 0.9;
    /* See the text very clearly over the background */
}

.white-text {
    color: white;
}


radio-highlight .active {
    background-color: #00ff62 !important; /* New highlight color */
    border-color: #0d642a !important; /* New border color */
}
.radio-highlight .active:hover {
    background-color: #00ff62 !important; /* Darker on hover */
    border-color: #0d642a !important;
}

/* Chip look shared by all variants */
.badge-chip{padding:.35em .6em;border-radius:9999px;border:1px solid transparent;font-weight:600;}

/* Outline variants (transparent bg + colored border/text) */
.badge-outline-danger{color:#dc3545;border-color:#dc3545;background:transparent;}
.badge-outline-info{color:#0dcaf0;border-color:#0dcaf0;background:transparent;}
.badge-outline-warning{color:#fd7e14;border-color:#fd7e14;background:transparent;}
.badge-outline-success{color:#198754;border-color:#198754;background:transparent;}

/* Optional “soft” pastel variants (light bg + subtle border) */
.badge-soft-danger{color:#842029;background:#f8d7da;border-color:#f1aeb5;}
.badge-soft-info{color:#055160;background:#cff4fc;border-color:#9eeaf9;}
.badge-soft-warning{color:#664d03;background:#fff3cd;border-color:#ffe69c;}
.badge-soft-success{color:#0f5132;background:#d1e7dd;border-color:#a3cfbb;}
