/* 底部按钮区域样式 */
.bottom-buttons {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 300px;
    height: 66px;
    background-color: #f5f6fa;
    margin: 0 auto;
    margin-top: 56px;
    margin-bottom: 24px;
}

/* 悬浮提示按钮样式 */
.hover-container {
    font-size: 14px;
    color: #fff;
    position: relative;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    overflow: visible;
    margin-left: 22px;
}

.hover-me {
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.hover-me:hover {
    opacity: 0.8;
    color: #d40027;
}

.tooltip {
    width: 120px;
    height: 30px;
    background: #ffffff;
    padding: 0.25em;
    text-align: center;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform-origin: center bottom;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.tooltip::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 20%;
    transform: translateX(-50%);
    border-width: 8px 7px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.tooltip p {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.hover-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hover-container:hover .tooltip p {
    animation: bounce 2s ease-in-out infinite;
}

/* X按钮样式 */
.button.x {
    max-width: 130px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    gap: 0.25rem;
    color: #ffffff;
    background-color: #000;
    cursor: pointer;
    transition: all 0.6s ease;
    text-decoration: none;
    position: static;
    margin: 0;
    display: inline-flex;
    margin-right: 22px;
    overflow: hidden;
    z-index: 1;
}

/* 覆盖红色特效 */
.button.x:before,
.button.x:after {
    display: none;
}

.button.x:hover:before,
.button.x:hover:after {
    display: none;
    animation: none;
}

.button.x svg {
    height: 14px;
    width: 14px;
    fill: #fff;
    margin-right: 0.15rem;
    display: flex;
    align-self: center;
}

.button.x:hover {
    transform: scale(1.02);
    background-color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #ffffff;
}

/* 保持原有的动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* 列表底部按钮区域样式 */
.list-bottom-buttons {
    width: 100%;
    background-color: transparent;
    margin: 0;
    padding: 0 15px;
    height: auto;
    justify-content: space-between;
    box-sizing: border-box;
}

.set_box_user_bottom {
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.set_box_user_bottom .hover-container {
    margin-left: 0;
}

.set_box_user_bottom .button.x {
    margin-right: 0;
} 