.payslip-status-container {
    display: flex;
    width: 100%;
    height: 1rem;
}

.payslip-status-box {
    height: 100%;
    /*border: 1px solid black;*/
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 1px;
}

.payslip-status-box:last-child {
    margin-right: 0;
}

.payslip-status-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.payslip-status-1 {
    background-color: #A9A9A9;
}

.payslip-status-2 {
    background-color: #FFCD3A;
}

.payslip-status-3 {
    background-color: #FD7215;
}

.payslip-status-4 {
    background-color: #A0C10D;
}

.payslip-status-5 {
    background-color: #42A207;
}

.payslip-status-6 {
    background-color: #C60B0B;
}

.payslip-status-0 {
    background-color: #524e4e;
}

.payslip-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.payslip-status-box:hover .payslip-tooltip {
    opacity: 1;
}

.contract-name-td {
    display: flex;
    flex-direction: column;
}

.contract-name-td > div:nth-child(1) {
    color: #1A237E;
    font-weight: 900;
    font-size: 1rem;
}

.contract-name-td > div:nth-child(2) {
    font-weight: 400;
    font-size: 0.85rem;
}

.contact-value {
    color: #6C7EE1;
    font-weight: 900;
    font-size: 1rem;
}

#rest_left, #rest_right {
    display: flex;
    flex-direction: column;
}

.contract-info {
    max-width: 180px;
    min-width: 140px;
    white-space: normal;
    word-break: break-word;
}

.contract-info div {
    white-space: normal !important; /* Override lại text-nowrap của Bootstrap */
}


.contract-info:hover {
    cursor: pointer;
    text-decoration: underline;
}


.status-ready {
    color: #4a6cf7;
    font-weight: bold;
}

.status-inprogress {
    color: #f59e0b;
    font-weight: bold;
}

.status-done {
    color: #10b981;
    font-weight: bold;
}

.status-paused {
    color: #A9A9A9;
    font-weight: bold;
}

.avatar-group {
    display: flex;
    gap: 4px;
    align-items: center;
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #6c63ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.avatar-circle.more {
    background-color: #999;
}

.payslip-status-text {
    font-size: 14px;
    color: #001010;
}

.btn-payment-schedule:hover .payslip-status-text {
    cursor: pointer;
    text-decoration: underline;
}

/*contract project*/

.project-info:hover {
    cursor: pointer;
    text-decoration: underline;
}

.progress-circle {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring__background {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 6;
}

.progress-ring__circle {
    fill: none;
    stroke: #4d5bf9;
    stroke-width: 6;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-text {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #000;
}

.status-text {
    color: #00bcd4;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.viewFileModal-file-item {
    cursor: pointer;
}

.viewFileModal-file-item.active {
    background-color: #F3F4F6;
    cursor: default;
    color: #000;
}

.viewFileModal-file-item:hover {
    background-color: #F3F4F6;
}


.payslip-status-container {
    display: flex;
    width: 100%;
    height: 1rem;
}

.payslip-status-box {
    height: 100%;
    /*border: 1px solid black;*/
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 1px;
}

.payslip-status-box:last-child {
    margin-right: 0;
}

.payslip-status-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.payslip-status-1 {
    background-color: #A9A9A9;
}

.payslip-status-2 {
    background-color: #FFCD3A;
}

.payslip-status-3 {
    background-color: #FD7215;
}

.payslip-status-4 {
    background-color: #A0C10D;
}

.payslip-status-5 {
    background-color: #42A207;
}

.payslip-status-6 {
    background-color: #C60B0B;
}

.payslip-status-7 {
    background-color: #524e4e;
}

.payslip-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.payslip-status-box:hover .payslip-tooltip {
    opacity: 1;
}

.text-green {
    color: #10b981;
}

.text-orange {
    color: #f59e0b;
}

.text-red {
    color: #ef4444;
}

.text-gray {
    color: #6b7280;
}

.column-filter {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
    font-family: Arial, sans-serif;
}

.column-filter button#btn-column-filter {
    color: #1A237E;
    background: none;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    transition: transform 0.3s;
}

.column-filter button#btn-column-filter.active .dropdown-arrow {
    transform: rotate(180deg);
}

#column-filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 0.3rem;
}

#column-filter-dropdown.d-none {
    display: none;
}

.column-filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
    cursor: pointer;
    font-size: 14px;
}

.column-filter label:hover {
    background-color: #f1f1f1;
    border-radius: 3px;
}

.column-toggle {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.icon {
    fill: #3F51B5;
}
