/* ========================================
   DATATABLES DESKTOP STYLES - McQueen Homes
   ======================================== */

/* DataTables Pagination */
.page-link {
    color:var(--mh-color-red);
    background-color: rgb(255,255,255);
}
.active>.page-link {
    background-color:var(--mh-color-red);
    color: rgb(255,255,255);
    border-color:rgb(255,255,0);
}

/* DataTables Core Styling */
table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
    border-top: 0px solid !important;
}

/* General DataTable customization */
table.dataTable tbody td {
    vertical-align: top !important;
}

/* General Table Enhancements */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #495057;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(var(--mh-color-red-rgb), 0.05);
}

/* DataTable Image Styling */
.img-dt-mh {
    max-height:200px !important;
}
.img-dt-url-mh {
    max-height:200px !important;
}
.img-dt-url-mh:hover {
    opacity:0.7;
    cursor: pointer;
}

/* Table Row Styling */
.table-top-row-mh {
    padding:8px;
}

/* DataTables action buttons */
#example td .btn {
    width: 100%;
    margin: 0.25rem !important;
}

/* STR Inventory Table Specific - Desktop */
#strInventoryTable td {
    vertical-align: top !important;
    padding: 0.5rem;
}

#strInventoryTable tbody td {
    vertical-align: top !important;
}