/* 悬浮联系按钮样式 */
#fcb-floating-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

#fcb-floating-buttons.fcb-show-on-desktop {
    display: block;
}

.fcb-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.fcb-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: none;
    outline: none;
    box-sizing: border-box;
    padding: 0 10px;
}

.fcb-button:hover {
    opacity: 0.9;
}

.fcb-left-button {
    margin-right: 1px;
}

.fcb-right-button {
    margin-left: 1px;
}

.fcb-icon {
    display: inline-block;
    margin-right: 8px;
    /* 确保Dashicons正确显示 */
    font-family: 'dashicons';
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fcb-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端显示 */
@media only screen and (max-width: 768px) {
    #fcb-floating-buttons {
        display: block !important;
    }
}

/* 提示信息样式（两行） */
.fcb-toast {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    z-index: 10000;
    font-size: 14px;
    animation: fcb-fadein 0.5s, fcb-fadeout 0.5s 2.5s;
    animation-fill-mode: forwards;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.fcb-toast-line1 {
    font-weight: bold;
    margin-bottom: 3px;
}

.fcb-toast-line2 {
    font-size: 13px;
    opacity: 0.9;
}

@keyframes fcb-fadein {
    from { bottom: 50px; opacity: 0; }
    to { bottom: 70px; opacity: 1; }
}

@keyframes fcb-fadeout {
    from { bottom: 70px; opacity: 1; }
    to { bottom: 50px; opacity: 0; }
}

/* 确保Dashicons正确显示 */
.dashicons {
    display: inline-block;
    vertical-align: middle;
}