.hx-grid {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

/* header-cell */
.hx-grid thead th.header-cell {
    font-size: 13px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #757575;
    background: #D9D9D9;
    padding: 12px 25px;
    border-bottom: 1px solid #e5e7eb;
    align-content: center;
}

/* item-cell */
.hx-grid tbody td.item-cell {
    font-size: 14px;
    color: #374151;
    padding: 14px 25px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 600;
    transition: color 0.5s ease;
    
    min-width: 100px;
    max-width: 350px;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hx-grid tbody tr:hover td.item-cell {
    color: #0e131e;
}

.hx-grid tbody td.company-cell {
    font-size: 14px;
    color: #434343;
    padding: 14px 25px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 550;
    max-width: 250px;
    text-wrap: auto;
}

.hx-grid tbody td.site-cell {
    font-size: 14px;
    color: #434343;
    padding: 14px auto;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    font-weight: 550;
    width: 200px;
}

.hx-grid tbody td.comment-cell {
    font-size: 14px;
    color: #434343;
    padding: 14px 16px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    font-weight: 500;

    max-width: 200px;
}

.hx-grid tbody td.long-text-cell {
    font-size: 14px;
    color: #434343;
    padding: 14px 25px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    font-weight: 550;

    min-width: 250px;
    max-width: 350px;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.4;
}

.desc-value-cell {
    font-size: 12px;
    color: #9b9b9b;
    font-weight: 400;
}

.comment-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
}

.priority-icon {
    font-size: 12px;
}

/* Priority colors */
.priority-badge.low {
    background: #e8f7ee;
    color: #2e7d32;
}

.priority-badge.medium {
    background: #fff4cc;
    color: #b58900;
}

.priority-badge.high {
    background: #ffe5e5;
    color: #c62828;
}

.priority-badge.critical {
    background: #f3e5f5;
    color: #6a1b9a;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
    min-height: 24px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.in_progress {
    background: #cfe2ff;
    color: #084298;
}

.status-badge.completed,
.status-badge.approved {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge.cancelled,
.status-badge.rejected {
    background: #f8d7da;
    color: #842029;
}

.bi-chevron-double-left::before,
.page-item:not(:first-child) .page-link{
    color: #555 !important;
}

.active>.page-link, .page-link.active {
    background-color: #d7dee1;
    border-color: #bcbcbc;
}

