html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.aside-menu ul {
    list-style: none;
    padding-left: 15px;
    margin: 0;
}

.aside-menu .submenu {
    display: none;
    padding-left: 20px;
}

.toggle-arrow {
    float: right;
}

/* Base nav link */
.nav-link {
    transition: all 0.3s ease;
}

    /* Active state: collapsed mode (icon only) */
    .nav-link .icon-wrapper {
        transition: all 0.3s ease;
    }

/* Active state: expanded mode */
#sidebar .nav-link.active {
    background-color: #3b82f6; /* Tailwind blue-500 */
    color: white;
    margin: 0px 5px;
}

    #sidebar .nav-link.active .icon-wrapper {
        background-color: transparent; /* remove box, full width is already highlighted */
    }


/* CSS for showing the animated linked in post list table */
@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }

    100% {
        background-position: 500px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #c3c3c3 25%, #c7c7c7 50%, #d3d3d3 75%, #d7d7d7 100%);
    background-size: 800px 100%;
    animation: shimmer 1.6s infinite linear;
}