:root {
    --minierp-sidebar: 240px;
}

body {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

#sidebar {
    font-size: 14px;
}

#sidebar .list-group-item {
    border-radius: 0;
    padding: .6rem 1rem;
}

#sidebar .list-group-item.active {
    background: #eef4ff;
    color: #1d4ed8;
    font-weight: 600;
    border-left: 3px solid #1d4ed8;
}

.card {
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.card-header {
    background: #fff;
    font-weight: 600;
}

.table > :not(caption) > * > * {
    padding: .5rem .65rem;
    vertical-align: middle;
}

.table thead th {
    white-space: nowrap;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
}

.stat-card .bi {
    font-size: 1.5rem;
    opacity: .85;
}

.form-label {
    font-weight: 500;
    margin-bottom: .25rem;
}

.required::after {
    content: " *";
    color: #dc3545;
}

.table-responsive {
    overflow-x: auto;
}

.breadcrumb {
    font-size: 13px;
}

/* 打印：后台单据/对账单 */
@media print {
    .no-print,
    #sidebar,
    .navbar {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    main {
        padding: 0 !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
    }
}
