#channelHeader {
    margin-left: 5px;
}

#channelHeader .layui-btn {
    border: none;
    color: white;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 12px rgba(255, 65, 108, 0.5);
    font-weight: bold;
    border-radius: 999px;
    transition: all 0.3s ease;
}

#channelHeader .layui-btn.layui-this {
    border: none;
    color: white;
    background: linear-gradient(90deg, #6a11cb, #2575fc); /* 紫蓝 → 靛青 */
    box-shadow: 0 4px 12px rgba(255, 65, 108, 0.5);
    font-weight: bold;
    border-radius: 999px;
    transition: all 0.3s ease;
}

#channelHeader .layui-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

#channelBody .channel-item {
    display: none;
    padding: 10px;
}

#channelBody .channel-card {
    position: relative; /* 为了让绝对定位的按钮参照这个盒子 */
    height: 160px;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
}

/* apiKey：主信息，突出显示 */
#channelBody .channel-card .card-apiKey {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff; /* 保持白色，但可以加阴影提升可读性 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* webhook：次要信息，淡一点 */
#channelBody .channel-card .card-data {
    display: block;
    font-size: 14px;
    color: #d0e7ff; /* 淡蓝灰，和背景区分更明显 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* remark：描述信息，可以带点中性色或偏暖灰 */
#channelBody .channel-card .card-remark {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    color: #f5dada; /* 淡红或柔和杏色，和主背景形成对比 */
}

#channelBody .channel-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}

/* 将按钮容器固定到底部 */
#channelBody .channel-card .layui-btn-container {
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#channelBody .channel-card .layui-btn {
    color: #fff;
    border: none;
    height: 35px;
    line-height: 35px;
    border-radius: 8px;
    background: linear-gradient(90deg, #6a11cb, #2575fc); /* 紫蓝 → 靛青 */
    transition: background-color 0.3s ease, transform 0.3s ease; /* 增加 transform 的过渡 */
}

#channelBody .channel-card .btn-orange {
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* 渐变：珊瑚橙 → 杏黄色 */
}

#channelBody .channel-card .layui-btn:hover {
    transform: scale(1.05); /* 鼠标悬停时略微放大 */
}


#channelBody .channel-card.add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
    transition: all 0.3s ease;
}

#channelBody .channel-card.add-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 242, 254, 0.5);
}

#channelBody .channel-card .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
}

#channelBody .channel-card .delete-btn:hover {
    transform: scale(1.05); /* 鼠标悬停时略微放大 */
}