/* floating-contact-plugin/assets/style.css */

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
}

.contact-icon {
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-icon img {
    width: 32px;
    height: 32px;
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    gap: 10px;
    animation: fadeIn 0.3s ease forwards;
}

.contact-panel.show {
    display: flex;
}

.contact-panel a {
    text-decoration: none;
    color: inherit;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: scale(1.1);
}

.contact-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}