/* =========== Timeline  ==============  */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #93c5fd);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
}

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #3b82f6;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #93c5fd;
    z-index: 1;
}

.timeline-item:first-child .timeline-dot {
    background-color: #2563eb;
    box-shadow: 0 0 0 3px #bfdbfe, 0 0 0 6px rgba(59, 130, 246, 0.2);
}

.timeline-content {
    background-color: #f9fafb;
    border-left: 2px solid #e0ecff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.timeline-version {
    font-weight: 600;
    color: #1f2937;
}

.timeline-comment {
    margin-top: 0.5rem;
    color: #4b5563;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.timeline-comment.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-view {
    color: #2563eb;
    font-weight: 500;
    transition: color 0.2s ease;
}

.timeline-view:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.timeline-expand {
    color: #4F46E5;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.timeline-expand:hover {
    background-color: #EEF2FF;
    color: #4338CA;
}

.timeline-expand svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    stroke: currentColor;
    stroke-width: 2;
}

.timeline-expand.expanded svg {
    transform: rotate(180deg);
}

/* 审稿意见样式 */
.timeline-review {
    background-color: #fffbeb;
    border-left: 2px solid #f4dc9f9e;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
}

.timeline-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(251, 191, 36, 0.1);
}

.timeline-reviewer {
    font-weight: 600;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-reviewer svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #d97706;
}

.timeline-review-content {
    margin-top: 0.5rem;
    color: #92400e;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-review-content.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-review-content:not(.collapsed) {
    display: block;
}

.timeline-review .timeline-expand {
    color: #92400e;
    background-color: #fffbeb;
    border: 1px solid #f4dc9f9e;
}

.timeline-review .timeline-expand:hover {
    background-color: #fef3c7;
    color: #78350f;
}

.timeline-view:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.timeline-expand {
    color: #4F46E5;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border: 1px solid #5d53ff45;
}

.timeline-expand:hover {
    background-color: #EEF2FF;
    color: #4338CA;
}

.timeline-expand svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    stroke: currentColor;
    stroke-width: 2;
}

.timeline-expand.expanded svg {
    transform: rotate(180deg);
}

/* 审稿意见样式 */
.timeline-review {
    background-color: #fffbeb;
    border-left: 2px solid #f4dc9f9e;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
}

.timeline-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(251, 191, 36, 0.1);
}

.timeline-reviewer {
    font-weight: 600;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-reviewer svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #d97706;
}

.timeline-review-content {
    margin-top: 0.5rem;
    color: #92400e;
}
/* Index paper   */
.per-submit{
    color: #fff;
      background: blue;
      padding: 1px 5px;
}