/* Products Dashboard CSS */
.products-dashboard {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    max-width: none;
    width: 100%;
}
.container {
    max-width: none !important;
    width: 100% !important;
}
.dashboard-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filters-section {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group.actions {
    flex: 0 0 auto;
    min-width: 12rem;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #666;
}

.table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    overflow-x: auto;
    /* Add horizontal scroll for very wide tables */
}

.table-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table th {
    background-color: #f8f9fa;
    padding: 10px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    font-size: 17px;
    position: relative;
}

.products-table td {
    padding: 10px;
    border-top: 1px solid #eee;
    vertical-align: middle;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
a::content{
    color: blue;
}

/* Column specific styles */
.col-product {
    width: 16rem;
    min-width: 18rem;
}
.col-order{
    width: 7rem;
    min-width: 9rem;
}
.col-order-date{
    width: 7rem;
    min-width: 8rem;
}
.col-price{
    width: 6rem;
    min-width: 8rem;
}
.col-product-type {
    width: 8rem;
    min-width: 10rem;
}
.col-actions {
    width: 10rem;
    min-width: 12rem;
}
.sort-icon {
    display: inline-block;
    color: #999;
    font-size: 14px;
    margin-left: 4px;
    vertical-align: middle;
}

.small-text {
    font-size: 11px;
    color: #666;
}

.pagination-wrapper {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.loading {
    text-align: center;
    padding: 20px;
}

.link-field {
    color: #007bff;
    text-decoration: none;
    font-size: 15px;
}

.link-field:hover {
    text-decoration: underline;
}

.text-danger {
    color: #dc3545;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-draft {
    background-color: #fff3cd;
    color: #856404;
}

.status-activated {
    background-color: #d4edda;
    color: #155724;
}

.status-archived {
    background-color: #f8d7da;
    color: #721c24;
}

.status-unknown {
    background-color: #e9ecef;
    color: #495057;
}

.product-image {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.product-title {
    font-weight: 500;
    margin-bottom: 2px;
}


/* Image modal styles */
