/*----------------------------------------------------------------------------
 * Angels, Inc - /public/sidebar/badge.css
 * Version v1.0.0
 * Copyright(c) 2017-2026 Angels, Inc
 * Author: Jacques Deguest <jacques.deguest@angels-inc.com>
 * Created 2020/12/13
 * Modified 2026/10/05
 * All rights reserved.
 *
 * Permission to use, copy, modify,  and  distribute  this  software  and  its
 * documentation for any purpose is strictly forbidden. The name of the author
 * or the one of Angels, Inc may not  be  used  in  advertising  or  publicity
 * pertaining to distribution of the software without specific, written  prior
 * permission.
 *
 * THE AUTHOR AND ANGELS, INC DISCLAIMS ALL WARRANTIES  WITH  REGARD  TO  THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND  FITNESS;
 * IN NO EVENT SHALL AUTHOR  NOR  ANGELS,  INC  BE  LIABLE  FOR  ANY  SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,  NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE  OR
 * PERFORMANCE OF THIS SOFTWARE.
 *----------------------------------------------------------------------------*/
.sidebar-wrapper .badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.sidebar-wrapper .badge:empty {
  display: none;
}

.sidebar-wrapper .btn .badge {
  position: relative;
  top: -1px;
}

.sidebar-wrapper .badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.sidebar-wrapper .badge-primary {
  color: #fff;
  background-color: #007bff;
}

.sidebar-wrapper .badge-primary[href]:hover,
.sidebar-wrapper .badge-primary[href]:focus {
  color: #fff;
  text-decoration: none;
  background-color: #0062cc;
}

.sidebar-wrapper .badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.sidebar-wrapper .badge-secondary[href]:hover,
.sidebar-wrapper .badge-secondary[href]:focus
{
    color: #fff;
    text-decoration: none;
    background-color: #545b62;
}

.sidebar-wrapper .badge-success
{
    color: #fff;
    background-color: #28a745;
}

.sidebar-wrapper .badge-success[href]:hover,
.sidebar-wrapper .badge-success[href]:focus
{
    color: #fff;
    text-decoration: none;
    background-color: #1e7e34;
}

.sidebar-wrapper .badge-info
{
    color: #fff;
    background-color: #17a2b8;
}

.sidebar-wrapper .badge-info[href]:hover,
.sidebar-wrapper .badge-info[href]:focus
{
    color: #fff;
    text-decoration: none;
    background-color: #117a8b;
}

.sidebar-wrapper .badge-warning
{
    color: #212529;
    background-color: #ffc107;
}

.sidebar-wrapper .badge-warning[href]:hover,
.sidebar-wrapper .badge-warning[href]:focus
{
    color: #212529;
    text-decoration: none;
    background-color: #d39e00;
}

.sidebar-wrapper .badge-danger
{
    color: #fff;
    background-color: #dc3545;
}

.sidebar-wrapper .badge-danger[href]:hover,
.sidebar-wrapper .badge-danger[href]:focus
{
  color: #fff;
  text-decoration: none;
  background-color: #bd2130;
}

.sidebar-wrapper .badge-light
{
    color: #212529;
    background-color: #f8f9fa;
}

.sidebar-wrapper .badge-light[href]:hover,
.sidebar-wrapper .badge-light[href]:focus
{
    color: #212529;
    text-decoration: none;
    background-color: #dae0e5;
}

.sidebar-wrapper .badge-dark
{
    color: #fff;
    background-color: #343a40;
}

.sidebar-wrapper .badge-dark[href]:hover,
.sidebar-wrapper .badge-dark[href]:focus
{
    color: #fff;
    text-decoration: none;
    background-color: #1d2124;
}

@media print
{
    .sidebar-wrapper .badge
    {
        border: 1px solid #000;
    }
}
