.floating-contact {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 9999;
    font-family: sans-serif;
}

.contact-toggle-btn {
    background-color: #28a745;
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    display: inline-block;
}

.contact-toggle-btn:hover {
    background-color: #218838;
}

.contact-card {
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 15px;
    animation: fadeIn 0.3s ease-in-out;
    display: none;
}

.contact-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.contact-card .wechat-img {
    width: 120px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
}

.contact-card .item {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
    word-break: break-word;
}

.contact-card .item a {
    color: #007bff;
    text-decoration: none;
}

.contact-card .item a:hover {
    text-decoration: underline;
}

.contact-card .close-btn {
    float: right;
    font-size: 14px;
    color: #999;
    cursor: pointer;
}
