.badge {
    font-size: 90%;
}

.activeWarehouse a {
    background-color: #5879e1;
    color: white;
}

.treeview .list-group .list-group-item .badge {
    float: right;
}

.warehouse-map {
    border: 0;
    display: flex;
    width: 100%;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
}

.warehouse-map-item {
    text-align: center;
}

.warehouse-map-item[data-type="row"] {
    background-color: #bbb;
    padding: 5px;
    display: flex;
    justify-content: start;
    flex-direction: row;
    gap: 5px;
    border: 1px solid #777;
    border-radius: 5px;
    cursor: pointer;
    overflow-x: scroll;
}

.warehouse-map-item[data-type="row"]:hover {
    background-color: #ccc;
}

.warehouse-map-item[data-type="regale"]:hover {
    background-color: #ddd;
}

.warehouse-map-item[data-type="shelf"]:hover {
    background-color: #eee;
}

.warehouse-map-item[data-type="part"]:hover {
    background-color: #fff;
}

.title-container[data-type="row"] {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    border-right: 3px solid #000;
}

.title-container[data-type="row"] .title {
    writing-mode: vertical-lr;
    transform: scale(-1, -1);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.warehouse-map-item[data-type="regale"] {
    background-color: #ccc;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #777;
}

.title-container[data-type="regale"] {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-bottom: 2px solid #666;
    height: 30px;
}

.warehouse-map-item[data-type="shelf"] {
    background-color: #ddd;
    padding: 2px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    justify-content: start;
    flex-direction: row;
    gap: 3px;
    border-bottom: 1px solid #777;
}

.title-container[data-type="shelf"] {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 25px;
    max-width: 120px;
    margin-right: 5px;
}

.warehouse-map-item[data-type="part"] {
    width: 25px;
    padding: 1px;
    font-size: 12px;
    font-weight: normal;
    background-color: #eee;
    border: 1px solid #777;
    border-radius: 5px;
}

.addNewButton {
    color: #28a745;
    background-color: #eee !important;
    border-radius: 5px !important;
    border: 1px solid #28a745 !important;
}

.addNewButton:hover {
    background-color: #fff !important;
}
