.badge {
    border: 1px solid #2e7ab3;
    padding: 0px 7px;
    font-size: 12px;
    background-color: #2e7ab3;
    color: white;
    border-radius: 4px;
    display: inline-block;
    margin: 2px;
}

.cargo-table th,
.cargo-table td {
    /*padding: 5px 10px;*/
}

.cargo-table .cslfw-status {
    margin-bottom: 0 !important;
}

.btn {
    padding: 6px 13px;
    font-size: 12px;
    color: white;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

.btn.btn-green {
    background-color: green;
    border: 1px solid green;
}

.btn.btn-red {
    background-color: red;
    border: 1px solid red;
    color: #fff;
}
.btn.btn-yellow {
    background-color: #e1d111;
    border: 1px solid #e1d111;
    color: #000;
}

.cargo-table .btn:not(:last-child) {
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.cargo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cslfw_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 555;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cslfw_modal-content {
    background: #fff;
    max-width: 500px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.cslfw_modal .js-modal-close {
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;
    border: transparent;
    font-size: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.grid {
    display: grid;
    grid-gap: 10px; /* Adds gap between grid items */
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr); /* Creates two columns */
}

.a4-start input {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
}
.a4-start {
    border: 1px solid #000;
    border-radius: 3px;
    position: relative;
    padding: 2px;
    height: 30px;
}
.a4-start label {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    padding: 3px;
    box-sizing: border-box;
}
.a4-start span {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.a4-start input:checked + span {
    background: #000;
}

.a4-start::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

#print-labels .cslfw_modal-content {
    text-align: center;
    max-width: 300px;
}

.js-modal-close {
    cursor: pointer;
}

.hidden {
    display: none !important;
}
