/* TABELLE BACKOFFICE */
.bo-table {
    border-collapse: separate;
    border-spacing: 0 3.5pt !important;
    color: black !important;
    border-bottom: none !important;
}
.bo-table thead th, .label-small {
    color: #a6a6a6;
    font-weight: normal !important;
    font-size: 0.8rem;
}
.bo-table tbody tr {
    background: white;
    border-radius: 1rem;
}

.bo-table tbody td {
    background: white;
    border: solid 2pt var(--gray-control);
    border-style: none;
    border-top-style: solid;
    padding: 12pt 6pt !important;
    border-bottom-style: solid;
}
.bo-table.compact tbody td {
    padding: 6pt !important;
}

.bo-table tbody td:first-child { border-top-left-radius: 10px; }
.bo-table tbody td:last-child { border-top-right-radius: 10px; }

.bo-table tbody td:first-child { border-bottom-left-radius: 10px; }
.bo-table tbody td:last-child { border-bottom-right-radius: 10px; }
/*.bo-table tbody tr:first-child td:first-child { border-top-left-radius: 10px; }*/
/*.bo-table tbody tr:first-child td:last-child { border-top-right-radius: 10px; }*/

/*.bo-table tbody tr:last-child td:first-child { border-bottom-left-radius: 10px; }*/
/*.bo-table tbody tr:last-child td:last-child { border-bottom-right-radius: 10px; }*/

.bo-table tbody tr:first-child td { border-top-style: solid; }
.bo-table tbody tr td:first-child { border-left-style: solid; }
.bo-table tbody tr td:last-child { border-right-style: solid; }

.bo-table thead th, table.dataTable thead td {
    border-bottom: none !important;
}

.bo-table ~ .dataTables_paginate .paginate_button.current {
    border-radius: 9pt;
    padding: 0.5em 0.9em;
    background: black;
    color: white !important;
    border: none;
}
.bo-table ~ .dataTables_paginate .paginate_button:hover {
    border-radius: 9pt;
    padding: 0.5em 0.9em;
    background: hsl(0, 0%, 90%);
    color: grey !important;
    border: none;
}

.bo-table .table-hover-buttons {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}
.bo-table tr:hover .table-hover-buttons {
    opacity: 1;
}


.text-currency-positive {
    color: var(--currency-positive) !important;
}
.text-currency-negative {
    color: var(--currency-negative) !important;
}

/* Badge Status Styles */
.badge-status-to-complete {
    background-color: rgba(232, 80, 71, 0.30);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-block;
    line-height: 20px;
    letter-spacing: 0.50px;
    text-transform: uppercase;
}

.badge-status-processing {
    background-color: rgba(219, 131, 69, 0.20);
    color: #DB8345;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 6px;
    border-radius: 8px;
    display: inline-block;
    line-height: 15px;
    letter-spacing: 0.50px;
    text-transform: uppercase;
}

.badge-status-processing i,
.badge-status-processing svg {
    margin-right: 6px;
}

.badge-status-cancelled,
.badge-status-failed {
    background-color: #BCBCBC;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-block;
    line-height: 20px;
    letter-spacing: 0.50px;
    text-transform: uppercase;
}

/* Badge Gift Delivery Styles */
.badge-status-gift-scheduled {
    background-color: rgba(0, 122, 255, 0.15);
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 5px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 20px;
    letter-spacing: 0.50px;
    min-width: 109px;
    text-transform: uppercase;
}

.badge-status-gift-scheduled .badge-title {
    font-weight: 600;
    margin-bottom: 0;
}

.badge-status-gift-scheduled .badge-date {
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
}

.badge-status-gift-sent {
    background-color: #EAF8EA;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 19px;
    border-radius: 5px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 20px;
    letter-spacing: 0.50px;
    min-width: 90px;
    text-transform: uppercase;
}

.badge-status-gift-sent .badge-title {
    font-weight: 600;
}

.badge-status-gift-sent .badge-label {
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
}

.badge-status-gift-hand-delivered {
    background-color: #EAF8EA;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 6px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    letter-spacing: 0.50px;
    min-width: 170px;
    text-align: center;
    text-transform: uppercase;
}

/* Voucher Status Badges */
.badge-voucher-status {
    background-color: #BCBCBC;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    line-height: 20px;
    letter-spacing: 0.50px;
    text-transform: uppercase;
}

.badge-voucher-status i,
.badge-voucher-status svg {
    margin-right: 6px;
}

/* Row styles for cancelled/failed orders */
.bo-table tbody tr.order-row-disabled {
    background-color: #F2F2F2;
    opacity: 0.80;
}

.bo-table tbody tr.order-row-disabled td {
    background-color: #F2F2F2;
    color: #505050;
}

.bo-table tbody tr.order-row-disabled .amount-text {
    text-decoration: line-through;
    color: #505050;
}

.bo-table tbody tr.order-row-disabled .text-currency-negative {
    color: #505050 !important;
}

/* Row styles for processing orders */
.bo-table tbody tr.order-row-processing {
    border: 1px solid #F2F1F4;
    background: rgba(255, 176, 120, 0.10);
}

.bo-table tbody tr.order-row-processing td {
    background: rgba(255, 176, 120, 0.10);
}