/*@import url("css.css");*/
/**
鏉庡瓱璋�
鎶ラ敊椤甸潰涓婚灞呬腑
*/
#toggleButton{
    color: var(--heading-color);
}
.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* 纭繚鍗犳弧鏁翠釜绐楀彛 */
    text-align: center; /* 涓績瀵归綈鏂囨湰 */
}
/**
鏉庡瓱璋�
鎮诞妗�
*/
/* 璁剧疆鎮诞妗嗙殑鏍峰紡 */
.fixed-box {
    position: fixed; /* 鍥哄畾瀹氫綅 */
    top: 200px; /* 椤堕儴璺濈 */
    right: 10px; /* 鍙宠竟璺濈 */
    width: 100px;
    height: 120px;
    padding: 10px; /* 鍐呰竟璺� */
    /*border: 1px solid #ccc; !* 杈规 *!*/
    background-color: rgba(21, 20, 20, 0.09); /* 鑳屾櫙棰滆壊 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0); /* 闃村奖鏁堟灉 */
    z-index: 1000; /* 灞傜骇 */
    p {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.color-xf{
    margin-bottom: 50px;
    right: 10px; /* 鍙宠竟璺濈 */
    /*border: 1px solid #ccc; !* 杈规 *!*/
}

/**
鏉庡瓱璋�
瀹㈡湇鑱婂ぉ
*/
.chat-box {
    display: none; /* 鍒濆鐘舵�侀殣钘� */
    width: 350px;
    height: 500px;
    position: fixed;
    right: 120px;
    top: 200px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-header h3 {
    margin: 0;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.chat-message {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user p {
    background-color: #b2e2f7;
}

.chat-message.customer p {
    background-color: #b2e2f7;
}

.chat-message img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid;
}

.chat-message p {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    max-width: 250px;
    word-wrap: break-word;
}

.chat-input {
    padding: 15px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    width: 50%;
}

.chat-input button {
    padding: 5px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}
/*鑱婂ぉ鍐呭*/
.chat-message-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 鍚嶇О灞呬腑瀵归綈浜庡ご鍍� */
    margin: 10px;
    span{
        font-size: 10px;
    }
}

/**
闄堜匠鍕�
璇剧▼鍒嗕韩
*/
#Share-button{
    float:left;
    height: 41.5px;
    width: 49%;
    p {
        color: #fff;
        width: 100%;
        height: 41.5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
#Group-buying-button{
    float:right;
    width: 49%;
    height: 41.5px;
    p {
        color: #fff;
        width: 100%;
        height: 41.5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

#ays{
    color: #337ab7;
}
/*闅愯棌鎮诞妗�*/
@media (max-width: 1585px), (max-height: 900px) {
    .fixed-box {
        display: none;
    }
}