.grid-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 9px 3px 11px 0px rgb(231 231 231 / 8%), 9px 13px 20px 6px rgba(0, 0, 0, 0.12);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

    padding: 1.25rem 1.5rem;
    border-radius: 12px 12px 0 0;

    background: linear-gradient(270deg, #12A2E0 0%, #0085BE 100%);
}

.header-text {
    display: grid;
    gap: 0.15rem;
}

.custom-label {
    font-size: 14pt;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.custom-sublabel {
    font-size: 11pt;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.hx-grid {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

/* header-cell */
.hx-grid thead th.header-cell {
    font-size: 13px;
    font-weight: 700;
    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: 13px;
    color: #8D8D8D;
    padding: 14px 25px;
    border-bottom: 1px solid #eff3f8;
    vertical-align: middle;
    white-space: nowrap;
}

.hx-grid tbody td.item-cell .fw-semibold {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* datetime-cell */
.hx-grid tbody td.item-cell .applied-date {
    display: block;
}

.hx-grid tbody td.item-cell .applied-time {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.hx-grid tbody tr:hover {
    background-color: #f9fbff;
}

.hx-grid tbody td.item-cell.status {
    font-weight: 500;
}

/* pager pagination */
ul.hx-pager.pagination{
    padding-left: 25px;
}


/* empty data */
.empty-grid {
    padding: 8rem;
    text-align: center;
    color: #6b7280;
}

.empty-title {
    font-size: 14pt;
    font-weight: 600;
    color: #757575;
}

.empty-subtitle {
    font-size: 11pt;
    color: #A5A5A5;
    font-style: italic;
    font-weight: 200;
}

/* badge */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Reimbursement */
.badge-reimbursement {
    background-color: #fff4e5;
    color: #bb6416;
}

/* Cash Advance */
.badge-cash-advance {
    background-color: #f3e8ff;
    color: #a94dcd;
}

.badge-pending-approval {
    background-color: #f8f5f2;
    color: #7a4a1f;
}

.badge-pending-verification {
    background-color: #f1f5f9;
    color: #334155;
}

.badge-pending-settlement {
    background-color: #f5f3f7;
    color: #5b4b6b;
}

.badge-closing-settlement {
    background-color: #f5f3f7;
    color: #5b4b6b;
}

.badge-transferred {
    background-color: #e6fffa;
    color: #0d9488;
}

.badge-rejected {
    background-color: #ffebee;
    color: #b91c1c;
}

.badge-settled {
    background-color: #e6ffed;
    color: #15803d;
}


@media (max-width: 768px) {
    .hx-grid thead th.header-cell,
    .hx-grid tbody td.item-cell {
        padding: 10px 12px;
        font-size: 12px;
    }

    ul.hx-pager.pagination{
        padding-top: 16px;
        padding-top: 16px;
    }
}

.grid-loading {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}