/* === 新增：多链接输入框样式 === */
.mult-link-container {
    width: 1176px;
    margin: 0 auto;
    padding: 0 1.4286rem; /* 20px */
    background: #f3f6ff;
    border-radius: 1.4286rem; /* 20px */

    /* --- 核心修改：固定高度并启用滚动 --- */
    height: 250px;       /* 设置一个固定的高度，你可以根据需要调整这个值 */
    overflow-y: auto;    /* 当内容超出高度时，显示垂直滚动条 */
    /* max-height: 400px; 删除或注释掉这一行 */
}

.link-item {
    position: relative;
    margin-bottom: 0.8571rem; /* 12px */
    display: flex;
    align-items: center;
}

.link-item > span {
    margin-right: 0.5714rem; /* 8px */
    display: flex;
    width: 1.4286rem; /* 20px */
    height: 1.4286rem; /* 20px */
    border: 1px solid #174dff;
    color: #174dff;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8571rem; /* 12px */
    font-weight: bold;
}

.link-item:last-child {
    margin-bottom: 0;
}

.link-item input {
    width: 100%;
    height: 2.2857rem; /* 32px */
    border: 1px solid #d9e3ff;
    border-radius: 0.8571rem; /* 12px */
    padding: 0 2.5rem 0 0.8571rem; /* 0 35px 0 12px */
    outline: none;
    font-size: 0.9286rem; /* 13px */
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-item input:focus {
    border-color: #174dff;
}

.delete-btn {
    position: absolute;
    right: 0.4286rem; /* 6px */
    top: 50%;
    transform: translateY(-50%);
    width: 1.4286rem; /* 20px */
    height: 1.4286rem; /* 20px */
    border-radius: 0.3571rem; /* 5px */
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.delete-btn img {
    width: 0.7143rem; /* 10px */
    height: 0.7143rem; /* 10px */
}

.add-link-btn {
    display: block;
    margin: 1rem auto 0;
    padding: 0.5rem 1rem;
    background-color: #174dff;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.add-link-btn:hover {
    background-color: #4096ff;
}