.project-info span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.project-info .project-title {
    white-space: normal;
}

.project-info .project-sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-circle {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-text {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #000;
}

.progress-ring__background {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 6;
}

.progress-ring__circle {
    fill: none;
    stroke: #4d5bf9;
    stroke-width: 6;
    stroke-dasharray: 125.6; /* 2 * π * r (r=20) */
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-green-strong {
    stroke: #0DAF33;
}

/* 100% */
.progress-green-light {
    stroke: #6CD44A;
}

/* 80–99% */
.progress-orange {
    stroke: #FF8C00;
}

/* 50–79% */
.progress-red {
    stroke: #E02020;
}

/* 0–49% */

.status-text {
    color: #00bcd4;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.status-steps {
    display: flex;
    gap: 1px;
}

.status-steps .step {
    width: 26px;
    height: 12px;
    background: #b0b0b0;
}

.action-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-icon:hover {
    background-color: #fff;
}

.tef-table-button.blue,
.text-blue {
    color: #4a6cf7;
}

.tef-table-button.green,
.text-green {
    color: #10b981;
}

.tef-table-button.orange,
.text-orange {
    color: #f59e0b;
}

.tef-table-button.red,
.text-red {
    color: #ef4444;
}

.tef-table-button.gray,
.text-gray {
    color: #6b7280;
}

.text-slate {
    color: #607D8B;
}

.comment-item {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 12px;
    word-break: break-word;
}

.comment-user {
    background-color: #f1f1f1;
    text-align: left;
}

.comment-me {
    background-color: #dcf8c6;
    text-align: right;
}

.comment-meta {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

#projectCommentModal-comments {
    display: flex;
    flex-direction: column;
}

.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-container {
    display: flex;
    width: 100%;
    height: 1rem;
}

.payslip-status-box, .important-tasks-box {
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 1px;
}

.payslip-status-box:last-child, .important-tasks-box:last-child {
    margin-right: 0;
}

.payslip-status-box:hover, .important-tasks-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;
}

.important-tasks-1 {
    background-color: #607D8B;
}

.important-tasks-2 {
    background-color: #f59e0b;
}

.important-tasks-3 {
    background-color: #10b981;
}

.important-tasks-4 {
    background-color: #6b7280;
}

.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, .important-tasks-box:hover .payslip-tooltip {
    opacity: 1;
}