.wcp-button {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    margin-bottom: 10px;
    animation: pulse 2s infinite, fade-in 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Без фиксированного bottom */
#telegram-chat-icon {
    background-color: #0088cc;
}

.wcp-button img {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.3); }
    70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

#wcp-chat-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 340px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 10000;
    overflow: hidden;
}

#wcp-chat-header {
    background: #075E54;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#wcp-close-btn {
    font-size: 20px;
    cursor: pointer;
}

#wcp-messages {
    padding: 15px;
    background: #f5f5f5;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    opacity: 0;
    animation: message-fade 0.4s ease forwards;
}

@keyframes message-fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.system, .message.user {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80%;
}

.message.system {
    background: #005d99;
    color: #fff;
    align-self: flex-start;
}

.message.user {
    background: #005d99;
    color: #fff;
    align-self: flex-end;
}

#wcp-input-container {
    display: flex;
    padding: 10px;
    background: #eee;
}

#wcp-input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: none;
}

#wcp-send {
    margin-left: 10px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

#wcp-chat-popup.wcp-whatsapp #wcp-chat-header {
    background-color: #075E54;
}

#wcp-chat-popup.wcp-whatsapp #wcp-send {
    background-color: #25D366;
}

#wcp-chat-popup.wcp-telegram #wcp-chat-header {
    background-color: #005d99;
}

#wcp-chat-popup.wcp-telegram #wcp-send {
    background-color: #0088cc;
}