.image-order-floating-badge {
    position: fixed;
    top: 150px;
    right: 20px;
    background: black;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

.image-order-floating-badge:hover {
    transform: scale(1.05);
}

.image-order-floating-badge a {
    color: black;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-order-floating-badge .icon {
    color: white;
    font-size: 1.2em;
}

.image-order-floating-badge .count {
    font-weight: bold;
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
}

.button.image-order-toggle-btn {
    height: 2em;
    display: flex;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 1em;
}

.button.image-order-toggle-btn:hover {
    background-color: red;
    color: white;
}

.button.image-order-toggle-btn.selected {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.button.image-order-toggle-btn.selected:hover {
    background-color: #bd2130;
}

.alerts-wrapper {
  width: 100%;
  background-color: red;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  box-sizing: border-box;
}

.alerts-wrapper ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    margin-left: 2em;
}

/* NxM - Proportional table */
table.orders-table {
    table-layout: fixed !important;
    width: 100% !important;
}

/* NxM - Only apply fixed widths on larger screens */
@media (min-width: 768px) {
    table.orders-table thead th:nth-child(1),
    table.orders-table tbody td:nth-child(1) {
        width: 5% !important; /* Name - longer */
    }
    table.orders-table thead th:nth-child(2),
    table.orders-table tbody td:nth-child(2) {
        width: 15% !important; /* Date */
    }
    table.orders-table thead th:nth-child(3),
    table.orders-table tbody td:nth-child(3) {
        width: 20% !important; /* Reviewed By */
    }
    table.orders-table thead th:nth-child(4),
    table.orders-table tbody td:nth-child(4) {
        width: 10% !important; /* Status - shorter */
    }
    table.orders-table thead th:nth-child(5),
    table.orders-table tbody td:nth-child(5) {
        width: 15% !important; /* Details */
    }
    table.orders-table thead th:nth-child(6),
    table.orders-table tbody td:nth-child(6) {
        width: 15% !important; /* Details */
    }
    table.orders-table thead th:nth-child(7),
    table.orders-table tbody td:nth-child(7) {
        width: 20% !important; /* Details */
    }
}

/* NxM Let tablesaw handle small screens naturally */
@media (max-width: 767px) {
    table.orders-table {
        table-layout: auto !important;
    }
    table.orders-table th,
    table.orders-table td {
        width: auto !important;
    }
}

/* NxM Title truncation only on smaller screens */
@media (max-width: 1200px) {
    table.orders-table td:nth-child(1) a {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* NxM - Opportunity filter styling to match advanced search appearance */
.opportunity-filter {
    display: inline-block;
    margin-right: 10px;
    
    label {
        color:  #A91919;
    }
}
