/**
 * 评论网站字段样式
 */
.comment-url-field {
    position: relative;
}

.comment-url-field .line-form-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: transparent;
}

.comment-url-field .line-form-input:focus {
    border-color: #1890ff;
    outline: none;
}

.comment-url-field .scale-placeholder {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s;
}

.comment-url-field input:focus + .scale-placeholder,
.comment-url-field input:not(:placeholder-shown) + .scale-placeholder {
    top: 10px;
    font-size: 12px;
    color: #1890ff;
}

.comment-url-field .abs-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.comment-url-field .line-form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s;
}

.comment-url-field input:focus ~ .line-form-line {
    width: 100%;
}

/**
 * 评论显示网址链接样式
 */
.comment-url-link {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.comment-url-link:hover {
    color: #1890ff;
    text-decoration: none;
}

.comment-url-link i {
    font-size: 12px;
}

/**
 * 评论内容中的链接样式
 */
.comment-content a {
    color: #1890ff;
    text-decoration: none;
    transition: color 0.3s;
}

.comment-content a:hover {
    color: #40a9ff;
    text-decoration: underline;
}

/**
 * 评论者名称链接样式
 */
.comment-author-url-link {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}

.comment-author-url-link:hover {
    color: #1890ff !important;
}
