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;
}

.logo-img {
    height: 32px;
    width: auto;
    max-width: 180px;
    vertical-align: middle;
}

.navbar-brand {
    margin-top: 3px;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

@media (min-width: 905px) {
    .logo-img {
        margin-left: 0;
    }
}

.btn-logout {
    margin-top: -1px;
}

.toggle-parts {
    background: transparent;
    border: none;
    color: #6c757d;
    transition: transform 0.2s;
}

    .toggle-parts:focus {
        box-shadow: none;
        outline: none;
    }

    .toggle-parts .bi {
        font-size: 1.2rem;
    }

.task-item {
    border-radius: 0.25rem;
    overflow: hidden;
}

.task-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.parts-container-hidden {
    display: none;
}

#recent-orders-grid {
    position: relative;
}

#recent-orders-grid.is-loading {
    opacity: 0.55;
    transition: opacity 150ms ease-in-out;
    pointer-events: none;
}

#recent-orders-grid .recent-orders-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#recent-orders-grid.is-loading .recent-orders-loading {
    display: flex;
}

@keyframes recent-orders-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#refresh-recent-orders.is-loading .bi {
    animation: recent-orders-spin 0.9s linear infinite;
}