.wsc-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    transition: all 0.3s ease;
}

.wsc-chat-button:hover {
    transform: scale(1.1);
}

.wsc-chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.wsc-chat-header {
    background-color: #075E54;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wsc-chat-title {
    font-weight: bold;
    font-size: 16px;
}

.wsc-close-chat {
    cursor: pointer;
    font-size: 18px;
}

.wsc-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wsc-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.wsc-bot-message {
    align-self: flex-start;
    background-color: #F0F0F0;
    color: #333;
    border-bottom-left-radius: 5px;
}

.wsc-user-message {
    align-self: flex-end;
    background-color: #DCF8C6;
    color: #333;
    border-bottom-right-radius: 5px;
}

.wsc-message-content {
    line-height: 1.4;
}

.wsc-quick-replies {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #eee;
}

.wsc-quick-reply {
    background-color: #E8E8E8;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wsc-quick-reply:hover {
    background-color: #D0D0D0;
}

.wsc-chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.wsc-message-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.wsc-send-button {
    background-color: #075E54;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wsc-send-button:hover {
    background-color: #054D44;
}

/* تصميم متجاوب للجوال */
@media (max-width: 480px) {
    .wsc-chat-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .wsc-chat-button {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
}