/* 评论表单样式增强 */
.reply-form {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.reply-form .form-group {
    margin-bottom: 1rem;
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 0.875rem;
}

.reply-form .form-actions {
    display: flex;
    gap: 1rem;
}

.reply-form button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
}

.reply-form button[type="submit"] {
    background: var(--secondary-color);
    color: white;
}

.reply-form .cancel-reply {
    background: #e9ecef;
    color: var(--text-color);
}

/* 通知样式 */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 点赞按钮动画 */
.like-button.active {
    animation: pulse 0.3s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 评论动画 */
@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment {
    animation: commentSlideIn 0.3s ease-out;
}

/* 评论输入框焦点样式 */
.comment-form input:focus,
.comment-form textarea:focus,
.reply-form input:focus,
.reply-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(9, 132, 227, 0.1);
}

/* 分享按钮样式 */
.share-button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: #f0f0f0;
}

/* 评论提交按钮悬停效果 */
.submit-comment:hover {
    background: #0070c9;
}

/* 评论加载动画 */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.comment-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 10px;
    height: 100px;
    margin-bottom: 1rem;
}

/* 删除按钮样式 */
.delete-button {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    line-height: 1;
    opacity: 0;
    transition: all 0.3s ease;
}

.comment:hover .delete-button {
    opacity: 1;
}

.delete-button:hover {
    background: #ff4757;
    color: white;
}

/* 删除动画 */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 调整评论头部布局 */
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.delete-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
} 